Commit 7d04d89f authored by IvyXia123's avatar IvyXia123

支付情况6

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