客服:完善订单消息发送

This commit is contained in:
puhui999
2024-07-09 17:34:18 +08:00
parent b630d26d4b
commit 39440c1e67
4 changed files with 102 additions and 172 deletions
+8 -49
View File
@@ -1,22 +1,15 @@
<template>
<view class="goods ss-flex">
<image class="image" :src="sheep.$url.cdn(goodsData.picUrl)" mode="aspectFill"> </image>
<view class="ss-flex-1">
<view class="title ss-line-2">
{{ goodsData.spuName }}
</view>
<view v-if="goodsData.introduction" class="subtitle ss-line-1">
{{ goodsData.introduction }}
</view>
<view class="price ss-m-t-8">
{{ goodsData.price }}
</view>
</view>
</view>
<s-goods-item
:title="goodsData.spuName"
:img="goodsData.picUrl"
:price="goodsData.price"
:skuText="goodsData.introduction"
priceColor="#FF3000"
:titleWidth="400"
/>
</template>
<script setup>
import sheep from '@/sheep';
const props = defineProps({
goodsData: {
@@ -26,37 +19,3 @@
});
</script>
<style lang="scss" scoped>
.goods {
background: #fff;
padding: 20rpx;
border-radius: 12rpx;
.image {
width: 116rpx;
height: 116rpx;
flex-shrink: 0;
margin-right: 20rpx;
}
.title {
height: 64rpx;
line-height: 32rpx;
font-size: 26rpx;
font-weight: 500;
color: #333;
}
.subtitle {
font-size: 24rpx;
font-weight: 400;
color: #999;
}
.price {
font-size: 26rpx;
font-weight: 500;
color: #ff3000;
}
}
</style>