Commit d518b83a authored by 郑秀明's avatar 郑秀明

修改 bugfix

parent 223f0b2d
<template> <template>
<view class="empty-content"> <view class="empty-content">
<image class="empty-content-image" :src="setSrc" mode="aspectFit"></image> <image class="empty-content-image" :src="setSrc" mode="aspectFit"></image>
<text class="empty-content-title">{{title}}</text>
</view> </view>
</template> </template>
...@@ -11,6 +12,10 @@ ...@@ -11,6 +12,10 @@
type: String, type: String,
default: 'empty' default: 'empty'
}, },
title: {
type: String,
default: '暂无数据'
}
}, },
data() { data() {
...@@ -48,5 +53,9 @@ ...@@ -48,5 +53,9 @@
width: 200rpx; width: 200rpx;
height: 200rpx; height: 200rpx;
} }
&-title{
font-size: 28rpx;
color: #999999;
}
} }
</style> </style>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
"disableHostCheck": true, "disableHostCheck": true,
"proxy": { "proxy": {
"/uni/api": { "/uni/api": {
"target": "http://192.168.50.133:6564/", "target": "http://39.96.85.45:9093/",
"changeOrigin": true, "changeOrigin": true,
"secure": false, "secure": false,
"pathRewrite": { "pathRewrite": {
......
This diff is collapsed.
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</view> </view>
</view> </view>
<!-- 空白页 --> <!-- 空白页 -->
<empty v-if="goods_list.length === 0"></empty> <empty v-if="goods_list.length === 0" title='暂无商品数据'></empty>
<!-- 商品列表 --> <!-- 商品列表 -->
<view class="goods-list" v-if="goods_list.length > 0"> <view class="goods-list" v-if="goods_list.length > 0">
<view class="goods-item" v-for="(item,index) in goods_list" :key="index"> <view class="goods-item" v-for="(item,index) in goods_list" :key="index">
......
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