|
@@ -293,10 +293,15 @@
|
293
|
293
|
</div>
|
294
|
294
|
<!-- 描述 -->
|
295
|
295
|
<div class="des-modal" v-if="desModalVisible">
|
296
|
|
- <div class="bg"></div>
|
297
|
|
- <div class="head">
|
298
|
|
- <span class="head-tit">{{desModalTitle}}</span>
|
299
|
|
- <div class="head-r" >关闭</div>
|
|
296
|
+ <div class="bg" @click="hideContent"></div>
|
|
297
|
+ <div class="main">
|
|
298
|
+ <div class="head">
|
|
299
|
+ <span class="head-tit">{{ desModalTitle }}</span>
|
|
300
|
+ <div class="head-r" @click="hideContent">关闭</div>
|
|
301
|
+ </div>
|
|
302
|
+ <div class="body">
|
|
303
|
+ {{ desModalDes }}
|
|
304
|
+ </div>
|
300
|
305
|
</div>
|
301
|
306
|
</div>
|
302
|
307
|
</div>
|
|
@@ -327,9 +332,9 @@ export default {
|
327
|
332
|
shareLoadList: [],
|
328
|
333
|
|
329
|
334
|
// 文字弹框
|
330
|
|
- desModalVisible:false,
|
331
|
|
- desModalTitle:'',
|
332
|
|
- desModalDes:''
|
|
335
|
+ desModalVisible: false,
|
|
336
|
+ desModalTitle: "",
|
|
337
|
+ desModalDes: "",
|
333
|
338
|
};
|
334
|
339
|
},
|
335
|
340
|
filters: {
|
|
@@ -665,7 +670,7 @@ export default {
|
665
|
670
|
})
|
666
|
671
|
.then((res) => {
|
667
|
672
|
if (res.success) {
|
668
|
|
- val.top = 0;
|
|
673
|
+ val.top = 99;
|
669
|
674
|
this.$forceUpdate();
|
670
|
675
|
this.fn.showToast("置顶成功");
|
671
|
676
|
} else {
|
|
@@ -684,7 +689,7 @@ export default {
|
684
|
689
|
})
|
685
|
690
|
.then((res) => {
|
686
|
691
|
if (res.success) {
|
687
|
|
- val.top = 1;
|
|
692
|
+ val.top = 0;
|
688
|
693
|
this.$forceUpdate();
|
689
|
694
|
this.fn.showToast("取消成功");
|
690
|
695
|
} else {
|
|
@@ -1214,7 +1219,17 @@ export default {
|
1214
|
1219
|
}
|
1215
|
1220
|
},
|
1216
|
1221
|
|
1217
|
|
- showContent(tit, con) {},
|
|
1222
|
+ showContent(tit, con) {
|
|
1223
|
+ this.desModalVisible = true;
|
|
1224
|
+ this.desModalTitle = tit;
|
|
1225
|
+ this.desModalDes = con;
|
|
1226
|
+ },
|
|
1227
|
+
|
|
1228
|
+ hideContent() {
|
|
1229
|
+ this.desModalVisible = false;
|
|
1230
|
+ this.desModalTitle = '';
|
|
1231
|
+ this.desModalDes = '';
|
|
1232
|
+ },
|
1218
|
1233
|
},
|
1219
|
1234
|
|
1220
|
1235
|
// 数据计算
|
|
@@ -1968,7 +1983,33 @@ page {
|
1968
|
1983
|
.bg {
|
1969
|
1984
|
width: 100%;
|
1970
|
1985
|
height: 100%;
|
1971
|
|
- background-color: rgba(0,0,0,0.3);
|
|
1986
|
+ background-color: rgba(0, 0, 0, 0.3);
|
|
1987
|
+ }
|
|
1988
|
+ .head-r{
|
|
1989
|
+ font-size: px(40);
|
|
1990
|
+ color: #666;
|
|
1991
|
+ }
|
|
1992
|
+ .main{
|
|
1993
|
+ max-height: 80vh;
|
|
1994
|
+ position: absolute;
|
|
1995
|
+ bottom: 0;
|
|
1996
|
+ left: 0;
|
|
1997
|
+ z-index: 100;
|
|
1998
|
+ background-color: #fff;
|
|
1999
|
+ }
|
|
2000
|
+ .head{
|
|
2001
|
+ height: px(120);
|
|
2002
|
+ display: flex;
|
|
2003
|
+ align-items: center;
|
|
2004
|
+ justify-content: space-between;
|
|
2005
|
+ border-bottom: 1px solid #f1f1f1;
|
|
2006
|
+ padding: 0 px(40);
|
|
2007
|
+ }
|
|
2008
|
+ .body{
|
|
2009
|
+ padding: px(60) px(40);
|
|
2010
|
+ font-size: px(44);
|
|
2011
|
+ line-height: 1.5;
|
|
2012
|
+ text-indent: 2em;
|
1972
|
2013
|
}
|
1973
|
2014
|
}
|
1974
|
2015
|
</style>
|