提交 73670db1 作者: 吴佳伟

fix: 优化页面

上级 accf23df
......@@ -378,7 +378,9 @@
@click="onMenuItemClick(item)"
>
<image class="image_7" :src="item.icon_url" />
<text class="fontsize_28" :class="`text_${item.id + 2} mt-13`">{{ item.name }}</text>
<text class="fontsize_28" :class="`text_${item.id + 2} mt-13`">{{
item.name
}}</text>
</view>
</view>
</view>
......@@ -483,7 +485,9 @@
<view
class="codefun-flex-col codefun-justify-start codefun-items-center text-wrapper_3"
>
<text v-if="product.labels_dictText" class="font_13">{{ product.labels_dictText.split(',')[0] }}</text>
<text v-if="product.labels_dictText" class="font_13">{{
product.labels_dictText.split(',')[0]
}}</text>
</view>
</view>
<text
......@@ -492,7 +496,7 @@
>{{ product.name }}</text
>
<text class="codefun-self-start font_1 text_27 codefun-mt-10" style="font-size: 28rpx"
>¥{{ product.sellPrice }}</text
>¥{{ product.minSellPrice }}</text
>
</view>
</view>
......
......@@ -127,10 +127,10 @@
function getGoodsList() {
NongzhiAPI.goodsList(pageData.search).then((res) => {
console.log("pageData.products******************")
console.log('pageData.products******************')
console.log(res)
const { records, total } = res
pageData.products = [...pageData.products, ...records];
pageData.products = [...pageData.products, ...records]
pageData.total = total
})
}
......@@ -274,8 +274,8 @@
}"
>
<view class="codefun-self-start group_7">
<text class="font_7">¥</text>
<text class="font_5">{{ product.sellPrice }}</text>
<text class="font_7">¥ </text>
<text class="font_5">{{ product.minSellPrice }}</text>
</view>
<view
class="codefun-flex-col codefun-justify-start codefun-items-center text-wrapper_2"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论