123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <template style="background-color: red">
- <div
- style="
- background-image: url(https://file.rongcyl.cn/festatic/bkm/bg_i.png);
- background-repeat: no-repeat;
- background-position: center center;
- background-size: contain;
- background-color: #000;
- padding-bottom: 80px;
- "
- >
- <img src="https://file.rongcyl.cn/festatic/bkm/banner.png" class="w-full" />
- <div
- style="
- background: rgba(0, 0, 0, 0.85);
- background-image: url(https://file.rongcyl.cn/festatic/bkm/box.png);
- background-size: cover;
- "
- >
- <div class="flex justify-between">
- <img src="https://file.rongcyl.cn/festatic/bkm/activity.png" class="area" />
- <img src="https://file.rongcyl.cn/festatic/bkm/task.png" class="area" />
- <img src="https://file.rongcyl.cn/festatic/bkm/invite.png" class="area" />
- </div>
- <div class="flex justify-between m-2 co">
- <img src="https://file.rongcyl.cn/festatic/bkm/center.png" class="center" />
- <div class="clicks flex-1 overflow-hidden">
- <div>
- <div class="ml-2 mt-2 inline-block relative" v-for="c in click">
- <img src="https://file.rongcyl.cn/festatic/bkm/click.png" />
- <div class="absolute top-4 left-0 text-center right-0">
- <div class="bold fs12">闯关9-2</div>
- <div class="fs11 text-zinc-600">闯关9-2</div>
- </div>
- </div>
- </div>
- </div>
- <img src="https://file.rongcyl.cn/festatic/bkm/more.png" class="more" />
- </div>
- <div class="flex justify-between m-2">
- <img src="https://file.rongcyl.cn/festatic/bkm/c1.png" class="c" />
- <img src="https://file.rongcyl.cn/festatic/bkm/c2.png" class="c" />
- <img src="https://file.rongcyl.cn/festatic/bkm/c3.png" class="c" />
- <img src="https://file.rongcyl.cn/festatic/bkm/c4.png" class="c" />
- </div>
- <div class="tabs">
- <div class="tab active">全部</div>
- <div class="tab">FIRST赏</div>
- <div class="tab">LAST赏</div>
- <div class="tab">全套赏</div>
- <div class="tab">无限赏</div>
- </div>
- <div class="cards">
- <div class="card relative" v-for="i in arr" @click="$navigateTo('/pages/first2/index')">
- <img
- src="https://file.rongcyl.cn/festatic/bkm/tag.png"
- class="absolute top-0 left-0"
- style="width: 62px; height: 24px"
- />
- <img src="https://file.rongcyl.cn/festatic/bkm/card.png" />
- <div class="mt-1">冲四层闯关...</div>
- <div class="flex justify-between" style="font-size: 13px; margin-top: 12rpx">
- <div
- style="
- border-radius: 3px;
- height: 20px;
- line-height: 20px;
- text-align: center;
- background: #fc5b20;
- color: #fff;
- padding: 0 8rpx;
- "
- >
- 创意热销
- </div>
- <div>
- <span style="font-size: 14px; margin-right: 4px; color: #fc5b20" class="bold">999</span>
- <span style="color: #666666">销量</span>
- </div>
- </div>
- <div style="color: #fc5b20; margin-top: 12rpx">
- <span class="fs14">¥</span>
- <span class="bold fs16">990</span>
- </div>
- </div>
- </div>
- <div class="p">
- <img src="https://file.rongcyl.cn/festatic/bkm/p.png" />
- <div class="absolute text-white bottom-2 fs11 text-center left-0 right-0">3333</div>
- </div>
- </div>
- <div
- class="fixed left-0 right-0 bottom-0 pb-1 bg-black flex justify-around items-center fs13"
- style="color: #b4c9da; height: 80px"
- >
- <div class="text-center">
- <img src="https://file.rongcyl.cn/festatic/bkm/index2tabs/home.png" class="w-7 h-7" />
- <div style="color: #fc5b20">首页</div>
- </div>
- <div class="text-center">
- <img src="https://file.rongcyl.cn/festatic/bkm/index2tabs/shop.png" class="w-7 h-7" />
- <div>商城</div>
- </div>
- <div class="text-center">
- <img src="https://file.rongcyl.cn/festatic/bkm/index2tabs/cc.png" class="w-8 h-8" />
- <div>抽卡机</div>
- </div>
- <div class="text-center">
- <img src="https://file.rongcyl.cn/festatic/bkm/index2tabs/bag.png" class="w-7 h-7" />
- <div>背包</div>
- </div>
- <div class="text-center">
- <img src="https://file.rongcyl.cn/festatic/bkm/index2tabs/mine.png" class="w-7 h-7" />
- <div>我的</div>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- arr: 4,
- click: 3,
- }
- },
- methods: {},
- }
- </script>
- <style scoped lang="scss">
- .area {
- width: 168px;
- height: 88px;
- }
- .c {
- width: 82px;
- height: 47px;
- }
- .center {
- width: 38px;
- height: 98px;
- }
- .clicks {
- height: 98px;
- background-image: linear-gradient(to bottom, #ffaea6, #ff654c);
- img {
- height: 82px;
- width: 82px;
- }
- }
- .more {
- width: 28px;
- height: 98px;
- }
- .p {
- position: fixed;
- bottom: 120px;
- right: 20px;
- img {
- width: 50px;
- height: 50px;
- }
- }
- .tabs {
- display: flex;
- justify-content: space-around;
- .tab {
- font-size: 16px;
- font-weight: 400;
- color: #fff;
- padding: 10px 0;
- &.active {
- font-weight: 600;
- border-bottom: 2px solid #fc5b20;
- color: #fc5b20;
- }
- }
- }
- .cards {
- margin-top: 20px;
- display: flex;
- justify-content: space-between;
- padding: 0 20rpx;
- flex-wrap: wrap;
- .card {
- box-sizing: border-box;
- width: 344rpx;
- // height: 500rpx;
- background: #fff;
- border-radius: 10px;
- margin-bottom: 20rpx;
- padding: 20rpx;
- img {
- width: 308rpx;
- height: 308rpx;
- border-radius: 8px;
- }
- }
- }
- </style>
|