Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑秀明
shop_mobile_uni
Commits
d518b83a
Commit
d518b83a
authored
Mar 10, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 bugfix
parent
223f0b2d
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
177 additions
and
168 deletions
+177
-168
empty.vue
components/empty.vue
+11
-2
manifest.json
manifest.json
+1
-1
package-lock.json
package-lock.json
+164
-164
search.vue
pages/search/search.vue
+1
-1
No files found.
components/empty.vue
View file @
d518b83a
<
template
>
<view
class=
"empty-content"
>
<image
class=
"empty-content-image"
:src=
"setSrc"
mode=
"aspectFit"
></image>
<text
class=
"empty-content-title"
>
{{
title
}}
</text>
</view>
</
template
>
...
...
@@ -11,6 +12,10 @@
type
:
String
,
default
:
'empty'
},
title
:
{
type
:
String
,
default
:
'暂无数据'
}
},
data
()
{
...
...
@@ -48,5 +53,9 @@
width
:
200rpx
;
height
:
200rpx
;
}
&
-title
{
font-size
:
28rpx
;
color
:
#999999
;
}
}
</
style
>
manifest.json
View file @
d518b83a
...
...
@@ -62,7 +62,7 @@
"disableHostCheck"
:
true
,
"proxy"
:
{
"/uni/api"
:
{
"target"
:
"http://
192.168.50.133:6564
/"
,
"target"
:
"http://
39.96.85.45:9093
/"
,
"changeOrigin"
:
true
,
"secure"
:
false
,
"pathRewrite"
:
{
...
...
package-lock.json
View file @
d518b83a
This diff is collapsed.
Click to expand it.
pages/search/search.vue
View file @
d518b83a
...
...
@@ -40,7 +40,7 @@
</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-item"
v-for=
"(item,index) in goods_list"
:key=
"index"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment