zhuxiuying
9 天以前 3e068fc2c13f15a8635ae38fd296d10700a36b04
pages/zone/index.vue
....@@ -14,6 +14,9 @@
1414 <view :style="{ height: marTop + 'px' }"></view>
1515 <yueyangZone ref=yueyangZoneRef v-if="isYueyangZone" :zoneInfo="info" :careBeanRate="careBeanRate"
1616 style="position: relative;z-index: 2;" @goLottery="goLottery" :relationKey="relationKey"></yueyangZone>
17
+ <view v-if="isYueyangZone" class="detail-btn" @click="goDetail">
18
+ <text>消耗明细</text>
19
+ </view>
1720 <view v-else>
1821 <view class="expireTime" v-if="expireTime && expireTime.length">
1922 <text>专区将在</text>
....@@ -67,9 +70,8 @@
6770 </view>
6871 </view>
6972 </view>
70
- <view @click="goLottery" class="lottery_banner" v-if="info && info.isLottery">
71
- <image class="lottery_bannerImg"
72
- src="https://ossacmall.bluedeer.com.cn/app/static/images/zone_lotteryBanner.gif" mode="widthFix">
73
+ <view @click="goLottery" class="lottery_banner" v-if="info && info.isLottery && info.lotteryBanner">
74
+ <image class="lottery_bannerImg" :src="info.lotteryBanner" mode="widthFix">
7375 </image>
7476 </view>
7577 <view class="tag-img-container" v-if="info.zoneType == 7">
....@@ -1195,6 +1197,11 @@
11951197 // that.myCareBean = res2.data.totalCareBeans;
11961198 });
11971199 },
1200
+ goDetail() {
1201
+ uni.navigateTo({
1202
+ url: '/pages/consumption/index?zoneId=' + this.info.id
1203
+ })
1204
+ },
11981205 goLottery() {
11991206 let that = this;
12001207 var data = {
....@@ -1629,13 +1636,11 @@
16291636 .lottery_banner {
16301637 margin: 15rpx auto;
16311638 width: 690rpx;
1632
- height: 120rpx;
16331639 text-align: center;
16341640 }
16351641
16361642 .lottery_bannerImg {
16371643 width: 690rpx;
1638
- height: 120rpx;
16391644 }
16401645
16411646 .tag-wrap-container {
....@@ -1836,6 +1841,21 @@
18361841 transform: translate(0, -50%);
18371842 }
18381843
1844
+.detail-btn {
1845
+ border: 2rpx solid #fff;
1846
+ border-top-left-radius: 20rpx;
1847
+ border-bottom-left-radius: 20rpx;
1848
+ padding: 10rpx;
1849
+ background-color: #daf2b2;
1850
+ color: #1e984f;
1851
+ width: 50rpx;
1852
+ position: fixed;
1853
+ top: 200rpx;
1854
+ right: 0rpx;
1855
+ line-height: 1rem;
1856
+ z-index: 99;
1857
+}
1858
+
18391859 .head_img {
18401860 width: 750rpx;
18411861 height: 422rpx;