Commit f864ef11 by liimin

style: 更新页面背景色和图片组件默认模式

- 将页面背景色从 #F9F7F7 改为 #F7F8FA
- 修改图片组件默认模式为 aspectFill 以更好展示图片
- 在订单页面使用 glsx-image 组件替代原生 image 组件
1 parent 890eea42
@import "assets/style/common.wxss";
page {
background-color: #F9F7F7 !important;
background-color: #F7F8FA !important;
color: #282829;
font-size: 28rpx;
--themeColor: #FC5B32;
......
......@@ -30,7 +30,7 @@ Component({
},
mode: {
type: String,
value: 'scaleToFill'
value: 'aspectFill'
},
webp: {
type: Boolean,
......
......@@ -2,7 +2,7 @@
<block>
<view class="goods">
<view class="icon">
<image webp src="{{item.goodsImageUrl}}"></image>
<glsx-image src="{{item.goodsImageUrl}}" mode="aspectFill" lazy-load></glsx-image>
</view>
<view class="info">
<view class="info-top">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!