修复部分样式问题,修改清空购物车弹框

This commit is contained in:
2024-10-22 14:24:24 +08:00
parent 40e9f10bcc
commit a183514533
2 changed files with 117 additions and 79 deletions

View File

@@ -1,9 +1,11 @@
<template>
<view class="u-relative u-flex item">
<image lazy-load class="img" :src="data.coverImg" mode="" :style="computedImgStyle()"></image>
<image lazy-load class="img" :src="data.coverImg" mode="aspectFill" :style="computedImgStyle()"></image>
<view class="info u-flex u-row-between u-col-top u-flex-col" @tap="emitEvent('add')">
<view>
<view>{{data.name}}</view>
<view>
<text class="u-line-2">{{data.name}}</text>
</view>
<view class="u-font-32 font-bold u-m-t-16">
{{data.price}}
</view>