小钻风 4 years ago
parent 376858ec8e
commit c5d3825e99

@ -1,3 +1,4 @@
2021-04-08,16:37:34,recook4.08,397,305
2021-03-31,18:05:16,3-31,39,27
2021-03-30,17:45:05,3-30,189,161
2021-03-29,20:26:56,3-29,932,416

1 2021-03-31 2021-04-08 18:05:16 16:37:34 3-31 recook4.08 39 397 27 305
1 2021-04-08 16:37:34 recook4.08 397 305
2 2021-03-31 2021-03-31 18:05:16 18:05:16 3-31 3-31 39 39 27 27
3 2021-03-30 2021-03-30 17:45:05 17:45:05 3-30 3-30 189 189 161 161
4 2021-03-29 2021-03-29 20:26:56 20:26:56 3-29 3-29 932 932 416 416

@ -150,11 +150,10 @@
}
},
onShow() {
let realInfoStatus = uni.getStorageSync("userInfo").realInfoStatus
let realInfoStatus = uni.getStorageSync("userInfo").realInfoStatus
console.log(realInfoStatus)
if (!realInfoStatus) {
//
let newArr = [];
//
this.$store.state.preOrderMsg.brands.forEach((value, index) => {
@ -173,7 +172,7 @@
this.RealList = newArr
} else {
//
this.tipsShow = true
this.tipsShow = false
}
},
methods: {
@ -221,7 +220,6 @@
submitOrder() {
let submitBool = true
let realInfoStatus = uni.getStorageSync("userInfo").realInfoStatus
if (!realInfoStatus) {
//
this.RealList.map(item => {
@ -230,8 +228,7 @@
submitBool = false
}
})
}
}
if (!submitBool) {
//
this.$u.toast('请先实名认证', 2000);

@ -274,10 +274,18 @@
<view class="text-black" style="line-height: 80rpx;font-size: 28rpx;padding: 0 20rpx;">图文详情</view>
<view class="video" v-if="goodsDetail.video">
<video :src="IMAGE_URL+goodsDetail.video.url" style="width: 100%;display: block;" controls></video>
</view>
</view>
<view class="detail-pics brandFirstImg" v-if="brandFirstImg">
<u-lazy-load threshold="-100" :image="IMAGE_URL+brandFirstImg"
:index="index" :loading-img="IMAGE_URL + '/null05.png'" :error-img="IMAGE_URL + '/null05.png'" ></u-lazy-load>
</view>
<view class="detail-pics">
<u-lazy-load threshold="-100" :image="IMAGE_URL+item.url" v-for="(item,index) in pictures" :key="index"
:index="index" :loading-img="IMAGE_URL + '/null05.png'" :error-img="IMAGE_URL + '/null05.png'" ></u-lazy-load>
</view>
<view class="detail-pics brandLastImg" v-if="brandLastImg">
<u-lazy-load threshold="-100" :image="IMAGE_URL+brandLastImg"
:index="index" :loading-img="IMAGE_URL + '/null05.png'" :error-img="IMAGE_URL + '/null05.png'" ></u-lazy-load>
</view>
</view>
</view>
@ -492,7 +500,9 @@
dynamics: [], //,
showBtn: false, //
addressList: [],
address: null
address: null,
brandFirstImg:'',//
brandLastImg:'',//
}
},
components: {
@ -504,9 +514,7 @@
} else {
this.isLogin = false
}
console.log(options)
console.log('1234565')
console.log(options.invite)
if(options.invite){
this.$store.commit('setinvite', options.invite);
}
@ -524,7 +532,6 @@
this.showBtn = true
}
this.id = parseInt(options.id)
console.log(this.id + '-------')
this.getGoodsDetail()
},
computed: {
@ -657,7 +664,12 @@
if (res.data.code == "FAIL") {
this.$u.toast(res.data.msg);
return
}
}
// firstImg lastImg
this.brandFirstImg = res.data.data.brand.firstImg
this.brandLastImg = res.data.data.brand.lastImg
console.log(this.brandFirstImg ,
this.brandLastImg)
this.pictures = res.data.data.list
});
},

Loading…
Cancel
Save