diff --git a/src/pages/demand/demand.vue b/src/pages/demand/demand.vue
index 5b61193..dd56be0 100644
--- a/src/pages/demand/demand.vue
+++ b/src/pages/demand/demand.vue
@@ -61,10 +61,11 @@
需求说明
+ 您还可以输入{{ maxlength - content.length }}字
- {{ explain }}
+ {{ content }}
@@ -199,12 +200,13 @@ export default {
return {
customBtn: false,
pageTitle: "发布需求",
+ maxlength: 300,
step: 1,
editPrice: false,
total: 0,
// 保存数据
type: 1,
- explain: "这个就是需求内容",
+ content: "这个就是需求内容",
categoryIds: [1, 2, 3],
uploadImages: [
{
@@ -407,6 +409,18 @@ export default {
}
.form-container.explain {
margin-top: 25rpx;
+ .textarea-item {
+ .title-box {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
+ .desc {
+ font-size: 24rpx;
+ color: #999999;
+ }
+ }
.textarea-box {
border: none;
.textarea {