diff --git a/pages.json b/pages.json
index 87d681f..bd465ef 100644
--- a/pages.json
+++ b/pages.json
@@ -95,18 +95,25 @@
{
"path": "pages/components/subscribe",
"style": {
- "navigationBarTitleText": ""
+ "navigationBarTitleText": "订阅"
}
}
],
"subPackages": [{
"root": "pages/notice",
"pages": [{
- "path": "detail",
- "style": {
- "navigationBarTitleText": "通告详情"
+ "path": "detail",
+ "style": {
+ "navigationBarTitleText": "通告详情"
+ }
+ },
+ {
+ "path": "subscribe-set",
+ "style": {
+ "navigationBarTitleText": "订阅设置"
+ }
}
- }]
+ ]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
diff --git a/pages/components/subscribe.vue b/pages/components/subscribe.vue
index e9f8f34..d8dafd3 100644
--- a/pages/components/subscribe.vue
+++ b/pages/components/subscribe.vue
@@ -10,19 +10,41 @@
-
+
+
设置
+
+
+
+
+
+
+
+
+
+
+
@@ -82,10 +130,10 @@
padding-top: 20rpx;
.dl-menu {
- width: 100rpx;
+ width: 80rpx;
font-size: 30rpx;
margin: 0 20rpx;
- padding-bottom: 20rpx;
+ padding-bottom: 15rpx;
text-align: center;
}
@@ -97,10 +145,31 @@
}
.seting {
- width: 200rpx;
+ width: 180rpx;
display: flex;
- align-items: self-end;
+ align-items: center;
justify-content: center;
+
+ image {
+ width: 30rpx;
+ height: 30rpx;
+ margin-right: 10rpx;
+ }
+ }
+ }
+
+ .dl-body {
+ flex: 1;
+ width: 100%;
+ height: 100%;
+ background-color: #EEEEEE;
+ padding: 20rpx 20rpx 0 20rpx;
+
+ .dl-item-box {
+ height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 365rpx);
+ isplay: flex;
+ flex-direction: column;
+ padding-top: 15rpx;
}
}
}
diff --git a/pages/notice/detail.vue b/pages/notice/detail.vue
index 4b357b2..394e623 100644
--- a/pages/notice/detail.vue
+++ b/pages/notice/detail.vue
@@ -537,7 +537,7 @@
.fork-info {
flex: none;
- width: 250rpx;
+ width: 270rpx;
display: flex;
flex-direction: column;
align-items: center;
diff --git a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
index d818043..977cba2 100644
--- a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
+++ b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
@@ -1,8 +1,8 @@
@@ -159,6 +159,9 @@
* 点击确认按钮
*/
onOk() {
+ this.$nextTick(() => {
+ this.val = ""
+ })
if (this.mode === 'input') {
this.$emit('confirm', this.val)
} else {
@@ -171,6 +174,9 @@
* 点击取消按钮
*/
closeDialog() {
+ this.$nextTick(() => {
+ this.val = ""
+ })
this.$emit('close')
if (this.beforeClose) return
this.popup.close()
@@ -268,6 +274,7 @@
}
.uni-dialog-input {
+ width: 100%;
flex: 1;
font-size: 14px;
border: 1px #eee solid;