Commit 086c2d96 by mamingqun

修改了入围奖样式

parent 8c5aec3b
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<span>人气奖</span> <span>人气奖</span>
<span>10名</span> <span>10名</span>
</div> </div>
<div class="prize lightBlue">2张万达影院电影票</div> <div class="prize lightBlue">万达影院电影票2张</div>
</div> </div>
</div> </div>
<!-- <div class="text3"> <!-- <div class="text3">
......
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
</div> </div>
</div> </div>
<!-- 入围奖 --> <!-- 入围奖 -->
<div class="contentBox ruweipaihang ruweijiang" v-if="tabActive === 4"> <div class="contentBox ruweipaihang ruweijiang" ref='ruweiBox' v-if="tabActive === 4">
<div class="subContent" id="ruweijiangBox" ref="ruweijiangBox"> <!-- <div class="subContent" id="ruweijiangBox" ref="ruweijiangBox">
<vue-waterfall-easy <vue-waterfall-easy
ref="lastContent" ref="lastContent"
v-if="ruwei" v-if="ruwei"
...@@ -104,7 +104,8 @@ ...@@ -104,7 +104,8 @@
</div> </div>
<div slot="waterfall-over">没有更多了~</div> <div slot="waterfall-over">没有更多了~</div>
</vue-waterfall-easy> </vue-waterfall-easy>
</div> </div>-->
<ruwei></ruwei>
</div> </div>
</div> </div>
<div class="joinus" v-show="tabActive !== 3"> <div class="joinus" v-show="tabActive !== 3">
...@@ -134,6 +135,8 @@ import store from '../../modules/store'; ...@@ -134,6 +135,8 @@ import store from '../../modules/store';
import wx from 'weixin-js-sdk'; import wx from 'weixin-js-sdk';
import TypeBox from '../../components/TypeBox'; import TypeBox from '../../components/TypeBox';
import ruwei from './ruwei.vue';
import api from '@/modules/js/api.js'; import api from '@/modules/js/api.js';
export default { export default {
...@@ -211,7 +214,7 @@ export default { ...@@ -211,7 +214,7 @@ export default {
this.getUserInfo(); this.getUserInfo();
this.fucengButton = localStorage.getItem("fucengButton") ? 'close' : 'open'; this.fucengButton = localStorage.getItem("fucengButton") ? 'close' : 'open';
// this.getRuweiList(); this.getRuweiList();
// this.hiddenBar(); // this.hiddenBar();
}, },
...@@ -417,15 +420,6 @@ export default { ...@@ -417,15 +420,6 @@ export default {
}); });
}, },
getPrizeList() { getPrizeList() {
// axios
// .get(
// '/contest/award/list?activity_id=' +
// this.$store.state.activeInfo.id
// )
// .then(res => {
// this.huojiang = res.data.data.data;
// this.huojingTitle = res.data.data.title;
// });
axios.get('/contest/award/list/time').then(res => { axios.get('/contest/award/list/time').then(res => {
// console.log('prizeList'); // console.log('prizeList');
...@@ -475,9 +469,9 @@ export default { ...@@ -475,9 +469,9 @@ export default {
this.lastAllLoaded = true; this.lastAllLoaded = true;
this.ruweidot = { backgroundColor: 'transparent' }; this.ruweidot = { backgroundColor: 'transparent' };
Toast({ // Toast({
// message: '没有更多' // message: '没有更多'
}); // });
return return
} }
...@@ -794,7 +788,8 @@ export default { ...@@ -794,7 +788,8 @@ export default {
vueWaterfallEasy, vueWaterfallEasy,
PrizeBox, PrizeBox,
TypeBox, TypeBox,
Fuceng Fuceng,
ruwei
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
try { try {
...@@ -824,7 +819,8 @@ export default { ...@@ -824,7 +819,8 @@ export default {
} }
try { try {
var ruweiY = $('.ruweijiang .vue-waterfall-easy-scroll').scrollTop(); // var ruweiY = $('.ruweijiang .vue-waterfall-easy-scroll').scrollTop();
var ruweiY = this.$refs.ruweiBox.scrollTop;
store.commit('changeRuweiBoxScrollY', ruweiY); store.commit('changeRuweiBoxScrollY', ruweiY);
} catch (error) { } catch (error) {
...@@ -854,7 +850,8 @@ export default { ...@@ -854,7 +850,8 @@ export default {
try { try {
var ys = this.$store.state.ruweiBoxScroll; var ys = this.$store.state.ruweiBoxScroll;
var ruweiY = $('.ruweijiang .vue-waterfall-easy-scroll').scrollTop(ys); // var ruweiY = $('.ruweijiang .vue-waterfall-easy-scroll').scrollTop(ys);
this.$refs.ruweiBox.scrollTop = ys;
} catch (error) { } catch (error) {
} }
......
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 sign in to comment