Jacob
2026-10-13 a4ffccdccbf8b67a5fa34098c83a7d2013b41209
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>
....@@ -1226,6 +1229,11 @@
12261229 // that.myCareBean = res2.data.totalCareBeans;
12271230 });
12281231 },
1232
+ goDetail() {
1233
+ uni.navigateTo({
1234
+ url: '/pages/consumption/index?zoneId=' + this.info.id
1235
+ })
1236
+ },
12291237 goLottery() {
12301238 let that = this;
12311239 var data = {
....@@ -1868,6 +1876,21 @@
18681876 transform: translate(0, -50%);
18691877 }
18701878
1879
+.detail-btn {
1880
+ border: 2rpx solid #fff;
1881
+ border-top-left-radius: 20rpx;
1882
+ border-bottom-left-radius: 20rpx;
1883
+ padding: 10rpx;
1884
+ background-color: #daf2b2;
1885
+ color: #1e984f;
1886
+ width: 50rpx;
1887
+ position: fixed;
1888
+ top: 200rpx;
1889
+ right: 0rpx;
1890
+ line-height: 1rem;
1891
+ z-index: 99;
1892
+}
1893
+
18711894 .head_img {
18721895 width: 750rpx;
18731896 height: 422rpx;