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; padding: 0 20rpx 0 20rpx;
.dl-item-box { .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; padding-top: 20rpx;
isplay: flex; isplay: flex;
flex-direction: column; flex-direction: column;
} }
} }
} }
</style> </style>

View File

@ -207,7 +207,7 @@
padding: 0 20rpx 0 20rpx; padding: 0 20rpx 0 20rpx;
.dl-item-box { .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; isplay: flex;
flex-direction: column; flex-direction: column;
} }

View File

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