add.vue 19 KB

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