Commit 55d9e190 by 胡悦

修复bug和样式

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