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

修改样式

上级 cdda65eb
...@@ -3,22 +3,21 @@ ...@@ -3,22 +3,21 @@
<div class="coupon-main flex"> <div class="coupon-main flex">
<div class="flex coupon-bottom-left"> <div class="flex coupon-bottom-left">
<img <img
class="image" class="purse"
src="https://files.yunqueyi.com/image/png/common/20240425190946978.png" src="https://files.yunqueyi.com/image/png/common/20240425190946978.png"
> />
<span class="more">领更多好券</span> <span class="more">领更多好券</span>
</div> </div>
<div class="flex coupon-bottom-right"> <div class="flex coupon-bottom-right">
<div <div class="center" @click="goCenter">去领券中心</div>
class="center" <!-- <van-icon
@click="goCenter"
>
去领券中心
</div>
<van-icon
name="arrow" name="arrow"
color="#999999" color="#999999"
size="12px" size="12px"
/> -->
<img
class="arrow-right"
src="https://files.yunqueyi.com/image/png/common/20240612165652648.png"
/> />
</div> </div>
</div> </div>
...@@ -26,25 +25,25 @@ ...@@ -26,25 +25,25 @@
</div> </div>
</template> </template>
<script> <script>
export default { export default {
components: {}, components: {},
props: {}, props: {},
emits: [], emits: [],
data() { data() {
return {}; return {};
}, },
mounted() {}, mounted() {},
methods: { methods: {
goCenter() { goCenter() {
console.log(111,'111') console.log(111, "111");
this.$router.push({ this.$router.push({
path: '/coupon-center', path: "/coupon-center",
// query: { backMethod: 'web' }, // query: { backMethod: 'web' },
}); });
},
}, },
}; },
};
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.coupon-bottom { .coupon-bottom {
...@@ -60,7 +59,7 @@ ...@@ -60,7 +59,7 @@
padding: 12px 20px; padding: 12px 20px;
box-shadow: inset 0 -1px 0 0 #e7e8e7; box-shadow: inset 0 -1px 0 0 #e7e8e7;
justify-content: space-between; justify-content: space-between;
.image { .purse {
height: 23px; height: 23px;
width: 22px; width: 22px;
margin-right: 8px; margin-right: 8px;
...@@ -78,20 +77,24 @@ ...@@ -78,20 +77,24 @@
line-height: 14px; line-height: 14px;
margin-right: 3px; margin-right: 3px;
} }
}
&-right {
align-items: center;
} }
&-right {
align-items: center;
}
.bottom { .bottom {
height: 26px; height: 26px;
width: 100%; width: 100%;
background-color: #fff; background-color: #fff;
} }
.flex { .flex {
display: flex; display: flex;
} }
.arrow-right {
display: flex;
height: 12px;
width: 6px;
margin-left: 3px;
}
} }
</style> </style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册