展示修改

This commit is contained in:
donqi 2023-02-12 04:15:45 +08:00
parent 64a3531227
commit 2919a528a3
3 changed files with 20 additions and 11 deletions

View File

@ -12,7 +12,7 @@ export default {
})
// request 触发前拼接 url
args.url = 'https://www.opsoul.com:8881' + args.url;
// args.url = 'http://192.168.2.60:80' + args.url;
// args.url = 'http://92.168.2.12:80' + args.url;
// args.url = 'http://127.0.0.1:80' + args.url;
if (args.data && Object.prototype && Object.prototype.toString.call(args.data) === '[object Object]') {
args.data.deptId = globalData.deptId;

View File

@ -61,13 +61,13 @@
</view> -->
<view class="cu-avatar round"
:style="'width: 100rpx; height: 100rpx; background-image:url(' + item.cover + ');'"></view>
<text>{{item.simpleGoodsCategoryName}}</text>
<text>{{item.name}}</text>
</view>
<view class="cu-item align-center" v-for="(item,index) in hotFittingsCategory" :key="index" v-if="tabCur === 1 && index < 5"
@click="chooseCategory(item)">
<view class="cu-avatar round"
:style="'width: 100rpx; height: 100rpx; background-image:url(' + item.cover + ');'"></view>
<text>{{item.simpleGoodsCategoryName}}</text>
<text>{{item.name}}</text>
</view>
</view>
<!-- 细类 -->

View File

@ -45,7 +45,7 @@
</view>
<view id="pageAnchor0" class="flex justify-between align-end">
<view class="text-df" v-if="curUserInfo.placeStatus === 2">
佣金<text class="text-price margin-right-sm">{{curProductSpecs.finalPrice}}</text>
佣金<text class="text-price margin-right-sm">{{curProductSpecs.finalPrice ? curProductSpecs.finalPrice : 0}}</text>
<!-- <text class="cuIcon-share"></text> -->
</view>
<!-- <view class="text-df">
@ -63,8 +63,8 @@
<view class="flex justify-between text-df align-center">
<view class="padding-right-sm text-left">
<view class="text-xl">
<view class='cu-tag round bg-orange light' v-if="productInfo.isGoldServ">
<text class="cuIcon-medal">金牌服务</text>
<view class='cu-tag round bg-orange light' v-if="productDetail.servActivity">
<text>{{productDetail.servActivity}}</text>
</view>
{{productDetail.goodsName}}
</view>
@ -78,8 +78,19 @@
</view>
</view>
<!-- 服务保障和规格 -->
<view class="margin-lr-sm padding margin-top-sm bg-white">
<view>
<view class="margin-lr-sm padding margin-top-sm bg-white">
<view v-if="productDetail.expectDuration">
<view class="cu-capsule margin-tb-xs">
<view class='cu-tag bg-main-color'>
<text class="cuIcon-repairfill"></text>
</view>
<view class="cu-tag line-main-color">
服务时效
</view>
</view>
<text class="margin-lr-xs text-sm">{{productDetail.expectDuration}}</text>
</view>
<view v-if="productDetail.warrantyPeriod">
<view class="cu-capsule margin-tb-xs">
<view class='cu-tag bg-main-color'>
<text class="cuIcon-repairfill"></text>
@ -88,9 +99,7 @@
服务保障
</view>
</view>
<text v-for="(item,index) in productDetail.guaranteeList">
<text class="margin-lr-xs text-sm">{{item.areaName}}<text v-if="index != productDetail.servAreaList.length - 1">,</text></text>
</text>
<text class="margin-lr-xs text-sm">质保期{{productDetail.warrantyPeriod}}</text>
</view>
<view>
<view class="cu-capsule margin-tb-xs">