|
|
@@ -44,32 +44,32 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<ul class="link-list">
|
|
|
- <li v-bind:class="{'widthActive' : isShowStoreApply}">
|
|
|
+ <li>
|
|
|
<nuxt-link to="/mobile/supplier">
|
|
|
<img src="/images/mobile/@2x/home/supplier.png" alt="">
|
|
|
<span>供应商</span>
|
|
|
</nuxt-link>
|
|
|
</li>
|
|
|
- <li v-bind:class="{'widthActive' : isShowStoreApply}">
|
|
|
+ <li>
|
|
|
<a @click="goOpportunity">
|
|
|
<img src="/images/mobile/@2x/home/seek.png" alt="">
|
|
|
<span>公司商机</span>
|
|
|
</a>
|
|
|
</li>
|
|
|
- <li v-bind:class="{'widthActive' : isShowStoreApply}">
|
|
|
+ <li>
|
|
|
<nuxt-link to="/mobile/shop">
|
|
|
<img src="/images/mobile/@2x/home/store.png" alt="">
|
|
|
<span>店铺列表</span>
|
|
|
<!-- <i></i>-->
|
|
|
</nuxt-link>
|
|
|
</li>
|
|
|
- <li v-bind:class="{'widthActive' : isShowStoreApply}">
|
|
|
+ <li>
|
|
|
<nuxt-link to="/mobile/brand/brandCenter/A">
|
|
|
<img src="/images/mobile/@2x/home/brand.png" alt="">
|
|
|
<span>品牌墙</span>
|
|
|
</nuxt-link>
|
|
|
</li>
|
|
|
- <li v-bind:class="{'widthActive' : isShowStoreApply}" v-show="isShowStoreApply">
|
|
|
+ <li>
|
|
|
<a @click="goOpenStoreApply">
|
|
|
<img src="/images/mobile/@2x/home/store-into.png" alt="">
|
|
|
<span>商家入驻</span>
|
|
|
@@ -143,8 +143,7 @@
|
|
|
keyword: '',
|
|
|
associate: {
|
|
|
show: false
|
|
|
- },
|
|
|
- isShowStoreApply: false
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
@@ -315,9 +314,9 @@
|
|
|
if (this.user.data.enterprise.isVendor === 313) {
|
|
|
this.$http.get('/basic/vendor/transactionInfo').then(response => {
|
|
|
if (response.data.isOpenStore) {
|
|
|
- // window.location.href = '/mobile/user/storeinfo'
|
|
|
+ window.location.href = '/mobile/user/storeinfo'
|
|
|
} else {
|
|
|
- this.setRemindText('您的申请已提交,请耐心等待工作人员审核(2-3个工作日)')
|
|
|
+ this.onRemind('您的申请已提交,请耐心等待工作人员审核(2-3个工作日)')
|
|
|
}
|
|
|
}, err => {
|
|
|
this.$message.error('获取开店信息失败')
|
|
|
@@ -332,35 +331,10 @@
|
|
|
} else {
|
|
|
this.login()
|
|
|
}
|
|
|
- },
|
|
|
- storeApply: function () {
|
|
|
- if (this.user.logged) {
|
|
|
- if (this.user.data.enterprise.uu) {
|
|
|
- if (this.user.data.enterprise.isVendor === 313) {
|
|
|
- this.$http.get('/basic/vendor/transactionInfo').then(response => {
|
|
|
- if (response.data.isOpenStore) {
|
|
|
- this.isShowStoreApply = false
|
|
|
- } else {
|
|
|
- this.isShowStoreApply = true
|
|
|
- }
|
|
|
- }, err => {
|
|
|
- this.$message.error('获取开店信息失败')
|
|
|
- console.log(err)
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.isShowStoreApply = true
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.isShowStoreApply = true
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.isShowStoreApply = false
|
|
|
- }
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$nextTick(() => {
|
|
|
- this.storeApply()
|
|
|
let ua = this.$store.state.option.userAgent.toLowerCase()
|
|
|
let info = localStorage.getItem('USOFTMALLWECHATINFO')
|
|
|
// 如果本地有缓存 则证明存在openid
|
|
|
@@ -506,7 +480,7 @@
|
|
|
li {
|
|
|
position: relative;
|
|
|
display: inline-block;
|
|
|
- width: 25%;
|
|
|
+ width: 20%;
|
|
|
text-align: center;
|
|
|
float: left;
|
|
|
height: 1.56rem;
|
|
|
@@ -531,9 +505,6 @@
|
|
|
top: .2rem;
|
|
|
}
|
|
|
}
|
|
|
- li.widthActive{
|
|
|
- width: 20%;
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</style>
|