Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
d2356439
Commit
d2356439
authored
Dec 22, 2020
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:banner提示5条上线
parent
c034db0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
src/bu-components/SelectPrepareFileModal.jsx
+1
-0
src/modules/store-manage/StoreH5DecorationTab.jsx
+6
-1
src/modules/store-manage/StoreWebDecorationTab.jsx
+8
-1
No files found.
src/bu-components/SelectPrepareFileModal.jsx
View file @
d2356439
...
...
@@ -548,6 +548,7 @@ class SelectPrepareFileModal extends React.Component {
visible=
{
isOpen
}
title=
{
title
}
footer=
{
footer
}
maskClosable=
{
false
}
width=
{
560
}
onCancel=
{
this
.
handleClose
}
className=
"select-prepare-file-modal"
...
...
src/modules/store-manage/StoreH5DecorationTab.jsx
View file @
d2356439
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @LastEditors: wufan
* @LastEditTime: 2020-12-22 2
0:32:53
* @LastEditTime: 2020-12-22 2
1:13:26
* @Description: web店铺banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -126,6 +126,11 @@ class StoreWebDecoration extends React.Component {
};
handleToAddStoreDecoration
=
()
=>
{
if
(
this
.
state
.
storeDecorationlist
.
length
>=
5
){
message
.
info
(
"最多可添加5条"
);
return
;
}
this
.
setState
({
showSelectFileModal
:
true
,
});
...
...
src/modules/store-manage/StoreWebDecorationTab.jsx
View file @
d2356439
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @LastEditors: wufan
* @LastEditTime: 2020-12-22 2
0:29:02
* @LastEditTime: 2020-12-22 2
1:12:44
* @Description: web店铺banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -126,6 +126,10 @@ class StoreWebDecoration extends React.Component {
};
handleToAddStoreDecoration
=
()
=>
{
if
(
this
.
state
.
storeDecorationlist
.
length
>=
5
){
message
.
info
(
"最多可添加5条"
);
return
;
}
this
.
setState
({
showSelectFileModal
:
true
,
});
...
...
@@ -287,6 +291,9 @@ class StoreWebDecoration extends React.Component {
};
StoreService
.
editStoreBanner
(
params
).
then
((
res
)
=>
{
message
.
success
(
"设置成功"
);
this
.
setState
({
choosedBannerId
:
""
})
this
.
getStoreDecorationList
();
this
.
state
.
photoclip
.
clear
();
});
...
...
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