| .. | .. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 1195 | 1198 | // that.myCareBean = res2.data.totalCareBeans; |
|---|
| 1196 | 1199 | }); |
|---|
| 1197 | 1200 | }, |
|---|
| 1201 | + goDetail() { |
|---|
| 1202 | + uni.navigateTo({ |
|---|
| 1203 | + url: '/pages/consumption/index?zoneId=' + this.info.id |
|---|
| 1204 | + }) |
|---|
| 1205 | + }, |
|---|
| 1198 | 1206 | goLottery() { |
|---|
| 1199 | 1207 | let that = this; |
|---|
| 1200 | 1208 | var data = { |
|---|
| .. | .. |
|---|
| 1836 | 1844 | transform: translate(0, -50%); |
|---|
| 1837 | 1845 | } |
|---|
| 1838 | 1846 | |
|---|
| 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 | + |
|---|
| 1839 | 1862 | .head_img { |
|---|
| 1840 | 1863 | width: 750rpx; |
|---|
| 1841 | 1864 | height: 422rpx; |
|---|