Commit 7d04d89f authored by IvyXia123's avatar IvyXia123

支付情况6

parent 62aa0fd9
......@@ -103,10 +103,10 @@ export default {
});
console.log(sessionStorage.getItem('groupDetail'), 2222);
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)
getGoodsDetailApi(this.$route.query.shopId).then(res => {
this.groupDetail = res
this.groupDetail = res.data
})
if (sessionStorage.getItem("buyindex") == 1) {
getUserDetailApi().then(res => {
......
......@@ -7,7 +7,7 @@
/>
<div class="unit-block">
<div class="course_title" @click="actionsheetShow=true">{{secActions.name}} <i class="iconfont icon-below-s"></i>
<router-link :to="{path: '/promptTime'}">
<router-link :to="{path: '/promptTime', query: { periods_id: secActions.id }}">
<div class="zhongbian-kuang">
<img class="zhongbian" :src="zhong" alt="">
</div>
......@@ -235,7 +235,7 @@
push_time:'',
course_name:'',
nextUnitUrl:nextUnitUrl,
// periods_id:this.$route.query.periods_id,
periods_id: this.$route.query.periods_id,
parent_category_id:this.$route.query.parent_category_id,
unitList:[],
more:false,
......@@ -292,6 +292,7 @@
}
},
created(){
console.log(this.periods_id, 77777)
this.initPage();
},
filters:{
......
......@@ -4,7 +4,7 @@
<div class="tishi-timer">
<img :src="tishiTimer" alt="">
</div>
<div class="time-setting" @click="dateShow = true">
<div class="time-setting" @click="dateShowClick">
<div class="time-setting-text">
当前设定的时间
</div>
......@@ -13,7 +13,7 @@
<img :src="youjiantou" alt="">
</div>
</div>
<div class="preservation">
<div class="preservation" @click="preservationClick">
保存
</div>
<van-popup v-model="dateShow" position="bottom">
......@@ -49,10 +49,20 @@
[Popup.name]: Popup,
},
methods: {
dateShowClick() {
this.dateShow = true;
this.$nextTick(() => {
document.querySelectorAll('.van-picker-column')[1].style.display = 'none';
let oLi = document.querySelectorAll('.van-picker-column')[0].querySelectorAll('li');
console.log(oLi)
})
},
dateConfirm(val) {
this.currentTime = val
this.dateShow = false
console.log(document.querySelectorAll('.van-picker-column'));
},
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