| | |
| | | </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> |
| | |
| | | infoReceive: { |
| | | score: 0, |
| | | content: "" |
| | | } |
| | | }, |
| | | canSubmit: false |
| | | } |
| | | |
| | | }, |
| | |
| | | * @name 提交 |
| | | */ |
| | | doSubmit() { |
| | | |
| | | this.$emit('submit', this.infoReceive) |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | $fontSize: 28upx; |
| | | |
| | | .issue { |
| | | background-color: $backgroundC; |
| | | /* background-color: $backgroundC; */ |
| | | |
| | | &-head { |
| | | background-color: $white; |
| | |
| | | /* background-color: #3682FF; */ |
| | | line-height: 80upx |
| | | } |
| | | |
| | | button[disabled] { |
| | | color: #fff !important; |
| | | border-color: #999 !important; |
| | | background-color: #999 !important; |
| | | } |
| | | } |
| | | } |
| | | |