diff --git a/teamwork/pages/post/post-detial.vue b/teamwork/pages/post/post-detial.vue index a422c8fdb1ec3bfabd70df1f6a1843b19fed17b0..4dc2f819032657cf25fcd1311b78b12d2e04611a 100644 --- a/teamwork/pages/post/post-detial.vue +++ b/teamwork/pages/post/post-detial.vue @@ -26,6 +26,8 @@ + + 删除 @@ -50,7 +52,8 @@ - 写评论 + 写评论 @@ -71,13 +74,21 @@ - + + + + + + + + @@ -112,6 +123,19 @@ }, methods: { + + //删除确认弹窗 + delPost() { + this.$refs.alertDialog.open(); + }, + dialogConfirm() { + console.log('点击确认') + this.$refs.alertDialog.close(); + }, + dialogClose() { + console.log('点击关闭') + this.$refsalertDialog.close(); + }, //输入评论 confirm(value) { // 输入框的值 @@ -128,10 +152,10 @@ this.$refs.popup.close(); }, //返回键 - back(){ + back() { uni.navigateBack({ - delta:1,//返回层数,2则上上页 - }) + delta: 1, //返回层数,2则上上页 + }) }, // 图片放大 showPic(imgUrl) { @@ -183,6 +207,12 @@ overflow: auto; } + .del { + float: left; + font-size: 12px; + color: lightskyblue; + } + .comment-buttun { background-color: #EDEEF0; float: left; @@ -341,13 +371,13 @@ .like-and-comment { float: left; - margin-top: 5px; + margin-top: 10px; margin-left: 10%; height: 25px; width: 80%; } - - .like-and-time{ + + .like-and-time { float: left; margin-top: 10px; margin-left: 5%; @@ -363,7 +393,7 @@ .parting-line { width: 100%; - margin-top: 20px; + margin-top: 10px; background-color: #EDEEF0; height: 10px; } diff --git a/teamwork/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue b/teamwork/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue index 2a29bc23161e22ae49a3ef513dc7648569551d17..cf020226c7dd3879674391f8ebb2a87ae675ac82 100644 --- a/teamwork/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue +++ b/teamwork/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue @@ -192,9 +192,9 @@ .file-picker__box { position: relative; // flex: 0 0 33.3%; - width: 33.3%; + width: 100%; height: 0; - padding-top: 33.33%; + padding-top: 33.3%; /* #ifndef APP-NVUE */ box-sizing: border-box; /* #endif */