1

parent 4781833b
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
> >
<view class="searchBox" :style="{ border }"> <view class="searchBox" :style="{ border }">
<image <image
mode="aspectFill"
class="magnifyingGlass" class="magnifyingGlass"
src="../../../static/index/magnifyingGlass.png" src="../../../static/index/magnifyingGlass.png"
mode="aspectFit|aspectFill|widthFix"
/> />
<input <input
type="text" type="text"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
v-for="(item, index) in sortList" v-for="(item, index) in sortList"
:key="index" :key="index"
> >
<img :src="item.icon" style="width: 96rpx; height: 96rpx" /> <image mode="aspectFill" :src="item.icon" style="width: 96rpx; height: 96rpx" />
<view class="sort-text">{{ item.categoryName }}</view> <view class="sort-text">{{ item.categoryName }}</view>
</view> </view>
</view> </view>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<view class="product-page" v-for="(item, index) in list" :key="index"> <view class="product-page" v-for="(item, index) in list" :key="index">
<view> <view>
<view class="page-title">{{ item.categoryName }}</view> <view class="page-title">{{ item.categoryName }}</view>
<img :src="item.img" class="main-img" /> <image mode="aspectFill" :src="item.img" class="main-img" />
<view style="display: flex; flex-direction: row"> <view style="display: flex; flex-direction: row">
<view <view
class="detail-border" class="detail-border"
...@@ -59,7 +59,8 @@ ...@@ -59,7 +59,8 @@
:key="index" :key="index"
@click="toDetail(item)" @click="toDetail(item)"
> >
<img <image
mode="aspectFill"
:src="item.commodityImg" :src="item.commodityImg"
style="width: 216rpx; height: 176rpx; border-radius: 16rpx" style="width: 216rpx; height: 176rpx; border-radius: 16rpx"
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment