Commit a8a8ee31 by hank

修改排序bug

parent 320acc20
...@@ -15,3 +15,4 @@ img { ...@@ -15,3 +15,4 @@ img {
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
*{-webkit-touch-callout: none;}
\ No newline at end of file
...@@ -249,14 +249,14 @@ ...@@ -249,14 +249,14 @@
<div slot="right"> <div slot="right">
<span @click="pageViews=false">关闭</span> <span @click="pageViews=false">关闭</span>
</div> </div>
</van-nav-bar> --> </van-nav-bar>-->
<div class="page-content-tips">备注:长按移动模板顺序</div> <div class="page-content-tips">备注:长按移动模板顺序</div>
<!-- <div class="page-count">视片页面,共{{templateData.listData.length}}页:</div> --> <!-- <div class="page-count">视片页面,共{{templateData.listData.length}}页:</div> -->
<div class="page-list"> <div class="page-list">
<draggable <draggable
class="page-list-container" class="page-list-container"
:scroll="true" :scroll="true"
:delay="300" :delay="0"
draggable=".page-item" draggable=".page-item"
group="listData" group="listData"
@change="dragChange" @change="dragChange"
...@@ -275,9 +275,7 @@ ...@@ -275,9 +275,7 @@
</div> </div>
</draggable> </draggable>
</div> </div>
<div class="page-enter" @click="pageViews=false"> <div class="page-enter" @click="pageViews=false">确定</div>
确定
</div>
</div> </div>
</van-popup> </van-popup>
</div> </div>
...@@ -848,7 +846,7 @@ export default { ...@@ -848,7 +846,7 @@ export default {
margin: 0 15px; margin: 0 15px;
background-color: #ff9110; background-color: #ff9110;
color: white; color: white;
width:80px; width: 80px;
height: 30px; height: 30px;
border-radius: 22px; border-radius: 22px;
} }
...@@ -986,6 +984,11 @@ export default { ...@@ -986,6 +984,11 @@ export default {
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
text-align: left; text-align: left;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
.top { .top {
padding-right: 5px; padding-right: 5px;
line-height: 40px; line-height: 40px;
...@@ -1047,6 +1050,11 @@ export default { ...@@ -1047,6 +1050,11 @@ export default {
} }
.page-list { .page-list {
padding: 15px 0px; padding: 15px 0px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
.sortable-chosen { .sortable-chosen {
background: lightblue; background: lightblue;
} }
...@@ -1074,7 +1082,6 @@ export default { ...@@ -1074,7 +1082,6 @@ export default {
.page-item-thumb { .page-item-thumb {
width: 103px; width: 103px;
height: 183.5px; height: 183.5px;
} }
.name { .name {
font-size: 15px; font-size: 15px;
...@@ -1086,10 +1093,16 @@ export default { ...@@ -1086,10 +1093,16 @@ export default {
user-select: none; user-select: none;
} }
.delete-page { .delete-page {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: absolute; position: absolute;
width: 15.5px; width: 15.5px;
height: 15.5px; height: 15.5px;
background: url(http://visual-clouds.oss-cn-beijing.aliyuncs.com/miniprogram/close.png) no-repeat center; background: url(http://visual-clouds.oss-cn-beijing.aliyuncs.com/miniprogram/close.png)
no-repeat center;
background-size: cover; background-size: cover;
color: white; color: white;
top: 5px; top: 5px;
...@@ -1111,14 +1124,18 @@ export default { ...@@ -1111,14 +1124,18 @@ export default {
width: 294px; width: 294px;
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
background: linear-gradient(180deg,rgba(255,145,16,1) 0%,rgba(255,114,14,1) 100%); background: linear-gradient(
180deg,
rgba(255, 145, 16, 1) 0%,
rgba(255, 114, 14, 1) 100%
);
border-radius: 30px; border-radius: 30px;
margin: 0 auto; margin: 0 auto;
font-size:18px; font-size: 18px;
font-family:PingFangSC-Medium,PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight:500; font-weight: 500;
color:rgba(255,255,255,1); color: rgba(255, 255, 255, 1);
letter-spacing:2px; letter-spacing: 2px;
text-align: center; text-align: center;
} }
padding-bottom: 50px; padding-bottom: 50px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment