add.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. <template>
  2. <view >
  3. <view class="bgtop"></view>
  4. <uni-forms :modelValue="datainfo">
  5. <view class="addbox">
  6. <view class="boxs">
  7. <view class="tips">
  8. <image :src="tipimg"></image>
  9. <view>请于填写信息前认真核对提案者信息是否有误</view>
  10. </view>
  11. <view class="pdbox">
  12. <view class="titbox mb14">
  13. <view class="tit flexc">
  14. <image :src="titimg"></image>
  15. <view>提案者信息</view>
  16. </view>
  17. </view>
  18. <view class="titinf">
  19. <view class="txt"><text>提案者:</text>{{datainfo.proposalName}}</view>
  20. <view class="txt"><text>联系方式:</text>{{datainfo.proposalPhone}}</view>
  21. <view class="txt"><text>界别:</text>{{kayType(datainfo.boundary,jblist)}}</view>
  22. <!-- <view class="txt"><text>党派:</text>{{kayType(datainfo.partyAffiliation,dplist)}}</view> -->
  23. <view class="txt"><text>工作单位及职务:</text>{{datainfo.contactAddress}}</view>
  24. </view>
  25. <image :src="infobg" class="infobg"></image>
  26. </view>
  27. </view>
  28. <view class="boxs pdbox" style="padding-bottom: 2rpx;">
  29. <view class="titbox mb14">
  30. <view class="tit flexc">
  31. <image :src="titimg"></image>
  32. <view>基本详情</view>
  33. </view>
  34. </view>
  35. <view class="pb8">
  36. <uni-forms-item label="标题" name="title" required>
  37. <uni-easyinput :inputBorder="false" type="text" v-model="datainfo.title" placeholder="请输入标题" />
  38. <view class="edtip pa">* 标题前无须加关于,标题后无须加的建议,系统将自动填写</view>
  39. </uni-forms-item>
  40. </view>
  41. <!-- <uni-forms-item label="提案类别" name="categoryName" required>
  42. <view class="openbox" :class="datainfo.categoryName?'':'coa'" @click="gettalbFn">{{datainfo.categoryName||"请选择提案类别"}}</view>
  43. </uni-forms-item> -->
  44. <picker range-key='label' :value="talbidx" :range="talblist" @change='bindDateChangea'>
  45. <uni-forms-item label="提案类别" name="categoryName" required>
  46. <view class="lbtabp">
  47. <view :class="datainfo.categoryName?'':'coa'">{{datainfo.categoryName||"请选择提案类别"}}</view>
  48. </view>
  49. </uni-forms-item>
  50. </picker>
  51. <uni-forms-item label="提案类型" name="proposalType">
  52. <view class="checkbox">
  53. <uni-data-checkbox v-model="datainfo.proposalType" :localdata="typeList" />
  54. </view>
  55. </uni-forms-item>
  56. </view>
  57. <view class="boxs pdbox">
  58. <view class="titbox mb14 flexc">
  59. <view class="tit flexc flex1">
  60. <image :src="titimg"></image>
  61. <view>提案内容</view>
  62. </view>
  63. <view class="titr" @click="getPaiFn">一键排版</view>
  64. </view>
  65. <editor id="editor" :class="pbFlag?'pbbox':''" class="ql-container" placeholder="请输入提案内容" show-img-size show-img-toolbar
  66. show-img-resize @statuschange="onStatusChange" :read-only="readOnly" @ready="onEditorReady">
  67. </editor>
  68. <view class="edtip flext mb24 mt14"><text>*</text> 提案正文内容原则上不超过2000字,提案正文内容输入完毕后, 可点击右上角的“一键排版”按钮进行快速排版</view>
  69. </view>
  70. <view class="boxs pdbox">
  71. <view class="titbox mb14">
  72. <view class="tit flexc">
  73. <image :src="titimg"></image>
  74. <view>附件内容</view>
  75. </view>
  76. </view>
  77. <view class="flexcj mb10">
  78. <view class="fw f15 co34">添加附件</view>
  79. <view class="fjadd"><lsj-upload
  80. ref="lsjUpload"
  81. childId="upload1"
  82. :width="width"
  83. :height="height"
  84. :option="option"
  85. :size="size"
  86. :formats="formats"
  87. :debug="debug"
  88. :instantly="instantly"
  89. @progress=""
  90. @uploadEnd="onuploadEnd" >
  91. <view class="btn" :style="{width: width,height: height}">上传附件</view>
  92. </lsj-upload>
  93. </view>
  94. </view>
  95. <view class="ptb12" v-if="filelist&&filelist.length">
  96. <view class="fjlists" v-for="(ite,idx) in filelist" :key='idx'>
  97. <view class="flext" @click="getDown(ite.url)">
  98. <view class="imgl"><image :src="fjimg" ></image></view>
  99. <view class="tit">{{ite.name}}</view>
  100. </view>
  101. <!-- 删除 -->
  102. <view class="delimg flex0" @click.stop="getDelFj(idx)">
  103. <image :src="delimg"></image>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. <view class="boxs pdbox" style="padding-bottom: 2rpx;">
  109. <view class="titbox mb14">
  110. <view class="tit flexc">
  111. <image :src="titimg"></image>
  112. <view>更多信息</view>
  113. </view>
  114. </view>
  115. <uni-forms-item label="联名提案" name="isJointly">
  116. <view class="checkbox">
  117. <uni-data-checkbox v-model="datainfo.isJointly" :localdata="sfList" />
  118. </view>
  119. </uni-forms-item>
  120. <uni-forms-item label="联名提案人员" name="proposalUserList" v-if="datainfo.isJointly=='是'">
  121. <view class="openbox" @click="getlmtaFn" :class="tary?'':'coa'">{{tary||"请选择联名提案人员"}}</view>
  122. </uni-forms-item>
  123. <!-- <uni-forms-item label="同意公开" name="isPublicity">
  124. <view class="checkbox">
  125. <uni-data-checkbox v-model="datainfo.isPublicity" :localdata="sfList" />
  126. </view>
  127. </uni-forms-item>
  128. <uni-forms-item label="内容公开" name="contentPublicity">
  129. <view class="checkbox">
  130. <uni-data-checkbox v-model="datainfo.contentPublicity" :localdata="sfList" />
  131. </view>
  132. </uni-forms-item>
  133. <uni-forms-item label="经过调研" name="isSurvey">
  134. <view class="checkbox">
  135. <uni-data-checkbox v-model="datainfo.isSurvey" :localdata="sfList" />
  136. </view>
  137. </uni-forms-item>
  138. <uni-forms-item label="第一次提出" name="isFirst">
  139. <view class="checkbox">
  140. <uni-data-checkbox v-model="datainfo.isFirst" :localdata="sfList" />
  141. </view>
  142. </uni-forms-item>
  143. <uni-forms-item label="由本人撰写" name="isPerson">
  144. <view class="checkbox">
  145. <uni-data-checkbox v-model="datainfo.isPerson" :localdata="sfList" />
  146. </view>
  147. </uni-forms-item> -->
  148. <uni-forms-item label="需要办理的协商方式" name="negotiateType">
  149. <view class="matab">
  150. <view class="list" :class="checkidx.indexOf(ite.label)!=-1?'act':''" v-for="(ite,idx) in matterlist" :key='idx' @click="getCheck(ite.label)">{{ite.label}}</view>
  151. </view>
  152. </uni-forms-item>
  153. <uni-forms-item label="建议承办的单位" name="proposedContractor">
  154. <uni-easyinput :inputBorder="false" type="text" v-model="datainfo.proposedContractor" placeholder="请输入单位名称" />
  155. </uni-forms-item>
  156. </view>
  157. <view class="addbtn">
  158. <view class="btn btn1" @click="getZanFnt">暂存</view>
  159. <view class="btn btn2" @click="getSubmit">提交</view>
  160. </view>
  161. </view>
  162. </uni-forms>
  163. </view>
  164. </template>
  165. <script>
  166. import config from '@/config'
  167. const baseUrl = config.baseUrl
  168. import { getToken } from '@/utils/auth'
  169. import { selectValue } from '@/utils/common.js';
  170. import {getCaseAddFn,getCaseDetailFn,getCaseEditFn,getCasetalbFn} from "@/api/mine/case.js"
  171. import {getDictionaryFn} from "@/api/mine/register.js"
  172. export default{
  173. data(){
  174. return{
  175. //附件
  176. option: {
  177. // 上传服务器地址,需要替换为你的接口地址
  178. url: baseUrl+'/common/upload', // 该地址非真实路径,需替换为你项目自己的接口地址
  179. // 上传附件的key
  180. name: 'file',
  181. // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
  182. header: {
  183. // 示例参数可删除
  184. 'Authorization': 'Bearer ' + getToken(),
  185. },
  186. // 根据你接口需求自定义body参数
  187. formData: {}
  188. },
  189. // 选择文件后是否立即自动上传,true=选择后立即上传
  190. instantly: true,
  191. // 必传宽高且宽高应与slot宽高保持一致
  192. width: '',
  193. height: '48rpx',
  194. // 限制允许上传的格式,空串=不限制,默认为空
  195. formats: 'doc,docx,xls,xlsx,ppt,txt,pdf,zip,rar,word,png,jpg,jpeg',
  196. // 文件上传大小限制
  197. size: 100,
  198. // 文件数量限制 默认10
  199. count: 5,
  200. // 文件回显列表
  201. files: new Map(),
  202. // 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
  203. wxFiles: [],
  204. // 是否打印日志
  205. debug: false,
  206. filelist:[],
  207. pbFlag:false,
  208. readOnly:false,
  209. fjimg:require("@/work/static/images/fjimg.png"),
  210. delimg:require("@/work/static/images/delimg.png"),
  211. tipimg:require("@/work/static/images/tip.png"),
  212. titimg:require("@/work/static/images/titbg.png"),
  213. infobg:require("@/work/static/images/infobg.png"),
  214. datainfo:{
  215. "proposalUserId":this.$store.state.user.userId,//提案人ID
  216. "title":"",//标题
  217. "proposalName":this.$store.state.user.memberInfo.name,//提案人姓名
  218. "proposalPhone":this.$store.state.user.memberInfo.phonenumber,//提案人手机号码
  219. "boundary":this.$store.state.user.memberInfo.boundary,//界别
  220. "partyAffiliation":this.$store.state.user.memberInfo.partyAffiliation,//党派
  221. "contactAddress":this.$store.state.user.memberInfo.unit,//联系地址
  222. "categoryId":"",//提案类别id
  223. "categoryName":"",//提案类别
  224. "proposalType":'1',//提案类型(0大会提案 1平时提案)
  225. "proposalContent":"",//提案内容
  226. "isJointly":'否',//联名提案(0是 1否)
  227. "isPublicity":'是',//同意公开(0是 1否)
  228. "contentPublicity":'是',//内容公开(0是 1否)
  229. "isSurvey":'否',//经过调研(0是 1否)
  230. "isFirst":'否',//第一次提出(0是 1否)
  231. "isPerson":'否',//由本人撰写(0是 1否)
  232. "negotiateType":"",//需要办理的协商方式
  233. "proposedContractor":"",//建议承办单位
  234. "proposalUserList":[////提案人员
  235. ],
  236. "zxFjList":[//提案附件
  237. // { "name":"附件名称","url":"附件地址"},
  238. ],
  239. },
  240. typeList:[{text: '大会提案',value: '0'},{text: '平时提案',value: '1'}],
  241. sfList:[{text: '是',value: '是'},{text: '否',value: '否'}],
  242. matterlist:[],
  243. jblist:[],
  244. dplist:[],
  245. checkidx:[],
  246. editorCtx:'',
  247. tary:'',
  248. id:"",
  249. pagetype:'add',
  250. editinfo:'',
  251. talblist:[],
  252. talbidx:'',
  253. isfirst:true
  254. }
  255. },
  256. onUnload(){
  257. uni.$off('refreshtalb')
  258. uni.$off('refreshtary')
  259. },
  260. onLoad(e) {
  261. uni.$on('refreshtalb', (e) => {
  262. this.datainfo.categoryName=e.categoryName
  263. this.datainfo.categoryId=e.categoryId
  264. })
  265. uni.$on('refreshtary', (e) => {
  266. this.datainfo.proposalUserList=e.proposalUserList;
  267. this.tary=e.namelist.join('/')
  268. })
  269. this.init()
  270. this.getCasetalbFn()
  271. if(e.type=='edit'){
  272. this.id=e.id;
  273. this.pagetype='edit'
  274. this.getDetail()
  275. }
  276. if(e.type=='old'&&uni.getStorageSync('tjtaList')){
  277. var newObj=JSON.parse(JSON.stringify(uni.getStorageSync('tjtaList')))
  278. var params=newObj.params;
  279. this.datainfo=params;
  280. this.editinfo=params.proposalContent;
  281. if(params.zxFjList&&params.zxFjList.length){
  282. this.filelist=JSON.parse(JSON.stringify(params.zxFjList))
  283. }
  284. var taryList=params.proposalUserList;
  285. if(taryList&&taryList.length){
  286. var newArr=[]
  287. taryList.forEach(ite=>{
  288. newArr.push(ite.name)
  289. })
  290. this.tary=newArr.join('/')
  291. }
  292. this.checkidx=newObj.checkidx
  293. }
  294. },
  295. methods:{
  296. kayType(ite,list){
  297. return selectValue(list, ite);
  298. },
  299. //提案类别
  300. getCasetalbFn(){
  301. getCasetalbFn().then(res=>{
  302. if(res.code==200){
  303. this.talblist = res.data.map(v => {
  304. return {
  305. label: v.label,
  306. value: v.id
  307. }
  308. })
  309. }
  310. })
  311. },
  312. bindDateChangea(e){
  313. var val=e.detail.value;
  314. this.datainfo.categoryName=this.talblist[val].label;
  315. this.datainfo.categoryId=this.talblist[val].value;
  316. },
  317. init(){
  318. getDictionaryFn('negotiation_mode').then(res=>{
  319. if(res.code==200&&res.data.length){
  320. this.matterlist = res.data.map(v => {
  321. return {
  322. label: v.dictLabel,
  323. value: v.dictValue
  324. }
  325. })
  326. }
  327. })
  328. // 界别circles
  329. getDictionaryFn('circles').then(res=>{
  330. if(res.code==200&&res.data.length){
  331. this.jblist = res.data.map(v => {
  332. return {
  333. label: v.dictLabel,
  334. value: v.dictValue
  335. }
  336. })
  337. }
  338. })
  339. // 党派
  340. // getDictionaryFn('political_parties').then(res=>{
  341. // if(res.code==200&&res.data.length){
  342. // this.dplist = res.data.map(v => {
  343. // return {
  344. // label: v.dictLabel,
  345. // value: v.dictValue
  346. // }
  347. // })
  348. // }
  349. // })
  350. },
  351. getDetail(){
  352. var that=this;
  353. getCaseDetailFn(this.id).then(res=>{
  354. if(res.code==200){
  355. var data=res.data;
  356. this.datainfo=res.data;
  357. if(data.zxFjList&&data.zxFjList.length){
  358. this.filelist=JSON.parse(JSON.stringify(data.zxFjList))
  359. }
  360. this.editinfo=data.proposalContent;
  361. uni.createSelectorQuery().select('#editor').context(function(res) {
  362. that.editorCtx = res.context;
  363. that.editorCtx.setContents({
  364. html:data.proposalContent
  365. })
  366. }).exec();
  367. var taryList=data.proposalUserList;
  368. if(taryList&&taryList.length){
  369. var newArr=[]
  370. taryList.forEach(ite=>{
  371. newArr.push(ite.name)
  372. })
  373. this.tary=newArr.join('/')
  374. }
  375. that.checkidx=data.negotiateType.split(',')
  376. // this.dwdetList=res.data.proposalUnitReplyList;
  377. }
  378. })
  379. },
  380. getCheck(id){
  381. var idx=this.checkidx.indexOf(id)
  382. if(idx!=-1){
  383. this.checkidx.splice(idx,1)
  384. }else{
  385. this.checkidx.push(id)
  386. }
  387. },
  388. getPaiFn(){
  389. this.pbFlag=true;
  390. },
  391. gettalbFn(){
  392. var obj={
  393. id:this.datainfo.categoryId,
  394. name:this.datainfo.categoryName,
  395. }
  396. this.$tab.navigateTo('/work/pages/case/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
  397. },
  398. getlmtaFn(){
  399. var newArr=this.datainfo.proposalUserList;
  400. if(newArr.length<1&&this.isfirst){
  401. this.isfirst=false;
  402. var useinfo=this.$store.state.user.memberInfo;
  403. if(useinfo){
  404. useinfo.checked=true;
  405. useinfo.type='1';
  406. newArr.push(useinfo)
  407. }
  408. }
  409. var obj={
  410. list:newArr
  411. }
  412. this.$tab.navigateTo('/work/pages/case/lmtapeople?data='+encodeURIComponent(JSON.stringify(obj)))
  413. },
  414. // 暂存
  415. getZanFnt(){
  416. var that=this;
  417. that.editorCtx.getContents({
  418. success: function(data) {
  419. // proposalContent=data.html;
  420. // that.datainfo.zxFjList=JSON.parse(JSON.stringify(that.filelist));
  421. var params=that.datainfo;
  422. params.proposalContent=data.html;
  423. if(that.checkidx&&that.checkidx.length>0){
  424. params.negotiateType=that.checkidx.join(',')
  425. }
  426. var obj={
  427. params:params,
  428. checkidx:that.checkidx
  429. }
  430. uni.setStorageSync('tjtaList', JSON.parse(JSON.stringify(obj)))
  431. that.$toast("暂存成功")
  432. }
  433. })
  434. },
  435. getSubmit(){
  436. var that=this;
  437. if(!this.datainfo.title){
  438. this.$toast("请输入标题")
  439. return
  440. }
  441. if(!this.datainfo.categoryName){
  442. this.$toast("请选择提案类别")
  443. return
  444. }
  445. if(this.datainfo.isJointly=='是'&&!this.tary){
  446. this.$toast("请选择联名提案人员")
  447. return
  448. }
  449. var proposalContent='';
  450. that.editorCtx.getContents({
  451. success: function(data) {
  452. var params=that.datainfo;
  453. params.proposalContent=data.html;
  454. if(that.checkidx&&that.checkidx.length>0){
  455. params.negotiateType=that.checkidx.join(',')
  456. }
  457. if(that.pagetype=='add'){
  458. getCaseAddFn(params).then(res=>{
  459. if(res.code==200){
  460. uni.removeStorageSync('tjtaList')
  461. that.$toast("提交成功")
  462. uni.$emit("refreshlist")
  463. setTimeout(function(){
  464. uni.navigateBack({
  465. delta: 1 //返回层数,2则上上页
  466. });
  467. },1200)
  468. }
  469. })
  470. }else{
  471. getCaseEditFn(params).then(res=>{
  472. if(res.code==200){
  473. that.$toast("修改成功")
  474. uni.$emit("refreshdetail")
  475. setTimeout(function(){
  476. uni.navigateBack({
  477. delta: 1 //返回层数,2则上上页
  478. });
  479. },1200)
  480. }
  481. })
  482. }
  483. }
  484. })
  485. },
  486. onuploadEnd(item) {
  487. var newobj={}
  488. var responseText=JSON.parse(item.responseText)
  489. newobj.name=responseText.originalFilename;
  490. newobj.url=responseText.fileName;
  491. this.filelist.push(newobj)
  492. this.datainfo.zxFjList=JSON.parse(JSON.stringify(this.filelist))
  493. },
  494. getDelFj(idx){
  495. var that=this;
  496. uni.showModal({
  497. title: '确认删除',
  498. content: "是否确认删除",
  499. cancelText: '取消',
  500. confirmText: '确认',
  501. success: function(res) {
  502. if (res.confirm) {
  503. that.filelist.splice(idx,1)
  504. that.datainfo.zxFjList=JSON.parse(JSON.stringify(that.filelist))
  505. } else if (res.cancel) {
  506. }
  507. }
  508. });
  509. },
  510. getDown(e){
  511. uni.showLoading({
  512. title: '加载中'
  513. });
  514. var url=baseUrl+e;
  515. uni.downloadFile({
  516. url: url,//文件的下载路径
  517. success(result) {
  518. uni.hideLoading()
  519. var filePath = result.tempFilePath;
  520. uni.openDocument({
  521. filePath: filePath,
  522. showMenu: true,
  523. success: function (res) {
  524. // console.log('打开文档成功');
  525. }
  526. });
  527. },
  528. fail(res) {uni.hideLoading()}
  529. })
  530. },
  531. onStatusChange(){
  532. },
  533. onEditorReady(){
  534. var that=this;
  535. uni.createSelectorQuery().select('#editor').context(function(res) {
  536. that.editorCtx = res.context;
  537. that.editorCtx.setContents({
  538. html:that.editinfo
  539. })
  540. }).exec();
  541. }
  542. }
  543. }
  544. </script>
  545. <style scoped lang="scss">
  546. .bgtop{height: 150rpx;background-color: $com-cd3;width: 100%;}
  547. .pdbox{padding: 34rpx 24rpx 16rpx;}
  548. .addbox /deep/ .uni-forms-item{margin-bottom:36rpx;}
  549. .addbox /deep/ .uni-easyinput{flex: 1;text-align: right;font-size: 30rpx;}
  550. .addbox /deep/ .uni-forms-item__label{font-weight: bold;font-size: 30rpx;color: #343434;width: 198rpx !important;padding-left:20rpx;}
  551. .addbox /deep/ .is-required{position: absolute;left: 0;top: 50%;margin-top: -10rpx;}
  552. .addbox /deep/ .uni-data-checklist{display: flex;align-items: center;justify-content: flex-end;}
  553. .addbox /deep/ .uni-easyinput__placeholder-class{font-weight: 500;font-size: 30rpx;color: #AAAAAA;}
  554. .addbox /deep/ .checklist-box{margin-right: 0 !important;margin-left: 40rpx !important;}
  555. .fjadd{
  556. .btn{font-weight: bold;font-size: 30rpx;color: #1D64E2;margin: 0;display: flex;align-items: center;}
  557. }
  558. .addbox{margin-top: -120rpx;
  559. padding: 0 24rpx 50rpx;
  560. .boxs{background: #FFFFFF;border-radius: 30rpx;margin-bottom: 24rpx;overflow: hidden;position: relative;
  561. .infobg{width: 102rpx;height: 106rpx;position: absolute;right: 26rpx;bottom: 22rpx;}
  562. .tips{background: #F1F6FF;padding: 18rpx 38rpx;display: flex;align-items: flex-start;
  563. image{width: 20rpx;height: 26rpx;margin-right: 16rpx;flex:0 0 auto;margin-top: 4rpx;}
  564. view{font-weight: 500;font-size: 26rpx;color: #1D64E2;}
  565. }
  566. .titbox{
  567. .tit{
  568. image{width: 32rpx;height: 18rpx;margin-right: 10rpx;}
  569. view{font-weight: bold;font-size: 32rpx;color: #222327;}
  570. }
  571. .titr{width: 146rpx;height: 50rpx;background: #E4EEFF;border-radius: 26rpx;font-weight: 500;font-size: 24rpx;color: #1D64E2;text-align: center;line-height: 50rpx;}
  572. }
  573. .titinf{display: flex;flex-wrap: wrap;
  574. .txt{font-weight: 500;font-size: 28rpx;margin-bottom: 18rpx;flex:0 1 auto;min-width: 50%;display: flex;align-items: flex-start;color: #222327;
  575. text{flex: 0 0 auto;color: #9F9F9F;}
  576. }
  577. }
  578. .openbox{display: flex;align-items: center;justify-content: flex-end;font-weight: 500;
  579. font-size: 30rpx;height: 100%;color: #222327;
  580. }
  581. .edtip{font-weight: 500;font-size: 22rpx;color: #FF0000;
  582. text{margin: 4rpx 8rpx 0 0;}
  583. &.pa{position: absolute;right: 0;bottom: -15px;text-align: right;width: 702rpx;}
  584. }
  585. }
  586. }
  587. .matab{display: flex;align-items: center;flex-wrap: nowrap;overflow: auto;position: absolute;left: 0;right: -48rpx;
  588. .list{min-width:112rpx;height: 50rpx;background: #ffffff;border-radius: 25rpx;font-size: 30rpx;font-weight: 500;box-sizing: border-box;
  589. color: #AAAAAA;padding: 0 24rpx;box-sizing: border-box;margin-left:24rpx;flex: 0 0 auto;border: 2rpx solid #C1C1C1;display: flex;align-items: center;justify-content: center;
  590. &.act{background: #E4EEFF;color: #1D64E2;border: none;}
  591. }
  592. }
  593. // 附件
  594. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 12rpx;
  595. image{margin-right: 18rpx;flex: 0 0 auto;}
  596. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;justify-content: center;margin-right: 16rpx;
  597. image{width: 26rpx;height: 24rpx;}
  598. }
  599. .tit{font-size: 26rpx;color: #343434;font-weight: 500;margin-top: 4rpx;}
  600. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;
  601. image{width: 26rpx;height: 26rpx;}
  602. }
  603. }
  604. // 按钮
  605. .addbtn{display: flex;align-items: center;justify-content: space-between;padding-top: 26rpx;
  606. .btn{width: 336rpx;height: 80rpx;font-weight: bold;font-size: 30rpx;box-sizing: border-box;border-radius: 40rpx;display: flex;align-items: center;justify-content: center;
  607. &.btn1{border: 2rpx solid #1D64E2;background: #ffffff;color: #1D64E2;}
  608. &.btn2{background: #1D64E2;color: #ffffff;}
  609. }
  610. }
  611. .addbox /deep/ .pbbox .ql-editor p{text-indent: 2rem;}
  612. </style>