Commit eeb681a9 by 匡雅琴

无产品组件修改

1 parent ccd38c76
...@@ -11,6 +11,8 @@ Component({ ...@@ -11,6 +11,8 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
IMG_URL: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/',
img_version: 'v1.0.0'
}, },
/** /**
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
text-align: center; text-align: center;
margin-top: 340rpx; margin-top: 340rpx;
&-img { &-img {
width: 432rpx; width: 434rpx;
height: 300rpx; height: 276rpx;
margin-bottom: 50rpx; margin-bottom: 50rpx;
} }
} }
\ No newline at end of file \ No newline at end of file
<!--components/NoProduct/index.wxml--> <!--components/NoProduct/index.wxml-->
<view class="no-product"> <view class="no-product">
<glsx-image custom-class="no-product-img" src="index/productImgs/no-product.png" /> <image class="no-product-img" src="{{IMG_URL}}index/productImgs/no-product.png?v={{img_version}}" />
<view>产品已下架</view> <view>产品已下架</view>
</view> </view>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!