popup.vue 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336
  1. <template>
  2. <view>
  3. <!-- 弹窗 -->
  4. <view class="bgbox" @click="getClose" v-if="type"></view>
  5. <!-- 弹窗 -->
  6. <!-- 推荐优秀 -->
  7. <view class="fixedbox" v-if="type=='tjyx'||type=='tjzd'">
  8. <view class="ttit">推荐为优秀</view>
  9. <view class="boxs">
  10. <view class="flexcj mb14">
  11. <view class="ttxt"><text class="cof0">*</text>推荐意见</view>
  12. <view class="flexcc speech" @click="getSeep">
  13. <image :src="speechimgs"></image>
  14. <view>语音输入</view>
  15. </view>
  16. </view>
  17. <textarea class="textar mb25" @blur="getBlur" v-model="content" placeholder="请输入推荐意见,也可点击右上角进行 语音输入…" maxlength="1000" ></textarea>
  18. </view>
  19. <view class="fixedbtn flexcj">
  20. <view class="btns btn1" @click="getClose">取消</view>
  21. <view class="btns btn2" @click="getupSubmit">提交</view>
  22. </view>
  23. </view>
  24. <!-- 质量评议 -->
  25. <view class="fixedbox" v-if="type=='zlpy'">
  26. <view class="ttit">办理质量评议</view>
  27. <view class="boxs">
  28. <view class="mb20">
  29. <view class="ttxt mb18"><text class="cof0">*</text> 推荐意见</view>
  30. <uni-section title="本地数据" type="line">
  31. <uni-data-select
  32. v-model="value"
  33. :localdata="range"
  34. @change="change"
  35. ></uni-data-select>
  36. </uni-section>
  37. </view>
  38. <view class="flexcj mb14">
  39. <view class="ttxt"><text class="cof0">*</text>推荐意见</view>
  40. <view class="flexcc speech" @click="getSeep">
  41. <image :src="speechimgs"></image>
  42. <view>语音输入</view>
  43. </view>
  44. </view>
  45. <textarea class="textar mb25" @blur="getBlur" v-model="yxly" placeholder="请对办理情况进行评价,也可点击右上 角进行语音输入…" maxlength="1000" ></textarea>
  46. </view>
  47. <view class="fixedbtn flexcj">
  48. <view class="btns btn1" @click="getClose">取消</view>
  49. <view class="btns btn2" @click="getyjSubmit">提交</view>
  50. </view>
  51. </view>
  52. <!-- 提案并案 -->
  53. <view class="fixedbox" v-if="type=='taba'">
  54. <view class="ttit">提案并案</view>
  55. <view class="boxs">
  56. <view class="mb16">
  57. <view class="ttxt mb18"><text class="cof0">*</text>是否并案</view>
  58. <uni-section title="本地数据" type="line">
  59. <uni-data-select
  60. v-model="value"
  61. :localdata="sfrange"
  62. @change="change"
  63. ></uni-data-select>
  64. </uni-section>
  65. </view>
  66. <view class="mb16">
  67. <view class="ttxt mb18"><text class="cof0">*</text>并案后标题</view>
  68. <input class="input" placeholder="请输入并案后的标题"/>
  69. </view>
  70. <view class="mb16">
  71. <view class="ttxt mb18"><text class="cof0">*</text>并案后理由</view>
  72. <textarea class="textar " style="height: 186rpx;" @blur="getBlur" v-model="yxly" placeholder="请输入并案理由" maxlength="1000" ></textarea>
  73. </view>
  74. <view class="mb16">
  75. <view class="flexcj mb10">
  76. <view class="ttxt"><text class="cof0">*</text>添加附件</view>
  77. <view class="fjadd"><lsj-upload
  78. ref="lsjUpload"
  79. childId="upload1"
  80. :width="width"
  81. :height="height"
  82. :option="option"
  83. :size="size"
  84. :formats="formats"
  85. :debug="debug"
  86. :instantly="instantly"
  87. @progress=""
  88. @uploadEnd="onuploadEnd" >
  89. <view class="btn" :style="{width: width,height: height}">上传附件</view>
  90. </lsj-upload>
  91. </view>
  92. </view>
  93. <view class="ptb2" v-if="filelist&&filelist.length">
  94. <view class="fjlists" v-for="(ite,idx) in filelist" :key='idx'>
  95. <view class="flext f15 c6" @click="getDown(ite.path)">
  96. <view class="imgl"><image :src="fjimg" ></image></view>
  97. <view class="tit">{{ite.name}}</view>
  98. </view>
  99. <!-- 删除 -->
  100. <view class="delimg flex0" @click.stop="getDelFj(idx)">
  101. <image :src="delimg"></image>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="fixedbtn flexcj">
  108. <view class="btns btn1" @click="getClose">取消</view>
  109. <view class="btns btn2" @click="getyjSubmit">提交</view>
  110. </view>
  111. </view>
  112. <!-- 暂存发布的弹窗 -->
  113. <view class="fixedbox" v-if="type=='zcfb'">
  114. <view class="ttit">提示</view>
  115. <view class="boxs">
  116. <view class="ztit">您有一条暂存通知还未发布</view>
  117. <view class="ztit">是否继续编辑?</view>
  118. <view class="ztit mb32">查看<text @click="getFaFn('old')">暂存通知</text></view>
  119. </view>
  120. <view class="fixedbtn flexcj">
  121. <view class="btns btn1" @click="getFaFn('new')">重新发布</view>
  122. <view class="btns btn2" @click="getFaFn('old')">继续发布</view>
  123. </view>
  124. </view>
  125. <!-- 联名提案弹窗 -->
  126. <view class="fixedbox" v-if="type=='lmta'">
  127. <view class="ttit">提示</view>
  128. <view class="boxs">
  129. <view class="ztit">您有<text class="co0b">1</text>条联名提案邀请 请前往确认</view>
  130. <view class="ztit">请前往确认</view>
  131. </view>
  132. <view class="fixedbtn flexcj">
  133. <view class="btns btn1" @click="getFaFn('new')">稍后再说</view>
  134. <view class="btns btn2" @click="getFaFn('old')">立即确认</view>
  135. </view>
  136. </view>
  137. <!-- 暂存提案的弹窗 -->
  138. <view class="fixedbox" v-if="type=='zcta'">
  139. <view class="ttit">提示</view>
  140. <view class="boxs">
  141. <view class="ztit">您有一条暂存提案还未提交</view>
  142. <view class="ztit">是否继续编辑?</view>
  143. <view class="ztit mb32">查看<text @click="getFaFn('old')">暂存提案</text></view>
  144. </view>
  145. <view class="fixedbtn flexcj">
  146. <view class="btns btn1" @click="getFaFn('new')">重新发布</view>
  147. <view class="btns btn2" @click="getFaFn('old')">继续发布</view>
  148. </view>
  149. </view>
  150. <!-- 2审查反馈 -->
  151. <view class="fixedbox" v-if="type=='scfk'">
  152. <view class="ttit">审查反馈</view>
  153. <view class="boxs">
  154. <view class="mb16">
  155. <!-- @change="change" -->
  156. <view class="ttxt mb18"><text class="cof0">*</text>是否立案</view>
  157. <uni-data-select
  158. v-model="isRecord"
  159. placeholder="请选择立案/不予立案"
  160. :localdata="larange"
  161. ></uni-data-select>
  162. </view>
  163. <view class="mb16" >
  164. <view class="ttxt mb18"><text class="cof0">*</text>答复单位</view>
  165. <view @click="getRecorddwFn" class="chosebox flexc">
  166. <view class="tit" :class="recorddw?'':'coa'">{{recorddw||'若选择不予立案,请指定答复单位'}}</view>
  167. </view>
  168. </view>
  169. </view>
  170. <view class="fixedbtn flexcj">
  171. <view class="btns btn1" @click="getClose">取消</view>
  172. <view class="btns btn2" @click="getupSubmit">提交</view>
  173. </view>
  174. </view>
  175. <!-- 3提案交办 -->
  176. <view class="fixedbox" v-if="type=='tajb'">
  177. <view class="ttit">提案交办</view>
  178. <view class="boxs">
  179. <view class="mb16" >
  180. <view class="ttxt mb18"><text class="cof0">*</text>主办单位</view>
  181. <view @click="getRecorddwFn" class="chosebox flexc">
  182. <view class="tit" :class="recorddw?'':'coa'">{{recorddw||'请选择主办单位'}}</view>
  183. </view>
  184. </view>
  185. <view class="mb16" >
  186. <view class="ttxt mb18"><text class="cof0">*</text>协办单位</view>
  187. <view @click="getRecorddwMoreFn" class="chosebox flexc">
  188. <view class="tit" :class="recorddwm?'':'coa'">{{recorddwm||'请选择协办单位'}}</view>
  189. </view>
  190. </view>
  191. </view>
  192. <view class="fixedbtn flexcj">
  193. <view class="btns btn1" @click="getClose">取消</view>
  194. <view class="btns btn2" @click="getupSubmit">提交</view>
  195. </view>
  196. </view>
  197. <!-- 4,办理方式 -->
  198. <view class="fixedbox" v-if="type=='dffk'">
  199. <view class="ttit">答复反馈</view>
  200. <view class="boxs">
  201. <view class="mb16" @click="handling='电话,网络'">
  202. <!-- @change="change" -->
  203. <view class="ttxt mb18"><text class="cof0">*</text>办理方式</view>
  204. <!-- 多选 -->
  205. <uni-data-select
  206. v-model="handling"
  207. placeholder="请选择办理方式"
  208. :localdata="larange"
  209. ></uni-data-select>
  210. </view>
  211. <view class="mb16">
  212. <!-- @change="change" -->
  213. <view class="ttxt mb18"><text class="cof0">*</text>办理程度</view>
  214. <uni-data-select
  215. v-model="degree"
  216. placeholder="请选择办理程度"
  217. :localdata="blcdlist"
  218. ></uni-data-select>
  219. </view>
  220. <view class="mb16">
  221. <!-- @change="change" -->
  222. <view class="ttxt mb18"><text class="cof0">*</text>答复内容</view>
  223. <textarea class="textar texthe mb25" @blur="getBlur" v-model="content" placeholder="请输入答复内容" maxlength="1000" ></textarea>
  224. </view>
  225. <view class="mb16">
  226. <view class="flexcj mb10">
  227. <view class="ttxt">添加附件</view>
  228. <view class="fjadd"><lsj-upload
  229. ref="lsjUpload"
  230. childId="upload1"
  231. :width="width"
  232. :height="height"
  233. :option="option"
  234. :size="size"
  235. :formats="formats"
  236. :debug="debug"
  237. :instantly="instantly"
  238. @progress=""
  239. @uploadEnd="onuploadEnd" >
  240. <view class="btn" :style="{width: width,height: height}">上传附件</view>
  241. </lsj-upload>
  242. </view>
  243. </view>
  244. <view class="ptb2" v-if="filelist&&filelist.length">
  245. <view class="fjlists" v-for="(ite,idx) in filelist" :key='idx'>
  246. <view class="flext f15 c6" @click="getDown(ite.path)">
  247. <view class="imgl"><image :src="fjimg" ></image></view>
  248. <view class="tit">{{ite.name}}</view>
  249. </view>
  250. <!-- 删除 -->
  251. <view class="delimg flex0" @click.stop="getDelFj(idx)">
  252. <image :src="delimg"></image>
  253. </view>
  254. </view>
  255. </view>
  256. </view>
  257. </view>
  258. <view class="fixedbtn flexcj">
  259. <view class="btns btn1" @click="getClose">取消</view>
  260. <view class="btns btn2" @click="getupSubmit">提交</view>
  261. </view>
  262. </view>
  263. <!-- 5,交办审核 -->
  264. <view class="fixedbox" v-if="type=='jbsh'">
  265. <view class="ttit">审核</view>
  266. <view class="boxs">
  267. <view class="mb16">
  268. <!-- @change="change" -->
  269. <view class="ttxt mb18"><text class="cof0">*</text>是否通过</view>
  270. <uni-data-select
  271. v-model="jbshtxt"
  272. placeholder="通过/不通过"
  273. :localdata="jbsharange"
  274. ></uni-data-select>
  275. </view>
  276. <view class="mb16">
  277. <!-- @change="change" -->
  278. <view class="ttxt mb18"><text class="cof0">*</text>反馈理由</view>
  279. <textarea class="textar mb25" @blur="getBlur" v-model="content" placeholder="选择不通过必须填写反馈意见,限1000 字内…" maxlength="1000" ></textarea>
  280. </view>
  281. </view>
  282. <view class="fixedbtn flexcj">
  283. <view class="btns btn1" @click="getClose">取消</view>
  284. <view class="btns btn2" @click="getupSubmit">提交</view>
  285. </view>
  286. </view>
  287. <!-- 5提案办理 承办答复 -->
  288. <view class="fixedbox" v-if="type=='dwdf'">
  289. <view class="ttit">答复反馈</view>
  290. <view class="boxs">
  291. <view class="mb16">
  292. <!-- @change="change" -->
  293. <view class="ttxt mb18"><text class="cof0">*</text>答复内容</view>
  294. <textarea class="textar mb25" @blur="getBlur" v-model="content" placeholder="请输入答复内容" maxlength="1000" ></textarea>
  295. </view>
  296. <view class="mb16">
  297. <view class="flexcj mb10">
  298. <view class="ttxt">添加附件</view>
  299. <view class="fjadd"><lsj-upload
  300. ref="lsjUpload"
  301. childId="upload1"
  302. :width="width"
  303. :height="height"
  304. :option="option"
  305. :size="size"
  306. :formats="formats"
  307. :debug="debug"
  308. :instantly="instantly"
  309. @progress=""
  310. @uploadEnd="onuploadEnd" >
  311. <view class="btn" :style="{width: width,height: height}">上传附件</view>
  312. </lsj-upload>
  313. </view>
  314. </view>
  315. <view class="ptb2" v-if="filelist&&filelist.length">
  316. <view class="fjlists" v-for="(ite,idx) in filelist" :key='idx'>
  317. <view class="flext f15 c6" @click="getDown(ite.path)">
  318. <view class="imgl"><image :src="fjimg" ></image></view>
  319. <view class="tit">{{ite.name}}</view>
  320. </view>
  321. <!-- 删除 -->
  322. <view class="delimg flex0" @click.stop="getDelFj(idx)">
  323. <image :src="delimg"></image>
  324. </view>
  325. </view>
  326. </view>
  327. </view>
  328. </view>
  329. <view class="fixedbtn flexcj">
  330. <view class="btns btn1" @click="getClose">取消</view>
  331. <view class="btns btn2" @click="getupSubmit">提交</view>
  332. </view>
  333. </view>
  334. <!-- 6满意反馈 -->
  335. <view class="fixedbox" v-if="type=='wymyfk'||type=='zxmyfk'">
  336. <view class="ttit">答复反馈</view>
  337. <view class="boxs">
  338. <!-- <view class="mb16">
  339. <view class="ttxt mb18"><text class="cof0">*</text>是否办结</view>
  340. <uni-data-select
  341. v-model="isRecord"
  342. placeholder="请选择办结/不予办结"
  343. :localdata="larange"
  344. ></uni-data-select>
  345. </view> -->
  346. <view class="mb16">
  347. <!-- @change="change" -->
  348. <view class="ttxt mb18"><text class="cof0">*</text>满意程度</view>
  349. <uni-data-select
  350. v-model="mycdtxt"
  351. placeholder="请选择满意程度"
  352. :localdata="mycdlist"
  353. ></uni-data-select>
  354. </view>
  355. <view class="mb16">
  356. <view class="ttxt mb18"><text class="cof0">*</text>评价</view>
  357. <textarea class="textar mb25" @blur="getBlur" v-model="content" placeholder="请输入评价内容…" maxlength="1000" ></textarea>
  358. </view>
  359. </view>
  360. <view class="fixedbtn flexcj">
  361. <view class="btns btn1" @click="getClose">取消</view>
  362. <view class="btns btn2" @click="getupSubmit">提交</view>
  363. </view>
  364. </view>
  365. <!-- 催办 -->
  366. <view class="fixedbox" v-if="type=='tacb'">
  367. <view class="ttit">催办</view>
  368. <view class="boxs">
  369. <view class="mb16">
  370. <view class="ttxt mb18"><text class="cof0">*</text>备注</view>
  371. <textarea class="textar mb25" @blur="getBlur" v-model="content" placeholder="请输入" maxlength="1000" ></textarea>
  372. </view>
  373. </view>
  374. <view class="fixedbtn flexcj">
  375. <view class="btns btn1" @click="getClose">取消</view>
  376. <view class="btns btn2" @click="getupSubmit">提交</view>
  377. </view>
  378. </view>
  379. <!-- 联名填 -->
  380. <view class="fixedbox" v-if="type=='lmta'">
  381. <view class="ttit">审核</view>
  382. <view class="boxs">
  383. <view class="mb16">
  384. <!-- @change="change" -->
  385. <view class="ttxt mb18"><text class="cof0">*</text>是否同意</view>
  386. <uni-data-select
  387. v-model="jbshtxt"
  388. placeholder="同意/不同意"
  389. :localdata="agreelist"
  390. ></uni-data-select>
  391. </view>
  392. <view class="mb16">
  393. <!-- @change="change" -->
  394. <view class="ttxt mb18"><text class="cof0">*</text>反馈理由</view>
  395. <textarea class="textar mb25" @blur="getBlur" v-model="content" placeholder="选择不通过必须填写反馈意见,限1000 字内…" maxlength="1000" ></textarea>
  396. </view>
  397. </view>
  398. <view class="fixedbtn flexcj">
  399. <view class="btns btn1" @click="getClose">取消</view>
  400. <view class="btns btn2" @click="getupSubmit">提交</view>
  401. </view>
  402. </view>
  403. <selectnore-more-picker
  404. ref="dfdwpicker"
  405. :title="dfdwpicker.title"
  406. :layer="dfdwpicker.layer"
  407. :titflag='dfdwpicker.titflag'
  408. :data="deptTree"
  409. @callback="dfdwpickerCallback"
  410. ></selectnore-more-picker>
  411. <!-- 协办单位 -->
  412. <batree-pickerfixed deptType='3' ref="treePickerxtdw" :multiple='true' @select-change="selectChangextdw" title="选择协办单位"
  413. :localdata="deptTree" valueKey="id" textKey="label" childrenKey="children"></batree-pickerfixed>
  414. <!-- 语音识别 -->
  415. <view class="bgbox bgvoice" v-if="voiceflag" @click="getClosevoice"></view>
  416. <view class="voice" v-if="voiceflag">
  417. <!-- <image :src="closeimg" class="choseimg" @click="getClosevoice"></image> -->
  418. <view v-if="isShow">
  419. <view v-if="sendLock" class="tip">
  420. <view class="txt">试试这样说</view>
  421. <view class="txt-bt">科技项目</view>
  422. </view>
  423. <view v-else>
  424. <!-- @click="resultClick" -->
  425. <view class="res-txt" >
  426. <!-- 实时翻译 -->
  427. <text :style="{
  428. color: (resultText == '正在识别中2<strong>.</strong>..' || resultText == '未检测到语音,请重试') ?
  429. '#919098' :
  430. '#2979ff'}">
  431. {{resultText}}
  432. </text>
  433. <!-- <image v-if="resultText != '正在识别中.1..' && resultText != '未检测到语音,请重试'"
  434. src="/static/img/xiaoshou.png" mode="widthFix"></image> -->
  435. </view>
  436. </view>
  437. </view>
  438. <view v-else class="tip">
  439. <view v-if="!sendLock" class="tipbox">{{voicetext}}</view>
  440. <view v-html="text" class="txt" style="color: #8e8d9a;"></view>
  441. <view v-if="!sendLock" class="prompt-loader">
  442. <view class="em" :style="randomRgb()" v-for="(item,index) in 30" :key="index"></view>
  443. </view>
  444. <view v-else class="prompt-loader"></view>
  445. </view>
  446. <view class="btn" @longpress="handleRecordStart" @touchmove="handleTouchMove" @touchend="handleRecordStop">
  447. <view class="btn-cont">
  448. 长按开始语音搜索
  449. </view>
  450. </view>
  451. </view>
  452. </view>
  453. </template>
  454. <script>
  455. import selectnoreMorePicker from "@/components/ba-tree-picker/selectnoreMorePicker.vue"
  456. import batreePickerfixed from "@/components/ba-tree-picker/ba-tree-pickerfixed.vue"
  457. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  458. const recorderManager = uni.getRecorderManager();
  459. //播放录音
  460. const innerAudioContext = uni.createInnerAudioContext();
  461. innerAudioContext.autoplay = true;
  462. import config from '@/config'
  463. const baseUrl = config.baseUrl
  464. import { getToken } from '@/utils/auth'
  465. export default{
  466. components:{selectnoreMorePicker,batreePickerfixed},
  467. props:{
  468. type: {
  469. type: String,
  470. default () {
  471. return ''
  472. }
  473. },
  474. status:{
  475. type: String,
  476. default () {
  477. return 'add'
  478. }
  479. },
  480. iteminfo:{},
  481. xmjzinfo:{},
  482. dataTree:{
  483. type: Array,
  484. default () {
  485. return []
  486. }
  487. },
  488. blfsList:{
  489. type: Array,
  490. default () {
  491. return []
  492. }
  493. },
  494. blcdlist:{
  495. type: Array,
  496. default () {
  497. return []
  498. }
  499. },
  500. mycdlist:{
  501. type: Array,
  502. default () {
  503. return []
  504. }
  505. }
  506. },
  507. data(){
  508. return{
  509. deptTree:[],//答复单位
  510. dfdwpicker: {
  511. title: '选择所属产业',
  512. layer: null,
  513. titflag:true,
  514. data: []
  515. },
  516. //附件
  517. option: {
  518. // 上传服务器地址,需要替换为你的接口地址
  519. url: baseUrl+'/common/upload', // 该地址非真实路径,需替换为你项目自己的接口地址
  520. // 上传附件的key
  521. name: 'file',
  522. // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
  523. header: {
  524. // 示例参数可删除
  525. 'Authorization': 'Bearer ' + getToken(),
  526. },
  527. // 根据你接口需求自定义body参数
  528. formData: {}
  529. },
  530. // 选择文件后是否立即自动上传,true=选择后立即上传
  531. instantly: true,
  532. // 必传宽高且宽高应与slot宽高保持一致
  533. width: '',
  534. height: '48rpx',
  535. // 限制允许上传的格式,空串=不限制,默认为空
  536. formats: 'doc,docx,xls,xlsx,ppt,txt,pdf,zip,rar,word',
  537. // 文件上传大小限制
  538. size: 100,
  539. // 文件数量限制 默认10
  540. count: 5,
  541. // 文件回显列表
  542. files: new Map(),
  543. // 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
  544. wxFiles: [],
  545. // 是否打印日志
  546. debug: false,
  547. filelist:[],
  548. fjimg:require("@/work/static/images/fjimg.png"),
  549. delimg:require("@/work/static/images/delimg.png"),
  550. speechimgs:require('@/work/static/images/voice.png'),
  551. range: [{ value: 0, text: "满意" },{ value: 1, text: "不满意" },],
  552. sfrange: [{ value: 0, text: "是" },{ value: 1, text: "否" },],
  553. larange:[{ value: 0, text: "立案" },{ value: 1, text: "不立案" }],
  554. jbsharange:[{ value: 7, text: "不通过" },{ value: 8, text: "通过" }],
  555. agreelist:[{ value: 1, text: "同意" },{ value: 2, text: "不同意" }],
  556. value: 0,
  557. isRecord:'',//是否立案
  558. jbshtxt:'',//审核通过不通过
  559. handling:'',//办理方式
  560. degree:'',//办理程度
  561. mycdtxt:'',//满意程度
  562. recorddw:'',
  563. recorddwm:'',//协办单位
  564. recorddwlist:[],
  565. recorddwmlist:[],//协办单位
  566. content:'',//文本输入
  567. voiceflag:false,
  568. voiceToken: '',
  569. timer: null,
  570. text: '',
  571. resultText: '正在识别中...',
  572. startPoint: {},
  573. sendLock: true,
  574. isShow: true,
  575. voicetext:'',
  576. options: {}, // 语音转文字的设置
  577. partialResult:'',//临时语音
  578. }
  579. },
  580. watch:{
  581. // iteminfo(val){
  582. // var that=this;
  583. // that.psnr='';
  584. // // console.log(val,0)
  585. // if(val.zcpsnr){
  586. // that.psnr=val.zcpsnr;
  587. // }else if(val.psnr){
  588. // that.psnr=val.psnr;
  589. // }
  590. // },
  591. sendLock(newVal, oldVal) {
  592. var that=this;
  593. recorderManager.onStop(res => {
  594. if (newVal) return //上锁不发送
  595. //解锁发送网络请求
  596. setTimeout(function(res){
  597. if(!that.voicetext&&!that.partialResult){
  598. that.resultText='未检测到语音,请重试'
  599. }else{
  600. that.resultText=that.voicetext||that.partialResult;
  601. var cursor=that.cursor;
  602. if(cursor==0){
  603. if(that.seeptype=='sgll'){
  604. that.sgll=that.sgll+that.resultText;
  605. }else{
  606. that.psnr=that.psnr+that.resultText;
  607. }
  608. }else{
  609. if(that.seeptype=='sgll'){
  610. that.sgll=that.sgll.slice(0,cursor)+that.resultText+that.sgll.slice(cursor);
  611. }else{
  612. that.psnr=that.psnr.slice(0,cursor)+that.resultText+that.psnr.slice(cursor);
  613. }
  614. }
  615. that.voiceflag=false;
  616. }
  617. that.sendLock=true;
  618. },1000)
  619. // console.log(res.tempFilePath, '获取录音文件')
  620. });
  621. },
  622. },
  623. onShow() {
  624. },
  625. mounted() {
  626. var that=this;
  627. // #ifdef APP-PLUS
  628. // 监听语音识别事件
  629. plus.speech.addEventListener('recognizing', this.onRecognizing, false);
  630. // #endif
  631. recorderManager.onStop(function(res) {
  632. //录音后的回调函数
  633. if(!this.sendLock){
  634. console.log(that.voicetext,that.partialResult)
  635. }
  636. console.log('recorder stop' + JSON.stringify(res));
  637. });
  638. },
  639. methods:{
  640. checkPermi, checkRole,
  641. getRecorddwFn(){
  642. console.log(this.dataTree)
  643. this.deptTree=this.dataTree
  644. this.$refs.dfdwpicker.open(0).then(function() {
  645. });
  646. },
  647. getRecorddwMoreFn(){
  648. this.$refs.treePickerxtdw._show();
  649. },
  650. selectChangextdw(e){
  651. if(e.length){
  652. var newArr=[]
  653. e.forEach(ite=>{
  654. newArr.push(ite.deptName)
  655. })
  656. this.recorddwm=newArr.join('/')
  657. }
  658. this.recorddwmlist=JSON.parse(JSON.stringify(e))
  659. },
  660. dfdwpickerCallback(e){
  661. var newArr=e.data;
  662. var dwList=[]
  663. var len=Number(newArr.length)-1;
  664. var obj={
  665. deptId:newArr[len].id,
  666. deptname:newArr[len].label,
  667. }
  668. if(this.type=='tajb'){
  669. obj.type=2
  670. }else if(this.type=='scfk'){
  671. obj.type=1
  672. }
  673. dwList.push(obj)
  674. this.recorddwlist=dwList;
  675. this.recorddw=newArr[len].label;
  676. },
  677. getupSubmit(){
  678. var type=this.type;
  679. if(type=='scfk'){
  680. var isRecord=this.isRecord;
  681. if(isRecord===''){
  682. this.$toast('请选择会否立案')
  683. return
  684. }
  685. var obj={
  686. isRecord:this.isRecord
  687. }
  688. if(this.isRecord==1&&!this.recorddw){
  689. this.$toast('请选择答复单位')
  690. return
  691. }
  692. if(this.isRecord==1){
  693. obj.proposalUnitReplyList=this.recorddwlist
  694. }
  695. this.$emit('getupSubmit',obj)
  696. }else if(type=='tajb'){
  697. var newArr=this.recorddwlist;
  698. var xbdwList=this.recorddwmlist;
  699. if(newArr.length<1){
  700. this.$toast('请选择主办单位')
  701. return
  702. }
  703. if(xbdwList.length<1){
  704. this.$toast('请选择协办单位')
  705. return
  706. }
  707. var obj={
  708. proposalUnitReplyList:xbdwList,
  709. zbUnitReply:newArr
  710. }
  711. this.$emit('getupSubmit',obj)
  712. }else if(type=='dffk'){
  713. if(!this.handling){
  714. this.$toast('请选择处理方式')
  715. return
  716. }
  717. if(!this.degree){
  718. this.$toast('请选择办理程度')
  719. return
  720. }
  721. if(!this.content){
  722. this.$toast('请输入答复内容')
  723. return
  724. }
  725. var obj={
  726. content:this.content,
  727. handling:this.handling,
  728. degree:this.degree
  729. }
  730. if(this.filelist.length){
  731. obj.zxFjList=this.filelist
  732. }
  733. this.$emit('getupSubmit',obj)
  734. }else if(type=='jbsh'){
  735. if(!this.jbshtxt){
  736. this.$toast('请选择是否通过')
  737. return
  738. }
  739. var obj={
  740. proposalProgress:this.jbshtxt,
  741. }
  742. this.$emit('getupSubmit',obj)
  743. }else if(type=='dwdf'){
  744. if(!this.content){
  745. this.$toast('请输入答复反馈')
  746. return
  747. }
  748. var obj={
  749. content:this.content,
  750. }
  751. if(this.filelist.length){
  752. obj.zxFjList=this.filelist
  753. }
  754. this.$emit('getupSubmit',obj)
  755. }else if(type=='wymyfk'){
  756. if(!this.mycdtxt){
  757. this.$toast('请选择满意程度')
  758. return
  759. }
  760. var obj={
  761. membersOpinion:this.content,
  762. satisfaction:this.mycdtxt
  763. }
  764. if(this.filelist.length){
  765. obj.zxFjList=this.filelist
  766. }
  767. this.$emit('getupSubmit',obj)
  768. }else if(type=='zxmyfk'){
  769. if(!this.mycdtxt){
  770. this.$toast('请选择满意程度')
  771. return
  772. }
  773. var obj={
  774. zxOpinion:this.content,
  775. zxSatisfaction:this.mycdtxt
  776. }
  777. if(this.filelist.length){
  778. obj.zxFjList=this.filelist
  779. }
  780. this.$emit('getupSubmit',obj)
  781. }else if(type=='tacb'){
  782. // if(!this.content){
  783. // this.$toast('请输入催办内容')
  784. // return
  785. // }
  786. var obj={
  787. urgeContent:this.content,
  788. urgeType:1
  789. }
  790. this.$emit('getupSubmit',obj)
  791. }else if(type=='tjyx'){
  792. // if(!this.content){
  793. // this.$toast('请输入催办内容')
  794. // return
  795. // }
  796. var obj={
  797. outstandingArgument:this.content,
  798. isOutstanding:0
  799. }
  800. this.$emit('getupSubmit',obj)
  801. }else if(type=='tjzd'){
  802. // if(!this.content){
  803. // this.$toast('请输入催办内容')
  804. // return
  805. // }
  806. var obj={
  807. keyPointArgument:this.content,
  808. isKeyPoint:0
  809. }
  810. this.$emit('getupSubmit',obj)
  811. }else if(type=='lmta'){
  812. if(!this.jbshtxt){
  813. this.$toast('请选择是否同意')
  814. return
  815. }
  816. var obj={
  817. isAgree:this.jbshtxt,
  818. }
  819. this.$emit('getupSubmit',obj)
  820. }
  821. },
  822. onuploadEnd(item) {
  823. var newobj={}
  824. var responseText=JSON.parse(item.responseText)
  825. newobj.name=responseText.originalFilename;
  826. newobj.path=responseText.fileName;
  827. this.filelist.push(newobj)
  828. this.datainfo.zsyzFjList=JSON.parse(JSON.stringify(this.filelist))
  829. },
  830. getDelFj(idx){
  831. var that=this;
  832. uni.showModal({
  833. title: '确认删除',
  834. content: "是否确认删除",
  835. cancelText: '取消',
  836. confirmText: '确认',
  837. success: function(res) {
  838. if (res.confirm) {
  839. that.filelist.splice(idx,1)
  840. that.datainfo.zsyzFjList=JSON.parse(JSON.stringify(that.filelist))
  841. } else if (res.cancel) {
  842. }
  843. }
  844. });
  845. },
  846. getDown(e){
  847. uni.showLoading({
  848. title: '加载中'
  849. });
  850. var url=baseUrl+e;
  851. uni.downloadFile({
  852. url: url,//文件的下载路径
  853. success(result) {
  854. uni.hideLoading()
  855. var filePath = result.tempFilePath;
  856. uni.openDocument({
  857. filePath: filePath,
  858. showMenu: true,
  859. success: function (res) {
  860. // console.log('打开文档成功');
  861. }
  862. });
  863. },
  864. fail(res) {uni.hideLoading()}
  865. })
  866. },
  867. getBlur(e){
  868. this.cursor=e.detail.cursor;
  869. },
  870. // 语音转文字
  871. getClosevoice(){
  872. this.voiceflag=false
  873. },
  874. onRecognizing(e){
  875. this.partialResult=e.partialResult;
  876. },
  877. // 录音转文字
  878. handleVoice() {
  879. // console.log('语音输入')
  880. let _this = this;
  881. // _this.psnr = '';
  882. this.options.engine = 'baidu'
  883. // this.options.timeout = 60 * 1000; //超时时间
  884. this.options.continue = true;//语音识别是否采用持续模式
  885. this.options.punctuation = true; // 是否需要标点符号
  886. this.options.userInterface = false; // 是否显示语音界面
  887. plus.speech.startRecognize(this.options, (s) => {
  888. _this.voicetext+=s;
  889. console.log(s,9)
  890. // plus.speech.stopRecognize(); // 关
  891. });
  892. },
  893. //长按录音方法
  894. handleRecordStart(e) {
  895. this.voicetext='';
  896. this.partialResult='';
  897. this.startPoint = e.touches[0]; //记录长按时开始点信息,后面用于计算上划取消时手指滑动的距离。
  898. recorderManager.start({duration: 60000}); //开始录音
  899. this.handleVoice()
  900. this.text = `<text style="color:#333">上划取消搜索</text>`;
  901. this.sendLock = false; //长按时不上锁。
  902. this.isShow = false;
  903. this.resultText = '正在识别中...';
  904. // 按钮
  905. // console.log(67)
  906. },
  907. //结束录音 (手指松开)时触发
  908. handleRecordStop(e) {
  909. var that=this;
  910. this.isShow = true;
  911. setTimeout(function(){
  912. plus.speech.stopRecognize();
  913. recorderManager.stop(); //结束录音
  914. },1300)
  915. },
  916. //上划取消搜索
  917. handleTouchMove(e) {
  918. let moveLenght = e.touches[e.touches.length - 1].clientY - this.startPoint.clientY;
  919. if (Math.abs(moveLenght) > 50) {
  920. this.text = `松开手指,<text style="color:#333">取消搜索</text>`;
  921. this.sendLock = true; //触发了上滑取消搜索,上锁
  922. this.isShow = false;
  923. } else {
  924. this.text = `<text style="color:#333">上划取消搜索</text>`;
  925. this.sendLock = false; //上划距离不足,可以搜索,不上锁
  926. this.isShow = false;
  927. }
  928. },
  929. //获取录音结果子传父
  930. resultClick() {
  931. if (this.resultText == '正在识别中...' || this.resultText == '未检测到语音,请重试') return;
  932. this.$emit('voiceResult', this.resultText)
  933. },
  934. //弹窗关闭之后的操作,点击遮罩层或关闭按钮
  935. // afterHide() {
  936. // this.sendLock = true;
  937. // this.$emit('closePopup');
  938. // clearInterval(this.timer);
  939. // this.resultText = '正在识别中...';
  940. // },
  941. randomRgb() {
  942. let R = Math.floor(Math.random() * 130 + 110);
  943. let G = Math.floor(Math.random() * 130 + 110);
  944. let B = Math.floor(Math.random() * 130 + 110);
  945. return {
  946. background: `rgb(${R},${G},${B}, 1)`
  947. };
  948. },
  949. // 语音转文字
  950. getSeep(e){
  951. this.seeptype=e||'';
  952. this.voicetext='';
  953. this.partialResult='';
  954. this.voiceflag=true;
  955. },
  956. ontStart() {
  957. // recorderManager.start();
  958. console.log('startRecognize');
  959. },
  960. onEnd() {
  961. // recorderManager.stop();
  962. console.log('endRecognize');
  963. },
  964. getFaFn(type){
  965. this.$emit('getFaFn',type)
  966. },
  967. getClose(){
  968. this.$emit("getClose")
  969. },
  970. // 意见
  971. getyjSubmit(){
  972. var data={};
  973. var that=this;
  974. var str=""
  975. if(!this.shenflag){
  976. data.shjg='3';
  977. str='不通过'
  978. if(!this.psnr){
  979. this.$toast('请输入反馈意见')
  980. return
  981. }else{
  982. data.shyj=this.psnr
  983. }
  984. }else{
  985. str='通过'
  986. data.shjg='2',
  987. data.shyj=this.psnr
  988. }
  989. // 确认框
  990. uni.showModal({
  991. title: '确认审核',
  992. content: "是否确认"+str+'审核',
  993. cancelText: '取消',
  994. confirmText: '确认',
  995. success: function(res) {
  996. if (res.confirm) {
  997. that.$emit("getyjSubmit",data)
  998. } else if (res.cancel) {
  999. // console.log('用户点击取消');
  1000. }
  1001. }
  1002. });
  1003. },
  1004. }
  1005. }
  1006. </script>
  1007. <style lang="scss" scoped>
  1008. // 弹窗
  1009. // .choseimg{width: 34rpx;height: 34rpx;position: absolute;left: 36rpx;top: 54rpx;z-index: 22;}
  1010. // .uni-stat__select{background-color: #EEEEEE;}
  1011. .fixedbox /deep/ .uni-select{border: none;background-color: #EEEEEE;height: 88rpx;}
  1012. .fixedbox /deep/ .uni-select__input-placeholder{font-size: 30rpx;color: #AAAAAA;}
  1013. .fixedbox /deep/ .uni-textarea-placeholder{font-size: 30rpx;color: #AAAAAA;}
  1014. .fixedbox{position: fixed;left: 48rpx;right: 48rpx;background: #fff;border-radius: 10rpx;min-height: 468rpx;top: 50%;transform: translateY(-50%);z-index: 10;padding: 32rpx 40rpx 50rpx;max-height: calc(100vh - 300rpx);overflow: auto;box-sizing: border-box;
  1015. .ttit{position: relative;text-align: center;font-weight: bold;font-size: 36rpx;color: #222327;margin-bottom: 34rpx;}
  1016. .boxs{
  1017. .ttxt{font-weight: bold;font-size: 30rpx;color: #222327;
  1018. text{margin-right: 6rpx;}
  1019. }
  1020. .ztit{font-weight: 500;font-size: 26rpx;color: #222327;text-align: center;line-height: 56rpx;text-align: center;
  1021. text{color: #1D64E2;text-decoration: underline;margin: 0 6rpx;}
  1022. }
  1023. .chosebox{width: 100%;height: 88rpx;background: #EEEEEE;border-radius: 10rpx;padding: 0 10rpx;box-sizing: border-box;padding-left: 20rpx;
  1024. .tit{color: #333;font-size: 30rpx;
  1025. &.coa{color: #AAAAAA;}
  1026. }
  1027. }
  1028. // 语音按钮
  1029. .speech{
  1030. width: 190rpx;height:56rpx;background: linear-gradient(180deg, #4480EB 0%, #1D64E2 100%);border-radius: 28rpx;
  1031. image{width: 20rpx;height: 26rpx;margin-right: 12rpx;}
  1032. view{font-size: 26rpx;font-weight: 500;color: #ffffff;}
  1033. }
  1034. .input{height: 88rpx;width: 100%;background: #EEEEEE;border-radius: 10rpx;font-size: 30rpx;font-weight: 500;color: #222327;padding: 0 24rpx;}
  1035. .textar{width: 100%;border-radius: 10rpx;padding: 26rpx 30rpx;font-size: 30rpx;color: #222327;height: 400rpx;background: #EEEEEE;
  1036. &.texthe{height: 190rpx;}
  1037. }
  1038. }
  1039. .fixedbtn{padding-top: 18rpx;
  1040. .btns{width: 254rpx;height: 80rpx;border-radius: 40rpx;font-weight: bold;
  1041. font-size: 30rpx;display: flex;align-items: center;justify-content: center;box-sizing: border-box;
  1042. &.btn1{color: #1D64E2;border: 2rpx solid #1D64E2;}
  1043. &.btn2{color: #ffffff;background: #1D64E2;}
  1044. }
  1045. }
  1046. }
  1047. // 附件
  1048. .fjadd{
  1049. .btn{font-weight: bold;font-size: 30rpx;color: #1D64E2;margin: 0;display: flex;align-items: center;}
  1050. }
  1051. // 附件
  1052. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 12rpx;
  1053. image{margin-right: 18rpx;flex: 0 0 auto;}
  1054. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;justify-content: center;margin-right: 16rpx;
  1055. image{width: 26rpx;height: 24rpx;}
  1056. }
  1057. .tit{font-size: 26rpx;color: #343434;font-weight: 500;margin-top: 4rpx;}
  1058. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;
  1059. image{width: 26rpx;height: 26rpx;}
  1060. }
  1061. }
  1062. // 语音识别
  1063. .bgvoice{z-index: 1900;}
  1064. .voice {
  1065. min-height: 500rpx;
  1066. padding: 100rpx 60rpx 0 60rpx;
  1067. position: relative;
  1068. background-color: #fff;
  1069. position: fixed;
  1070. left:0;right:0;bottom:0;z-index: 2000;
  1071. padding-bottom: 180rpx;
  1072. .res-txt {
  1073. text-align: center;
  1074. margin-top: 40rpx;
  1075. font-size: 36rpx;
  1076. color: #919098;
  1077. image {
  1078. display: block;
  1079. margin: auto;
  1080. margin-top: 10rpx;
  1081. width: 60rpx;
  1082. animation: bounce-down 2.6s linear infinite;
  1083. }
  1084. }
  1085. .tip {
  1086. margin-top: 15rpx;
  1087. text-align: center;
  1088. .txt {
  1089. font-size: 36rpx;
  1090. color: #151823;
  1091. }
  1092. .txt-bt {
  1093. margin-top: 20rpx;
  1094. color: #919098;
  1095. }
  1096. }
  1097. .btn {
  1098. width: 50%;
  1099. height: 80rpx;
  1100. display: flex;
  1101. align-items: center;
  1102. justify-content: center;
  1103. color: #fff;
  1104. border-radius: 50rpx;
  1105. background: #3484fd;
  1106. position: absolute;
  1107. bottom: 80rpx;
  1108. left: 50%;
  1109. transform: translateX(-50%);
  1110. .btn-cont {
  1111. display: flex;
  1112. align-items: center;
  1113. }
  1114. }
  1115. }
  1116. @-webkit-keyframes bounce-down {
  1117. 25% {
  1118. -webkit-transform: translateY(-10px);
  1119. }
  1120. 50%,
  1121. 100% {
  1122. -webkit-transform: translateY(0);
  1123. }
  1124. 75% {
  1125. -webkit-transform: translateY(13px);
  1126. }
  1127. }
  1128. .content{background-color: #f5f5f5;position: fixed;left: 0;right: 0;bottom: 0;z-index: 10000;height: 500rpx;}
  1129. /* 语音动画 */
  1130. .prompt-loader {
  1131. width: 100%;
  1132. height: 35px;
  1133. display: flex;
  1134. align-items: center;
  1135. justify-content: space-between;
  1136. margin: 30rpx auto;
  1137. }
  1138. .prompt-loader .em {
  1139. height: 15%;
  1140. width: 2px;
  1141. float: left;
  1142. display: block;
  1143. background: #333333;
  1144. }
  1145. .prompt-loader .em:last-child {
  1146. margin-right: 0px;
  1147. }
  1148. .prompt-loader .em:nth-child(1) {
  1149. animation: load 1.3s 0.4s infinite linear;
  1150. }
  1151. .prompt-loader .em:nth-child(2) {
  1152. animation: load 1.3s 0.2s infinite linear;
  1153. }
  1154. .prompt-loader .em:nth-child(3) {
  1155. animation: load 1.3s 0.6s infinite linear;
  1156. }
  1157. .prompt-loader .em:nth-child(4) {
  1158. animation: load 1.3s 0.8s infinite linear;
  1159. }
  1160. .prompt-loader .em:nth-child(5) {
  1161. animation: load 1.3s 0.6s infinite linear;
  1162. }
  1163. .prompt-loader .em:nth-child(6) {
  1164. animation: load 1.3s 0.4s infinite linear;
  1165. }
  1166. .prompt-loader .em:nth-child(7) {
  1167. animation: load 1.3s 0.2s infinite linear;
  1168. }
  1169. .prompt-loader .em:nth-child(8) {
  1170. animation: load 1.3s 0.6s infinite linear;
  1171. }
  1172. .prompt-loader .em:nth-child(9) {
  1173. animation: load 1.3s 0.2s infinite linear;
  1174. }
  1175. .prompt-loader .em:nth-child(10) {
  1176. animation: load 1.3s 0.4s infinite linear;
  1177. }
  1178. .prompt-loader .em:nth-child(11) {
  1179. animation: load 1.3s 0.6s infinite linear;
  1180. }
  1181. .prompt-loader .em:nth-child(12) {
  1182. animation: load 1.3s 0.8s infinite linear;
  1183. }
  1184. .prompt-loader .em:nth-child(13) {
  1185. animation: load 1.3s 1s infinite linear;
  1186. }
  1187. .prompt-loader .em:nth-child(14) {
  1188. animation: load 1.3s 0.2s infinite linear;
  1189. }
  1190. .prompt-loader .em:nth-child(15) {
  1191. animation: load 1.3s 0.6s infinite linear;
  1192. }
  1193. .prompt-loader .em:nth-child(16) {
  1194. animation: load 1.3s 0.6s infinite linear;
  1195. }
  1196. .prompt-loader .em:nth-child(17) {
  1197. animation: load 1.3s 0.8s infinite linear;
  1198. }
  1199. .prompt-loader .em:nth-child(18) {
  1200. animation: load 1.3s 0.2s infinite linear;
  1201. }
  1202. .prompt-loader .em:nth-child(19) {
  1203. animation: load 1.3s 0.4s infinite linear;
  1204. }
  1205. .prompt-loader .em:nth-child(20) {
  1206. animation: load 1.3s 0.6s infinite linear;
  1207. }
  1208. .prompt-loader .em:nth-child(21) {
  1209. animation: load 1.3s 0.5s infinite linear;
  1210. }
  1211. .prompt-loader .em:nth-child(22) {
  1212. animation: load 1.3s 0.2s infinite linear;
  1213. }
  1214. .prompt-loader .em:nth-child(23) {
  1215. animation: load 1.3s 0.4s infinite linear;
  1216. }
  1217. .prompt-loader .em:nth-child(24) {
  1218. animation: load 1.3s 0.6s infinite linear;
  1219. }
  1220. .prompt-loader .em:nth-child(25) {
  1221. animation: load 1.3s 0.8s infinite linear;
  1222. }
  1223. .prompt-loader .em:nth-child(26) {
  1224. animation: load 1.3s 0.2s infinite linear;
  1225. }
  1226. .prompt-loader .em:nth-child(27) {
  1227. animation: load 1.3s 0.4s infinite linear;
  1228. }
  1229. .prompt-loader .em:nth-child(28) {
  1230. animation: load 1.3s 0.1s infinite linear;
  1231. }
  1232. .prompt-loader .em:nth-child(29) {
  1233. animation: load 1.3s 0.3s infinite linear;
  1234. }
  1235. .prompt-loader .em:nth-child(30) {
  1236. animation: load 1.3s 0.6s infinite linear;
  1237. }
  1238. @keyframes load {
  1239. 0% {
  1240. height: 15%;
  1241. }
  1242. 50% {
  1243. height: 100%;
  1244. }
  1245. 100% {
  1246. height: 15%;
  1247. }
  1248. }
  1249. </style>