Compare commits

..

2 Commits

Author SHA1 Message Date
Vinjor
5e018143b7 Merge branch 'master' of http://192.168.1.26:3000/dianliang/dl_uniapp 2025-04-25 16:43:26 +08:00
Vinjor
fbe4bf4c64 1 2025-04-25 16:43:21 +08:00
3 changed files with 12 additions and 5 deletions

View File

@ -218,11 +218,11 @@
padding: 0 20rpx 0 20rpx;
.dl-item-box {
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 337rpx);
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 344rpx);
padding-top: 20rpx;
isplay: flex;
flex-direction: column;
}
}
}
</style>
</style>

View File

@ -207,7 +207,7 @@
padding: 0 20rpx 0 20rpx;
.dl-item-box {
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 337rpx);
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 344rpx);
isplay: flex;
flex-direction: column;
}

View File

@ -204,8 +204,10 @@
通告明细
</view>
<view class="item-value">
<textarea v-model="dataObj.detail" style="height: 600rpx;" type="text"
placeholder="请输入通告明细" />
<fuck-textarea v-model="dataObj.detail" height="600rpx" placeholder="请输入内容"
maxlength="3000"></fuck-textarea>
<!-- <textarea v-model="dataObj.detail" style="height: 600rpx;" type="text"
placeholder="请输入通告明细" /> -->
</view>
</view>
</view>
@ -270,9 +272,11 @@
saveNotice,
getNoticeDetail
} from '@/api/business/notice';
import fuckTextarea from '@/components/fuck-textarea/fuck-textarea.vue'
export default {
components: {
navigationBarVue,
fuckTextarea
},
data() {
return {
@ -503,6 +507,9 @@
if (this.validForm(this.dataObj)) {
return
}
let str = this.dataObj.detail.replace(/\n|\r\n/g, "<br>")
console.log(str, "str")
this.dataObj.detail = str
//稿
this.dataObj.approvalStatus = '8'
if (this.fileList && this.fileList.length > 0) {