123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <template>
- <div style="background-image: url(https://file.rongcyl.cn/festatic/bkm/task.png)">
- <img src="https://mall.rongtongh.cn/storage/imgv2/raffle/1.jpg" 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">
- <div>
- <img src="https://file.rongcyl.cn/festatic/bkm/click.png" class="m-2 inline-block" />
- <img src="https://file.rongcyl.cn/festatic/bkm/click.png" class="m-2 inline-block" />
- <img src="https://file.rongcyl.cn/festatic/bkm/click.png" class="m-2 inline-block" />
- </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">
- <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">冲四层闯关be be be</div>
- <div class="flex justify-between" style="font-size: 13px; margin-top: 6px">
- <div
- style="
- border-radius: 3px;
- height: 24px;
- line-height: 24px;
- text-align: center;
- background: #fc5b20;
- color: #fff;
- padding: 0 5px;
- "
- >
- 创意热销
- </div>
- <div>
- <span style="font-size: 14px; margin-right: 4px; color: #fc5b20" class="fontPFSCS">999</span>
- <span style="color: #666666">销量</span>
- </div>
- </div>
- <div style="color: #fc5b20; margin-top: 10px; font-size: 20px" class="fontPFSCS">¥990</div>
- </div>
- </div>
- <img src="https://file.rongcyl.cn/festatic/bkm/p.png" class="p" />
- </div>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- arr: 4,
- }
- },
- 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 {
- width: 50px;
- height: 50px;
- position: fixed;
- bottom: 120px;
- right: 20px;
- }
- .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 10px;
- flex-wrap: wrap;
- .card {
- box-sizing: border-box;
- width: 48%;
- height: 270px;
- background: #fff;
- border-radius: 10px;
- margin-bottom: 10px;
- padding: 10px;
- img {
- width: 160px;
- height: 160px;
- border-radius: 8px;
- }
- }
- }
- </style>
|