门店
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" inactive-color="#222" active-color="#222"
|
<u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="change" inactive-color="#222" active-color="#222"
|
||||||
height="100" :bar-style="barStyle"></u-tabs>
|
height="100" :bar-style="barStyle"></u-tabs>
|
||||||
</div>
|
</div>
|
||||||
<Situation v-if="tabIndex != 1 && user.phone" @toStoreDetail="toStoreDetail"></Situation>
|
<Situation v-if="tabIndex != 1" @toStoreDetail="toStoreDetail"></Situation>
|
||||||
<Evaluate v-if="tabIndex == 1 && user.phone" @toEvaluateForm="toEvaluateForm" @toStoreDetail="toStoreDetail"></Evaluate>
|
<Evaluate v-else @toEvaluateForm="toEvaluateForm" @toStoreDetail="toStoreDetail"></Evaluate>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -45,15 +45,7 @@ export default {
|
|||||||
if(e.tabIndex) {
|
if(e.tabIndex) {
|
||||||
this.tabIndex = e.tabIndex
|
this.tabIndex = e.tabIndex
|
||||||
}
|
}
|
||||||
if(!this.user.phone) {
|
|
||||||
this.$dialog.confirm({
|
|
||||||
content: '您只有完成信息认证后,才可进行相关操作。',
|
|
||||||
confirmText: '去认证'
|
|
||||||
}).then(() => {
|
|
||||||
this.$linkTo('/pages/AppMine/userInfo?isFromTabbar=1&path=/pages/AppStore/AppStore')
|
|
||||||
}).catch(() => {
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
change(e) {
|
change(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user