This commit is contained in:
2022-07-08 17:29:23 +08:00
parent f164377cc1
commit f03e2c78c4
4 changed files with 165 additions and 136 deletions

View File

@@ -10,6 +10,9 @@
<view class="item--content">
<view class="title">{{goodsInfo.goods_name}}</view>
<view class="sub_title" v-if="goodsInfo.shop">{{goodsInfo.shop.name}}</view>
<view class="unit" v-if="goodsInfo.unit">
{{goodsInfo.unit}}
</view>
<view class="price">{{goodsInfo.price || '0'}}
<view class="price-type">
<text> DT积分</text>
@@ -22,7 +25,7 @@
<view class="block info-box">
<view class="info-item">
<view class="label">申请类型</view>
<view class="nowrap info-item-title" >我要退款无需退货</view>
<view class="nowrap info-item-title">我要退款无需退货</view>
</view>
<view class="info-item">
<view class="label">申请原因</view>
@@ -83,7 +86,7 @@
title: this.ttext,
remark: this.remark,
pictures: [],
type:1,
type: 1,
};
if (this.ttext === '请选择申请原因') {
uni.showToast({
@@ -179,6 +182,7 @@
}
}
}
.goods-item {
background-color: #Fff;
width: 100%;
@@ -219,6 +223,12 @@
// @extend .ellipsis-1;
}
&>.unit {
color: #999;
font-size: 26rpx;
padding-top: 10rpx;
}
&>.price {
padding-top: 10rpx;
display: flex;

View File

@@ -33,8 +33,13 @@
<image class="shop-logo" :src="goods.shop.cover" mode="aspectFill" />
<view class="shop-title">
<view class="shop-titl">{{goods.shop.name}}</view>
<view> 店铺评分:<span class='no'>5.0</span> <text style="padding-left: 20rpx;">服务态度:<span
class='no'>5.0</span></text> </view>
<view> 店铺评分:
<span class='no'>5.0</span>
<text style="padding-left: 20rpx;">
服务态度:
<span class='no'>5.0</span>
</text>
</view>
</view>
</view>
<view class="shopInfo-title-right">全部商品 {{goods.shop.goods_count || 0}}
@@ -82,9 +87,10 @@
</view>
</view>
<view class="buy-number" v-if="selectSkusValues.stock>0">
<view class="buy-number">
<view class="buy-title">数量</view>
<uni-number-box :min="0" :max="selectSkusValues.stock" @change="qty = $event" />
<uni-number-box :min="1" :max="selectSkusValues.stock" :disabled="selectSkusValues.stock == 0"
@change="qty = $event" />
</view>
<button class="now-buy" type="default" hover-class="none" @click="buy2(selectSkusValues)">立即购买</button>
@@ -347,7 +353,7 @@
.unit {
padding: 30rpx;
font-size: $title-size-m;
font-size: $title-size;
color: #333;
border-top: solid 20rpx #f9f9f9;
}
@@ -578,7 +584,9 @@
margin-top: 20rpx;
border-radius: 40rpx;
background-color: #f9f9f9;
font-size: 26rpx;
font-size: 30rpx;
min-width: 70rpx;
text-align: center;
}
.sku-active {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long