|
@@ -5,7 +5,7 @@
|
|
<uni-grid :column="5" @change="change" :showBorder="false" :square="true">
|
|
<uni-grid :column="5" @change="change" :showBorder="false" :square="true">
|
|
<uni-grid-item v-for="item in categories" :index="item.id">
|
|
<uni-grid-item v-for="item in categories" :index="item.id">
|
|
<view class="grid-item-box">
|
|
<view class="grid-item-box">
|
|
- <image class="image" :src="loadImgSrc(item.icon)" mode="aspectFit"></image>
|
|
|
|
|
|
+ <image class="image" :src="loadImgSrcLocalhost(item.icon)" mode="aspectFit"></image>
|
|
<text class="text">{{ item.productName }}</text>
|
|
<text class="text">{{ item.productName }}</text>
|
|
</view>
|
|
</view>
|
|
</uni-grid-item>
|
|
</uni-grid-item>
|