diff --git a/components/fuck-textarea/fuck-textarea.vue b/components/fuck-textarea/fuck-textarea.vue
new file mode 100644
index 0000000..02f2f97
--- /dev/null
+++ b/components/fuck-textarea/fuck-textarea.vue
@@ -0,0 +1,135 @@
+
+
+
+ {{Content}}
+
+ {{placeholder}}
+
+
+
+
+ {{CurrentLength}}/{{maxlength}}
+
+
+
+
+
+
+
diff --git a/pages/components/notice-index.vue b/pages/components/notice-index.vue
index 24f5ae9..122661f 100644
--- a/pages/components/notice-index.vue
+++ b/pages/components/notice-index.vue
@@ -8,11 +8,9 @@
+ cancelButton="none" :readonly="!canSearch" :focus="focus" @confirm="search" @clear="clear">
-
-
@@ -57,16 +55,6 @@
-
-
@@ -211,6 +199,7 @@
dataList: [],
//每条赚多少积分
point: 10,
+ focus: false,
queryParams: {
pageNum: 1,
pageSize: 10,
@@ -428,7 +417,13 @@
async goSeach() {
//鉴权
if (!await this.checkIfHasRights(rightsCode.searchNotice)) {
+ this.canSearch = false
return
+ } else {
+ this.canSearch = true
+ if (!this.focus) {
+ this.focus = true
+ }
}
},
/**
diff --git a/pages/components/notice-item.vue b/pages/components/notice-item.vue
index 3b2ea2d..314bd9d 100644
--- a/pages/components/notice-item.vue
+++ b/pages/components/notice-item.vue
@@ -140,7 +140,7 @@
.dl-notice-box {
font-size: 29rpx;
width: 100%;
- padding: 30rpx 18rpx 10rpx 18rpx;
+ padding: 38rpx 18rpx 10rpx 18rpx;
background-color: white;
border-radius: 25rpx;
margin-bottom: 20rpx;
@@ -150,7 +150,7 @@
position: absolute;
color: white;
background-color: #FC1F3E;
- padding: 6rpx 25rpx;
+ padding: 5rpx 25rpx;
font-size: 24rpx;
border-radius: 0 25rpx 0 25rpx;
top: 0;
@@ -268,4 +268,4 @@
}
}
}
-
+
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index 45795fa..87cd619 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -3,7 +3,7 @@
-
+