bug
This commit is contained in:
@@ -108,12 +108,12 @@ export default {
|
|||||||
path: "./myStoreList",
|
path: "./myStoreList",
|
||||||
type: 'idNumber'
|
type: 'idNumber'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-sys.png",
|
// icon: "https://cdn.cunwuyun.cn/wechat/biaopin/mine/mine-icon-sys.png",
|
||||||
label: "扫一扫",
|
// label: "扫一扫",
|
||||||
path: "./myHarvestQR",
|
// path: "./myHarvestQR",
|
||||||
type: 'scan'
|
// type: 'scan'
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
// [
|
// [
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -16,10 +16,11 @@ export default {
|
|||||||
name: 'AppStore',
|
name: 'AppStore',
|
||||||
appName: '门店',
|
appName: '门店',
|
||||||
components: {Situation, Evaluate},
|
components: {Situation, Evaluate},
|
||||||
|
customNavigation: true,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tabList: [{name: '门店情况'}, {name: '我要评价'}],
|
tabList: [{name: '门店情况'}, {name: '我要评价'}],
|
||||||
tabIndex: 1,
|
tabIndex: 0,
|
||||||
barStyle: {
|
barStyle: {
|
||||||
'width': '20px',
|
'width': '20px',
|
||||||
'height': '3px',
|
'height': '3px',
|
||||||
@@ -29,6 +30,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onReady() {
|
||||||
|
uni.setNavigationBarColor({
|
||||||
|
frontColor: '#000000',
|
||||||
|
backgroundColor: '#ffffff'
|
||||||
|
})
|
||||||
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
if(e.tabIndex) {
|
if(e.tabIndex) {
|
||||||
this.tabIndex = e.tabIndex
|
this.tabIndex = e.tabIndex
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ import {mapState} from 'vuex'
|
|||||||
export default {
|
export default {
|
||||||
name: 'EvaluateForm',
|
name: 'EvaluateForm',
|
||||||
appName: '我要评价',
|
appName: '我要评价',
|
||||||
|
customNavigation: true,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
@@ -100,11 +101,23 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['user'])
|
...mapState(['user'])
|
||||||
},
|
},
|
||||||
|
onReady() {
|
||||||
|
uni.setNavigationBarColor({
|
||||||
|
frontColor: '#000000',
|
||||||
|
backgroundColor: '#ffffff'
|
||||||
|
})
|
||||||
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
this.getTypeList()
|
this.getTypeList()
|
||||||
this.shopId = e.shopId
|
this.shopId = e.shopId
|
||||||
this.getShopDetail()
|
this.getShopDetail()
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
uni.setNavigationBarColor({
|
||||||
|
frontColor: 'black',
|
||||||
|
backgroundColor: '#ffffff'
|
||||||
|
})
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getTypeList() {
|
getTypeList() {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'StoreDetail',
|
name: 'StoreDetail',
|
||||||
appName: '门店情况',
|
appName: '门店情况',
|
||||||
|
customNavigation: true,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
shopId: '',
|
shopId: '',
|
||||||
@@ -84,8 +85,13 @@ export default {
|
|||||||
pages: 2
|
pages: 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onReady() {
|
||||||
|
uni.setNavigationBarColor({
|
||||||
|
frontColor: '#000000',
|
||||||
|
backgroundColor: '#ffffff'
|
||||||
|
})
|
||||||
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
console.log(e)
|
|
||||||
this.shopId = e.shopId
|
this.shopId = e.shopId
|
||||||
this.$dict.load(['operatorType']).then(() => {
|
this.$dict.load(['operatorType']).then(() => {
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
@@ -96,6 +102,12 @@ export default {
|
|||||||
this.getAssessList()
|
this.getAssessList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
uni.setNavigationBarColor({
|
||||||
|
frontColor: 'black',
|
||||||
|
backgroundColor: '#ffffff'
|
||||||
|
})
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDetail() {
|
getDetail() {
|
||||||
this.$instance.post(`/app/appshoparchives/queryDetailById?id=${this.shopId}`).then(res => {
|
this.$instance.post(`/app/appshoparchives/queryDetailById?id=${this.shopId}`).then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user