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
b0a4e234
Commit
b0a4e234
authored
Dec 24, 2020
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复拖动banner透明问题
parent
fb8e5736
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
13 deletions
+33
-13
src/modules/store-manage/StoreDecorationPage.less
+29
-9
src/modules/store-manage/StoreH5DecorationTab.jsx
+2
-2
src/modules/store-manage/StoreWebDecorationTab.jsx
+2
-2
No files found.
src/modules/store-manage/StoreDecorationPage.less
View file @
b0a4e234
...
...
@@ -86,16 +86,36 @@
}
}
}
.row-dragging {
background: #fafafa;
border: 1px solid #ccc;
}
.row-dragging td {
padding: 16px;
.row-dragging {
background: #fafafa;
border: 1px solid #ccc;
z-index: 150;
td {
padding: 16px 0;
visibility: hidden;
}
.row-dragging .drag-visible {
.drag-visible {
visibility: visible;
}
.banner-thumbnail {
width: 230px;
height: 79px;
}
.web-banner-thumbnail {
width: 389px;
height: 67px;
}
.index-num {
height: 33px;
font-size: 24px;
color: #999;
line-height: 33px;
width: 20px;
}
.drag-icon {
font-size: 24px;
line-height: 18px;
color: #999999;
width: 20px;
}
}
src/modules/store-manage/StoreH5DecorationTab.jsx
View file @
b0a4e234
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @LastEditors: wufan
* @LastEditTime: 2020-12-2
3 20:26:34
* @LastEditTime: 2020-12-2
4 13:37:32
* @Description: web店铺banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -82,6 +82,7 @@ class StoreWebDecoration extends React.Component {
title
:
"sequence"
,
dataIndex
:
"sequence"
,
key
:
"sequence"
,
className
:
"drag-visible"
,
width
:
20
,
render
:
(
val
,
record
,
index
)
=>
{
return
<
div
className=
"index-num"
>
{
index
+
1
}
</
div
>;
...
...
@@ -100,7 +101,6 @@ class StoreWebDecoration extends React.Component {
title
:
"操作"
,
dataIndex
:
"operation"
,
width
:
"20%"
,
className
:
"drag-visible"
,
render
:
(
val
,
record
)
=>
{
return
(
<
div
className=
"operation"
>
...
...
src/modules/store-manage/StoreWebDecorationTab.jsx
View file @
b0a4e234
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @LastEditors: wufan
* @LastEditTime: 2020-12-2
3 15:06:47
* @LastEditTime: 2020-12-2
4 13:38:10
* @Description: web店铺banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -82,6 +82,7 @@ class StoreWebDecoration extends React.Component {
title
:
"sequence"
,
dataIndex
:
"sequence"
,
key
:
"sequence"
,
className
:
"drag-visible"
,
width
:
20
,
render
:
(
val
,
record
,
index
)
=>
{
return
<
div
className=
"index-num"
>
{
index
+
1
}
</
div
>;
...
...
@@ -100,7 +101,6 @@ class StoreWebDecoration extends React.Component {
title
:
"操作"
,
dataIndex
:
"operation"
,
width
:
"20%"
,
className
:
"drag-visible"
,
render
:
(
val
,
record
)
=>
{
return
(
<
div
className=
"operation"
>
...
...
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