提交 a95c3d5c 编写于 作者: jingqi.liu's avatar jingqi.liu

修改样式

上级 2c593dc7
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
v-if="couponDetail.couponType == 1" v-if="couponDetail.couponType == 1"
:class="['card-item-left-bottom', hasUsed ? 'cr-c1c1c1 ' : '']" :class="['card-item-left-bottom', hasUsed ? 'cr-c1c1c1 ' : '']"
> >
{{ couponDetail.requiredTotalFee }}可用 {{ couponDetail.requiredTotalFee / 100 }}可用
</div> </div>
</div> </div>
<div <div
...@@ -342,6 +342,7 @@ export default { ...@@ -342,6 +342,7 @@ export default {
.pos-center { .pos-center {
position: absolute; position: absolute;
top: 50%; top: 50%;
width: 58%;
margin-top: 0; margin-top: 0;
transform: translate(0, -50%); transform: translate(0, -50%);
} }
......
<template> <template>
<section class="coupon-list-wrapper" :class="{ 'no-pt': isWeb ,'pt-88':isWeb }"> <section
class="coupon-list-wrapper"
:class="{ 'no-pt': isWeb, 'pt-88': isWeb }"
>
<div class="page-wrapper"> <div class="page-wrapper">
<!-- <common-header <!-- <common-header
:bg-color="bgColor" :bg-color="bgColor"
...@@ -198,8 +201,10 @@ export default { ...@@ -198,8 +201,10 @@ export default {
this.getMyCouponsList(); this.getMyCouponsList();
}, },
chooseCoupon(item) { chooseCoupon(item) {
console.log();
if (item.couponStatus === 1) { if (item.couponStatus === 1) {
rocNative.goBack(); let webUrl = getWebPageUrl(`consultationHome`);
location.replace(webUrl);
// uni.switchTab({ // uni.switchTab({
// url: '/pages/home/index', // url: '/pages/home/index',
// }); // });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册