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