From 094bff4f727d2fd2c6cf5a923d76782aa3f8010a Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 29 四月 2024 16:09:57 +0800
Subject: [PATCH] 1.圣沣 移动端 新增
---
pages/mjgl/mjwx.vue | 35 ++++++++++++++++++++++++++---------
1 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/pages/mjgl/mjwx.vue b/pages/mjgl/mjwx.vue
index a29807d..2084705 100644
--- a/pages/mjgl/mjwx.vue
+++ b/pages/mjgl/mjwx.vue
@@ -81,15 +81,15 @@
</view>
</view>
<view class='inputClass contentFont' style="margin: 0 20rpx; width: 95%;">
- <u--textarea placeholder="璇疯緭鍏�" confirm-type="send" border="surround" height='80'
- v-model="descMessage">
+ <u--textarea placeholder="璇疯緭鍏�" :adjustPosition='false' confirm-type="send" border="surround"
+ height='80' v-model="descMessage">
</u--textarea>
</view>
<view style="display: flex;">
<view v-for="(pic,index) in fileList" :key="pic.name">
<view style="margin: 20rpx 0rpx 20rpx 20rpx;position: relative;">
- <u-icon name="close" color="#fff" size="26"
+ <u-icon name="close" color="#fff" size="16"
style="position: absolute;z-index: 10;right: 0;background-color: black;border-radius:50%;"
@click="deletePic(pic)"></u-icon>
@@ -137,15 +137,15 @@
</view>
</view>
</view>
- <view class='inputClass contentFont' style="margin: 0 20rpx; width: 95%;">
- <u--textarea placeholder="璇疯緭鍏�" confirm-type="send" border="surround" height='80'
- v-model="descMessage2">
+ <view class='inputClass contentFont' style="margin: 0 20rpx; width: 95%;" @click="show=true">
+ <u--textarea placeholder="璇疯緭鍏�" :adjustPosition='false' confirm-type="send" border="surround"
+ height='80' v-model="descMessage2">
</u--textarea>
</view>
</view>
- <view style="height: 120rpx;"> </view>
+ <!-- <view style="height: 120rpx;"> </view> -->
<!-- <u-gap height="10" bgColor="#eff0f1"></u-gap>
@@ -196,6 +196,18 @@
</view>
+
+
+ <u-modal :show="show" title="缁翠慨鍐呭" :closeOnClickOverlay="true" @confirm='show=false' @close='show=false'>
+ <view class="slot-content">
+ <view class='inputClass contentFont' style="">
+ <!-- :adjustPosition='false' -->
+ <u--textarea placeholder="璇疯緭鍏�" confirm-type="send" border="surround" height='80'
+ v-model="descMessage2">
+ </u--textarea>
+ </view>
+ </view>
+ </u-modal>
<!-- <scan-code></scan-code> -->
</view>
@@ -260,6 +272,9 @@
descMessage3: '', //鏇存崲澶囦欢
fileList2: [], //鏇存崲澶囦欢鍥剧墖
imgPreviewSrcs2: [],
+
+
+ show: false
}
},
created() {
@@ -449,8 +464,8 @@
// "uri": "/"
// }] : [...this.fileList, ...this.fileList2],
- files: this.fileList === 0 ? [{
- "uri": "/"
+ files: this.fileList.length === 0 ? [{
+ uri: '/'
}] : this.fileList,
header: header,
formData: formData,
@@ -515,5 +530,7 @@
width: 160rpx;
height: 160rpx;
border-radius: 20rpx;
+
+ // color: #fff;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3