| .. | .. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 1226 | 1229 | // that.myCareBean = res2.data.totalCareBeans; |
|---|
| 1227 | 1230 | }); |
|---|
| 1228 | 1231 | }, |
|---|
| 1232 | + goDetail() { |
|---|
| 1233 | + uni.navigateTo({ |
|---|
| 1234 | + url: '/pages/consumption/index?zoneId=' + this.info.id |
|---|
| 1235 | + }) |
|---|
| 1236 | + }, |
|---|
| 1229 | 1237 | goLottery() { |
|---|
| 1230 | 1238 | let that = this; |
|---|
| 1231 | 1239 | var data = { |
|---|
| .. | .. |
|---|
| 1868 | 1876 | transform: translate(0, -50%); |
|---|
| 1869 | 1877 | } |
|---|
| 1870 | 1878 | |
|---|
| 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 | + |
|---|
| 1871 | 1894 | .head_img { |
|---|
| 1872 | 1895 | width: 750rpx; |
|---|
| 1873 | 1896 | height: 422rpx; |
|---|