Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
61749c5e
Commit
61749c5e
authored
Feb 11, 2019
by
yinxr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: yinxr 子文章删除
parent
073a59b5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
0 deletions
+53
-0
form.ftl
src/main/webapp/WEB-INF/manager/mweixin/metarial/form.ftl
+1
-0
article.less
src/main/webapp/static/mweixin/article.less
+26
-0
article.css
src/main/webapp/static/mweixin/css/article.css
+26
-0
No files found.
src/main/webapp/WEB-INF/manager/mweixin/metarial/form.ftl
View file @
61749c5e
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
<span v-text='element.basicTitle'></span>
<span v-text='element.basicTitle'></span>
</p>
</p>
<img :src='element.basicThumbnails'>
<img :src='element.basicThumbnails'>
<div class="ms-article-item-mask"><i class="el-icon-delete" @click='subArticleList.splice(index,1)'></i></div>
</div>
</div>
</draggable>
</draggable>
<div class="ms-article-footer">
<div class="ms-article-footer">
...
...
src/main/webapp/static/mweixin/article.less
View file @
61749c5e
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
.ms-flex();
.ms-flex();
padding: 10px 0;
padding: 10px 0;
border-bottom: 1px solid @borderColor;
border-bottom: 1px solid @borderColor;
position: relative;
p {
p {
margin: 0 10px 0 0;
margin: 0 10px 0 0;
.ms-flex();
.ms-flex();
...
@@ -55,9 +56,34 @@
...
@@ -55,9 +56,34 @@
img {
img {
.ms-width-height(50px);
.ms-width-height(50px);
}
}
// 遮罩
.ms-article-item-mask{
visibility: hidden;
background: rgb(126, 126, 126);
opacity: .8;
.ms-width-height(100%,50%);
position: absolute;
bottom:0;
.ms-flex(flex-end);
align-items: center;
>i{
.ms-font(14px,#fff);
margin:0 10px 0 auto;
display: none;
}
}
&:hover {
&:hover {
cursor: pointer;
cursor: pointer;
}
}
&:hover{
.ms-article-item-mask{
visibility: visible;
>i{
display: block;
}
}
}
} // 尾部
} // 尾部
.ms-article-footer {
.ms-article-footer {
background: #fff;
background: #fff;
...
...
src/main/webapp/static/mweixin/css/article.css
View file @
61749c5e
...
@@ -173,6 +173,7 @@ textarea::-webkit-input-placeholder {
...
@@ -173,6 +173,7 @@ textarea::-webkit-input-placeholder {
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
10px
0
;
padding
:
10px
0
;
border-bottom
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
position
:
relative
;
}
}
.ms-article
.el-container
.el-aside
.ms-article-item
p
{
.ms-article
.el-container
.el-aside
.ms-article-item
p
{
margin
:
0
10px
0
0
;
margin
:
0
10px
0
0
;
...
@@ -193,9 +194,34 @@ textarea::-webkit-input-placeholder {
...
@@ -193,9 +194,34 @@ textarea::-webkit-input-placeholder {
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
}
}
.ms-article
.el-container
.el-aside
.ms-article-item
.ms-article-item-mask
{
visibility
:
hidden
;
background
:
#7e7e7e
;
opacity
:
.8
;
width
:
100%
;
height
:
50%
;
position
:
absolute
;
bottom
:
0
;
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
.ms-article-item-mask
>
i
{
font-weight
:
initial
;
font-size
:
14px
;
color
:
#fff
;
margin
:
0
10px
0
auto
;
display
:
none
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
{
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
.ms-article-item-mask
{
visibility
:
visible
;
}
.ms-article
.el-container
.el-aside
.ms-article-item
:hover
.ms-article-item-mask
>
i
{
display
:
block
;
}
.ms-article
.el-container
.el-aside
.ms-article-footer
{
.ms-article
.el-container
.el-aside
.ms-article-footer
{
background
:
#fff
;
background
:
#fff
;
padding-top
:
20px
;
padding-top
:
20px
;
...
...
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