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

View File

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