图片展示问题

version/0412
fanfan 9 months ago
parent 65f487ba89
commit 7ce390cb13
  1. 2
      pages/activity/charts.vue
  2. 2
      pages/activity/intimate.vue
  3. 2
      pages/activity/newGoods.vue
  4. 2
      pages/activity/newsshop.vue
  5. 2
      pages/activity/presale.vue
  6. 2
      pages/activity/ranking.vue
  7. 2
      pages/activity/seckill.vue

@ -27,7 +27,7 @@
<image :src="$picUrl+'/static/rank/topThree.png'" mode="" v-if="index==2" class="topOne"> <image :src="$picUrl+'/static/rank/topThree.png'" mode="" v-if="index==2" class="topOne">
</image> </image>
<view class="goodsInfo"> <view class="goodsInfo">
<image :src="item.goods_image" mode="" class="goodsImg"></image> <image :src="item.goods_image" mode="widthFix" class="goodsImg"></image>
<view class="goodsName"> <view class="goodsName">
<view class="name"> <view class="name">
{{item.goods_name}} {{item.goods_name}}

@ -31,7 +31,7 @@
</view> </view>
<scroll-view scroll-y class="l"> <scroll-view scroll-y class="l">
<view class="item" v-for="(a,i) in list1" :key="i" @click="openPage(2,a)"> <view class="item" v-for="(a,i) in list1" :key="i" @click="openPage(2,a)">
<image :src="a.server_image"></image> <image :src="a.server_image" mode="widthFix"></image>
<view class="title"> <view class="title">
<!-- <text>自营</text> --> <!-- <text>自营</text> -->
{{a.server_name}} {{a.server_name}}

@ -23,7 +23,7 @@
</view> </view>
</view> </view>
<view class="infoRight"> <view class="infoRight">
<image :src="item.goods_image" mode="" class="infoImg"></image> <image :src="item.goods_image" mode="widthFix" class="infoImg"></image>
</view> </view>
</view> </view>
<view class="price"> <view class="price">

@ -18,7 +18,7 @@
<view class="li b"> <view class="li b">
<view class="item" v-for="(i,index) in item.goods_list.slice(0, item.sliceIndex)" :key="index" <view class="item" v-for="(i,index) in item.goods_list.slice(0, item.sliceIndex)" :key="index"
@click="goDetails(i.goods_id)"> @click="goDetails(i.goods_id)">
<image class="pic" :src="i.goods_image"></image> <image class="pic" :src="i.goods_image" mode="widthFix"></image>
<view class="title">{{i.goods_name}}</view> <view class="title">{{i.goods_name}}</view>
<view class="price"> <view class="price">
<image class="icon" src="https://www.royaum.com.cn/static/news/newshop-05.png"> <image class="icon" src="https://www.royaum.com.cn/static/news/newshop-05.png">

@ -16,7 +16,7 @@
</view> </view>
<view class="list" :isLoading="isLoading"> <view class="list" :isLoading="isLoading">
<view class="item" v-for="(item,index) in goodList" :key="index" @click="goPre(item)"> <view class="item" v-for="(item,index) in goodList" :key="index" @click="goPre(item)">
<image class="pic" :src="item.image" mode="center"></image> <image class="pic" :src="item.image" mode="widthFix"></image>
<view class="info"> <view class="info">
<view class="t">{{item.goods_name}}</view> <view class="t">{{item.goods_name}}</view>
<view class="d"> <view class="d">

@ -38,7 +38,7 @@
<image :src="$picUrl+'/static/rank/topOne.png'" class="topOne" v-if="index==0"></image> <image :src="$picUrl+'/static/rank/topOne.png'" class="topOne" v-if="index==0"></image>
<image :src="$picUrl+'/static/rank/topTwo.png'" class="topOne" v-if="index==1"></image> <image :src="$picUrl+'/static/rank/topTwo.png'" class="topOne" v-if="index==1"></image>
<image :src="$picUrl+'/static/rank/topThree.png'" class="topOne" v-if="index==2"></image> <image :src="$picUrl+'/static/rank/topThree.png'" class="topOne" v-if="index==2"></image>
<image :src="item_1.goods_image" mode="" class="goodsImg"></image> <image :src="item_1.goods_image" mode="widthFix" class="goodsImg"></image>
<view class="goodsName"> <view class="goodsName">
{{item_1.goods_name}} {{item_1.goods_name}}
</view> </view>

@ -34,7 +34,7 @@
<view class="goodItem" v-for="(item,index) in goodsList" :key="index" <view class="goodItem" v-for="(item,index) in goodsList" :key="index"
@click="handleTargetGoods(item.goods_id)"> @click="handleTargetGoods(item.goods_id)">
<view class="itemImg"> <view class="itemImg">
<image :src="item.goods_image" mode="" class="goodsImg"></image> <image :src="item.goods_image" mode="widthFix" class="goodsImg"></image>
</view> </view>
<view class="goodsInfo"> <view class="goodsInfo">
<view class="name"> <view class="name">

Loading…
Cancel
Save