|
|
|
@ -29,7 +29,7 @@ |
|
|
|
<view class="goods-auth-type"> |
|
|
|
<text class="twoline-hide">{{ userList.authType }}</text> |
|
|
|
</view> |
|
|
|
<view class="goods-auth-num"> |
|
|
|
<view class="goods-auth-num" v-if="total != ''"> |
|
|
|
<text class="twoline-hide">标的数量:{{ total }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -136,7 +136,7 @@ |
|
|
|
}, |
|
|
|
], |
|
|
|
targetTab: 1, |
|
|
|
total: 0, |
|
|
|
total: '', |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -219,18 +219,26 @@ |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
GoodsApi.nbgoods(param) |
|
|
|
.then(result => { |
|
|
|
// 合并新数据 |
|
|
|
const newList = app.initList(result.data) |
|
|
|
app.total = result.data.total |
|
|
|
app.list.data = getMoreListData(newList, app.list, pageNo) |
|
|
|
app.userList = newList.data[0].user |
|
|
|
app.userList.stateStr = this.getUserStateStr(app.userList.state) |
|
|
|
app.userList.user_islicode = newList.data[0].user_islicode |
|
|
|
resolve(newList) |
|
|
|
if (result.data.length > 0) { |
|
|
|
// 合并新数据 |
|
|
|
const newList = app.initList(result.data) |
|
|
|
app.total = result.data.total |
|
|
|
app.list.data = getMoreListData(newList, app.list, pageNo) |
|
|
|
app.userList = newList.data[0].user |
|
|
|
app.userList.stateStr = this.getUserStateStr(app.userList.state) |
|
|
|
app.userList.user_islicode = newList.data[0].user_islicode |
|
|
|
resolve(newList) |
|
|
|
} else { |
|
|
|
app.$error('该店铺信息不存在,即将返回分类页面!') |
|
|
|
setTimeout(app.jumpReturn,2000) |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(reject) |
|
|
|
}) |
|
|
|
}, |
|
|
|
jumpReturn() { |
|
|
|
this.$navTo('pages/category/index',{curIndex: 3}); |
|
|
|
}, |
|
|
|
getUserStateStr(state){ |
|
|
|
let str = '' |
|
|
|
if (state == "1" || state == "3" || state == "7" || state == "0") { |
|
|
|
@ -317,8 +325,11 @@ |
|
|
|
.search-text { |
|
|
|
text-align: left; |
|
|
|
float: left; |
|
|
|
font-size: 20rpx; |
|
|
|
margin-left: 20rpx; |
|
|
|
|
|
|
|
input { |
|
|
|
font-size: 20rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.search-text-bu { |
|
|
|
margin-right: 20rpx; |
|
|
|
@ -364,7 +375,6 @@ |
|
|
|
|
|
|
|
.goods-name { |
|
|
|
height: 90rpx; |
|
|
|
float: left; |
|
|
|
} |
|
|
|
|
|
|
|
.goods-auth-type { |
|
|
|
|