add.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  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. if(this.activityList.length==0){
  313. this.isReady=false;
  314. uni.showToast({
  315. title: "未配置审批流程,请联系管理员",
  316. icon: "none"
  317. })
  318. }else{
  319. this.isReady=true;
  320. }
  321. var applyContent = res.data.applyContent
  322. this.init()
  323. if(applyContent){
  324. this.formData.id=applyContent.id
  325. for (var i in this.fieldList) {
  326. var obj = this.fieldList[i];
  327. //(this.formData[obj.key], applyContent[obj.key])
  328. var data=applyContent[obj.key];
  329. if(data==null){
  330. continue
  331. }
  332. if (obj.type.indexOf("upload") > -1) {
  333. if(data){
  334. var sz=JSON.parse(data).map(str=>{
  335. var item=JSON.parse(str)
  336. return {
  337. url:item.url,name:item.name,view:1
  338. }
  339. })
  340. this.fileList=sz//data.split(",").map(item=>{return {url:item,item.name=,view:1}})
  341. }
  342. }
  343. this.formData[obj.key] = applyContent[obj.key]
  344. }
  345. if(this.editorCtx){
  346. var _this=this
  347. //console.log(_this.formData.themeWord)
  348. this.editorCtx.setContents({
  349. html:_this.formData[_this.themeWordKey]
  350. })
  351. }
  352. }
  353. //console.log("formData",this.formData)
  354. ////(this.formData.maintenanceDescription,res.data.applyContent.maintenanceDescription)
  355. }).catch(error => {
  356. this.isReady=false;
  357. if(!error){
  358. error="未配置审批流程,请联系管理员"
  359. }
  360. uni.showToast({
  361. title: error,
  362. icon: "none"
  363. })
  364. })
  365. },
  366. saveStorage() {
  367. },
  368. gotoSelectPerson(item) {
  369. this.saveStorage();
  370. uni.navigateTo({
  371. url: "/pages/oawork/business/select"
  372. })
  373. },
  374. changeCalendar(e) {
  375. this.formData[this.keyCalendar.key] = e.result;
  376. },
  377. changeCalendar2(e) {
  378. this.formData[this.keyCalendar.key] = e.startDate;
  379. this.formData[this.keyCalendar.key2] = e.endDate;
  380. },
  381. init() {
  382. this.personInfo = this.carhelp.getPersonInfo()
  383. this.createTime = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
  384. this.createTime2 = parseUnixTime(currentTimeStamp());
  385. for (var i in this.fieldList) {
  386. var obj = this.fieldList[i];
  387. this.formData[obj.key] = ""
  388. if(obj.type.indexOf('texteditor')>-1){
  389. this.themeWordKey=obj.key
  390. console.log("this.themeWordKey",this.themeWordKey)
  391. }
  392. }
  393. this.action = process.car.BASE_URL + "uploadPicture"
  394. this.uploadData.subFolder = "oawork11" + this.oatype;
  395. //接口应该免登陆
  396. var token = this.carhelp.getToken()
  397. this.header = {
  398. 'Authorization': token
  399. }
  400. },
  401. getViewItem(item) {
  402. //(item)
  403. if (item.sql) {
  404. var obj = this;
  405. for (var i in item.sql) {
  406. var k = item.sql[i];
  407. obj = obj[k]
  408. this.formData[item.key]=obj
  409. }
  410. return obj;
  411. }
  412. },
  413. getClass(item) {
  414. if (item) {
  415. var list = item.type.map(it => {
  416. return 'oawork-' + it
  417. })
  418. return list.join(' ')
  419. }
  420. },
  421. //editor
  422. readOnlyChange() {
  423. this.readOnly = !this.readOnly
  424. },
  425. onEditorReady() {
  426. // #ifdef MP-BAIDU
  427. this.editorCtx = requireDynamicLib('editorLib').createEditorContext('editor');
  428. // #endif
  429. // #ifdef APP-PLUS || MP-WEIXIN || H5
  430. uni.createSelectorQuery().select('#editor').context((res) => {
  431. this.editorCtx = res.context
  432. if(this.editorCtx){
  433. var _this=this
  434. //console.log(_this.formData.themeWord)
  435. this.editorCtx.setContents({
  436. html:_this.formData[_this.themeWordKey]
  437. })
  438. }
  439. }).exec()
  440. // #endif
  441. },
  442. undo() {
  443. this.editorCtx.undo()
  444. },
  445. redo() {
  446. this.editorCtx.redo()
  447. },
  448. format(e) {
  449. let {
  450. name,
  451. value
  452. } = e.target.dataset
  453. if (!name) return
  454. // //('format', name, value)
  455. this.editorCtx.format(name, value)
  456. },
  457. onStatusChange(e) {
  458. const formats = e.detail
  459. this.formats = formats
  460. },
  461. insertDivider() {
  462. this.editorCtx.insertDivider({
  463. success: function() {
  464. //('insert divider success')
  465. }
  466. })
  467. },
  468. clear() {
  469. uni.showModal({
  470. title: '清空编辑器',
  471. content: '确定清空编辑器全部内容?',
  472. success: res => {
  473. if (res.confirm) {
  474. this.editorCtx.clear({
  475. success: function(res) {
  476. //("clear success")
  477. }
  478. })
  479. }
  480. }
  481. })
  482. },
  483. removeFormat() {
  484. this.editorCtx.removeFormat()
  485. },
  486. insertDate() {
  487. const date = new Date()
  488. const formatDate = `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`
  489. this.editorCtx.insertText({
  490. text: formatDate
  491. })
  492. },
  493. insertImage() {
  494. uni.chooseImage({
  495. count: 1,
  496. success: (res) => {
  497. this.editorCtx.insertImage({
  498. src: res.tempFilePaths[0],
  499. alt: '图像',
  500. success: function() {
  501. //('insert image success')
  502. }
  503. })
  504. }
  505. })
  506. },
  507. //editor
  508. }
  509. }
  510. </script>
  511. <style scoped lang="scss">
  512. .oawork-line {
  513. border-bottom: 1px solid #c8c8c8;
  514. }
  515. .oawork-paddingTop {
  516. padding-top: 40rpx;
  517. }
  518. .approveMain_text {
  519. font-weight: bold;
  520. color: rgba(51, 51, 51, 1);
  521. font-size: 32rpx;
  522. padding-bottom: 20rpx;
  523. padding-left: 32rpx;
  524. border-bottom: 1px solid #C8C8C8;
  525. margin-bottom: 16rpx;
  526. // padding-top: 32rpx;
  527. }
  528. .businessMain {
  529. /deep/.uni-input-input {
  530. font-size: 24rpx;
  531. }
  532. font-size: 32rpx;
  533. background: #fff;
  534. padding-top: 10rpx;
  535. padding-bottom: 50rpx;
  536. margin-bottom: 40rpx;
  537. display: flex;
  538. flex-wrap: wrap;
  539. .oawork-item {
  540. padding: 4rpx 16rpx 4rpx 16rpx;
  541. width: 100%;
  542. .oawork-item1 {
  543. display: flex;
  544. align-items: center;
  545. .oawork-item1_a {
  546. min-width: 160rpx;
  547. font-weight: bold;
  548. }
  549. .oawork-item1_b {
  550. color: #777777;
  551. width: 100%;
  552. text-align: right;
  553. }
  554. .oawork-item1_c {
  555. padding-left: 16rpx;
  556. }
  557. }
  558. }
  559. .oawork-selecttime,
  560. .oawork-selecttime2 {
  561. margin: 10rpx 0;
  562. display: flex;
  563. .oawork-item1 {
  564. width: 100%;
  565. }
  566. .oawork-item1_b {
  567. display: flex;
  568. align-items: center;
  569. justify-content: flex-end;
  570. height: 100%;
  571. border-bottom: 1px solid #c8c8c8;
  572. }
  573. }
  574. .oawork-itemrow {
  575. .oawork-item1_a {
  576. font-weight: 400 !important;
  577. width: 200%;
  578. }
  579. }
  580. // .oawork-itemline {
  581. // .oawork-item1_a {
  582. // width: 100%;
  583. // }
  584. // }
  585. .oawork-texteditor{
  586. margin-top: 10px;
  587. }
  588. .oawork-textlong,.oawork-itemline {
  589. .oawork-item1_a {
  590. width: 100%;
  591. }
  592. }
  593. .oawork-title {
  594. padding: 20rpx 0px 4rpx 20rpx;
  595. .oawork-item1_a {
  596. width: 100%;
  597. font-size: 32rpx;
  598. }
  599. }
  600. .width200 {
  601. // padding:20rpx 0px 4rpx 20rpx;
  602. .oawork-item1_a {}
  603. }
  604. /deep/.oawork-width49 {
  605. padding: 4rpx 0px 4rpx 10rpx;
  606. width: 49%;
  607. .oawork-item1_a {
  608. font-size: 28rpx;
  609. min-width: 140rpx !important;
  610. }
  611. }
  612. }
  613. .approveMain {
  614. background: #fff;
  615. padding-bottom: 180rpx;
  616. padding-top: 20rpx;
  617. .approveItem_main {
  618. display: flex;
  619. justify-content: space-between;
  620. margin-bottom: 30rpx;
  621. margin-right: 32rpx;
  622. .approveItem_a1 {
  623. .approveItem_a1_text1 {
  624. color: rgba(16, 16, 16, 1);
  625. font-size: 32rpx;
  626. }
  627. .approveItem_a1_text2 {
  628. margin-bottom: 16rpx;
  629. color: rgba(119, 119, 119, 1);
  630. font-size: 24rpx;
  631. }
  632. .approveItem_a1_text3 {
  633. color: rgba(51, 51, 51, 1);
  634. font-size: 24rpx;
  635. display: flex;
  636. flex-direction: row;
  637. flex-wrap: wrap;
  638. .approveItem_a1_text3Img {
  639. margin-right: 40rpx;
  640. margin-top: 10rpx;
  641. /deep/.u-badge {
  642. position: relative !important;
  643. top: -40rpx !important;
  644. right: 10rpx !important;
  645. }
  646. }
  647. }
  648. }
  649. .approveItem_a2 {
  650. .a2_span {
  651. border-radius: 4px;
  652. text-align: center;
  653. border: 1px solid rgba(227, 227, 227, 1);
  654. width: 72rpx;
  655. height: 72rpx;
  656. line-height: 60rpx;
  657. font-size: 48rpx;
  658. color: #9F9F9F;
  659. }
  660. .a2_span_2 {
  661. position: relative;
  662. top: -84rpx;
  663. left: 60rpx;
  664. color: red;
  665. }
  666. }
  667. }
  668. }
  669. .u-node {
  670. width: 18rpx;
  671. height: 18rpx;
  672. border-radius: 100rpx !important;
  673. display: flex;
  674. justify-content: center;
  675. align-items: center;
  676. background: #d0d0d0;
  677. }
  678. .submitBtn {
  679. bottom: 0;
  680. position: fixed;
  681. width: 100%;
  682. padding: 20rpx 40rpx;
  683. background-color: #fff;
  684. border-top: 3px solid #f3f4f4;
  685. z-index: 99;
  686. display: flex;
  687. .submitBtn30 {
  688. width: 30%;
  689. }
  690. .submitBtn60 {
  691. width: 60%;
  692. }
  693. }
  694. @import "../data/editor-icon.css";
  695. </style>