Commit 55d9e190 by 胡悦

修复bug和样式

1 parent 4aa61300
...@@ -235,6 +235,7 @@ export default { ...@@ -235,6 +235,7 @@ export default {
font-weight: 500; font-weight: 500;
font-size: 32rpx; font-size: 32rpx;
color: #292d33; color: #292d33;
line-height: 44rpx;
} }
.goods-name { .goods-name {
margin-top: 12rpx; margin-top: 12rpx;
...@@ -246,11 +247,14 @@ export default { ...@@ -246,11 +247,14 @@ export default {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
line-height: 44rpx;
} }
.card-info { .card-info {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 12rpx; margin-top: 12rpx;
line-height: 36rpx;
font-size: 24rpx;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-06-24 16:35:00 * @Date: 2024-06-24 16:35:00
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-07-01 17:55:39 * @LastEditTime: 2024-07-04 13:59:44
--> -->
<template> <template>
<view class="layout"> <view class="layout">
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
:canvasId="`c-${madiaId}`" :canvasId="`c-${madiaId}`"
custom custom
@scale="$emit('scale',$event)" @scale="$emit('scale',$event)"
ref="threeGuarantees"
> >
<template slot="customContent"> <template slot="customContent">
<view class="title">{{title}}</view> <view class="title">{{title}}</view>
...@@ -119,11 +120,13 @@ export default { ...@@ -119,11 +120,13 @@ export default {
this.direction = id > this.activeIndex ? 'bottom' : 'top' this.direction = id > this.activeIndex ? 'bottom' : 'top'
this.activeIndex = id this.activeIndex = id
this.imgKey = Date.now() this.imgKey = Date.now()
this.$refs.threeGuarantees.clearBoard()
}, },
tabSwitch (val) { tabSwitch (val) {
console.log(val) console.log(val)
if (val == this.tabIndex) return if (val == this.tabIndex) return
this.tabIndex = val this.tabIndex = val
this.$refs.threeGuarantees.clearBoard()
}, },
viewsImg () { viewsImg () {
let { activeIndex, tabIndex } = this let { activeIndex, tabIndex } = this
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!