Commit 91356804 authored by IvyXia123's avatar IvyXia123

支付情况7

parent 7d04d89f
...@@ -105,8 +105,13 @@ export default { ...@@ -105,8 +105,13 @@ export default {
console.log(JSON.parse(sessionStorage.getItem('groupDetail')), 333); console.log(JSON.parse(sessionStorage.getItem('groupDetail')), 333);
// this.groupDetail = JSON.parse(sessionStorage.getItem('groupDetail')); // this.groupDetail = JSON.parse(sessionStorage.getItem('groupDetail'));
console.log(this.$route.query.shopId, 'id+'+87897) console.log(this.$route.query.shopId, 'id+'+87897)
getGoodsDetailApi(this.$route.query.shopId).then(res => { getGoodsDetailApi(this.$route.query.shopId).then(data => {
this.groupDetail = res.data console.log(data)
data.desc = JSON.parse(data.desc);
data.goods_desc = JSON.parse(data.goods_desc);
data.share_desc = JSON.parse(data.share_desc);
this.groupDetail = JSON.parse(JSON.stringify(data));
this.groupDetail = data
}) })
if (sessionStorage.getItem("buyindex") == 1) { if (sessionStorage.getItem("buyindex") == 1) {
getUserDetailApi().then(res => { getUserDetailApi().then(res => {
......
...@@ -54,15 +54,22 @@ ...@@ -54,15 +54,22 @@
this.$nextTick(() => { this.$nextTick(() => {
document.querySelectorAll('.van-picker-column')[1].style.display = 'none'; document.querySelectorAll('.van-picker-column')[1].style.display = 'none';
let oLi = document.querySelectorAll('.van-picker-column')[0].querySelectorAll('li'); let oLi = document.querySelectorAll('.van-picker-column')[0].querySelectorAll('li');
console.log(oLi) for(var i = 0; i < oLi.length; i++) {
console.log(oLi[i].innerText);
oLi[i].innerText = oLi[i].innerText + ':00'
}
}) })
}, },
dateConfirm(val) { dateConfirm(val) {
this.currentTime = val this.currentTime = val
this.dateShow = false this.dateShow = false
for(var i = 0; i < oLi.length; i++) {
console.log(oLi[i].innerText);
oLi[i].innerText = oLi[i].innerText.split(':')[0]
}
}, },
preservationClick() { preservationClick() {
alert(999)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment