Commit 5cea7a4f by 杨明

Merge branch 'v3.13.1' of http://192.168.3.233:8090/saas/outbound into v3.13.1

2 parents d8a02087 4c3d0b38
...@@ -38,8 +38,43 @@ ...@@ -38,8 +38,43 @@
<img :src="detail.backgroundImg" v-if="detail.backgroundImg" /> <img :src="detail.backgroundImg" v-if="detail.backgroundImg" />
</div> </div>
</div> </div>
<div class="main-body" style="background: #DEEAF2;">
<template v-if="modelNum == 1">
<!-- 权益服务 -->
<equity-one :detail="detail"></equity-one>
<!-- 商品券 -->
<goods-one :detail="detail"></goods-one>
<!-- 服务券 -->
<coupon-one :detail="detail"></coupon-one>
</template>
<template v-if="modelNum == 2">
<!-- 权益服务 -->
<equity-two :detail="detail"></equity-two>
<!-- 商品券 -->
<goods-two :detail="detail"></goods-two>
<!-- 服务券 -->
<coupon-two :detail="detail"></coupon-two>
</template>
<template v-if="modelNum == 3">
<!-- 权益服务 -->
<equity-three :detail="detail"></equity-three>
<!-- 商品券 -->
<goods-three :detail="detail"></goods-three>
<!-- 服务券 -->
<coupon-three :detail="detail"></coupon-three>
</template>
<template v-if="modelNum == 4">
<!-- 权益服务 -->
<equity-four :detail="detail"></equity-four>
<!-- 商品券 -->
<goods-four :detail="detail"></goods-four>
<!-- 服务券 -->
<coupon-four :detail="detail"></coupon-four>
</template>
</div>
</div> </div>
<div class="review-content" v-else>
<!-- <div class="review-content" v-else>
<div class="review-main"> <div class="review-main">
<div class="main-title" :style="{ top: item.y + 'px', 'font-size': item.fontSize + 'px', color: item.color }" v-for="(item, index) in textList" :key="index">{{ item.text }}</div> <div class="main-title" :style="{ top: item.y + 'px', 'font-size': item.fontSize + 'px', color: item.color }" v-for="(item, index) in textList" :key="index">{{ item.text }}</div>
<div class="review-bg-img"> <div class="review-bg-img">
...@@ -49,33 +84,50 @@ ...@@ -49,33 +84,50 @@
<img :src="detail.captionImg" v-if="detail.captionImg" /> <img :src="detail.captionImg" v-if="detail.captionImg" />
</div> </div>
</div> </div>
<div class="review-package"> </div> -->
<div class="review-goods" v-if="selectedGoodsList && selectedGoodsList.length">
<div class="goods-item" v-for="(item, index) in selectedGoodsList" :key="index">
<div class="service-desc">
<div class="title">{{ item.brandName }}{{ item.goodsName }}</div>
<div class="content">x{{ item.couponAmount }} 抵扣券</div>
</div>
<div class="service-price">
{{ (item.denomination / 100).toFixed(2) }}
<span>元</span>
</div>
</div>
</div>
</div>
</div>
</div> </div>
</template> </template>
<script> <script>
import VueDraggableResizable from '@/components/draggable/vue-draggable-resizable' import VueDraggableResizable from '@/components/draggable/vue-draggable-resizable'
import '@/components/draggable/vue-draggable-resizable.css' import '@/components/draggable/vue-draggable-resizable.css'
import equityOne from './model/model_1/equity'
import goodsOne from './model/model_1/goods'
import couponOne from './model/model_1/coupon'
import equityTwo from './model/model_2/equity'
import goodsTwo from './model/model_2/goods'
import couponTwo from './model/model_2/coupon'
import equityThree from './model/model_3/equity'
import goodsThree from './model/model_3/goods'
import couponThree from './model/model_3/coupon'
import equityFour from './model/model_4/equity'
import goodsFour from './model/model_4/goods'
import couponFour from './model/model_4/coupon'
export default { export default {
components: { components: {
VueDraggableResizable VueDraggableResizable,
equityOne,
goodsOne,
couponOne,
equityTwo,
goodsTwo,
couponTwo,
equityThree,
goodsThree,
couponThree,
goodsFour,
equityFour,
couponFour
}, },
data() { data() {
return { return {
currentIndex: 0, currentIndex: 0,
modelNum: 4,
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
draggableList: [ draggableList: [
{ {
type: 'text', type: 'text',
...@@ -132,12 +184,6 @@ export default { ...@@ -132,12 +184,6 @@ export default {
color: '#185D5E' color: '#185D5E'
} }
} }
},
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
} }
} }
}, },
...@@ -188,7 +234,7 @@ export default { ...@@ -188,7 +234,7 @@ export default {
'editForm.titleStyle': { 'editForm.titleStyle': {
handler(val) { handler(val) {
console.log(888) console.log(888)
const { title, subTitle, titleStyle, subTitleStyle,marketingType } = this.editForm const { title, subTitle, titleStyle, subTitleStyle, marketingType } = this.editForm
if (marketingType == 5) { if (marketingType == 5) {
const style1 = JSON.parse(titleStyle) const style1 = JSON.parse(titleStyle)
const style2 = JSON.parse(subTitleStyle) const style2 = JSON.parse(subTitleStyle)
...@@ -236,16 +282,7 @@ export default { ...@@ -236,16 +282,7 @@ export default {
text-align: center; text-align: center;
line-height: 40px; line-height: 40px;
} }
.review-footer {
position: absolute;
bottom: 52px;
left: 109px;
color: #f13c3d;
font-size: 22px;
label {
font-size: 12px;
}
}
.review-content { .review-content {
position: absolute; position: absolute;
width: calc(100% - 20px); width: calc(100% - 20px);
...@@ -266,191 +303,9 @@ export default { ...@@ -266,191 +303,9 @@ export default {
width: 275px; width: 275px;
} }
} }
.review-package { }
background: #ddd8c0; .main-body {
padding: 16px; margin-top: 63px;
.review-equity,
.review-service,
.review-goods {
background: #ffffff;
border-radius: 12px;
padding: 10px;
margin-bottom: 10px;
}
.service-item {
height: 48px;
background-image: linear-gradient(117deg, #ffead3 3%, #f0ca90 92%);
border-radius: 4px;
display: flex;
align-items: center;
padding: 4px;
margin-top: 5px;
&:first-child {
margin-top: 0px;
}
.service-title {
width: 74%;
height: 40px;
background: #ffffff;
border-radius: 6px;
font-size: 14px;
color: #333333;
line-height: 40px;
padding-left: 12px;
}
.service-time {
color: #8e5310;
text-align: center;
flex: 1;
font-size: 12px;
line-height: 48px;
}
}
.coupon-item {
height: 48px;
background: #fff5f3;
border-radius: 4px;
display: flex;
align-items: center;
padding: 4px;
margin-top: 5px;
&:first-child {
margin-top: 0px;
}
.service-title {
width: 64%;
height: 40px;
background: #ffffff;
border-radius: 6px;
font-size: 14px;
color: #333333;
line-height: 40px;
padding: 0px 12px;
display: flex;
justify-content: space-between;
span {
font-size: 14px;
color: #333333;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
&:last-child {
font-size: 11px;
color: #9b9b9b;
}
}
}
.service-time {
color: #fc5b32;
text-align: center;
flex: 1;
font-size: 12px;
line-height: 48px;
}
}
.goods-item {
display: flex;
border-bottom: 1px solid #f8f7f2;
padding: 5px;
&:last-child {
border-bottom: none;
}
.service-logo {
width: 32px;
height: 32px;
margin-right: 10px;
}
.service-desc {
width: 55%;
.title {
font-size: 12px;
color: #111111;
}
.content {
font-size: 11px;
color: #9b9b9b;
}
}
.service-price {
margin-left: auto;
color: #fc5b32;
font-size: 14px;
span {
font-size: 12px;
}
}
}
.review-address {
.title {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 32px;
background: rgba(255, 255, 255, 0.8);
border-radius: 8px 8px 0 0;
padding: 0px 10px;
box-sizing: border-box;
}
.title-l {
font-size: 15px;
color: #333333;
}
.title-r {
font-size: 10px;
color: #9b9b9b;
letter-spacing: 2px;
span {
margin-right: 5px;
}
}
.address {
display: flex;
padding: 10px;
background: #ffffff;
.store {
font-weight: 500;
font-size: 14px;
color: #2c2c2c;
line-height: 20px;
}
.detail {
font-weight: 400;
font-size: 12px;
color: #656566;
margin: 2px 0 8px 0;
}
}
}
.review-line {
color: #999999;
font-size: 12px;
font-weight: 400;
background: #ffffff;
border-radius: 4px;
padding: 14px 10px;
margin: 10px 0px;
box-sizing: border-box;
display: flex;
align-items: center;
img {
width: 36px;
margin-right: 10px;
}
i {
margin-left: auto;
color: #fc643e;
}
}
}
} }
} }
</style> </style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="angle" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/get.png?v=1.0.2" />
<div class="title">
<span>门店专享服务</span>
<img class="xing " src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/xing_1.png?v=1.0.2" />
</div>
<div class="service-panel">
<div class="service-panel-bg"></div>
<div class="service-panel-box">
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-time">{{ discount[item.discountType] }}</div>
<div class="service-title">
<span>{{ item.couponName }}</span>
<span>x{{ item.couponAmount }}</span>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
margin-top: 20px;
.container-panel {
background-image: linear-gradient(180deg, #ff626f 0%, #ff626f00 100%);
box-shadow: inset 0 3px 15px 0 #ffffffbf;
border-radius: 20px;
padding: 8px;
position: relative;
.angle {
position: absolute;
top: -8px;
left: -8px;
width: 93.87px;
height: 89.24px;
}
.title {
font-weight: 700;
font-size: 20px;
color: #ffffff;
padding-left: 51px;
padding-top: 4px;
position: relative;
display: inline-block;
text-shadow: 0 2px 3px #d81033;
font-weight: 700;
font-size: 20px;
color: #ffffff;
.xing {
position: absolute;
top: -5px;
width: 39.99px;
height: 42.89px;
}
}
.service-panel {
position: relative;
z-index: 2;
margin-top: 15px;
&-bg {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
background: rgba($color: #ffffff, $alpha: 0.3);
box-shadow: inset 0 0 18px 0 #ffffff;
border-radius: 20px;
z-index: -1;
}
&-box {
padding: 12px 13px;
}
}
.service-item {
margin-top: 10px;
display: flex;
&:first-child {
margin-top: 0px;
display: flex;
}
.service-title {
flex: 1;
height: 55px;
background: #fcf9ef;
background-image: linear-gradient(-84deg, #fe6a7545 0%, #fcf0ee00 96%);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0px 27px 0px 14px;
border-radius: 0px 8px 8px 0px;
font-size: 14px;
color: #5a3c36;
text {
font-size: 14px;
color: #5a3c36;
}
}
.service-time {
width: 50px;
height: 55px;
padding: 6px 20px;
box-sizing: border-box;
background-image: linear-gradient(180deg, #ede7fa 0%, #b498ff 100%);
font-size: 12px;
line-height: 14px;
color: #04005d;
position: relative;
border-radius: 8px 0px 0px 8px;
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="angle" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/rob.png?v=1.0.2" />
<div class="title">用车权益</div>
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-title">{{ item.packageName }}</div>
<div class="service-time">
1
<span>元</span>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
serviceList: [
{
cardName: 'card',
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0005',
packageName: '盗抢全损无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1,2,3',
templateFlag: null,
updatedBy: null,
updatedDate: null
},
{
cardName: null,
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0006',
packageName: '轮胎无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1',
templateFlag: null,
updatedBy: null,
updatedDate: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
margin-bottom: 20px;
.container-panel {
background: #ffffff;
background-image: linear-gradient(90deg, #ffa4a4 0%, #f5dea2c7 27%, #ffc8d9 75%, #fe9ca400 100%);
box-shadow: inset 0 4px 54px 0 #ffffff;
border-radius: 16px;
padding: 16px 27px;
position: relative;
.angle {
position: absolute;
top: -8px;
left: -8px;
width: 93.87px;
height: 89.24px;
}
.title {
font-weight: 700;
font-size: 20px;
color: #ffffff;
text-shadow: 0 2px 3px #f37b87;
padding-left: 33px;
}
.service-item {
height: 50px;
background: #fefdf8;
background-image: linear-gradient(-84deg, #fdeef7 0%, #f6ffee 53%, #ffffff 96%);
border-radius: 8px;
margin-top: 10px;
padding: 0px 12px;
display: flex;
align-items: center;
&:first-child {
margin-top: 0px;
}
.service-title {
flex: 1;
font-size: 14px;
color: #5a3c36;
line-height: 40px;
}
.service-time {
color: #8e5310;
text-align: center;
font-size: 31px;
color: #ff5c67;
span {
font-size: 12px;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="angle" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/deliver.png?v=1.0.2" />
<div class="title">
<span>超爽生活权益</span>
<img class="xing " src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/xing_2.png?v=1.0.2" />
</div>
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-logo"></div>
<div class="service-desc">
<div class="service-title">{{ item.brandName }}{{ item.goodsName }}</div>
<div class="service-content">x{{ item.couponAmount }} 抵扣券</div>
</div>
<div class="service-price">
{{ item.couponAnticipatedCost }}
<span>元</span>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
margin-top: 20px;
.container-panel {
background-image: linear-gradient(180deg, #efb94f 0%, #f8d87d00 100%);
box-shadow: inset 0 3px 15px 0 #ffffffbf;
border-radius: 20px;
padding: 8px;
position: relative;
.angle {
position: absolute;
top: -8px;
left: -8px;
width: 93.87px;
height: 89.24px;
}
.title {
font-weight: 700;
font-size: 20px;
color: #ffffff;
text-shadow: 0 2px 3px #d89410;
padding-left: 50px;
padding-top: 10px;
position: relative;
display: inline-block;
.xing {
position: absolute;
top: -5px;
width: 39.99px;
height: 42.89px;
}
}
.service-item {
display: flex;
height: 66.15px;
align-items: center;
background: #fcf9ef;
background-image: linear-gradient(-83deg, #fe6a7545 0%, #fcf0ee00 96%);
border-radius: 10px;
margin-top: 10px;
padding: 14px;
box-sizing: border-box;
&:last-child {
margin-bottom: 0px;
}
.service-logo {
width: 32px;
height: 32px;
margin-right: 10px;
}
.service-desc {
.service-title {
font-size: 12px;
color: #5a3c36;
}
.service-content {
margin-top: 3px;
font-size: 11px;
color: #e16578;
}
}
.service-price {
margin-left: auto;
font-size: 15px;
color: #ff5c67;
font-weight: 700;
span {
font-size: 12px;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_4/get.png?v=1.0.2" />
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-time">{{ discount[item.discountType] }}</div>
<div class="service-title">
<div class="service-couponName">{{ item.couponName }}</div>
<div class="service-amount">x{{ item.couponAmount }}</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
padding: 0px 10px;
.container-panel {
background: #ffffff;
border-radius: 12px;
padding: 39px 10px 16px;
position: relative;
.header-panel {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
width: 246.5px;
height: 41px;
}
.service-item {
margin-top: 10px;
display: flex;
height: 67px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_4/get_b.png');
background-size: 100% 100%;
border-radius: 8px;
align-items: center;
&:first-child {
margin-top: 0px;
}
.service-title {
flex: 1;
display: flex;
border-radius: 0px 8px 8px 0px;
.service-couponName {
font-size: 14px;
color: #5a3c36;
margin-left: 50px;
}
.service-amount {
font-size: 14px;
color: #5a3c36;
margin-left: auto;
margin-right: 20px;
}
}
.service-time {
box-sizing: border-box;
font-size: 15px;
color: #763510;
line-height: 11px;
position: relative;
border-radius: 50%;
margin-left: 15px;
white-space: nowrap;
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_4/rob.png" />
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-title">{{ item.packageName }}</div>
<div class="service-time">
1
<text>元</text>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
serviceList: [
{
cardName: 'card',
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0005',
packageName: '盗抢全损无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1,2,3',
templateFlag: null,
updatedBy: null,
updatedDate: null
},
{
cardName: null,
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0006',
packageName: '轮胎无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1',
templateFlag: null,
updatedBy: null,
updatedDate: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
padding: 0px 8px;
margin-bottom: 41px;
.container-panel {
background: #ffffff;
border-radius: 12px;
padding: 39px 10px 16px;
position: relative;
.header-panel {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
width: 246.5px;
height: 41px;
}
.service-item {
height: 49px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_4/rob_b.png');
background-size: 100% 100%;
border-radius: 4px;
margin-bottom: 8px;
display: flex;
align-items: center;
padding: 0px 28.5px 0px 16px;
&:first-child {
margin-top: 0px;
}
.service-title {
flex: 1;
font-size: 14px;
color: #5a3c36;
}
.service-time {
text-align: center;
font-size: 26px;
color: #fe455d;
span {
font-size: 12px;
color: #fe455d;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_4/delivery.png" />
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-logo"> </div>
<div class="service-desc">
<div class="service-title">{{item.brandName}}{{item.goodsName}}</div>
<div class="service-content">x{{item.couponAmount}} 抵扣券</div>
</div>
<div class="service-price">{{item.couponAnticipatedCost}}<span>元</span> </div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
padding: 0px 10px;
margin-bottom: 41px;
.container-panel {
background: #ffffff;
border-radius: 12px;
padding: 39px 10px 16px;
position: relative;
.header-panel {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
width: 246.5px;
height: 41px;
}
.service-item {
display: flex;
height: 32.5px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_4/deliver_b.png');
background-size: 100% 100%;
margin-bottom: 8px;
align-items: center;
&:last-child {
margin-bottom: 0px;
}
.service-logo {
width: 28px;
height: 28px;
margin-right: 8px;
}
.service-desc {
.service-title {
font-size: 12px;
color: #5a3c36;
}
.service-content {
margin-top: 3px;
font-size: 11px;
color: #e16578;
}
}
.service-price {
margin-left: auto;
margin-right: 16px;
font-size: 15px;
color: #ff5c67;
font-weight: 700;
white-space: nowrap;
span {
font-size: 12px;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<div class="service-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_5/get.png" />
<div class="service-body-bg"></div>
<div class="service-panel-bg"></div>
<div class="service-panel-box">
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-time">{{ discount[item.discountType] }}</div>
<div class="service-title">
<div class="service-couponName">{{ item.couponName }}</div>
<div class="service-amount">x{{ item.couponAmount }} {{ discount[item.discountType] }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
margin-top: 10px;
.container-panel {
padding: 8px;
position: relative;
.service-panel {
position: relative;
z-index: 2;
padding: 0px 10px;
.service-body-bg {
position: absolute;
height: calc(100% - 20px);
width: calc(100% - 5px);
left: 2px;
top: 25px;
z-index: -1;
border-radius: 0px 0px 12px 12px;
background-image: linear-gradient(180deg, #ec5cb2 2%, #ec5cb2 40%, #ed76c9 67%, #ffcf8600 100%);
}
.header-panel {
position: absolute;
width: 375px;
height: 190px;
top: -85px;
left: -8px;
z-index: -4;
}
&-bg {
position: absolute;
width: calc(100% - 20px);
height: calc(100% - 5px);
box-sizing: border-box;
background: rgba($color: #ffffff, $alpha: 0.3);
box-shadow: inset 0 0 18px 0 #ffffff;
border-radius: 20px;
z-index: -1;
}
&-box {
padding: 12px 13px;
}
}
.service-item {
margin-top: 5px;
display: flex;
height: 64px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_5/get_b.png');
background-size: 100% 100%;
&:first-child {
margin-top: 0px;
display: flex;
}
.service-title {
flex: 1;
margin-left: 35px;
.service-couponName {
font-size: 14px;
margin-top: 15px;
color: #111111;
}
.service-amount {
font-size: 11px;
color: #878e99;
}
}
.service-time {
width: 50px;
padding: 9px 20px;
box-sizing: border-box;
font-size: 13px;
color: #ffffff;
line-height: 14px;
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<div class="service-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_5/rob.png" />
<div class="service-body-bg"></div>
<div class="service-panel-bg"></div>
<div class="service-panel-box">
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-time">
1
<span>元</span>
</div>
<div class="service-title">{{ item.packageName }}</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
serviceList: [
{
cardName: 'card',
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0005',
packageName: '盗抢全损无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1,2,3',
templateFlag: null,
updatedBy: null,
updatedDate: null
},
{
cardName: null,
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0006',
packageName: '轮胎无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1',
templateFlag: null,
updatedBy: null,
updatedDate: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
margin-bottom: 65px;
.container-panel {
padding: 8px;
position: relative;
.service-panel {
position: relative;
z-index: 2;
padding: 0px 10px;
.service-body-bg {
position: absolute;
height: calc(100% - 20px);
width: calc(100% - 15px);
left: 2.5px;
top: 25px;
z-index: -1;
border-radius: 0px 0px 12px 12px;
background-image: linear-gradient(180deg, #ff5a52 0%, #fe7141 34%, #fe912f 66%, #ffe6ab00 100%);
}
.header-panel {
position: absolute;
width: 375px;
height: 190px;
top: -85px;
left: -8px;
z-index: -4;
}
&-bg {
position: absolute;
width: calc(100% - 20px);
height: calc(100% - 5px);
box-sizing: border-box;
background: rgba($color: #ffffff, $alpha: 0.3);
box-shadow: inset 0 0 18px 0 #ffffff;
border-radius: 20px;
z-index: -1;
}
&-box {
padding: 15px 13px;
}
}
.service-item {
display: flex;
height: 56px;
align-items: center;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_5/rob_b.png');
background-size: 100% 100%;
margin-top: 10px;
display: flex;
align-items: center;
&:first-child {
margin-top: 0px;
}
.service-title {
flex: 1;
font-size: 14px;
color: #5a3c36;
margin-left: 25px;
}
.service-time {
font-size: 20px;
color: #999896;
width: 40px;
text-align: center;
span {
font-size: 12px;
color: #8e5310;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<div class="service-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_5/deliver.png" />
<div class="service-body-bg"></div>
<div class="service-panel-bg"></div>
<div class="service-panel-box">
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-logo"></div>
<div class="service-desc">
<div class="service-title">{{ item.brandName }}{{ item.goodsName }}</div>
<div class="service-content">x{{ item.couponAmount }} 抵扣券</div>
</div>
<div class="service-price">
{{ item.couponAnticipatedCost }}
<span>元</span>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
margin-bottom: 70px;
.container-panel {
padding: 8px;
position: relative;
.service-panel {
position: relative;
z-index: 2;
padding: 0px 10px;
.service-body-bg {
position: absolute;
height: calc(100% - 20px);
width: calc(100% - 5px);
left: 2px;
top: 25px;
z-index: -1;
border-radius: 0px 0px 12px 12px;
background-image: linear-gradient(180deg, #ec5cb2 2%, #ec5cb2 40%, #ed76c9 67%, #ffcf8600 100%);
}
.header-panel {
position: absolute;
width: 375px;
height: 190px;
top: -85px;
left: -8px;
z-index: -4;
}
&-bg {
position: absolute;
width: calc(100% - 20px);
height: calc(100% - 5px);
box-sizing: border-box;
background: rgba($color: #ffffff, $alpha: 0.3);
box-shadow: inset 0 0 18px 0 #ffffff;
border-radius: 20px;
z-index: -1;
}
&-box {
padding: 12px 13px;
}
}
.service-item {
display: flex;
height: 32px;
align-items: center;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_5/delivery_b.png');
background-size: 100% 100%;
border-radius: 10px;
margin-bottom: 5px;
padding: 21px 0px 21px 21px;
box-sizing: border-box;
&:last-child {
margin-bottom: 0px;
}
.service-logo {
width: 32px;
height: 32px;
margin-right: 10px;
}
.service-desc {
.service-title {
font-size: 14px;
color: #111111;
}
.service-content {
margin-top: 3px;
font-size: 11px;
color: #878e99;
}
}
.service-price {
margin-left: auto;
width: 80px;
text-align: center;
font-size: 15px;
color: #ff5c67;
font-weight: 700;
white-space: nowrap;
span {
font-size: 12px;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_8/get.png?v=1.0.2" />
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-time">{{ discount[item.discountType] }}</div>
<div class="service-title">
<div class="service-couponName">{{ item.couponName }}</div>
<div class="service-amount">x{{ item.couponAmount }}</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
padding: 0px 5px;
.container-panel {
background: #ffffff;
border-radius: 12px;
padding: 34px 14px 16px;
position: relative;
.header-panel {
position: absolute;
top: -27.5px;
left: 50%;
transform: translateX(-50%);
width: 241px;
height: 50px;
}
.service-item {
margin-top: 5px;
display: flex;
height: 64px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_8/get_b.png');
background-size: 100% 100%;
border-radius: 8px;
&:first-child {
margin-top: 0px;
display: flex;
}
.service-title {
flex: 1;
height: 55px;
padding: 0px 27px 0px 14px;
border-radius: 0px 8px 8px 0px;
.service-couponName {
font-size: 14px;
margin-top: 14px;
color: #111111;
}
.service-amount {
font-size: 11px;
color: #878e99;
}
}
.service-time {
width: 50px;
height: 60px;
padding: 15px 30px;
box-sizing: border-box;
font-size: 10px;
color: #fe455d;
line-height: 12px;
position: relative;
&::before {
content: '';
position: absolute;
top: 10px;
left: 33px;
color: #fe455d;
background: #fe455d;
width: 3px;
height: 3px;
border-radius: 50%;
}
&::after {
content: '';
position: absolute;
bottom: 3px;
left: 33px;
color: #fe455d;
background: #fe455d;
width: 3px;
height: 3px;
border-radius: 50%;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_8/rob.png" />
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-time">
1
<sapn>元</sapn>
</div>
<div class="service-title">{{ item.packageName }}</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
serviceList: [
{
cardName: 'card',
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0005',
packageName: '盗抢全损无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1,2,3',
templateFlag: null,
updatedBy: null,
updatedDate: null
},
{
cardName: null,
createdBy: null,
createdDate: null,
deletedFlag: null,
id: null,
isChecked: 1,
merchantId: 44210895,
packageCode: 'PC0006',
packageName: '轮胎无忧(嘀加)',
packageServicePeriod: null,
planId: null,
servicePeriod: '1',
templateFlag: null,
updatedBy: null,
updatedDate: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
padding: 0px 5px;
margin-bottom: 41px;
.container-panel {
background: #ffffff;
border-radius: 12px;
padding: 34px 14px 16px;
position: relative;
.header-panel {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 50px;
}
.service-item {
height: 64px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_8/rob_b.png');
background-size: 100% 100%;
border: 1px solid #ffffff;
box-shadow: inset 0 1px 0 0 #bcbebf;
border-radius: 8px;
margin-bottom: 8px;
display: flex;
align-items: center;
&:first-child {
margin-top: 0px;
}
.service-title {
flex: 1;
font-size: 14px;
color: #5a3c36;
}
.service-time {
text-align: center;
font-size: 16px;
color: #fe455d;
width:63px;
span {
font-size: 12px;
color: #fe455d;
}
}
}
}
}
</style>
<template>
<div class="wrap">
<div class="container-panel">
<img class="header-panel" src="https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_8/deliver.png" />
<div class="service-item" v-for="(item, index) in serviceList" :key="index">
<div class="service-logo"></div>
<div class="service-desc">
<div class="service-title">{{ item.brandName }}{{ item.goodsName }}</div>
<div class="service-content">x{{ item.couponAmount }} 抵扣券</div>
</div>
<div class="service-price">
{{ item.couponAnticipatedCost }}
<span>元</span>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
discount: {
2: '折扣券',
3: '代金券',
4: '兑换券',
7: '服务券'
},
serviceList: [
{
couponId: 1312,
discountType: 7,
couponName: '特殊服务230104160557',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1308,
discountType: 7,
couponName: '特殊服务230104160455',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1304,
discountType: 7,
couponName: '特殊服务230104154920',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1296,
discountType: 7,
couponName: '特殊服务20230103161654',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1295,
discountType: 7,
couponName: '特殊服务',
couponAnticipatedCost: 0,
status: 2,
limitStockFlag: 1,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 3,
effectiveDays: null,
brandId: null,
brandName: null,
goodId: null,
goodsName: null,
appearance: null,
rechargeDenomination: null,
provideWay: null
},
{
couponId: 1404,
discountType: 8,
couponName: '爱奇艺2元券',
couponAnticipatedCost: 100,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 1,
effectiveType: 1,
effectiveDays: 25,
brandId: null,
brandName: '爱奇艺',
goodId: 353,
goodsName: '爱奇艺2元券',
appearance: 2,
rechargeDenomination: '1',
provideWay: null
},
{
couponId: 1399,
discountType: 8,
couponName: '中杯全国通兑券-新品',
couponAnticipatedCost: 1000,
status: 2,
limitStockFlag: 2,
residueCouponAmount: null,
couponAmount: 4,
effectiveType: 1,
effectiveDays: 30,
brandId: null,
brandName: '星巴克',
goodId: 578,
goodsName: '中杯全国通兑券-新品',
appearance: 1,
rechargeDenomination: '',
provideWay: null
}
]
}
}
}
</script>
<style scoped lang="scss">
.wrap {
padding: 0px 5px;
margin-bottom: 41px;
.container-panel {
background: #ffffff;
border-radius: 12px;
padding: 34px 14px 16px;
position: relative;
.header-panel {
position: absolute;
top: -27.5px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 50px;
}
.service-item {
display: flex;
height: 68px;
background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/expandedGold/model_8/deliver-b.png');
background-size: 100% 100%;
margin-bottom: 8px;
align-items: center;
&:last-child {
margin-bottom: 0px;
}
.service-logo {
width: 28px;
height: 28px;
margin-right: 8px;
}
.service-desc {
.service-title {
font-size: 14px;
color: #111111;
}
.service-content {
margin-top: 3px;
font-size: 11px;
color: #878e99;
}
}
.service-price {
margin-left: auto;
margin-right: 16px;
font-size: 15px;
color: #ff5c67;
font-weight: 700;
white-space: nowrap;
span {
font-size: 12px;
}
}
}
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!