| .. | .. |
|---|
| 14 | 14 | <view :style="{ height: marTop + 'px' }"></view> |
|---|
| 15 | 15 | <yueyangZone ref=yueyangZoneRef v-if="isYueyangZone" :zoneInfo="info" :careBeanRate="careBeanRate" |
|---|
| 16 | 16 | 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> |
|---|
| 17 | 20 | <view v-else> |
|---|
| 18 | 21 | <view class="expireTime" v-if="expireTime && expireTime.length"> |
|---|
| 19 | 22 | <text>专区将在</text> |
|---|
| .. | .. |
|---|
| 85 | 88 | </view> |
|---|
| 86 | 89 | </view> |
|---|
| 87 | 90 | </view> |
|---|
| 88 | | - <view @click="goLottery" class="lottery_banner" v-if="info && info.isLottery"> |
|---|
| 89 | | - <image class="lottery_bannerImg" |
|---|
| 90 | | - src="https://ossacmall.bluedeer.com.cn/app/static/images/zone_lotteryBanner.gif" mode="widthFix"> |
|---|
| 91 | + <view @click="goLottery" class="lottery_banner" v-if="info && info.isLottery && info.lotteryBanner"> |
|---|
| 92 | + <image class="lottery_bannerImg" :src="info.lotteryBanner" mode="widthFix"> |
|---|
| 91 | 93 | </image> |
|---|
| 92 | 94 | </view> |
|---|
| 93 | 95 | <view class="tag-img-container" v-if="info.zoneType == 7"> |
|---|
| .. | .. |
|---|
| 513 | 515 | |
|---|
| 514 | 516 | <script> |
|---|
| 515 | 517 | import { |
|---|
| 516 | | - HTTP_REQUEST_URL |
|---|
| 518 | + WEB_ACTIVITY_BASE |
|---|
| 517 | 519 | } from '@/config/app'; |
|---|
| 518 | 520 | import { |
|---|
| 519 | 521 | mapGetters |
|---|
| .. | .. |
|---|
| 1226 | 1228 | // that.myCareBean = res2.data.totalCareBeans; |
|---|
| 1227 | 1229 | }); |
|---|
| 1228 | 1230 | }, |
|---|
| 1231 | + goDetail() { |
|---|
| 1232 | + uni.navigateTo({ |
|---|
| 1233 | + url: '/pages/consumption/index?zoneId=' + this.info.id |
|---|
| 1234 | + }) |
|---|
| 1235 | + }, |
|---|
| 1229 | 1236 | goLottery() { |
|---|
| 1230 | 1237 | let that = this; |
|---|
| 1231 | 1238 | var data = { |
|---|
| .. | .. |
|---|
| 1237 | 1244 | this.addTrack('yy_marketPageClick', data); |
|---|
| 1238 | 1245 | |
|---|
| 1239 | 1246 | function go() { |
|---|
| 1240 | | - let webUrl = 'https://ossacmall.bluedeer.com.cn/acmall_lottery/index.html' |
|---|
| 1241 | | - if (HTTP_REQUEST_URL.indexOf('tohours') > 0) { |
|---|
| 1242 | | - webUrl = webUrl.replace('https://ossacmall.bluedeer.com.cn', |
|---|
| 1243 | | - 'https://sit.tohours.com/crmeb_web') |
|---|
| 1244 | | - } |
|---|
| 1247 | + let webUrl = `${WEB_ACTIVITY_BASE}/acmall_lottery/index.html` |
|---|
| 1245 | 1248 | webUrl += '?token=' + |
|---|
| 1246 | 1249 | that.$store.getters.token + '&unionId=' + that.$store.getters.unionId + '&mdayId=' + that.info |
|---|
| 1247 | 1250 | .mdayId |
|---|
| .. | .. |
|---|
| 1665 | 1668 | .lottery_banner { |
|---|
| 1666 | 1669 | margin: 15rpx auto; |
|---|
| 1667 | 1670 | width: 690rpx; |
|---|
| 1668 | | - height: 120rpx; |
|---|
| 1669 | 1671 | text-align: center; |
|---|
| 1670 | 1672 | } |
|---|
| 1671 | 1673 | |
|---|
| 1672 | 1674 | .lottery_bannerImg { |
|---|
| 1673 | 1675 | width: 690rpx; |
|---|
| 1674 | | - height: 120rpx; |
|---|
| 1675 | 1676 | } |
|---|
| 1676 | 1677 | |
|---|
| 1677 | 1678 | .tag-wrap-container { |
|---|
| .. | .. |
|---|
| 1872 | 1873 | transform: translate(0, -50%); |
|---|
| 1873 | 1874 | } |
|---|
| 1874 | 1875 | |
|---|
| 1876 | +.detail-btn { |
|---|
| 1877 | + border: 2rpx solid #fff; |
|---|
| 1878 | + border-top-left-radius: 20rpx; |
|---|
| 1879 | + border-bottom-left-radius: 20rpx; |
|---|
| 1880 | + padding: 10rpx; |
|---|
| 1881 | + background-color: #daf2b2; |
|---|
| 1882 | + color: #1e984f; |
|---|
| 1883 | + width: 50rpx; |
|---|
| 1884 | + position: fixed; |
|---|
| 1885 | + top: 200rpx; |
|---|
| 1886 | + right: 0rpx; |
|---|
| 1887 | + line-height: 1rem; |
|---|
| 1888 | + z-index: 99; |
|---|
| 1889 | +} |
|---|
| 1890 | + |
|---|
| 1875 | 1891 | .head_img { |
|---|
| 1876 | 1892 | width: 750rpx; |
|---|
| 1877 | 1893 | height: 422rpx; |
|---|