Lou
2024-01-08 7f1e749f9a60d36edb04e06610fb111567d404bf
components/myIssue/myIssue.vue
@@ -12,7 +12,9 @@
      </view>
      <textarea v-if="textareaShow" @blur="blur" v-model="infoReceive.content" :placeholder="textareaPlaceholder" />
      <view class="issue-btn-box">
         <button v-if="submitShow" class="submit-btn bgc-main c-ff" @click="doSubmit">{{submitText}}</button>
         <button v-if="submitShow" class="submit-btn bgc-main c-ff"
            :disabled="infoReceive.content && infoReceive.score?false:true"
            @click="doSubmit">{{submitText}}</button>
         <slot name="submit"></slot>
      </view>
   </view>
@@ -97,7 +99,8 @@
            infoReceive: {
               score: 0,
               content: ""
            }
            },
            canSubmit: false
         }
      },
@@ -136,7 +139,9 @@
          * @name 提交
          */
         doSubmit() {
            this.$emit('submit', this.infoReceive)
         }
      },
      created() {
@@ -151,7 +156,7 @@
   $fontSize: 28upx;
   .issue {
      background-color: $backgroundC;
      /* background-color: $backgroundC; */
      &-head {
         background-color: $white;
@@ -213,6 +218,12 @@
            /* background-color: #3682FF; */
            line-height: 80upx
         }
         button[disabled] {
            color: #fff !important;
            border-color: #999 !important;
            background-color: #999 !important;
         }
      }
   }