From fbc764bdbca94ced960b53e7e46fa064583752f1 Mon Sep 17 00:00:00 2001
From: Jacob <hlnie@tohours.com>
Date: 星期四, 15 十月 2026 17:57:43 +0800
Subject: [PATCH] Revert "专区抽奖banner改成后台配置"

---
 pages/zone/index.vue |   31 +++++++++++++++++++++++++------
 1 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/pages/zone/index.vue b/pages/zone/index.vue
index 72f1ebf..df47626 100644
--- a/pages/zone/index.vue
+++ b/pages/zone/index.vue
@@ -14,6 +14,9 @@
 		<view :style="{ height: marTop + 'px' }"></view>
 		<yueyangZone ref=yueyangZoneRef v-if="isYueyangZone" :zoneInfo="info" :careBeanRate="careBeanRate"
 			style="position: relative;z-index: 2;" @goLottery="goLottery" :relationKey="relationKey"></yueyangZone>
+		<view v-if="isYueyangZone" class="detail-btn" @click="goDetail">
+			<text>娑堣�楁槑缁�</text>
+		</view>
 		<view v-else>
 			<view class="expireTime" v-if="expireTime && expireTime.length">
 				<text>涓撳尯灏嗗湪</text>
@@ -513,7 +516,7 @@
 
 <script>
 import {
-	HTTP_REQUEST_URL
+	WEB_ACTIVITY_BASE
 } from '@/config/app';
 import {
 	mapGetters
@@ -1226,6 +1229,11 @@
 				// that.myCareBean = res2.data.totalCareBeans;
 			});
 		},
+		goDetail() {
+			uni.navigateTo({
+				url: '/pages/consumption/index?zoneId=' + this.info.id
+			})
+		},
 		goLottery() {
 			let that = this;
 			var data = {
@@ -1237,11 +1245,7 @@
 			this.addTrack('yy_marketPageClick', data);
 
 			function go() {
-				let webUrl = 'https://ossacmall.bluedeer.com.cn/acmall_lottery/index.html'
-				if (HTTP_REQUEST_URL.indexOf('tohours') > 0) {
-					webUrl = webUrl.replace('https://ossacmall.bluedeer.com.cn',
-						'https://sit.tohours.com/crmeb_web')
-				}
+				let webUrl = `${WEB_ACTIVITY_BASE}/acmall_lottery/index.html`
 				webUrl += '?token=' +
 					that.$store.getters.token + '&unionId=' + that.$store.getters.unionId + '&mdayId=' + that.info
 						.mdayId
@@ -1872,6 +1876,21 @@
 	transform: translate(0, -50%);
 }
 
+.detail-btn {
+	border: 2rpx solid #fff;
+	border-top-left-radius: 20rpx;
+	border-bottom-left-radius: 20rpx;
+	padding: 10rpx;
+	background-color: #daf2b2;
+	color: #1e984f;
+	width: 50rpx;
+	position: fixed;
+	top: 200rpx;
+	right: 0rpx;
+	line-height: 1rem;
+	z-index: 99;
+}
+
 .head_img {
 	width: 750rpx;
 	height: 422rpx;

--
Gitblit v1.4.0