提交 001801ef authored 作者: 宋雄's avatar 宋雄

修改订单流程

上级 da44b2a1
......@@ -56,7 +56,7 @@
<xzj-firsthint :isCustom="false" /> -->
<!-- 集采 竞拍-->
<view class="quick-entry">
<view class="quick-entry" v-if="isLogin">
<view class="item" @click="quickEntry(1)" v-if="isPlatformType">
<span class="icon">
......@@ -101,7 +101,7 @@
},
data() {
return {
userInfo: JSON.parse(uni.getStorageSync('userInfo')),
isLogin: false,
icon: web('logo_title.png'),
page: 1,
p: 1, //源头货源
......@@ -117,7 +117,7 @@
nodata: false,
showControls: false,
video: null,
isPlatformType:false,
isPlatformType: false,
contentText: {
contentdown: this.$t('index.pull.more'),
contentrefresh: this.$t('index.pull.loading'),
......@@ -126,8 +126,13 @@
}
},
created() {
if(this.userInfo.userCurrentPlat.platformType.indexOf('operator') !== -1){
this.isPlatformType = true
const userInfo = uni.getStorageSync('userInfo')
if(userInfo) {
const userMessage = JSON.parse(userInfo)
this.isPlatformType = userMessage.userCurrentPlat !== 'operator'
this.isLogin = true
} else {
this.isLogin = false
}
},
methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论