123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- <template style="background-color: red">
- <div
- style="
- height: 100vh;
- background: linear-gradient(216deg, #fe854c 0%, #ff9a5a 100%);
- box-sizing: border-box;
- overflow: scroll;
- "
- >
- <div
- class="first2"
- :style="{
- background: 'url(https://file.rongcyl.cn/festatic/bkm/first2/bg.png)',
- height: 'calc(100vh - 160rpx)',
- 'background-repeat': 'no-repeat',
- 'background-position': 'center center',
- 'background-size': 'contain',
- 'padding-top': safeAreaTop,
- 'box-sizing': 'border-box',
- overflow: 'scroll',
- 'padding-bottom': '160rpx',
- }"
- >
- <div class="text-white bold text-center mt-2">FIRST赏详情</div>
- <div class="card relative">
- <div class="flex pt-3 px-3">
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/card.png"
- style="width: 168rpx; height: 169rpx; border-radius: 8px"
- />
- <div class="flex-1 pl-2">
- <div class="" style="font-weight: 900">宝可梦日版PSA10变装皮来咯</div>
- <div class="flex justify-between">
- <div>
- <span class="bold" style="color: #ff2c43; font-size: 24rpx">¥</span>
- <span class="bold" style="color: #ff2c43; font-size: 38rpx">9</span>
- <span class="bold" style="color: #ff2c43; font-size: 28rpx">.9</span>
- <span style="color: #4e504f; font-size: 14px">/张明信片</span>
- </div>
- <div class="pt-2">
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/rule.png"
- style="width: 134rpx; height: 48rpx"
- />
- </div>
- </div>
- <div class="flex justify-between">
- <div>
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
- style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
- />
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
- class="relative right-2"
- style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
- />
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
- class="relative right-4"
- style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
- />
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
- class="relative right-6"
- style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
- />
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/item.png"
- class="relative right-8"
- style="width: 40rpx; height: 40rpx; border-radius: 50%; display: inline-block; border: 1px solid #fff"
- />
- </div>
- <div class="flex items-center">
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/hot.png"
- class="relative right-2"
- style="width: 32rpx; height: 32rpx; display: inline-block"
- />
- <span style="color: #fc5b20" class="fs11">2025</span>
- </div>
- </div>
- </div>
- </div>
- <div
- class="absolute left-0 right-0 bottom-6 mx-auto"
- style="
- width: 670rpx;
- height: 128rpx;
- background: url(https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/notice_c.png) no-repeat
- center center;
- background-size: cover;
- "
- >
- <img
- src="https://fudaanfang.oss-cn-hangzhou.aliyuncs.com/festatic/bkm/first2/notice.png"
- class="absolute top-2 left-2"
- style="width: 106rpx; height: 28rpx"
- />
- <div class="text-white fs12 mt-6 px-2">
- 购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知购买须知。
- </div>
- </div>
- <div
- class="absolute left-0 right-0 bottom-1 mx-auto"
- style="
- width: 690rpx;
- height: 12px;
- background: #4f5150;
- box-shadow: inset 0px 4px 4px 0px rgba(0, 0, 0, 0.8);
- border-radius: 22px 22px 22px 22px;
- opacity: 1;
- "
- >
- <div
- class="absolute top-1 mx-auto"
- style="
- left: 10rpx;
- right: 10rpx;
- width: 670rpx;
- height: 890rpx;
- background: linear-gradient(180deg, #ccd3d9 0%, #ffffff 5%);
- border-radius: 0px 0px 0px 0px;
- opacity: 1;
- "
- >
- <div class="flex justify-around mt-4">
- <img
- src="https://file.rongcyl.cn/festatic/bkm/first2/tab1.png"
- v-if="tabIndex !== 1"
- @click="tabIndex = 1"
- style="width: 126rpx; height: 32rpx"
- />
- <img
- v-if="tabIndex == 1"
- src="https://file.rongcyl.cn/festatic/bkm/first2/tab1a.png"
- @click="tabIndex = 1"
- style="width: 126rpx; height: 32rpx"
- />
- <img
- v-if="tabIndex !== 2"
- src="https://file.rongcyl.cn/festatic/bkm/first2/tab2.png"
- @click="tabIndex = 2"
- style="width: 126rpx; height: 32rpx"
- />
- <img
- v-if="tabIndex == 2"
- src="https://file.rongcyl.cn/festatic/bkm/first2/tab2a.png"
- @click="tabIndex = 2"
- style="width: 126rpx; height: 32rpx"
- />
- <img
- v-if="tabIndex != 3"
- src="https://file.rongcyl.cn/festatic/bkm/first2/tab3.png"
- @click="tabIndex = 3"
- style="width: 126rpx; height: 32rpx"
- />
- <img
- v-if="tabIndex == 3"
- src="https://file.rongcyl.cn/festatic/bkm/first2/tab3a.png"
- @click="tabIndex = 3"
- style="width: 126rpx; height: 32rpx"
- />
- </div>
- <div class="flex flex-wrap justify-between" style="padding: 20rpx 16rpx" v-if="tabIndex == 1">
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/0.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/5.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <!-- <img src="https://file.rongcyl.cn/festatic/bkm/first2/0.png" style="width: 24rpx; height: 24rpx" /> -->
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <!-- 2 -->
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/1.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/6.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/gift_a.png" style="width: 60rpx; height: 72rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <!-- 3 -->
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/2.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/7.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c2">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/gift.png" style="width: 76rpx; height: 76rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <!-- 4 -->
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/3.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/8.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c2">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/lock.png" style="width: 60rpx; height: 60rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <!-- 5 -->
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/4.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/9.png" style="width: 24rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- <div class="flex items-center justify-center c1">
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/999.png" style="width: 75rpx; height: 24rpx" />
- </div>
- </div>
- <div class="pt-4" v-if="tabIndex == 2">
- <Title title="LAST" />
- <div class="flex pl-3 pt-3 mb-3" style="background-color: #f6f0e9">
- <div
- v-for="item in 3"
- class="mr-2"
- style="width: 168rpx; background-color: #f9f6f2; border-radius: 4px; margin-bottom: 10px"
- >
- <img
- src="https://file.rongcyl.cn/festatic/bkm/card.png"
- style="width: 144rpx; height: 144rpx; border-radius: 5px; margin: auto"
- />
- <div class="fs13 pl-2">冲四层闯…</div>
- <div style="color: #ea6636" class="pl-2">
- <span class="fs11">参考价</span>
- <span class="fs14 bold">990.5</span>
- </div>
- </div>
- </div>
- <Title title="FIRST" />
- <div class="flex pl-3 pt-3 mb-3" style="background-color: #f6f0e9">
- <div
- v-for="item in 3"
- class="mr-2"
- style="width: 168rpx; background-color: #f9f6f2; border-radius: 4px; margin-bottom: 10px"
- >
- <img
- src="https://file.rongcyl.cn/festatic/bkm/card.png"
- style="width: 144rpx; height: 144rpx; border-radius: 5px; margin: auto"
- />
- <div class="fs13 pl-2">冲四层闯…</div>
- <div style="color: #ea6636" class="pl-2">
- <span class="fs11">参考价</span>
- <span class="fs14 bold">990.5</span>
- </div>
- </div>
- </div>
- </div>
- <div class="flex flex-wrap justify-between" style="padding: 20rpx 16rpx" v-if="tabIndex == 3">3</div>
- <img
- src="https://file.rongcyl.cn/festatic/bkm/first2/dots.png"
- class="absolute mx-auto inline-block left-0 right-0"
- style="width: 612rpx; height: 24rpx; bottom: -12rpx"
- />
- </div>
- </div>
- </div>
- <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
- src="https://file.rongcyl.cn/festatic/bkm/first2/bag.png"
- style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
- />
- <img
- src="https://file.rongcyl.cn/festatic/bkm/first2/refresh.png"
- style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
- />
- <img
- src="https://file.rongcyl.cn/festatic/bkm/first2/share.png"
- style="width: 88rpx; height: 88rpx; margin-bottom: 24rpx"
- />
- </div>
- <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">已选99个 合计:</span>
- <span class="inline-block" style="color: #ea6636">
- <span class="bold">¥</span>
- <span class="fs18 bold">999.5</span>
- </span>
- </div>
- <img src="https://file.rongcyl.cn/festatic/bkm/first2/bug.png" class="b_btn relative bottom-3 right-2" />
- </div>
- </div>
- </div>
- </template>
- <script>
- import Title from './title.vue'
- export default {
- data() {
- return {
- safeAreaTop: '0px',
- tabIndex: 1,
- }
- },
- components: { Title },
- mounted() {
- this.getSafeAreaTop()
- },
- methods: {
- getSafeAreaTop() {
- wx.getSystemInfo({
- success: res => {
- this.safeAreaTop = res.safeArea.top + 'px'
- },
- })
- },
- },
- }
- </script>
- <style scoped lang="scss">
- .first2 {
- padding-top: v-bind(safeAreaBottom);
- color: v-bind(color);
- .card {
- width: 710rpx;
- margin: auto;
- background-color: #fff;
- border-radius: 10px;
- height: 400rpx;
- margin-top: 18px;
- }
- .c1 {
- background-image: url(https://file.rongcyl.cn/festatic/bkm/first2/ca.png);
- width: 96rpx;
- height: 128rpx;
- background-repeat: no-repeat;
- background-position: center center;
- background-size: contain;
- margin-bottom: 14rpx;
- }
- .c2 {
- background-image: url(https://file.rongcyl.cn/festatic/bkm/first2/cg.png);
- width: 96rpx;
- height: 128rpx;
- background-repeat: no-repeat;
- background-position: center center;
- background-size: contain;
- margin-bottom: 14rpx;
- }
- .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;
- }
- }
- }
- </style>
|