Jacob
2026-10-13 1d3f1ad9b368d1e15391e26d16497b8940cb5c74
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>
....@@ -495,7 +498,7 @@
495498
496499 <script>
497500 import {
498
- HTTP_REQUEST_URL
501
+ WEB_ACTIVITY_BASE
499502 } from '@/config/app';
500503 import {
501504 mapGetters
....@@ -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 = {
....@@ -1206,11 +1214,7 @@
12061214 this.addTrack('yy_marketPageClick', data);
12071215
12081216 function go() {
1209
- let webUrl = 'https://ossacmall.bluedeer.com.cn/acmall_lottery/index.html'
1210
- if (HTTP_REQUEST_URL.indexOf('tohours') > 0) {
1211
- webUrl = webUrl.replace('https://ossacmall.bluedeer.com.cn',
1212
- 'https://sit.tohours.com/crmeb_web')
1213
- }
1217
+ let webUrl = `${WEB_ACTIVITY_BASE}/acmall_lottery/index.html`
12141218 webUrl += '?token=' +
12151219 that.$store.getters.token + '&unionId=' + that.$store.getters.unionId + '&mdayId=' + that.info
12161220 .mdayId
....@@ -1840,6 +1844,21 @@
18401844 transform: translate(0, -50%);
18411845 }
18421846
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
+
18431862 .head_img {
18441863 width: 750rpx;
18451864 height: 422rpx;