| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <template>
- <view class="flex-common-css">
- <Nav title=" " titleColor="" bgckgroundBox='transparent' leftColor='#fff'></Nav>
- <image class="lqzx-bg" src="@/static/img/my/lqzx-bg.png" mode=""></image>
- <image @click="goToUrl" class="wdyhq" src="@/static/img/my/wdyhq.png" mode=""></image>
- <view class="lqzx-blank"></view>
- <scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
- <view class="liat-box ">
- <view class="item-box display-flex mb-20" v-for="(item,index) in itemData" :key="index">
- <view class="item-right flex-direction flex-justify-center flex-1 bgc-f">
- <view class="fs-28 mb-12 ticket-name text-overflow-ellipsis fc-3 fw-600">
- {{item.name}}
- </view>
- <view class="fs-24 fc-6">
- 有效时间:2024.05.08-2024.05.24
- </view>
- </view>
- <view class="item-hr"></view>
- <view class="item-left flex-direction align-items-center flex-justify-center bgc-FCE7E2">
- <view class="align-items-center">
- <view class="fs-30 fw-600 fc-FB3D03">¥</view>
- <view class="fs-48 fw-600 fc-FB3D03">10</view>
- </view>
- <view class="fs-24 mb-18 fc-6">
- 满90元可用
- </view>
- <view class="but-box fs-28 fc-f" @click="receive">
- 立即领取
- </view>
- <view class="ball"></view>
- <view class="ball-two"></view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </template>
- <script>
- export default {
- components: {},
- data() {
- return {
- itemData: [{
- type: 0,
- name: '优惠券名称优惠券名称惠券名名称惠券名'
- },
- {
- type: 0,
- name: '优惠券名称'
- }
- ]
- };
- },
- onLoad(data) {},
- mounted() {},
- methods: {
- goToUrl() {
- uni.navigateTo({
- url:'/pages-my/my-ticket'
- })
- },
- scrolltolower() {
- console.log('触底');
- },
- receive() {
- // 立即领取
- }
- },
- }
- </script>
- <style lang="scss" scoped>
- .lqzx-bg {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 489rpx;
- }
- .lqzx-blank {
- width: 100%;
- height: 272rpx;
- }
- .wdyhq {
- position: fixed;
- top: 204rpx;
- right: 0;
- width: 52rpx;
- height: 152rpx;
- }
- .liat-box {
- border-radius: 50rpx 50rpx 0 0;
- background: linear-gradient(180deg, #FBE9E4 0%, #F5F4F9 10%, #F5F4F9 100%);
- border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0)) 2 2;
- padding: 24rpx;
- box-sizing: border-box;
- }
- .item-hr {
- width: 0px;
- height: auto;
- border-right: 1rpx dashed #FB7850;
- }
- .item-hr-two {
- width: 0px;
- height: auto;
- border-right: 1rpx dashed #999;
- }
- .item-left {
- width: 200rpx;
- height: auto;
- padding: 20rpx 24rpx;
- box-sizing: border-box;
- position: relative;
- border-radius: 0 20rpx 20rpx 0;
- }
- .ball {
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
- position: absolute;
- top: -12rpx;
- left: -12rpx;
- background: #F5F5F5;
- z-index: 2;
- }
- .ball-two {
- width: 24rpx;
- height: 24rpx;
- border-radius: 50%;
- position: absolute;
- background: #F5F5F5;
- z-index: 10;
- bottom: -12rpx;
- left: -12rpx;
- }
- .item-right {
- padding: 24rpx;
- box-sizing: border-box;
- border-radius: 20rpx 0 0 20rpx;
- position: relative;
- }
- .but-box {
- width: 152rpx;
- height: 52rpx;
- line-height: 52rpx;
- text-align: center;
- background: linear-gradient(225deg, #FB3D03 0%, #FF6901 100%);
- border-radius: 200rpx;
- }
- </style>
|