order - 备份.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. <template>
  2. <view>
  3. <cu-custom bgColor="bg-gradual-pink" :isBack="true">
  4. <block slot="backText">返回</block>
  5. <block slot="content">检测委托申请</block>
  6. </cu-custom>
  7. <form>
  8. <uni-group mode="card">
  9. <view class="cu-form-group">
  10. <view class="title">委托单号</view>
  11. <input name="input" v-model="weituodanhao"></input>
  12. </view>
  13. <!-- <view class="cu-form-group">
  14. <view class="title">类型</view>
  15. <input placeholder="常规" name="input" v-model="myFormData.username" disabled></input>
  16. </view> -->
  17. <view class="cu-form-group">
  18. <my-date style="padding: 0rpx;" v-model="beginTime" placeholder="请选择" fields="minute"
  19. label="期望完成时间"></my-date>
  20. </view>
  21. </uni-group>
  22. <!-- <uni-link
  23. href="https://www.szjyxt.com/demo/reportJsp/pdfReport.jsp?access_token%20=%20999f19ea64f947ab83c13b0ef5e6677e&rpx=%E4%B8%AD%E6%B1%87%E7%91%9E%E5%BE%B7%E6%A3%80%E6%B5%8B%E4%B8%AD%E5%BF%83/08%E4%BB%AA%E5%99%A8%E8%AE%BE%E5%A4%87%E7%9A%84%E4%BD%BF%E7%94%A8%E3%80%81%E7%BB%B4%E6%8A%A4%E5%92%8C%E7%AE%A1%E7%90%86%E7%A8%8B%E5%BA%8F/GDYR-CX06-R06A%20%20%E4%BB%AA%E5%99%A8%E8%AE%BE%E5%A4%87%E7%BB%B4%E6%8A%A4%E4%BF%9D%E5%85%BB%E8%AE%B0%E5%BD%95%E8%A1%A8(%E6%9C%88).rpx&id_=948538515816185856"
  24. text="查阅报告"></uni-link>
  25. <uni-link
  26. href="
  27. https://www.szjyxt.com/demo/reportJsp/pdfReport.jsp?access_token%20=%20999f19ea64f947ab83c13b0ef5e6677e&rpx=%E4%B8%AD%E6%B1%87%E7%91%9E%E5%BE%B7%E6%A3%80%E6%B5%8B%E4%B8%AD%E5%BF%83/08%E4%BB%AA%E5%99%A8%E8%AE%BE%E5%A4%87%E7%9A%84%E4%BD%BF%E7%94%A8%E3%80%81%E7%BB%B4%E6%8A%A4%E5%92%8C%E7%AE%A1%E7%90%86%E7%A8%8B%E5%BA%8F/GDYR-CX06-R06A%20%20%E4%BB%AA%E5%99%A8%E8%AE%BE%E5%A4%87%E7%BB%B4%E6%8A%A4%E4%BF%9D%E5%85%BB%E8%AE%B0%E5%BD%95%E8%A1%A8(%E6%9C%88).rpx&id_=948538515816185856
  28. "
  29. text="超链"></uni-link> -->
  30. <!-- <uni-section title="基本用法" type="line" padding>
  31. <uni-rate v-model="rateValue" @change="onChange" />
  32. </uni-section>
  33. <uni-section title="半星" subTitle="使用 allow-half 属性设置是否显示半星" type="line" padding>
  34. <uni-rate allow-half :value="3.5" />
  35. </uni-section> -->
  36. <uni-group mode="card" title="样品信息">
  37. <view class="cu-form-group margin-top">
  38. <view class="title" style="color: #888888">样品名称</view>
  39. <input placeholder="请输入样品名称" name="input"></input>
  40. </view>
  41. <view class="cu-form-group ">
  42. <view class="title" style="color: #888888">规格型号</view>
  43. <input placeholder="请输入规格型号" name="input"></input>
  44. </view>
  45. <view class="cu-form-group ">
  46. <view class="title" style="color: #888888">数量</view>
  47. <input placeholder="请输入数量" name="input"></input>
  48. </view>
  49. <view class="cu-form-group ">
  50. <view class="title" style="color: #888888">生产日期/批号</view>
  51. <input placeholder="请输入" name="input"></input>
  52. </view>
  53. <view class="cu-form-group ">
  54. <view class="title" style="color: #888888">样品处置</view>
  55. <app-select v-model="type2" placeholder="请选择处置方式" :dict="plan_type" space></app-select>
  56. </view>
  57. <view class="cu-form-group">
  58. <view class="title" style="color: #888888">检测类别</view>
  59. <app-select v-model="type1" placeholder="请选择检测类别" :dict="plan_type1" space></app-select>
  60. </view>
  61. </uni-group>
  62. <uni-group mode="card" >
  63. <uni-section v-bind:title="'检测对象/'+ leixing" type="line">
  64. <view class="example-body2 uni-px-5 uni-pb-5">
  65. <!-- <view class="text">{{sex[radio1].text}}</view> -->
  66. <uni-data-checkbox v-model="radio1" :localdata="sex" @change="change(sex[radio1].text)">
  67. </uni-data-checkbox>
  68. </view>
  69. <view class="example-body">
  70. <view v-for="(item,i) in canshu" :key="i" style="margin-bottom: 20rpx;margin-left: 25rpx;">
  71. <view class="tag-view">
  72. <uni-tag :circle="true" :inverted="!item.show" :text="item.text" type="primary"
  73. @click="setInverted(i)" ></uni-tag>
  74. </view>
  75. </view>
  76. </view>
  77. </uni-section>
  78. </uni-group>
  79. <view class="">
  80. <uni-section title="" type="line" padding>
  81. <!-- <uni-title type="h5" title="项目参数"></uni-title>
  82. <view class="example-body" >
  83. <view v-for="(item,i) in canshu" :key="i">
  84. <view class="tag-view">
  85. <uni-tag :circle="true" :inverted="!item.show" :text="item.text" type="primary" @click="setInverted(i)" />
  86. </view>
  87. </view>
  88. </view> -->
  89. <view class="cu-form-group">
  90. <view class="title">报告份数</view>
  91. <uni-number-box v-model="vModelValue" @blur="blur" @focus="focus" @change="changeValue" />
  92. </view>
  93. <view class="cu-form-group">
  94. <view class="title">是否出具意见和解释</view>
  95. <uni-data-checkbox v-model="radio2" :localdata="yijian" @change="change(yijian[radio2].text)">
  96. </uni-data-checkbox>
  97. </view>
  98. <view class="cu-form-group">
  99. <view class="title">检测结论</view>
  100. <uni-data-checkbox v-model="radio3" :localdata="jielun" @change="change(jielun[radio3].text)">
  101. </uni-data-checkbox>
  102. </view>
  103. <view class="cu-form-group">
  104. <view class="title">取报告方式</view>
  105. <uni-data-checkbox style="flex-wrap: nowrap;" v-model="radio4" :localdata="baogao"
  106. @change="change(baogao[radio4].text)"></uni-data-checkbox>
  107. </view>
  108. <uni-collapse-item title="声明" :open="open">
  109. <uni-card :is-shadow="false">
  110. <text class="uni-body" style="color: #DD514C;">1.送样单位须保证样品的真实性、代表性.
  111. 2.本检验中心保证检测结果的公正性,对来样的检测数据负责;并对其样品及相关资料保密。
  112. 3.委托方需对送检样品的安全性和缺陷负责,一旦因样品自身问题发生事故损失的,委托方需承担相应责任。</text>
  113. </uni-card>
  114. </uni-collapse-item>
  115. </uni-section>
  116. </view>
  117. <!-- v-model="value" -->
  118. <!-- <uni-section title="检测对象" type="line">
  119. <uni-data-select
  120. v-model="value"
  121. :localdata="range"
  122. @change="change(value)"
  123. :clear="false"
  124. ></uni-data-select> -->
  125. <!-- </uni-section>
  126. <uni-section title="基本用法" type="line">
  127. <view class="example-body2">
  128. <uni-combox :candidates="candidates" placeholder="请选择所在城市" v-model="city"></uni-combox>
  129. <view class="result-box">
  130. <text>所选城市为:{{city}}</text>
  131. </view>
  132. </view>
  133. </uni-section>
  134. <view class="cu-form-group">
  135. <view class="title">检测类型</view>
  136. <input placeholder="请输入姓名" name="input" v-model="leixing"></input>
  137. </view>
  138. <view class="cu-form-group">
  139. <view class="title">检测项目/参数</view>
  140. <input placeholder="请输入姓名" name="input" v-model="myFormData.realname"></input>
  141. </view>
  142. <view class="cu-form-group">
  143. <view class="title">检测方法</view>
  144. <input placeholder="请输入姓名" name="input" v-model="myFormData.realname"></input>
  145. </view>
  146. <view class="cu-form-group">
  147. <view class="title">检测对象</view>
  148. <input placeholder="请输入姓名" name="input" v-model="myFormData.realname"></input>
  149. </view>
  150. -->
  151. <view class="padding flex flex-direction">
  152. <button class="cu-btn bg-blue lg" @click="onSubmit">提交</button>
  153. </view>
  154. </form>
  155. </view>
  156. </template>
  157. <script>
  158. const plan_type = [{
  159. text: '返回给委托人',
  160. value: '1'
  161. }, {
  162. text: '自取',
  163. value: '2'
  164. }, {
  165. text: '不取回',
  166. value: '3'
  167. }];
  168. const plan_type1 = [{
  169. text: '委托检测',
  170. value: '1'
  171. }, {
  172. text: '抽样检测',
  173. value: '2'
  174. }];
  175. import myDate from '@/components/my-componets/my-date.vue'
  176. import appSelect from '@/components/my-componets/appSelect.vue'
  177. import md5 from "@/common/util/md5.js"
  178. export default {
  179. components: {
  180. myDate,
  181. appSelect
  182. },
  183. data() {
  184. return {
  185. open:true,
  186. rateValue: 0,
  187. leixing: '等哈说',
  188. vModelValue: 1,
  189. radio1: -1,
  190. radio2: 1,
  191. radio3: 1,
  192. radio4: 0,
  193. sex: [{
  194. text: '金属零件',
  195. value: 0
  196. }, {
  197. text: '碳素钢和中低合金钢',
  198. value: 1
  199. }],
  200. yijian: [{
  201. text: '要',
  202. value: 0
  203. }, {
  204. text: '不要',
  205. value: 1
  206. }],
  207. jielun: [{
  208. text: '要',
  209. value: 0
  210. }, {
  211. text: '不要',
  212. value: 1
  213. }],
  214. baogao: [{
  215. text: '自取',
  216. value: 0
  217. }, {
  218. text: '邮件',
  219. value: 1
  220. }, {
  221. text: '其它',
  222. value: 2
  223. }],
  224. value: -1,
  225. range: [{
  226. value: 0,
  227. text: "金属零件"
  228. },
  229. {
  230. value: 1,
  231. text: "碳素钢和中低合金钢"
  232. }
  233. ],
  234. canshu: [
  235. ],
  236. candidates: ['北京', '南京', '东京', '武汉', '天津', '上海', '海口'],
  237. city: '',
  238. type: "default",
  239. inverted: false,
  240. leibie: "",
  241. weituodanhao: '',
  242. plan_type1,
  243. plan_type,
  244. type2: '',
  245. type1: '',
  246. beginTime: '',
  247. index: -1,
  248. leixing: '',
  249. switchC: true,
  250. imgList: [],
  251. uploadUrl: "/sys/common/upload",
  252. myFormData: {
  253. weituodanhao: '',
  254. avatar: '',
  255. realname: '',
  256. username: '',
  257. sex: 1,
  258. birthday: '',
  259. orgCode: '',
  260. workNo: '',
  261. phone: '',
  262. email: '',
  263. id: '',
  264. },
  265. };
  266. },
  267. onLoad: function(option) {
  268. //下单数据格式
  269. let weituodandata=
  270. {
  271. "crmZhuangTai":"crm",
  272. "weiTuoZhuangTai":"待审核",
  273. "id":"",
  274. "weiTuoDanHaoZhuan":"",
  275. "yangPinBianHaoZhu":"",
  276. "shouLiBuMen":"检测室",
  277. "weiTuoFang":"外部委托",
  278. "jianCeWeiZhi":"",
  279. "shouLiShiJian":"2022-05-30",
  280. "dingDanHao":"",
  281. "dingDanLaiYuan":"客户直接下单",
  282. "baoJiaDan":"980832275937624064",
  283. "quDao":"961911156522352640",
  284. "xiaoShouRenYuan":"702117247933480960",
  285. "zongJinE":"400",
  286. "weiTuoDanHao":"GDYR-WT-20220530-04",
  287. "lianXiRen":"香香",
  288. "weiTuoDanWei":"5d61f11d33dc44898d4ef77a30211461",
  289. "lianXiFangShi":"12354578542",
  290. "qiWangWanChengShi":"2022-05-31",
  291. "tongXunDiZhi":"广东深圳",
  292. "gdyrqcyp":[
  293. {
  294. "yangPinMingCheng":"阿松大",
  295. "guiGeXingHao":"UC615 -1060 RBφ38x38阿松大",
  296. "shuLiang":"1",
  297. "shengChanRiQiPiHa":"4512122"
  298. }
  299. ],
  300. "yangPinChuZhi":"返回给委托人",
  301. "jianCeLeiBie":"委托检测",
  302. "nengLiFanWeiLeiXi":"碳素钢和中低合金钢",
  303. "jianCeLeiXingId":"阿萨",
  304. "jianCeXiangMu":"阿松大",
  305. "jianCeFangFa":"d41778b4252241b0bb39d391a65fe840,1e45eb75f0594cdab8a16e24839bbc11",
  306. "keHuYaoQiu":"无特殊要求",
  307. "jcxmcrm":[
  308. {
  309. "jianCeLeiXing":"",
  310. "xiangMuCanShu":"",
  311. "danJia":"",
  312. "shuLiang":"",
  313. "zheKou":"",
  314. "zheHouJia":"",
  315. "id":"",
  316. "parentId":""
  317. }
  318. ],
  319. "quBaoGaoFangShiJi":"自取",
  320. "baoGaoFenShu":1,
  321. "qiTaYaoQiu":"无特殊要求",
  322. "jianCeJieGuoZuoCh":"不要",
  323. "jianCeJieLun":"不要",
  324. "jianCeBaoGaoZhong":"不要",
  325. "hkfab":[
  326. ],
  327. "dingDanShenHeYiJi":"",
  328. "dingDanShenPiYiJi":"",
  329. "bianZhiRen":"702117247933480960",
  330. "guiGeXingHao":"UC615 -1060 RBφ38x38阿松大",
  331. "shengChanRiQiPiHa":"4512122",
  332. "yangPinMingCheng":"阿松大"
  333. }
  334. let jiancepara={
  335. "boCode":"gdyrqcwt",
  336. "version":0,
  337. "formKey":"ddfq",
  338. "pk":"",
  339. "data":JSON.stringify(this.weituodandata)
  340. }
  341. this.$http.post("ibps/business/v3/data/template/saveFormData/vo",jiancepara).then(res =>{
  342. if (res.data.state == 200) {
  343. console.log(res)
  344. }
  345. })
  346. //委托单号
  347. let smsParams = {
  348. alias: "gzyrwtbh"
  349. };
  350. this.$http.post("/ibps/business/v3/jc/sys/getNextIdByAlias", smsParams).then(res => {
  351. if (res.data.state == 200) {
  352. console.log(res.data.data)
  353. this.weituodanhao = res.data.data
  354. // this.$set(this.myFormData,"weituodanhao",res.data.data)
  355. }
  356. });
  357. //检测对象 https://www.szjyxt.com/ibps/business/v3/data/template/queryDataTable
  358. let param1 = {
  359. "parameters": [{
  360. "key": "response_data",
  361. "value": "{\"template_id\":\"958692267806162944\",\"template_type\":\"\",\"attrs\":\"\",\"result_columns\":[{\"label\":\"检测对象\",\"name\":\"jian_ce_dui_xiang\"}],\"sort_columns\":\"\",\"buttons\":\"\",\"export_columns\":\"\",\"datasetKey\":\"jianceduixiangv\",\"unique\":\"jian_ce_dui_xiang\",\"key\":\"jcdxzly\",\"dynamic_params\":{}}"
  362. },
  363. {
  364. "key": "filter_condition_key",
  365. "value": ""
  366. }
  367. ]
  368. }
  369. this.$http.post("ibps/business/v3/data/template/queryDataTable", param1).then(res => {
  370. if (res.data.state == 200) {
  371. console.log(res.data.data)
  372. let data = res.data.data.dataResult
  373. console.log(data)
  374. }
  375. });
  376. //检测类型、检测
  377. //请求系统接口demo
  378. console.log("this.$Route.query", this.$Route.query);
  379. let query = this.$Route.query
  380. if (query) {
  381. this.myFormData = query;
  382. if (this.myFormData.sex == '女') {
  383. this.switchC = false
  384. } else if (this.myFormData.sex == '男') {
  385. this.switchC = true
  386. }
  387. if (this.myFormData.avatar) {
  388. this.imgList = [this.myFormData.avatar]
  389. }
  390. if (!this.myFormData.birthday) {
  391. this.myFormData.birthday = '无'
  392. }
  393. if (this.myFormData.identity == '普通成员') {
  394. this.myFormData.identity = 1
  395. } else if (this.myFormData.identity == '上级') {
  396. this.myFormData.identity = 2
  397. }
  398. if (this.myFormData.status == '正常') {
  399. this.myFormData.status = 1
  400. } else if (this.myFormData.status == '冻结') {
  401. this.myFormData.status = 2
  402. }
  403. this.Avatar = this.myFormData.avatar
  404. Object.keys(this.myFormData).map(key => {
  405. if (this.myFormData[key] == '无') {
  406. this.myFormData[key] = ''
  407. }
  408. })
  409. console.log("this.myFormData", this.myFormData)
  410. }
  411. },
  412. methods: {
  413. onChange(e) {
  414. console.log('rate发生改变:' + JSON.stringify(e))
  415. // console.log(this.rateValue);
  416. },
  417. onSubmit() {
  418. let myForm = this.myFormData
  419. let checkPhone = new RegExp(/^[1]([3-9])[0-9]{9}$/);
  420. let checkEmail = /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/;
  421. console.log("myForm", myForm)
  422. if (!myForm.phone || myForm.phone.length == 0) {
  423. this.$tip.alert('请输入手机号');
  424. return false
  425. }
  426. if (!checkPhone.test(myForm.phone)) {
  427. this.$tip.alert('请输入正确的手机号');
  428. return false
  429. }
  430. if (!checkEmail.test(myForm.email)) {
  431. this.$tip.alert('请输入正确的邮箱地址');
  432. return false
  433. }
  434. this.myFormData.id = this.$store.getters.userid
  435. if (this.switchC) {
  436. this.myFormData.sex = 1
  437. } else {
  438. this.myFormData.sex = 2
  439. }
  440. console.log('myform', this.myFormData)
  441. this.$tip.loading();
  442. this.$http.put('/sys/user/appEdit', this.myFormData).then(res => {
  443. console.log(res)
  444. this.$tip.loaded();
  445. if (res.data.success) {
  446. this.$tip.toast('提交成功')
  447. this.$Router.replace({
  448. name: 'userdetail'
  449. })
  450. /* uni.navigateTo({
  451. url: '/pages/user/userdetail'
  452. }) */
  453. }
  454. }).catch(() => {
  455. this.$tip.loaded();
  456. this.$tip.error('提交失败')
  457. });
  458. },
  459. DateChange(e) {
  460. this.myFormData.birthday = e.detail.value
  461. },
  462. SwitchC(e) {
  463. this.switchC = e.detail.value
  464. },
  465. sig(sql) {
  466. let rul = (sql.length + 9) * 12 * 3 + 168
  467. let salt = "JinYuanXinTong"
  468. return md5(rul + '' + salt)
  469. },
  470. ChooseImage() {
  471. var that = this;
  472. uni.chooseImage({
  473. count: 4, //默认9
  474. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  475. sourceType: ['album'], //从相册选择
  476. success: (res) => {
  477. that.$http.upload(that.$config.apiUrl + that.uploadUrl, {
  478. filePath: res.tempFilePaths[0],
  479. name: 'file'
  480. })
  481. .then(res => {
  482. that.myFormData.avatar = res.data.message;
  483. })
  484. .catch(err => {
  485. that.$tip.error(err.data.message)
  486. });
  487. this.imgList = res.tempFilePaths
  488. }
  489. });
  490. },
  491. ViewImage(e) {
  492. uni.previewImage({
  493. urls: this.imgList,
  494. current: e.currentTarget.dataset.url
  495. });
  496. },
  497. DelImg(e) {
  498. uni.showModal({
  499. title: '召唤师',
  500. content: '确定要删除这段回忆吗?',
  501. cancelText: '再看看',
  502. confirmText: '再见',
  503. success: res => {
  504. if (res.confirm) {
  505. this.imgList.splice(e.currentTarget.dataset.index, 1)
  506. }
  507. }
  508. })
  509. },
  510. change(text) {
  511. console.log(text)
  512. if (text == '金属零件' || text == '碳素钢和中低合金钢') {
  513. let data = '';
  514. if (text == '金属零件') {
  515. data = "select * from t_sysjtsjpz where jian_ce_dui_xiang = '金属零件' and shi_fou_shan_chu_ = '0'";
  516. this.leixing = "尺寸和形位公差测量"
  517. }
  518. if (text == '碳素钢和中低合金钢') {
  519. data =
  520. "select * from t_sysjtsjpz where jian_ce_dui_xiang = '碳素钢和中低合金钢' and shi_fou_shan_chu_ = '0'";
  521. this.leixing = "元素成分测定"
  522. }
  523. data = '{"sql":"' + data + '"}'
  524. let md5 = this.sig(data) //加密, 获取md5密文
  525. let requestData = data.slice(0, 1) + '"sig":"' + md5 + '",' + data.slice(1) //结果拼接
  526. this.$http.post("/ibps/business/v3/sys/universal/inputSqlSelectData", requestData).then(res => {
  527. if (res.data.state == 200) {
  528. let result = res.data.variables.data;
  529. console.log(result)
  530. let canshu = []
  531. for (let index in result) {
  532. let en = {}
  533. en.show = false,
  534. en.text = result[index].xiang_mu_can_shu_;
  535. canshu.push(en);
  536. }
  537. this.canshu = canshu;
  538. console.log(this.canshu)
  539. }
  540. });
  541. }
  542. },
  543. onChange(){},
  544. changeValue(value) {
  545. console.log('返回数值:', value);
  546. },
  547. focus(e) {
  548. console.log('focus:', e);
  549. },
  550. blur(e) {
  551. console.log('blur:', e);
  552. },
  553. setType() {
  554. let types = ["default", "primary", "success", "warning", "error"];
  555. let index = types.indexOf(this.type);
  556. types.splice(index, 1);
  557. let randomIndex = Math.floor(Math.random() * 4);
  558. this.type = types[randomIndex];
  559. },
  560. setInverted(index) {
  561. this.canshu[index].show = !this.canshu[index].show;
  562. },
  563. }
  564. }
  565. </script>
  566. <style>
  567. .cu-form-group .title {
  568. min-width: calc(4em + 15px);
  569. }
  570. .example-body {
  571. /* #ifndef APP-PLUS-NVUE */
  572. display: flex;
  573. /* #endif */
  574. flex-direction: row;
  575. justify-content: flex-start;
  576. align-items: flex-end;
  577. flex-wrap: wrap;
  578. }
  579. .tag-view {
  580. margin-right: 10px;
  581. }
  582. .example-body2 {
  583. padding: 12px;
  584. background-color: #FFFFFF;
  585. }
  586. .result-box {
  587. text-align: center;
  588. padding: 20px 0px;
  589. font-size: 16px;
  590. }
  591. </style>