Jacob
2026-10-12 df2f6980ff90f96ac4ef75f84098a8eab6b326bc
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>
....@@ -1195,6 +1198,11 @@
11951198 // that.myCareBean = res2.data.totalCareBeans;
11961199 });
11971200 },
1201
+ goDetail() {
1202
+ uni.navigateTo({
1203
+ url: '/pages/consumption/index?zoneId=' + this.info.id
1204
+ })
1205
+ },
11981206 goLottery() {
11991207 let that = this;
12001208 var data = {
....@@ -1836,6 +1844,21 @@
18361844 transform: translate(0, -50%);
18371845 }
18381846
1847
+.detail-btn {
1848
+ border: 2rpx solid #fff;
1849
+ border-top-left-radius: 20rpx;
1850
+ border-bottom-left-radius: 20rpx;
1851
+ padding: 10rpx;
1852
+ background-color: #daf2b2;
1853
+ color: #1e984f;
1854
+ width: 50rpx;
1855
+ position: fixed;
1856
+ top: 200rpx;
1857
+ right: 0rpx;
1858
+ line-height: 1rem;
1859
+ z-index: 99;
1860
+}
1861
+
18391862 .head_img {
18401863 width: 750rpx;
18411864 height: 422rpx;