add.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. <template>
  2. <view>
  3. <u-navbar :titleLong="fieldInfo.title">
  4. </u-navbar>
  5. <view class="businessMain" :style="'font-size:'+fieldInfo.fontsize+'rpx'">
  6. <view class="businessTitle" v-if="false">{{fieldInfo.title}}</view>
  7. <view v-for="(item,i) in fieldList" :key="i" class="oawork-item" :class="getClass(item)">
  8. <template v-if="item.type.indexOf('uview')>-1">
  9. <view v-if="item.type.indexOf('divider')>-1">
  10. <u-divider bg-color="#fff" border-color="#6d6d6d">{{item.text}}</u-divider>
  11. </view>
  12. </template>
  13. <template v-else>
  14. <view class="oawork-item1">
  15. <view class="oawork-item1_a">{{item.text}}<span v-if="item.isrequset" style="color:red">*</span>
  16. </view>
  17. <view class="oawork-item1_b">
  18. <template v-if="item.view">
  19. {{formData[item.key]?formData[item.key]:getViewItem(item)}}
  20. </template>
  21. <template v-else>
  22. <template v-if="item.type.indexOf('text')>-1">
  23. <u-input v-model="formData[item.key]" :placeholder="'请输入'+item.text"
  24. :placeholderStyle="placeholderStyle" class="oawork-line"
  25. :customStyle="{textAlign: 'right'}" />
  26. </template>
  27. <template v-if="item.type.indexOf('textnumber')>-1">
  28. <u-input v-model="formData[item.key]" type="number" :placeholder="'请输入'+item.text"
  29. :placeholderStyle="placeholderStyle" class="oawork-line"
  30. :customStyle="{textAlign: 'right'}" />
  31. </template>
  32. <template v-if="item.type.indexOf('radio')>-1">
  33. <u-radio-group v-model="formData[item.key]">
  34. <u-radio v-for="(item, index) in item.list?item.list:radioListDefault"
  35. :key="index" :name="item.value">
  36. {{item.name}}
  37. </u-radio>
  38. </u-radio-group>
  39. </template>
  40. <template v-if="item.type.indexOf('selecttime')>-1">
  41. <u-calendar max-date="2060-01-01" v-model="showCalendar" mode="date"
  42. @change="changeCalendar"></u-calendar>
  43. <view @click="showCalendar = true,keyCalendar=item">
  44. {{formData[item.key]?formData[item.key]:getViewItem(item)}}</view>
  45. </template>
  46. <template v-if="item.type.indexOf('selecttime2')>-1">
  47. <u-calendar max-date="2060-01-01" v-model="showCalendar" mode="range"
  48. @change="changeCalendar2"></u-calendar>
  49. <view @click="showCalendar = true,keyCalendar=item">
  50. {{formData[item.key]?formData[item.key]:createTime}}至{{formData[item.key2]?formData[item.key2]:createTime}}
  51. </view>
  52. </template>
  53. </template>
  54. </view>
  55. <view class="oawork-item1_c" v-if="item.type.indexOf('unit')>-1">
  56. {{item.unit}}
  57. </view>
  58. </view>
  59. <view class="oawork-item2">
  60. <template v-if="item.type.indexOf('textlong')>-1">
  61. <u-input v-model="formData[item.key]" :placeholder="'请输入'+item.text"
  62. :placeholderStyle="placeholderStyle" class="oawork-line" type="textarea" />
  63. </template>
  64. <template v-if="item.type.indexOf('upload')>-1">
  65. <view class="upload">
  66. <u-upload-file-all ref="uUpload" :action="action" :max-size="50 * 1024 * 1024"
  67. :file-max-size="50 * 1024 * 1024" :maxCount="9" :form-data="uploadData"
  68. :header="header" :file-list="fileList"></u-upload-file-all>
  69. </view>
  70. </template>
  71. <template v-if="item.type.indexOf('texteditor')>-1">
  72. <view class="container">
  73. <view class="page-body">
  74. <view class='wrapper'>
  75. <view class='toolbar' @tap="format" style="overflow-y: auto;">
  76. <view :class="formats.bold ? 'ql-active' : ''"
  77. class="iconfont icon-zitijiacu" data-name="bold"></view>
  78. <view :class="formats.italic ? 'ql-active' : ''"
  79. class="iconfont icon-zitixieti" data-name="italic"></view>
  80. <view :class="formats.underline ? 'ql-active' : ''"
  81. class="iconfont icon-zitixiahuaxian" data-name="underline"></view>
  82. <view :class="formats.strike ? 'ql-active' : ''"
  83. class="iconfont icon-zitishanchuxian" data-name="strike"></view>
  84. <view :class="formats.align === 'center' ? 'ql-active' : ''"
  85. class="iconfont icon-juzhongduiqi" data-name="align"
  86. data-value="center"></view>
  87. <view :class="formats.align === 'right' ? 'ql-active' : ''"
  88. class="iconfont icon-youduiqi" data-name="align" data-value="right">
  89. </view>
  90. <view :class="formats.align === 'justify' ? 'ql-active' : ''"
  91. class="iconfont icon-zuoyouduiqi" data-name="align"
  92. data-value="justify"></view>
  93. <view class="iconfont icon-clearedformat" @tap="removeFormat"></view>
  94. <view :class="formats.color === '#0000ff' ? 'ql-active' : ''"
  95. class="iconfont icon-text_color" data-name="color" data-value="#0000ff">
  96. </view>
  97. <view :class="formats.backgroundColor === '#00ff00' ? 'ql-active' : ''"
  98. class="iconfont icon-fontbgcolor" data-name="backgroundColor"
  99. data-value="#00ff00"></view>
  100. <view class="iconfont icon-date" @tap="insertDate"></view>
  101. <view class="iconfont icon--checklist" data-name="list" data-value="check">
  102. </view>
  103. <view :class="formats.list === 'ordered' ? 'ql-active' : ''"
  104. class="iconfont icon-youxupailie" data-name="list" data-value="ordered">
  105. </view>
  106. <view :class="formats.list === 'bullet' ? 'ql-active' : ''"
  107. class="iconfont icon-wuxupailie" data-name="list" data-value="bullet">
  108. </view>
  109. <view class="iconfont icon-undo" @tap="undo"></view>
  110. <view class="iconfont icon-redo" @tap="redo"></view>
  111. <view class="iconfont icon-outdent" data-name="indent" data-value="-1">
  112. </view>
  113. <view class="iconfont icon-indent" data-name="indent" data-value="+1">
  114. </view>
  115. <view class="iconfont icon-fengexian" @tap="insertDivider"></view>
  116. <view class="iconfont icon-charutupian" @tap="insertImage"></view>
  117. <view :class="formats.header === 1 ? 'ql-active' : ''"
  118. class="iconfont icon-format-header-1" data-name="header"
  119. :data-value="1"></view>
  120. <view :class="formats.script === 'sub' ? 'ql-active' : ''"
  121. class="iconfont icon-zitixiabiao" data-name="script" data-value="sub">
  122. </view>
  123. <view :class="formats.script === 'super' ? 'ql-active' : ''"
  124. class="iconfont icon-zitishangbiao" data-name="script"
  125. data-value="super"></view>
  126. <view class="iconfont icon-shanchu" @tap="clear"></view>
  127. <view :class="formats.direction === 'rtl' ? 'ql-active' : ''"
  128. class="iconfont icon-direction-rtl" data-name="direction"
  129. data-value="rtl"></view>
  130. </view>
  131. <view class="editor-wrapper">
  132. <editor id="editor" class="ql-container"
  133. placeholder="开始输入..." show-img-size
  134. show-img-toolbar show-img-resize @statuschange="onStatusChange"
  135. :read-only="readOnly" @ready="onEditorReady">
  136. </editor>
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. </template>
  142. </view>
  143. </template>
  144. </view>
  145. <view class="submitBtn" v-if="isReady">
  146. <u-button type="info" class="submitBtn30" @click="submit(0)">保存</u-button>
  147. <u-button type="primary" class="submitBtn60" @click="submit(1)">提交</u-button>
  148. </view>
  149. </view>
  150. <approve-view :activityList="activityList" :initStart="false"></approve-view>
  151. </view>
  152. </template>
  153. <script>
  154. import {
  155. dataJsGetInfo
  156. } from '../data.js'
  157. import * as API from '@/apis/pagejs/oa.js'
  158. import approveView from '@/components/ApproveView.vue'
  159. import {
  160. currentTimeStamp,
  161. parseUnixTime,
  162. } from '@/apis/utils'
  163. export default {
  164. components: {
  165. approveView
  166. },
  167. data() {
  168. return {
  169. //editor
  170. readOnly: false,
  171. formats: {},
  172. editorCtx:"",
  173. //editor
  174. oatype: "",
  175. showCalendar: false,
  176. keyCalendar: {},
  177. placeholderStyle: "font-size: 24rpx",
  178. radioListDefault: [{
  179. name: '是',
  180. value: '1'
  181. }, {
  182. name: '否',
  183. value: '0'
  184. }, ],
  185. fieldInfo: {},
  186. fieldList: [],
  187. activityList: [
  188. ],
  189. action: "",
  190. formData: {},
  191. personInfo: {},
  192. createTime: "",
  193. createTime2: "",
  194. uploadData: {},
  195. fileList: [],
  196. header: {
  197. },
  198. id: "",
  199. placeholder: '开始输入...',
  200. isReady:true,
  201. themeWordKey:"",
  202. }
  203. },
  204. onLoad(op) {
  205. this.oatype = op.oatype
  206. if (op.id) {
  207. this.id = op.id
  208. }
  209. this.fieldInfo = dataJsGetInfo(op.oatype)
  210. this.fieldList = this.fieldInfo.list;
  211. this.getProcessDetails();
  212. },
  213. methods: {
  214. inspect(){
  215. // if (!this.form.verifyCode) {
  216. // uni.showToast({
  217. // title: "请输入验证码",
  218. // icon: "none"
  219. // })
  220. // return
  221. // }
  222. for(var i in this.fieldList){
  223. var item=this.fieldList[i]
  224. if(item.isrequset){
  225. //(item)
  226. var key=this.formData[item.key]
  227. if(!key){
  228. uni.showToast({
  229. title: "请输入"+item.text,
  230. icon: "none"
  231. })
  232. return false
  233. }
  234. }
  235. }
  236. return true
  237. },
  238. submit(draftStatus) {
  239. if(this.editorCtx){
  240. var _this=this
  241. this.formData[this.themeWordKey]=this.editorCtx.getContents({
  242. success(obj){
  243. _this.formData[_this.themeWordKey]=obj.html
  244. console.log(obj.html)
  245. _this.submitApi(draftStatus);
  246. }
  247. })
  248. }else{
  249. this.submitApi(draftStatus);
  250. }
  251. },
  252. submitApi(draftStatus) {
  253. if(draftStatus){
  254. var c=this.inspect()
  255. if(!c){
  256. return
  257. }
  258. }
  259. uni.showLoading({
  260. title: "加载中",
  261. mask: true,
  262. })
  263. this.formData.draftStatus = draftStatus
  264. this.formData.formId = this.oatype
  265. if(this.$refs.uUpload){
  266. var list=this.$refs.uUpload[0].lists.filter(val => {
  267. return val.progress == 100;
  268. })
  269. if(list.length){
  270. var str =list.map(item=>{
  271. //(item)
  272. return JSON.stringify( {
  273. name:item.file?item.file.name:item.name,
  274. url:item.response?item.response.data.fileUrl:item.url
  275. })
  276. })
  277. this.formData.annexFile=JSON.stringify(str)
  278. }
  279. }
  280. API.application(this.fieldInfo.url, this.formData).then((res) => {
  281. uni.hideLoading();
  282. const eventChannel = this.getOpenerEventChannel();
  283. eventChannel.emit('refreshData');
  284. uni.showModal({
  285. title:"提示",
  286. showCancel:false,
  287. content:"操作成功!",
  288. success() {
  289. uni.navigateBack()
  290. }
  291. })
  292. ////(this.formData.maintenanceDescription,res.data.applyContent.maintenanceDescription)
  293. }).catch(error => {
  294. uni.showToast({
  295. title: error,
  296. icon: "none"
  297. })
  298. })
  299. },
  300. getProcessDetails() {
  301. uni.showLoading({
  302. title: "加载中",
  303. mask: true,
  304. })
  305. API.processDetails({
  306. formId: this.oatype,
  307. id: this.id
  308. }).then((res) => {
  309. uni.hideLoading();
  310. this.activityList = res.data.activityList
  311. var applyContent = res.data.applyContent
  312. this.init()
  313. if(applyContent){
  314. this.formData.id=applyContent.id
  315. for (var i in this.fieldList) {
  316. var obj = this.fieldList[i];
  317. //(this.formData[obj.key], applyContent[obj.key])
  318. var data=applyContent[obj.key];
  319. if(data==null){
  320. continue
  321. }
  322. if (obj.type.indexOf("upload") > -1) {
  323. if(data){
  324. var sz=JSON.parse(data).map(str=>{
  325. var item=JSON.parse(str)
  326. return {
  327. url:item.url,name:item.name,view:1
  328. }
  329. })
  330. this.fileList=sz//data.split(",").map(item=>{return {url:item,item.name=,view:1}})
  331. }
  332. }
  333. this.formData[obj.key] = applyContent[obj.key]
  334. }
  335. if(this.editorCtx){
  336. var _this=this
  337. //console.log(_this.formData.themeWord)
  338. this.editorCtx.setContents({
  339. html:_this.formData[_this.themeWordKey]
  340. })
  341. }
  342. }
  343. //console.log("formData",this.formData)
  344. ////(this.formData.maintenanceDescription,res.data.applyContent.maintenanceDescription)
  345. }).catch(error => {
  346. this.isReady=false;
  347. if(!error){
  348. error="未配置审批流程,请联系管理员"
  349. }
  350. uni.showToast({
  351. title: error,
  352. icon: "none"
  353. })
  354. })
  355. },
  356. saveStorage() {
  357. },
  358. gotoSelectPerson(item) {
  359. this.saveStorage();
  360. uni.navigateTo({
  361. url: "/pages/oawork/business/select"
  362. })
  363. },
  364. changeCalendar(e) {
  365. this.formData[this.keyCalendar.key] = e.result;
  366. },
  367. changeCalendar2(e) {
  368. this.formData[this.keyCalendar.key] = e.startDate;
  369. this.formData[this.keyCalendar.key2] = e.endDate;
  370. },
  371. init() {
  372. this.personInfo = this.carhelp.getPersonInfo()
  373. this.createTime = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
  374. this.createTime2 = parseUnixTime(currentTimeStamp());
  375. for (var i in this.fieldList) {
  376. var obj = this.fieldList[i];
  377. this.formData[obj.key] = ""
  378. if(obj.type.indexOf('texteditor')>-1){
  379. this.themeWordKey=obj.key
  380. console.log("this.themeWordKey",this.themeWordKey)
  381. }
  382. }
  383. this.action = process.car.BASE_URL + "uploadPicture"
  384. this.uploadData.subFolder = "oawork11" + this.oatype;
  385. //接口应该免登陆
  386. var token = this.carhelp.getToken()
  387. this.header = {
  388. 'Authorization': token
  389. }
  390. },
  391. getViewItem(item) {
  392. //(item)
  393. if (item.sql) {
  394. var obj = this;
  395. for (var i in item.sql) {
  396. var k = item.sql[i];
  397. obj = obj[k]
  398. this.formData[item.key]=obj
  399. }
  400. return obj;
  401. }
  402. },
  403. getClass(item) {
  404. if (item) {
  405. var list = item.type.map(it => {
  406. return 'oawork-' + it
  407. })
  408. return list.join(' ')
  409. }
  410. },
  411. //editor
  412. readOnlyChange() {
  413. this.readOnly = !this.readOnly
  414. },
  415. onEditorReady() {
  416. // #ifdef MP-BAIDU
  417. this.editorCtx = requireDynamicLib('editorLib').createEditorContext('editor');
  418. // #endif
  419. // #ifdef APP-PLUS || MP-WEIXIN || H5
  420. uni.createSelectorQuery().select('#editor').context((res) => {
  421. this.editorCtx = res.context
  422. if(this.editorCtx){
  423. var _this=this
  424. //console.log(_this.formData.themeWord)
  425. this.editorCtx.setContents({
  426. html:_this.formData[_this.themeWordKey]
  427. })
  428. }
  429. }).exec()
  430. // #endif
  431. },
  432. undo() {
  433. this.editorCtx.undo()
  434. },
  435. redo() {
  436. this.editorCtx.redo()
  437. },
  438. format(e) {
  439. let {
  440. name,
  441. value
  442. } = e.target.dataset
  443. if (!name) return
  444. // //('format', name, value)
  445. this.editorCtx.format(name, value)
  446. },
  447. onStatusChange(e) {
  448. const formats = e.detail
  449. this.formats = formats
  450. },
  451. insertDivider() {
  452. this.editorCtx.insertDivider({
  453. success: function() {
  454. //('insert divider success')
  455. }
  456. })
  457. },
  458. clear() {
  459. uni.showModal({
  460. title: '清空编辑器',
  461. content: '确定清空编辑器全部内容?',
  462. success: res => {
  463. if (res.confirm) {
  464. this.editorCtx.clear({
  465. success: function(res) {
  466. //("clear success")
  467. }
  468. })
  469. }
  470. }
  471. })
  472. },
  473. removeFormat() {
  474. this.editorCtx.removeFormat()
  475. },
  476. insertDate() {
  477. const date = new Date()
  478. const formatDate = `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`
  479. this.editorCtx.insertText({
  480. text: formatDate
  481. })
  482. },
  483. insertImage() {
  484. uni.chooseImage({
  485. count: 1,
  486. success: (res) => {
  487. this.editorCtx.insertImage({
  488. src: res.tempFilePaths[0],
  489. alt: '图像',
  490. success: function() {
  491. //('insert image success')
  492. }
  493. })
  494. }
  495. })
  496. },
  497. //editor
  498. }
  499. }
  500. </script>
  501. <style scoped lang="scss">
  502. .oawork-line {
  503. border-bottom: 1px solid #c8c8c8;
  504. }
  505. .oawork-paddingTop {
  506. padding-top: 40rpx;
  507. }
  508. .approveMain_text {
  509. font-weight: bold;
  510. color: rgba(51, 51, 51, 1);
  511. font-size: 32rpx;
  512. padding-bottom: 20rpx;
  513. padding-left: 32rpx;
  514. border-bottom: 1px solid #C8C8C8;
  515. margin-bottom: 16rpx;
  516. // padding-top: 32rpx;
  517. }
  518. .businessMain {
  519. /deep/.uni-input-input {
  520. font-size: 24rpx;
  521. }
  522. font-size: 32rpx;
  523. background: #fff;
  524. padding-top: 10rpx;
  525. padding-bottom: 50rpx;
  526. margin-bottom: 40rpx;
  527. display: flex;
  528. flex-wrap: wrap;
  529. .oawork-item {
  530. padding: 4rpx 16rpx 4rpx 16rpx;
  531. width: 100%;
  532. .oawork-item1 {
  533. display: flex;
  534. align-items: center;
  535. .oawork-item1_a {
  536. min-width: 160rpx;
  537. font-weight: bold;
  538. }
  539. .oawork-item1_b {
  540. color: #777777;
  541. width: 100%;
  542. text-align: right;
  543. }
  544. .oawork-item1_c {
  545. padding-left: 16rpx;
  546. }
  547. }
  548. }
  549. .oawork-selecttime,
  550. .oawork-selecttime2 {
  551. margin: 10rpx 0;
  552. display: flex;
  553. .oawork-item1 {
  554. width: 100%;
  555. }
  556. .oawork-item1_b {
  557. display: flex;
  558. align-items: center;
  559. justify-content: flex-end;
  560. height: 100%;
  561. border-bottom: 1px solid #c8c8c8;
  562. }
  563. }
  564. .oawork-itemrow {
  565. .oawork-item1_a {
  566. font-weight: 400 !important;
  567. width: 200%;
  568. }
  569. }
  570. // .oawork-itemline {
  571. // .oawork-item1_a {
  572. // width: 100%;
  573. // }
  574. // }
  575. .oawork-textlong {
  576. .oawork-item1_a {
  577. width: 100%;
  578. }
  579. }
  580. .oawork-title {
  581. padding: 20rpx 0px 4rpx 20rpx;
  582. .oawork-item1_a {
  583. width: 100%;
  584. font-size: 32rpx;
  585. }
  586. }
  587. .width200 {
  588. // padding:20rpx 0px 4rpx 20rpx;
  589. .oawork-item1_a {}
  590. }
  591. /deep/.oawork-width49 {
  592. padding: 4rpx 0px 4rpx 20rpx;
  593. width: 49%;
  594. .oawork-item1_a {
  595. min-width: 140rpx !important;
  596. }
  597. }
  598. }
  599. .approveMain {
  600. background: #fff;
  601. padding-bottom: 180rpx;
  602. padding-top: 20rpx;
  603. .approveItem_main {
  604. display: flex;
  605. justify-content: space-between;
  606. margin-bottom: 30rpx;
  607. margin-right: 32rpx;
  608. .approveItem_a1 {
  609. .approveItem_a1_text1 {
  610. color: rgba(16, 16, 16, 1);
  611. font-size: 32rpx;
  612. }
  613. .approveItem_a1_text2 {
  614. margin-bottom: 16rpx;
  615. color: rgba(119, 119, 119, 1);
  616. font-size: 24rpx;
  617. }
  618. .approveItem_a1_text3 {
  619. color: rgba(51, 51, 51, 1);
  620. font-size: 24rpx;
  621. display: flex;
  622. flex-direction: row;
  623. flex-wrap: wrap;
  624. .approveItem_a1_text3Img {
  625. margin-right: 40rpx;
  626. margin-top: 10rpx;
  627. /deep/.u-badge {
  628. position: relative !important;
  629. top: -40rpx !important;
  630. right: 10rpx !important;
  631. }
  632. }
  633. }
  634. }
  635. .approveItem_a2 {
  636. .a2_span {
  637. border-radius: 4px;
  638. text-align: center;
  639. border: 1px solid rgba(227, 227, 227, 1);
  640. width: 72rpx;
  641. height: 72rpx;
  642. line-height: 60rpx;
  643. font-size: 48rpx;
  644. color: #9F9F9F;
  645. }
  646. .a2_span_2 {
  647. position: relative;
  648. top: -84rpx;
  649. left: 60rpx;
  650. color: red;
  651. }
  652. }
  653. }
  654. }
  655. .u-node {
  656. width: 18rpx;
  657. height: 18rpx;
  658. border-radius: 100rpx !important;
  659. display: flex;
  660. justify-content: center;
  661. align-items: center;
  662. background: #d0d0d0;
  663. }
  664. .submitBtn {
  665. bottom: 0;
  666. position: fixed;
  667. width: 100%;
  668. padding: 20rpx 40rpx;
  669. background-color: #fff;
  670. border-top: 3px solid #f3f4f4;
  671. z-index: 99;
  672. display: flex;
  673. .submitBtn30 {
  674. width: 30%;
  675. }
  676. .submitBtn60 {
  677. width: 60%;
  678. }
  679. }
  680. @import "../data/editor-icon.css";
  681. </style>