Commit f33e4390 by wuwx

修改配置

1 parent 6c9695e0
...@@ -5,18 +5,21 @@ ...@@ -5,18 +5,21 @@
<div class="right_show"> <div class="right_show">
<div class="card-top"></div> <div class="card-top"></div>
<div class="card_one"> <div class="card_one">
<div> <div class="flex">
<span class="cname">{{ editForm.couponName }}</span> <div class="cname">{{ editForm.couponName }}</div>
<span class="ctype"> <img src="../../images/cash.png" class="couponImg" />
<span class="ctypeName">代金券</span>
</span>
</div> </div>
<div class="ctime"> <!-- <div class="ctype">
<span class="ctime_name">有效期:</span> <div class="ctypeName"></div>
<span class="ctime_content" v-if="editForm.effectiveType == 3">无限制</span> </div> -->
<span class="ctime_content" v-if="editForm.effectiveType == 1">{{ editForm.effectiveDays }}天</span> <div class="validityPeriod">
<span class="ctime_content" v-if="editForm.effectiveType == 2">{{ couponTime }}</span> <!-- <span class="ctime_name">有效期:</span> -->
<span v-if="editForm.effectiveType == 3">永久有效</span>
<span v-if="editForm.effectiveType == 1">领取后{{ editForm.effectiveDays }}天内有效</span>
<span v-if="editForm.effectiveType == 2">{{ couponTime }}</span>
</div> </div>
<div style="height: 1px;background-color: rgb(238, 238, 238);margin: 0 16px;"></div>
<div></div>
<div class="ctime"> <div class="ctime">
<span class="ctime_name">使用限制:</span> <span class="ctime_name">使用限制:</span>
<span class="ctime_content">{{ editForm.useBarriers == 1 ? '无限制' : '满' + editForm.full + '可用' }}</span> <span class="ctime_content">{{ editForm.useBarriers == 1 ? '无限制' : '满' + editForm.full + '可用' }}</span>
...@@ -760,15 +763,16 @@ export default { ...@@ -760,15 +763,16 @@ export default {
} }
.cname { .cname {
width: 170px; margin: 16px 0 10px 16px;
height: 17px;
font-family: PingFangSC-Regular;
font-size: 12px;
color: #666666;
font-weight: 400;
margin-left: 8px;
margin-top: 10px;
display: inline-block; display: inline-block;
font-size: 18px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #fc5b32;
max-width: 164px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.ctype { .ctype {
...@@ -884,4 +888,18 @@ export default { ...@@ -884,4 +888,18 @@ export default {
color: #999; color: #999;
margin-left: -10px; margin-left: -10px;
} }
.couponImg {
width: 69px;
height: 69px;
position: absolute;
right: 20px;
top: 114px;
}
.validityPeriod {
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #a0a0a0;
margin: 0 0 16px 16px;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!