main
fanfan 9 months ago
parent 493fb320f5
commit 9b658bd294
  1. 4
      pages/cart/index.vue
  2. 14
      pages/goods/detail.vue
  3. 4
      pages/goods/list.vue
  4. 4
      pages/index/index.vue

@ -90,7 +90,7 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="is_check==1" mode=""></image>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode=""></image>
</view>
<view class="goodsInfo1">
<view class="oneTip">
@ -139,7 +139,7 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="is_check==1" mode=""></image>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode=""></image>
</view>
<view class="goodsInfo1">
<view class="oneTip">

@ -46,7 +46,7 @@
<text class="span"
v-if="userInfo.user_type==40">{{goods.cost_price_min?Number(goods.cost_price_min):0}}</text>
<text class="span"
v-else>{{(goods.line_price_min>0&&goods.goods_price_min>0)?(Number(goods.line_price_min)-Number(goods.goods_price_min)):0}}</text>
v-else>{{(goods.line_price_min>0&&goods.goods_price_min>0)?Number((Number(goods.line_price_min)-Number(goods.goods_price_min)).toFixed(2)):0}}</text>
</view>
</view>
</view>
@ -76,7 +76,7 @@
</view>
</view>
</view>
<view class="goodsOpera">
<!-- <view class="goodsOpera">
<view v-if="goods.goods_no" class="goodsNum" @click="copyNum(goods.goods_no)">
<text>{{goods.goods_no}}</text>
<image :src="$picUrl+'/static/detail/copy.png'"></image>
@ -87,7 +87,7 @@
class="tips">
</image>
</view>
</view>
</view> -->
<view class="rank" @click="goRanking()" v-if="goods && goods.category">
<text><text style="font-size: 32rpx;font-weight: bold;">排行榜</text>
{{goods.category.name}}热搜榜第{{goods.paihang}}</text>
@ -105,11 +105,11 @@
<u-icon name="arrow-right" color="#B7B7B7" size="22"></u-icon>
</picker>
</view>
<view v-if="goods.unicode" class="operaImg" @click="copyNum(goods.unicode)">
<view v-if="goods.goods_no" class="operaImg" @click="copyNum(goods.goods_no)">
<view class="left_1">
{{goods.goods_source}}
</view>
<text>{{goods.unicode}}</text>
<text>{{goods.goods_no}}</text>
<image :src="$picUrl+'/static/detail/copy.png'"
style="width: 27rpx;height: 27rpx;margin-left: 8rpx;"></image>
</view>
@ -499,7 +499,7 @@
onLoad(options) {
const that = this;
let result = uni.getStorageSync("addressResult")
this.addressResult = result.address_component || ''
this.addressResult = result?result.address_component:this.addressResult
this.isPre = options.isPre ? options.isPre : null
// query
// this.onRecordQuery(options)
@ -1297,7 +1297,7 @@
}
.rightBox {
width: 195rpx;
min-width: 195rpx;
height: 64rpx;
background: #FFFFFF;
border-radius: 20rpx 20rpx 20rpx 20rpx;

@ -127,7 +127,7 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="is_check==1" mode="">
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode="">
</image>
</view>
<view class="goodsInfo">
@ -181,7 +181,7 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):'' }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="is_check==1" mode="">
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode="">
</image>
</view>
<view class="goodsInfo">

@ -259,7 +259,7 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="is_check==1" mode=""></image>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode=""></image>
</view>
<view class="goodsInfo1">
<view class="oneTip">
@ -308,7 +308,7 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="is_check==1" mode=""></image>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode=""></image>
</view>
<view class="goodsInfo1">
<view class="oneTip">

Loading…
Cancel
Save