|
@@ -1,204 +1,255 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
- <view class="head">
|
|
|
- <image class="img" :src="detail.prizeIcon" mode="aspectFill"></image>
|
|
|
- <view class="info">
|
|
|
- <view class="title row">
|
|
|
- {{ detail.name }}
|
|
|
- </view>
|
|
|
- <view class="row">
|
|
|
- <view class="price">
|
|
|
- ¥{{ detail.price }}
|
|
|
- <span class="text">/张明信片</span>
|
|
|
+ <view
|
|
|
+ class="bk"
|
|
|
+ :style="{
|
|
|
+ 'padding-top': safeAreaTop,
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ <div class="text-white bold text-center mt-2">
|
|
|
+ <uni-icons
|
|
|
+ type="left"
|
|
|
+ size="20"
|
|
|
+ color="#fff"
|
|
|
+ style="position: absolute; left: 0; margin-left: 10px"
|
|
|
+ @click="back"
|
|
|
+ ></uni-icons>
|
|
|
+ 全套赏
|
|
|
+ </div>
|
|
|
+ <view class="head" style="margin-top: 18px">
|
|
|
+ <image class="img" :src="detail.prizeIcon" mode="aspectFill"></image>
|
|
|
+ <view class="info">
|
|
|
+ <view class="title row">
|
|
|
+ {{ detail.name }}
|
|
|
</view>
|
|
|
- <image
|
|
|
- @click="$navigateTo('/pages/rule/rule', { type: 3 })"
|
|
|
- class="button"
|
|
|
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/rule.png"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
- </view>
|
|
|
- <view class="row">
|
|
|
- <view class="users">
|
|
|
+ <view class="row">
|
|
|
+ <view class="price">
|
|
|
+ ¥{{ detail.price }}
|
|
|
+ <span class="text">/张明信片</span>
|
|
|
+ </view>
|
|
|
<image
|
|
|
- class="photo"
|
|
|
- :style="'left:' + index * 11 + 'px'"
|
|
|
- :src="'https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png'"
|
|
|
- v-for="(item, index) in userList"
|
|
|
+ @click="$navigateTo('/pages/rule/rule', { type: 3 })"
|
|
|
+ class="button"
|
|
|
+ src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/rule.png"
|
|
|
mode="widthFix"
|
|
|
></image>
|
|
|
</view>
|
|
|
- <view class="hot">
|
|
|
- <image :src="'https://file.rongcyl.cn/festatic/bkm/imgv2' + '/first/hot.png'" mode="widthFix"></image>
|
|
|
- {{ detail.hotNum }}
|
|
|
+ <view class="row">
|
|
|
+ <view class="users">
|
|
|
+ <image
|
|
|
+ class="photo"
|
|
|
+ :style="'left:' + index * 11 + 'px'"
|
|
|
+ :src="'https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png'"
|
|
|
+ v-for="(item, index) in userList"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ </view>
|
|
|
+ <view class="hot">
|
|
|
+ <image :src="'https://file.rongcyl.cn/festatic/bkm/imgv2' + '/first/hot.png'" mode="widthFix"></image>
|
|
|
+ {{ detail.hotNum }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="cardList">
|
|
|
- <image
|
|
|
- class="itemHead"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/headBk.png'"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
- <view class="countdown textColor5">
|
|
|
- {{ countdown }}
|
|
|
- </view>
|
|
|
- <view class="title">
|
|
|
- <view class="left">
|
|
|
- <image
|
|
|
- class="text1"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/icon1.png'"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
- <view class="row text2" style="font-size: 14px">已选择 {{ selectIndex.length }} 个</view>
|
|
|
+ <view class="cardList">
|
|
|
+ <image
|
|
|
+ class="itemHead"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/headBk.png'"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ <view class="countdown textColor5">
|
|
|
+ {{ countdown }}
|
|
|
</view>
|
|
|
- <view class="right">
|
|
|
- <view class="text">
|
|
|
- 分享福袋有几率提高
|
|
|
- <span style="color: #63fff6">S赏</span>
|
|
|
- 概率
|
|
|
- </view>
|
|
|
- <!-- <image class="button" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button1.png'" mode="widthFix"></image> -->
|
|
|
- <button open-type="share" class="share_btn">
|
|
|
+ <view class="title">
|
|
|
+ <view class="left">
|
|
|
<image
|
|
|
- class="button"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button1.png'"
|
|
|
+ class="text1"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/icon1.png'"
|
|
|
mode="widthFix"
|
|
|
></image>
|
|
|
- </button>
|
|
|
+ <view class="row text2" style="font-size: 14px">已选择 {{ selectIndex.length }} 个</view>
|
|
|
+ </view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="text">
|
|
|
+ 分享福袋有几率提高
|
|
|
+ <span style="color: #63fff6">S赏</span>
|
|
|
+ 概率
|
|
|
+ </view>
|
|
|
+ <!-- <image class="button" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button1.png'" mode="widthFix"></image> -->
|
|
|
+ <button open-type="share" class="share_btn">
|
|
|
+ <image
|
|
|
+ class="button"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button1.png'"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ </button>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="list">
|
|
|
- <view
|
|
|
- :class="['item', item.status == 0 ? 'c1' : 'c2']"
|
|
|
- v-for="(item, index) in cardList"
|
|
|
- @click="clickCard(item)"
|
|
|
- >
|
|
|
- <numImg v-if="item.status == 0" class="num" :value="item" :type="3" />
|
|
|
- <img
|
|
|
- v-if="item.status == 2"
|
|
|
- src="https://file.rongcyl.cn/festatic/bkm/first2/gift_a.png"
|
|
|
- style="width: 60rpx; height: 72rpx"
|
|
|
- />
|
|
|
- <img
|
|
|
- v-if="item.status == 1"
|
|
|
- src="https://file.rongcyl.cn/festatic/bkm/first2/lock.png"
|
|
|
- style="width: 60rpx; height: 60rpx"
|
|
|
- />
|
|
|
- <image
|
|
|
- v-if="item.check"
|
|
|
- class="checkBk"
|
|
|
- src="https://file.rongcyl.cn/festatic/bkm/imgv2/first/cardCheck.png"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
+ <view class="list">
|
|
|
+ <view
|
|
|
+ :class="['item', item.status == 0 ? 'c1' : 'c2']"
|
|
|
+ v-for="(item, index) in cardList"
|
|
|
+ @click="clickCard(item)"
|
|
|
+ >
|
|
|
+ <numImg v-if="item.status == 0" class="num" :value="item" :type="3" />
|
|
|
+ <img
|
|
|
+ v-if="item.status == 2"
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/gift_a.png"
|
|
|
+ style="width: 60rpx; height: 72rpx"
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ v-if="item.status == 1"
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/lock.png"
|
|
|
+ style="width: 60rpx; height: 60rpx"
|
|
|
+ />
|
|
|
+ <image
|
|
|
+ v-if="item.check"
|
|
|
+ class="checkBk"
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/imgv2/first/cardCheck.png"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <image
|
|
|
- class="buyButton"
|
|
|
- @click="submit"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button2.png'"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
- </view>
|
|
|
|
|
|
- <!-- <view class="examples">
|
|
|
- <view class="example">
|
|
|
- <image
|
|
|
- class="exampleImg"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk' + cardType(3, { status: 0 }) + '.png'"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
- <image class="tip" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/bkType1.png'" mode="widthFix"></image>
|
|
|
+ <!-- <view class="examples">
|
|
|
+ <view class="example">
|
|
|
+ <image
|
|
|
+ class="exampleImg"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk' + cardType(3, { status: 0 }) + '.png'"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ <image class="tip" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/bkType1.png'" mode="widthFix"></image>
|
|
|
+ </view>
|
|
|
+ <view class="example">
|
|
|
+ <image
|
|
|
+ class="exampleImg"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk' + cardType(3, { status: 2 }) + '.png'"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ <image class="tip" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/bkType5.png'" mode="widthFix"></image>
|
|
|
+ </view>
|
|
|
+ <view class="example">
|
|
|
+ <image
|
|
|
+ class="exampleImg"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk' + cardType(3, { status: 1 }) + '.png'"
|
|
|
+ mode="widthFix"
|
|
|
+ ></image>
|
|
|
+ <image class="tip" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/bkType4.png'" mode="widthFix"></image>
|
|
|
+ </view>
|
|
|
+ </view> -->
|
|
|
+
|
|
|
+ <view class="buttons">
|
|
|
+ <!-- <image class="button1" @click="toKnapsack"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button3.png'" mode="heightFix">
|
|
|
+ </image> -->
|
|
|
+ <!-- <image class="button1" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button4.png'" mode="heightFix"></image> -->
|
|
|
+ <!-- <image class="button1"
|
|
|
+ @click="$navigateTo('/pages/drawCard_fullSet/goods', { raffleId: params.raffleId })"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button5.png'" mode="heightFix">
|
|
|
+ </image> -->
|
|
|
+ <view class="button1" @click="$navigateTo('/pages/drawCard_fullSet/goods', { raffleId: params.raffleId })">
|
|
|
+ 奖品预览
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="example">
|
|
|
+ <view
|
|
|
+ class="winningList"
|
|
|
+ v-if="prizeUserList.length > 0"
|
|
|
+ @click="$navigateTo('/pages/drawCard_fullSet/winningList', { raffleId: params.raffleId })"
|
|
|
+ >
|
|
|
<image
|
|
|
- class="exampleImg"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk' + cardType(3, { status: 2 }) + '.png'"
|
|
|
+ class="winningListTitle"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/icon2.png'"
|
|
|
mode="widthFix"
|
|
|
></image>
|
|
|
- <image class="tip" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/bkType5.png'" mode="widthFix"></image>
|
|
|
+ <view class="list">
|
|
|
+ <view class="item" v-for="(item, index) in prizeUserList.slice(0, 5)">
|
|
|
+ <image class="photo" :src="item.userAvtar" mode="aspectFill"></image>
|
|
|
+ <view class="name">
|
|
|
+ {{ item.userName }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="item" v-if="prizeUserList.length > 5">
|
|
|
+ <image
|
|
|
+ class="photo"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/icon3.png'"
|
|
|
+ mode="aspectFill"
|
|
|
+ ></image>
|
|
|
+ <view class="name" style="color: #6478fd">查看更多</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="example">
|
|
|
+ <view class="prizes" style="display: none">
|
|
|
<image
|
|
|
- class="exampleImg"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk' + cardType(3, { status: 1 }) + '.png'"
|
|
|
+ class="title"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/first/title.png'"
|
|
|
mode="widthFix"
|
|
|
></image>
|
|
|
- <image class="tip" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/ka/bkType4.png'" mode="widthFix"></image>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
- <view class="buttons">
|
|
|
- <image
|
|
|
- class="button1"
|
|
|
- @click="toKnapsack"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button3.png'"
|
|
|
- mode="heightFix"
|
|
|
- ></image>
|
|
|
- <!-- <image class="button1" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button4.png'" mode="heightFix"></image> -->
|
|
|
- <image
|
|
|
- class="button1"
|
|
|
- @click="$navigateTo('/pages/drawCard_fullSet/goods', { raffleId: params.raffleId })"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/button5.png'"
|
|
|
- mode="heightFix"
|
|
|
- ></image>
|
|
|
- </view>
|
|
|
- <view
|
|
|
- class="winningList"
|
|
|
- v-if="prizeUserList.length > 0"
|
|
|
- @click="$navigateTo('/pages/drawCard_fullSet/winningList', { raffleId: params.raffleId })"
|
|
|
- >
|
|
|
- <image
|
|
|
- class="winningListTitle"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/icon2.png'"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
- <view class="list">
|
|
|
- <view class="item" v-for="(item, index) in prizeUserList.slice(0, 5)">
|
|
|
- <image class="photo" :src="item.userAvtar" mode="aspectFill"></image>
|
|
|
- <view class="name">
|
|
|
- {{ item.userName }}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="item" v-if="prizeUserList.length > 5">
|
|
|
+ <view class="prizesList" v-for="(item, index) in prizeList">
|
|
|
<image
|
|
|
- class="photo"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/drawCard_fullSet/icon3.png'"
|
|
|
- mode="aspectFill"
|
|
|
+ class="bk"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/first/bk2.png'"
|
|
|
+ mode="scaleToFill"
|
|
|
></image>
|
|
|
- <view class="name" style="color: #6478fd">查看更多</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="prizes" style="display: none">
|
|
|
- <image class="title" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/first/title.png'" mode="widthFix"></image>
|
|
|
- <view class="prizesList" v-for="(item, index) in prizeList">
|
|
|
- <image class="bk" :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/first/bk2.png'" mode="scaleToFill"></image>
|
|
|
- <view class="prizesTitle">
|
|
|
- {{ $selectDictLabel(rewardType, item.type) }}
|
|
|
- </view>
|
|
|
- <view class="prizesImgOne" v-if="item.type == 22">
|
|
|
- <view class="image" v-for="(item2, index2) in item.prizeList">
|
|
|
- <image :class="item2.leftNum == 0 ? 'grey' : ''" :src="item2.icon" mode="aspectFill"></image>
|
|
|
+ <view class="prizesTitle">
|
|
|
+ {{ $selectDictLabel(rewardType, item.type) }}
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="prizesImg" v-else>
|
|
|
- <view class="image" v-for="(item2, index2) in item.prizeList">
|
|
|
- <image :class="item2.leftNum == 0 ? 'grey' : ''" :src="item2.icon" mode="aspectFill"></image>
|
|
|
+ <view class="prizesImgOne" v-if="item.type == 22">
|
|
|
+ <view class="image" v-for="(item2, index2) in item.prizeList">
|
|
|
+ <image :class="item2.leftNum == 0 ? 'grey' : ''" :src="item2.icon" mode="aspectFill"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="prizesImg" v-else>
|
|
|
+ <view class="image" v-for="(item2, index2) in item.prizeList">
|
|
|
+ <image :class="item2.leftNum == 0 ? 'grey' : ''" :src="item2.icon" mode="aspectFill"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <div class="buy items-center">
|
|
|
+ <div class="pica ml-2" style="margin-top: -38rpx">
|
|
|
+ <img src="https://file.rongcyl.cn/festatic/bkm/first2/pica.png" class="w-full h-full" />
|
|
|
+ </div>
|
|
|
+ <div class="flex-1 text-white fs12 ml12 relative bottom-3 pl-3">
|
|
|
+ <span class="inline-block">已选{{ selectIndex.length }}个 合计:</span>
|
|
|
+ <span class="inline-block" style="color: #ea6636">
|
|
|
+ <span class="bold">¥</span>
|
|
|
+ <span class="fs18 bold">{{ (selectIndex.length * detail.price).toFixed(2) }}</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <img
|
|
|
+ @click="submit"
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/bug.png"
|
|
|
+ class="b_btn relative bottom-3 right-2"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</view>
|
|
|
- <image
|
|
|
- class="refresh"
|
|
|
- @click="refresh"
|
|
|
- :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/first/refresh.png'"
|
|
|
- mode="widthFix"
|
|
|
- ></image>
|
|
|
+ <div class="fixed right-2 bottom-20" style="height: 460rpx">
|
|
|
+ <!-- <img
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/fu.png"
|
|
|
+ style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
|
|
|
+ /> -->
|
|
|
+ <img
|
|
|
+ @click="toKnapsack"
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/bag.png"
|
|
|
+ style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ @click="refresh"
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/refresh.png"
|
|
|
+ style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
|
|
|
+ />
|
|
|
+ <button open-type="share" class="share_btn">
|
|
|
+ <img
|
|
|
+ src="https://file.rongcyl.cn/festatic/bkm/first2/share.png"
|
|
|
+ style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
|
|
|
+ />
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <!-- <image class="refresh" @click="refresh"
|
|
|
+ :src="'https://file.rongcyl.cn/festatic/bkm/imgv2/first/refresh.png'" mode="widthFix"></image> -->
|
|
|
<paymentPopup ref="paymentPopup" @callBack="paymentSuccess" />
|
|
|
- <view style="height: 40px; width: 100%"></view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -218,6 +269,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ safeAreaTop: '0px',
|
|
|
countdown: '',
|
|
|
countdownInfinity: null,
|
|
|
cardType: cardType,
|
|
@@ -244,6 +296,9 @@ export default {
|
|
|
}
|
|
|
this.paymentSuccess()
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ this.getSafeAreaTop()
|
|
|
+ },
|
|
|
onHide() {
|
|
|
if (!this.countdownInfinity) {
|
|
|
clearInterval(this.countdownInfinity)
|
|
@@ -260,6 +315,13 @@ export default {
|
|
|
// 获取中奖记录
|
|
|
this.getPrizeUserList()
|
|
|
},
|
|
|
+ getSafeAreaTop() {
|
|
|
+ wx.getSystemInfo({
|
|
|
+ success: res => {
|
|
|
+ this.safeAreaTop = res.safeArea.top + 'px'
|
|
|
+ },
|
|
|
+ })
|
|
|
+ },
|
|
|
toKnapsack() {
|
|
|
// 跳转背包界面
|
|
|
wx.navigateTo({
|
|
@@ -437,6 +499,9 @@ export default {
|
|
|
}
|
|
|
this.getCardList()
|
|
|
},
|
|
|
+ back() {
|
|
|
+ wx.navigateBack({ delta: 1 })
|
|
|
+ },
|
|
|
},
|
|
|
}
|
|
|
</script>
|
|
@@ -458,9 +523,43 @@ export default {
|
|
|
}
|
|
|
|
|
|
.container {
|
|
|
- background: #9ec8f9;
|
|
|
- padding-top: 15px;
|
|
|
- overflow: auto;
|
|
|
+ // background: #9ec8f9;
|
|
|
+ background: linear-gradient(216deg, #fe854c 0%, #ff9a5a 100%);
|
|
|
+
|
|
|
+ .bk {
|
|
|
+ overflow: auto;
|
|
|
+ padding-top: 15px;
|
|
|
+ background-image: url(https://file.rongcyl.cn/festatic/bkm/first2/bg.png);
|
|
|
+ height: calc(100vh - 160rpx);
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: center center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow: scroll;
|
|
|
+ padding-bottom: 160rpx;
|
|
|
+
|
|
|
+ .buy {
|
|
|
+ position: fixed;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ width: 750rpx;
|
|
|
+ height: 160rpx;
|
|
|
+ background: #000000;
|
|
|
+ opacity: 1;
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .pica {
|
|
|
+ width: 88rpx;
|
|
|
+ height: 88rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .b_btn {
|
|
|
+ width: 232rpx;
|
|
|
+ height: 76rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
.refresh {
|
|
|
position: fixed;
|
|
@@ -548,7 +647,8 @@ export default {
|
|
|
margin: 10px;
|
|
|
border-radius: 12px;
|
|
|
position: relative;
|
|
|
- background: linear-gradient(180deg, #31b7fd 10%, #6478fd 90%);
|
|
|
+ // background: linear-gradient(180deg, #31b7fd 10%, #6478fd 90%);
|
|
|
+ background: #ff6f01;
|
|
|
// overflow: scroll;
|
|
|
padding-bottom: 1px;
|
|
|
|
|
@@ -563,7 +663,7 @@ export default {
|
|
|
position: relative;
|
|
|
left: -10px;
|
|
|
top: -10px;
|
|
|
- width: calc(100% + 10px);
|
|
|
+ width: calc(100% + 20rpx);
|
|
|
}
|
|
|
|
|
|
.title {
|
|
@@ -624,7 +724,7 @@ export default {
|
|
|
.c1 {
|
|
|
background-image: url(https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk3.png);
|
|
|
// width: 96rpx;
|
|
|
- height: 128rpx;
|
|
|
+ height: 136rpx;
|
|
|
background-repeat: no-repeat;
|
|
|
background-position: center center;
|
|
|
background-size: contain;
|
|
@@ -640,7 +740,7 @@ export default {
|
|
|
.c2 {
|
|
|
background-image: url(https://file.rongcyl.cn/festatic/bkm/imgv2/ka/kabk4.png);
|
|
|
// width: 96rpx;
|
|
|
- height: 128rpx;
|
|
|
+ height: 136rpx;
|
|
|
background-repeat: no-repeat;
|
|
|
background-position: center center;
|
|
|
background-size: contain;
|
|
@@ -685,7 +785,7 @@ export default {
|
|
|
.winningList {
|
|
|
margin: 20px 10px;
|
|
|
padding: 15px;
|
|
|
- background: linear-gradient(180deg, #31b7fd 10%, #6478fd 90%);
|
|
|
+ background: linear-gradient(180deg, #ff6f01 10%, #ff5a01 90%);
|
|
|
border-radius: 12px;
|
|
|
|
|
|
.winningListTitle {
|
|
@@ -737,7 +837,15 @@ export default {
|
|
|
padding: 0 10px;
|
|
|
|
|
|
.button1 {
|
|
|
- height: 52px;
|
|
|
+ height: 70rpx;
|
|
|
+ width: 140rpx;
|
|
|
+ line-height: 70rpx;
|
|
|
+ color: #fff;
|
|
|
+ background: linear-gradient(180deg, #fef104 10%, #ff7a33 90%);
|
|
|
+ text-align: center;
|
|
|
+ border-radius: 35rpx;
|
|
|
+ padding: 0 20rpx;
|
|
|
+ font-weight: 600;
|
|
|
}
|
|
|
}
|
|
|
|