This commit is contained in:
许允枞 2025-03-11 14:52:46 +08:00
parent fd1ec60815
commit ecca353d9f

View File

@ -13,9 +13,14 @@
</headersVue> </headersVue>
<view class="dil"> <view class="dil">
<view class="tinput" v-if="maneizhi=='2'"> <view class="tinput" v-if="maneizhi=='2'">
<view class="text1"> <text class="hong1">*</text> 文件路径</view> <view class="text1">
<text class="hong1">*</text>
文件路径
</view>
<view class="you"> <view class="you">
<ss-upload v-if="maneizhi==2" ref="ssUpload" @getFile="getFile" @uploadSuccess="uploadSuccess" :uploadOptions="uploadOptions" :isUploadServer="isUploadServer" :webviewStyle="webviewStyle" :fileInput="fileInput" > <ss-upload v-if="maneizhi==2" ref="ssUpload" @getFile="getFile" @uploadSuccess="uploadSuccess"
:uploadOptions="uploadOptions" :isUploadServer="isUploadServer" :webviewStyle="webviewStyle"
:fileInput="fileInput">
<text>附件上传</text> <text>附件上传</text>
</ss-upload> </ss-upload>
@ -39,9 +44,13 @@
</view> --> </view> -->
</view> </view>
<view class="xinput"> <view class="xinput">
<view class="text1"> <text class="hong1">*</text> 分类</view> <view class="text1">
<text class="hong1">*</text>
分类
</view>
<view class="xz"> <view class="xz">
<view :class="{'xlan':maneizhi == item.id}" class="kuang" v-for="(item,index) in taplist" :key="index" @click="getzhi2(item.id,item.text)"> <view :class="{'xlan':maneizhi == item.id}" class="kuang" v-for="(item,index) in taplist" :key="index"
@click="getzhi2(item.id,item.text)">
<view class="">{{ item.text }}</view> <view class="">{{ item.text }}</view>
</view> </view>
</view> </view>
@ -49,8 +58,14 @@
<!-- 填空 --> <!-- 填空 -->
<view class="tinput"> <view class="tinput">
<view class="text1" v-if="maneizhi=='1'"> <text class="hong1">*</text> 文件夹名称</view> <view class="text1" v-if="maneizhi=='1'">
<view class="text1" v-else> <text class="hong1">*</text> 文件名称</view> <text class="hong1">*</text>
文件夹名称
</view>
<view class="text1" v-else>
<text class="hong1">*</text>
文件名称
</view>
<view class="you"> <view class="you">
<input type="text" placeholder="请输入名称" v-model="box.fileName"> <input type="text" placeholder="请输入名称" v-model="box.fileName">
</view> </view>
@ -59,9 +74,11 @@
<!-- style="height: 0px; overflow: hidden; display: none;" --> <!-- style="height: 0px; overflow: hidden; display: none;" -->
<view class="tinput" v-if="maneizhi=='2'"> <view class="tinput" v-if="maneizhi=='2'">
<view class="text1"> <text class="hong1">*</text> 提醒时间</view> <view class="text1">
<text class="hong1">*</text>
提醒时间
</view>
<view class="you" @click="show = true "> <view class="you" @click="show = true ">
<text>{{ time || '' }}</text> <text>{{ time || '' }}</text>
</view> </view>
@ -90,6 +107,7 @@
import {getToken} from '@/utils/auth' import {getToken} from '@/utils/auth'
import upload from '@/utils/upload.js' import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue"; import headersVue from "@/components/header/headers.vue";
var wvCurrent; var wvCurrent;
export default { export default {
components: {headersVue}, components: {headersVue},
@ -150,7 +168,7 @@
fileTitle: '上传附件' fileTitle: '上传附件'
}, },
result: '', result: '',
uploadWaiting: false, uploadWaiting: true,
} }
}, },
@ -334,9 +352,11 @@
padding: 0px 12px; padding: 0px 12px;
} }
.top-icon { .top-icon {
margin-bottom: 45px; margin-bottom: 45px;
} }
.c-top { .c-top {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -347,16 +367,19 @@
background-color: white; background-color: white;
padding-top: 40px; padding-top: 40px;
} }
.c-title { .c-title {
font-size: 18px; font-size: 18px;
font-weight: bold font-weight: bold
} }
.top { .top {
box-sizing: border-box; box-sizing: border-box;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
background-color: white; background-color: white;
} }
.top-box { .top-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -364,12 +387,14 @@
box-sizing: border-box; box-sizing: border-box;
padding: 20px 0px; padding: 20px 0px;
} }
.tb-left { .tb-left {
height: 100%; height: 100%;
width: 80%; width: 80%;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.uicon { .uicon {
width: 18px; width: 18px;
height: 18px; height: 18px;
@ -384,6 +409,7 @@
margin-right: 6px; margin-right: 6px;
} }
.tb-right { .tb-right {
width: 20px; width: 20px;
height: 26px; height: 26px;
@ -393,23 +419,27 @@
height: 100%; height: 100%;
} }
} }
.text1 { .text1 {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
color: #363636; color: #363636;
} }
.hong1 { .hong1 {
margin-top: 5px; margin-top: 5px;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #FF5453; color: #FF5453;
} }
.hong2 { .hong2 {
margin-top: 5px; margin-top: 5px;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
} }
.tinput { .tinput {
width: 100%; width: 100%;
display: flex; display: flex;
@ -421,6 +451,7 @@
margin-top: 14px; margin-top: 14px;
margin-bottom: 14px; margin-bottom: 14px;
} }
.xinput { .xinput {
width: 100%; width: 100%;
background: white; background: white;
@ -428,16 +459,19 @@
padding: 16px; padding: 16px;
margin-top: 14px; margin-top: 14px;
} }
.you { .you {
text-align: right; text-align: right;
} }
.xz { .xz {
margin-top: 10px; margin-top: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.kuang { .kuang {
width: 80px; width: 80px;
height: 23px; height: 23px;
@ -450,11 +484,13 @@
font-size: 14px; font-size: 14px;
margin-right: 15px; margin-right: 15px;
} }
.xlan { .xlan {
background: #CDE7FF !important; background: #CDE7FF !important;
color: #1D62FF !important; color: #1D62FF !important;
border: 1px solid #2A96FE; border: 1px solid #2A96FE;
} }
.anniu { .anniu {
width: 100%; width: 100%;
background: linear-gradient(180deg, #327DFB 0%, #327DFB 100%); background: linear-gradient(180deg, #327DFB 0%, #327DFB 100%);