|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- <template>
- <view class="content-value">
- <view @click="qianyueAction()" class="ul-item" v-for="(item,index) in state.list " :key="index">
- <image style="width: 100%; height: 260rpx; background-color: #eeeeee;" :src="item.bg"></image>
- <view class="item-value">
- <view class="content">
- <view class="title">
- {{item.title}}
- </view>
- <view style='margin-top: 15rpx;' class="tip">
- {{item.tip}}
- </view>
- <view style='margin-top: 15rpx;' class="value">
- {{item.value}}
- </view>
-
- </view>
- </view>
- </view>
- </view>
- </template>
-
- <script setup lang="ts">
- import { reactive } from "vue";
- import { fileURL } from "@/datas/fileURL.js";
-
- const imgURL = fileURL + "image/"
-
- const savaHandle = () => {
- console.log('执行点击事件')
- uni.navigateTo({
- url: '/pages/orders/choice-product'
- })
- };
- const qianyueAction = () => {
- console.log('执行点击事件')
- uni.navigateTo({
- url: '/pages/orders/sign-up'
- })
- };
-
- const state = reactive({
- data: {
- 'show': false,
- 'src': imgURL + 'applyCard/edit.png'
- },
- list: [{
- 'bg': imgURL + 'personal-center/etc-bg.png',
- 'title': '贵A12345',
- 'tip': '服务费是每笔交易金额的0.05%',
- 'value': "质保期:2022.09.10-2023.09.09"
- },
- {
- 'bg': imgURL + 'personal-center/etc-bg.png',
- 'icon': imgURL + 'applyCard/brank/jianshe.png',
- 'title': '贵A12345',
- 'tip': '服务费是每笔交易金额的0.05%',
- 'value': "质保期:2022.09.10-2023.09.09"
- },
- {
- 'bg': imgURL + 'personal-center/etc-bg.png',
- 'title': '贵A12345',
- 'tip': '服务费是每笔交易金额的0.05%',
- 'value': "质保期:2022.09.10-2023.09.09"
- }
- ]
- })
- </script>
-
- <style lang="scss" scoped>
- .value {
- font-size: 25rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 58rpx;
- }
-
- .content-value {
- padding-top: 50rpx;
- margin-top: -40rpx;
- background: #FFFFFF;
- border-radius: 30rpx 30rpx 0rpx 30rpx;
- position: relative;
-
- .img-pos {
- position: absolute;
- left: 385rpx;
- top: -38rpx;
- right: 50rpx;
-
- .img-flex {
- display: flex;
- justify-content: space-between;
- align-items: center;
-
-
- .car-img {
- width: 86rpx;
- height: 42rpx;
- }
-
- .flag-img {
- width: 30rpx;
- height: 35rpx;
- }
- }
- }
- }
-
- .flex {
- display: flex;
- align-items: center;
- }
-
- .action {
- margin-top: 30rpx;
- padding-left: 20rpx;
- padding-right: 20rpx;
- padding-bottom: 30rpx;
-
- .button {
- height: 80rpx;
- background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
- border-radius: 40rpx;
- font-size: 32rpx;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 80rpx;
- }
- }
-
- .action-btn {
- margin-left: 45rpx;
- width: 121rpx;
- height: 61rpx;
- border: 1px solid rgba(255, 255, 255, 1);
- border-radius: 30rpx;
- background: rgba(255, 255, 255, 0.2);
-
- text-align: center;
- font-size: 30rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 61rpx;
- }
-
- .tag1 {
- padding: 5rpx;
- background: rgba(0, 179, 139, 0.5);
- border-radius: 6rpx;
- font-size: 22rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- }
-
- .tag3 {
- padding: 5rpx;
- background: rgba(139, 112, 228, 0.5);
- border-radius: 6rpx;
- font-size: 22rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- }
-
- .tag2 {
- padding: 5rpx;
- background: rgba(249, 97, 60, 0.5);
- border-radius: 6rpx;
- font-size: 22rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- }
-
- .ul-item {
-
- padding: 5px 20rpx;
- display: flex;
- align-items: center;
-
-
- .item-value {
- // padding: 20rpx;
- position: absolute;
- display: flex;
- align-items: center;
- // justify-content: space-around;
-
- .content {
- .title {
- font-size: 36rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- }
-
- .tip {
- font-size: 25rpx;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #FFFFFF;
- }
- }
-
- }
-
- .icon-tip {
-
- width: 100rpx;
- height: 100rpx;
- }
-
- .content {
- margin-left: 40rpx;
- }
- }
- </style>
|