Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Mall4j
Commits
c9b3aa1e
Commit
c9b3aa1e
authored
3 years ago
by
Eratosici
Browse files
Options
Download
Email Patches
Plain Diff
部分bug修复
parent
ac5d0c67
master
v2.1
v2.0
v1.1
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
mall4uni/pages/index/index.css
+3
-2
mall4uni/pages/index/index.css
mall4uni/pages/index/index.vue
+2
-1
mall4uni/pages/index/index.vue
mall4uni/pages/prod/prod.vue
+4
-12
mall4uni/pages/prod/prod.vue
mall4uni/pages/recent-news/recent-news.css
+8
-0
mall4uni/pages/recent-news/recent-news.css
mall4uni/pages/recent-news/recent-news.vue
+1
-0
mall4uni/pages/recent-news/recent-news.vue
mall4v/src/views/modules/shop/notice-add-or-update.vue
+3
-0
mall4v/src/views/modules/shop/notice-add-or-update.vue
with
21 additions
and
15 deletions
+21
-15
mall4uni/pages/index/index.css
+
3
-
2
View file @
c9b3aa1e
...
...
@@ -230,10 +230,10 @@ line-height:44rpx;
margin
:
auto
;
height
:
auto
;
width
:
calc
(
100%
-
40
rpx
);
padding
:
0
20
rpx
;
/*
padding:0 20rpx;
*/
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-around
;
/*
justify-content: space-around;
*/
/* padding: 10rpx 0 0 0; */
}
...
...
@@ -253,6 +253,7 @@ line-height:44rpx;
width
:
220
rpx
;
background
:
#fff
;
display
:
inline-block
;
margin
:
0
8
rpx
;
margin-bottom
:
20
rpx
;
box-shadow
:
0
rpx
6
rpx
8
rpx
rgba
(
58
,
134
,
185
,
0.2
);
}
...
...
This diff is collapsed.
Click to expand it.
mall4uni/pages/index/index.vue
+
2
-
1
View file @
c9b3aa1e
...
...
@@ -43,7 +43,7 @@
</view>
<!-- 消息播放 -->
<view
class=
"message-play"
@
tap=
"onNewsPage"
>
<view
v-if=
"news && news.length"
class=
"message-play"
@
tap=
"onNewsPage"
>
<image
src=
"/static/images/icon/horn.png"
class=
"hornpng"
></image>
<swiper
:vertical=
"true"
:autoplay=
"true"
:circular=
"true"
duration=
"1000"
class=
"swiper-cont"
>
<block
v-for=
"(item, index) in news"
:key=
"index"
>
...
...
@@ -339,6 +339,7 @@ export default {
this
.
updata
=
true
this
.
getTagProd
(
res
[
i
].
id
,
i
);
}
console
.
log
(
'
taglist:
'
,
this
.
taglist
)
}
};
http
.
request
(
params
);
...
...
This diff is collapsed.
Click to expand it.
mall4uni/pages/prod/prod.vue
+
4
-
12
View file @
c9b3aa1e
...
...
@@ -405,19 +405,11 @@ export default {
},
callBack
:
res
=>
{
console
.
log
(
'
res:
'
,
res
)
uni
.
hideLoading
(
)
if
(
!
res
)
{
uni
.
hideLoading
()
uni
.
showModal
({
title
:
'
提示
'
,
content
:
'
商品信息异常
'
,
showCancel
:
false
,
confirmText
:
'
确定
'
,
success
(
res
)
{
// 返回上一页
uni
.
navigateBack
()
}
});
setTimeout
(()
=>
{
uni
.
navigateBack
()
},
1000
);
return
}
//console.log(res);
...
...
This diff is collapsed.
Click to expand it.
mall4uni/pages/recent-news/recent-news.css
+
8
-
0
View file @
c9b3aa1e
...
...
@@ -31,3 +31,11 @@
margin-top
:
10
rpx
;
margin-bottom
:
20
rpx
;
}
.recent-news
.empty
{
display
:
block
;
padding-top
:
200
rpx
;
color
:
#999
;
font-size
:
26
rpx
;
text-align
:
center
;
}
This diff is collapsed.
Click to expand it.
mall4uni/pages/recent-news/recent-news.vue
+
1
-
0
View file @
c9b3aa1e
...
...
@@ -10,6 +10,7 @@
</view>
</view>
</block>
<view
v-if=
"!news || !news.length"
class=
"empty"
>
暂无数据
</view>
</view>
</view>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
mall4v/src/views/modules/shop/notice-add-or-update.vue
+
3
-
0
View file @
c9b3aa1e
...
...
@@ -57,6 +57,9 @@ export default {
isTop
:
0
},
dataRule
:
{
title
:
[
{
required
:
true
,
message
:
'
公告标题不能为空
'
,
trigger
:
'
blur
'
}
]
}
}
},
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help