circle.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. <template>
  2. <view class="template-edit tn-safe-area-inset-bottom">
  3. <!-- 顶部自定义导航 -->
  4. <tn-nav-bar fixed alpha customBack>
  5. <view slot="back" class='tn-custom-nav-bar__back' @click="goBack">
  6. <text class='icon tn-icon-left'></text>
  7. <!-- <text class='icon tn-icon-home-capsule-fill'></text> -->
  8. </view>
  9. <view slot="default" v-if="stepIndex==2" style="display: flex;">
  10. <view style="flex:1;margin-left:25px">
  11. <text></text>
  12. </view>
  13. <view>
  14. <text style="margin-right: 4px;padding: 6px 15px;background-color:#00000026;border-radius: 30px;color: #3D7EFF;" @click="saveForm(1)">暂存</text>
  15. </view>
  16. </view>
  17. </tn-nav-bar>
  18. <view class="tn-safe-area-inset-bottom" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
  19. <tn-steps style="pointer-events:none" :list="stepList" :current="stepIndex" mode="dotIcon"></tn-steps>
  20. <!-- <uni-steps :options="stepList" :active="stepIndex" /> -->
  21. <view v-if="stepIndex==1">
  22. <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin">
  23. <view class="tn-flex justify-content-item">
  24. <!-- <view class="tn-bg-black tn-color-white tn-text-center"
  25. style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
  26. <text class="tn-icon-topics" style="font-size: 30rpx;"></text>
  27. </view> -->
  28. <view class="tn-text-lg tn-padding-right-xs tn-text-bold" style="font-size: 15px;">以下三种方式可任选其一,若有可都输入</view>
  29. </view>
  30. <!-- <view class="justify-content-item tn-text-df tn-color-grey">
  31. <text class="tn-padding-xs">500字内</text>
  32. <text class="tn-icon-keyboard-circle"></text>
  33. </view> -->
  34. </view>
  35. <!-- <view class="tn-margin tn-bg-gray--light" style="border-radius: 10rpx;padding: 20rpx 30rpx;">
  36. <input placeholder="写下一句简短的标题" name="input" placeholder-style="color:#AAAAAA" ></input>
  37. </view> -->
  38. <view class="tn-margin tn-bg-gray--light tn-padding" style="border-radius: 10rpx;">
  39. <textarea maxlength="500" v-model="content" placeholder="请描述您的需求..." placeholder-style="color:#AAAAAA"></textarea>
  40. </view>
  41. <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin">
  42. <view class="tn-flex justify-content-item">
  43. <view class=" tn-text-center"
  44. style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
  45. <text class="tn-icon-image" style="font-size: 30rpx;"></text>
  46. </view>
  47. <view class="tn-text-lg tn-padding-right-xs tn-text-bold">图片</view>
  48. </view>
  49. <!-- <view class="justify-content-item tn-text-df tn-color-grey" @tap="clear">
  50. <text class="tn-padding-xs">清空上传</text>
  51. <text class="tn-icon-delete"></text>
  52. </view> -->
  53. </view>
  54. <view class="tn-margin-left tn-padding-top-xs">
  55. <uni-file-picker
  56. v-model="imgList" :limit="6" @delete="deleteFile" :auto-upload="false" @select="select" @success="success">
  57. </uni-file-picker>
  58. <!-- <tn-image-upload-drag ref="imageUpload" :action="action" :width="236" :height="236" :formData="formData"
  59. :fileList="fileList" :disabled="disabled" :autoUpload="autoUpload" :maxCount="maxCount"
  60. :showUploadList="showUploadList" :showProgress="showProgress" :deleteable="deleteable"
  61. :customBtn="customBtn" @sort-list="onSortList" /> -->
  62. </view>
  63. <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top-xl tn-margin">
  64. <view class="tn-flex justify-content-item">
  65. <view class=" tn-text-center"
  66. style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
  67. <text class="tn-icon-link" style="font-size: 30rpx;"></text>
  68. </view>
  69. <view class="tn-text-lg tn-padding-right-xs tn-text-bold">文件</view>
  70. </view>
  71. <!-- <view class="justify-content-item tn-text-df tn-color-grey" @tap="clear">
  72. <text class="tn-padding-xs">清空上传</text>
  73. <text class="tn-icon-delete"></text>
  74. </view> -->
  75. </view>
  76. <view class="tn-margin-left tn-padding-top-xs">
  77. <uni-file-picker
  78. v-model="fileList" :limit="3" mode="grid" @delete="deleteFile" file-mediatype="all" file-extname="pdf,docx,doc" :auto-upload="false" @select="select" @success="success">
  79. <!-- <button size="default">上传文件</button> -->
  80. <tn-button shadow shape="round" fontColor="tn-color-white" size="lg" backgroundColor="tn-bg-blue" :fontSize="24" height="auto" padding="20rpx 36rpx">上传文件</tn-button>
  81. </uni-file-picker>
  82. <text class="tn-color-grey">支持格式 pdf .doc,不超过5MB。</text>
  83. <!-- <tn-image-upload-drag ref="imageUpload" :action="action" :width="236" :height="236" :formData="formData"
  84. :fileList="fileList2" :disabled="disabled" :autoUpload="autoUpload" :maxCount="maxCount"
  85. :showUploadList="showUploadList" :showProgress="showProgress" :deleteable="deleteable"
  86. :customBtn="customBtn" @sort-list="onSortList" /> -->
  87. </view>
  88. <view style="padding: 16px">
  89. <text v-if="selectValue">需求有效期:</text>
  90. <uni-data-select
  91. v-model="selectValue"
  92. :localdata="selectList"
  93. @change="changeSelect"
  94. placement="top"
  95. placeholder="需求有效期"
  96. ></uni-data-select>
  97. </view>
  98. <!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top-xl tn-margin">
  99. <view class="tn-flex justify-content-item">
  100. <view class="tn-bg-black tn-color-white tn-text-center" style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
  101. <text class="tn-icon-tag" style="font-size: 30rpx;"></text>
  102. </view>
  103. <view class="tn-text-lg tn-padding-right-xs tn-text-bold">话题标签</view>
  104. </view>
  105. <view class="justify-content-item tn-text-df tn-color-grey">
  106. <text class="tn-padding-xs">选择</text>
  107. <text class="tn-icon-right"></text>
  108. </view>
  109. </view> -->
  110. <!-- <view class="tn-tag-content tn-margin tn-text-justify tn-padding-bottom">
  111. <view v-for="(item, index) in tagList" :key="index" class="tn-tag-content__item tn-margin-right tn-round tn-text-sm tn-text-bold" :class="[`tn-bg-${item.color}--light tn-color-${item.color}`]">
  112. <text class="tn-tag-content__item--prefix">#</text> {{ item.title }}
  113. </view>
  114. </view> -->
  115. <!-- 悬浮按钮-->
  116. <view class="tn-flex tn-footerfixed">
  117. <view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
  118. <tn-button backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow fontBold @click="nextStep()">
  119. <!-- <text class="tn-icon-light tn-padding-right-xs tn-color-black"></text> -->
  120. <text class="tn-color-white">下一步</text>
  121. <!-- <text class="tn-icon-camera tn-padding-left-xs tn-color-black"></text> -->
  122. </tn-button>
  123. </view>
  124. </view>
  125. </view>
  126. <view v-if="stepIndex==2">
  127. <view style="padding:16px">
  128. <uni-forms :modelValue="formData" label-width="0">
  129. <view style="margin:16px 0">
  130. <text v-if="searchValue">公司名称:</text>
  131. <w-select
  132. style="width: 100%;"
  133. v-model='searchValue'
  134. :list='items'
  135. valueName='name'
  136. keyName="regNumber"
  137. @change='selectChange'
  138. :filterable="true"
  139. >
  140. </w-select>
  141. </view>
  142. <!-- <uni-forms-item label="公司名称" name="name">
  143. <uni-easyinput type="text" v-model="userInfo.company" placeholder="请输入所在公司名称" />
  144. </uni-forms-item> -->
  145. <text v-if="formInfo.jobTitle">您的职称:</text>
  146. <uni-forms-item label="" name="realName" label-width="0">
  147. <uni-easyinput type="text" v-model="formInfo.jobTitle" :clearable="false" placeholder="请输入您的职称" />
  148. </uni-forms-item>
  149. <text v-if="formInfo.contactPerson">联系姓名:</text>
  150. <uni-forms-item label="联系人姓名" name="contactMethod">
  151. <uni-easyinput type="text" v-model="formInfo.contactPerson" :clearable="false" placeholder="请输入联系人姓名" />
  152. </uni-forms-item>
  153. <text v-if="formInfo.contactMethod">联系方式:</text>
  154. <uni-forms-item label="联系方式" name="phone">
  155. <uni-easyinput type="text" v-model="formInfo.contactMethod" :clearable="false" placeholder="请输入联系手机/微信/邮箱" />
  156. </uni-forms-item>
  157. <uni-forms-item label="11" name="check">
  158. <uni-data-checkbox :multiple="true" v-model="formInfo.agree" :localdata="[{text: '同意平台核查所填信息的真实性',value: '是'}]" />
  159. </uni-forms-item>
  160. </uni-forms>
  161. </view>
  162. <view class="tn-flex tn-footerfixed">
  163. <view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
  164. <tn-button backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow fontBold @click="preStep()">
  165. <!-- <text class="tn-icon-light tn-padding-right-xs tn-color-black"></text> -->
  166. <text class="tn-color-white">上一步</text>
  167. <!-- <text class="tn-icon-camera tn-padding-left-xs tn-color-black"></text> -->
  168. </tn-button>
  169. </view>
  170. <view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
  171. <tn-button backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow fontBold @click="saveForm()">
  172. <!-- <text class="tn-icon-light tn-padding-right-xs tn-color-black"></text> -->
  173. <text class="tn-color-white">提交审核</text>
  174. <!-- <text class="tn-icon-camera tn-padding-left-xs tn-color-black"></text> -->
  175. </tn-button>
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. <view class='tn-tabbar-height'></view>
  181. </view>
  182. </template>
  183. <script>
  184. import template_page_mixin from '@/libs/mixin/template_page_mixin.js';
  185. import request from '../utils/request';
  186. export default {
  187. name: 'TemplateEdit',
  188. mixins: [template_page_mixin],
  189. data() {
  190. return {
  191. canSave: true,
  192. selectValue: '',
  193. //非常紧急/两周/一月/长期
  194. selectList: [{
  195. value: '非常紧急',
  196. text: '非常紧急'
  197. },
  198. {
  199. value: '两周',
  200. text: '两周'
  201. },
  202. {
  203. value: '一月',
  204. text: '一月'
  205. },
  206. {
  207. value: '长期',
  208. text: '长期'
  209. }
  210. ],
  211. content:'',
  212. formInfo:{
  213. jobTitle:'',
  214. // contactPerson:JSON.parse(uni.getStorageSync('userInfo')).contactNickName?JSON.parse(uni.getStorageSync('userInfo')).contactNickName:'用户'+JSON.parse(uni.getStorageInfoSync('userInfo')).userName.splice(-4),
  215. agree:['是'],
  216. contactPerson:JSON.parse(uni.getStorageSync('userInfo')).contactNickName,
  217. contactMethod:JSON.parse(uni.getStorageSync('userInfo')).contactMethod||JSON.parse(uni.getStorageSync('userInfo')).userName
  218. },
  219. imgList:[],
  220. fileDetailList:[],
  221. stepIndex:1,
  222. // stepList:[{title:'填写需求'},{title: '填写联系方式'}],
  223. stepList: [{
  224. name: '填写需求',
  225. icon: 'circle',
  226. selectIcon: 'circle-fill'
  227. },
  228. {
  229. name: '填写联系方式',
  230. icon: 'trusty',
  231. selectIcon: 'trusty-fill'
  232. }
  233. ],
  234. tagList: [{
  235. color: 'red',
  236. title: "元神",
  237. },
  238. {
  239. color: 'cyan',
  240. title: "LOL",
  241. },
  242. {
  243. color: 'blue',
  244. title: "速立保",
  245. },
  246. {
  247. color: 'green',
  248. title: "科技",
  249. },
  250. {
  251. color: 'orange',
  252. title: "免费",
  253. },
  254. {
  255. color: 'purplered',
  256. title: "前端",
  257. },
  258. {
  259. color: 'purple',
  260. title: "后端",
  261. },
  262. {
  263. color: 'brown',
  264. title: "UI设计",
  265. },
  266. {
  267. color: 'yellowgreen',
  268. title: "求助",
  269. },
  270. {
  271. color: 'grey',
  272. title: "吃货",
  273. },
  274. {
  275. color: 'orangered',
  276. title: "萌宠",
  277. }
  278. ],
  279. action: 'https://www.hualigs.cn/api/upload',
  280. // action: '',
  281. formData: {
  282. apiType: 'this,ali',
  283. token: 'dffc1e06e636cff0fdf7d877b6ae6a2e',
  284. image: null
  285. },
  286. fileList: [],
  287. showUploadList: true,
  288. customBtn: false,
  289. autoUpload: true,
  290. showProgress: false,
  291. deleteable: true,
  292. customStyle: false,
  293. maxCount: 9,
  294. disabled: false,
  295. searchValue: '',
  296. items: [],
  297. org:{
  298. name:'',
  299. regNumber:''
  300. },
  301. }
  302. },
  303. watch: {
  304. searchValue(val, oldval) {
  305. console.error(val,this.org.name);
  306. if(val!==this.org.name){
  307. this.current = null;
  308. }
  309. if(this.stepIndex==2){
  310. this.search(val)
  311. }
  312. // if(this.org.name!=this.org.regNumber){
  313. // }
  314. }
  315. },
  316. onLoad() {
  317. this.getCompany();
  318. },
  319. methods: {
  320. getCompany(){
  321. let that = this;
  322. request.post('/slbUserCompanyRel/show/my', {
  323. userNo: uni.getStorageSync('userNo')
  324. }).then(res => {
  325. if (res.success) {
  326. let list = res.list || [];
  327. for(let i=0;i<list.length;i++){
  328. list[i].name = list[i].company;
  329. list[i].regNumber= list[i].company;
  330. if(list[i].isDefault=='1'){
  331. that.searchValue = list[i].name
  332. that.current = list[i].name;
  333. that.org = list[i];
  334. if(list[i].jobTitle){
  335. that.formInfo.jobTitle = list[i].jobTitle
  336. }
  337. }
  338. }
  339. that.items = list;
  340. }
  341. })
  342. },
  343. preStep(){
  344. this.stepIndex = 1;
  345. },
  346. nextStep(){
  347. if(this.content==''&&this.fileDetailList.length===0){
  348. uni.showToast({
  349. title:'请填写需求或上传图片/文件',
  350. icon:'none'
  351. })
  352. this.stepIndex = 1;
  353. return false;
  354. }
  355. this.stepIndex = 2;
  356. },
  357. changeSelect(e) {
  358. this.selectValue = e;
  359. },
  360. saveForm(status){
  361. if(!this.canSave){
  362. return false;
  363. }
  364. let that = this;
  365. let params = {
  366. };
  367. if(!this.org.name){
  368. uni.showToast({
  369. title: '请检查公司名称是否准确',
  370. duration: 2000,
  371. icon:'none'
  372. });
  373. return false;
  374. }
  375. if(this.formInfo.jobTitle.length<1){
  376. uni.showToast({
  377. title: '请输入您的职称',
  378. duration: 2000,
  379. icon:'none'
  380. });
  381. return false;
  382. }
  383. if(this.formInfo.contactPerson.length<1){
  384. uni.showToast({
  385. title: '请输入联系人姓名',
  386. duration: 2000,
  387. icon:'none'
  388. });
  389. return false;
  390. }
  391. if(this.formInfo.contactMethod.length<1){
  392. uni.showToast({
  393. title: '请输入联系手机/微信/邮箱',
  394. duration: 2000,
  395. icon:'none'
  396. });
  397. return false;
  398. }
  399. if(this.formInfo.agree.length<1){
  400. uni.showToast({
  401. title: '请勾选同意平台核查所填信息的真实性',
  402. duration: 2000,
  403. icon:'none'
  404. });
  405. return false;
  406. }
  407. uni.showToast({
  408. title: '提交中...',
  409. icon:'none'
  410. });
  411. that.canSave = false;
  412. params.slbResourceDemand = JSON.stringify({
  413. type:'3',
  414. company:this.org.name,
  415. jobTitle:this.formInfo.jobTitle,
  416. contactPerson:this.formInfo.contactPerson,
  417. contactMethod:this.formInfo.contactMethod,
  418. content:that.content,
  419. userNo:uni.getStorageSync('userNo'),
  420. validDate:this.selectValue,
  421. status: status==1?status:undefined
  422. });
  423. // params.slbUserCompanyRel = JSON.stringify({
  424. // jobTitle:this.formInfo.jobTitle,
  425. // contactPerson:this.formInfo.contactPerson,
  426. // contactMethod:this.formInfo.contactMethod,
  427. // userNo:uni.getStorageSync('userNo'),
  428. // });
  429. params.fileDetailList = JSON.stringify(this.fileDetailList);
  430. request.post('/slbResourceDemand/add', params).then(res => {
  431. that.canSave = true;
  432. if(res.success){
  433. uni.showToast({
  434. title:status?'暂存成功':'发布已提交,可在我的需求里查看审核进度',
  435. icon:'none',
  436. success:()=>{
  437. setTimeout(()=>{
  438. uni.redirectTo({
  439. url: "/pages/mine/need"
  440. });
  441. },1500)
  442. }
  443. })
  444. }else{
  445. uni.showToast({
  446. title:res.msg,
  447. icon:'none'
  448. })
  449. }
  450. console.warn(res);
  451. })
  452. },
  453. // 跳转
  454. tn(e) {
  455. uni.navigateTo({
  456. url: e,
  457. });
  458. },
  459. // 手动上传文件
  460. upload() {
  461. console.warn(121212);
  462. },
  463. // 手动清空列表
  464. clear() {
  465. this.$refs.imageUpload.clear()
  466. },
  467. // 图片拖拽重新排序
  468. onSortList(list) {
  469. console.log(list);
  470. },
  471. select(e) {
  472. console.log('选择文件:', e)
  473. let tempFiles = e.tempFiles;
  474. for (let i in tempFiles) {
  475. this.upfile(tempFiles[i])
  476. }
  477. },
  478. deleteFile(e, index) {
  479. for(let i=0;i<this.fileDetailList.length;i++){
  480. if(e.tempFile.path===this.fileDetailList[i].path){
  481. this.fileDetailList.splice(i, 1);
  482. }
  483. }
  484. },
  485. upfile(file) {
  486. let that = this;
  487. console.warn(file);
  488. uni.uploadFile({
  489. url: 'http://slb-m.dev.ml1993.com/oss/upload/userFeedback', //仅为示例,非真实的接口地址
  490. filePath: file.url,
  491. name: 'file',
  492. success: (uploadFileRes) => {
  493. console.warn(JSON.parse(uploadFileRes.data));
  494. let resultMap = JSON.parse(uploadFileRes.data).resultMap;
  495. that.fileDetailList.push({
  496. name: file.name,
  497. fileName: file.name, // 原始文件名
  498. ftpUrl: resultMap.uploadUrl, // 文件访问url
  499. path:file.path
  500. })
  501. }
  502. });
  503. },
  504. // 上传成功
  505. success(e) {
  506. console.log('上传成功')
  507. },
  508. selectChange(e){
  509. console.error(e);
  510. this.searchValue = e.name
  511. this.current = e.regNumber;
  512. if(e.jobTitle){
  513. this.formInfo.jobTitle = e.jobTitle;
  514. }
  515. this.org = e;
  516. },
  517. search: function(val) {
  518. let that = this;
  519. if (val && val.length > 3) {
  520. request.post('/member/searchCompys', {
  521. keyWord: val
  522. }).then(res => {
  523. if(res.success){
  524. let list = res.resultMap.data || [];
  525. that.items = list;
  526. // that.setData({
  527. // items: list
  528. // })
  529. }else{
  530. uni.showToast({
  531. title: res.msg,
  532. icon: 'none'
  533. })
  534. }
  535. })
  536. }else{
  537. that.items = [];
  538. }
  539. },
  540. }
  541. }
  542. </script>
  543. <style lang="scss" scoped>
  544. .template-edit {}
  545. /* 胶囊*/
  546. .tn-custom-nav-bar__back {
  547. width: 60%;
  548. height: 100%;
  549. position: relative;
  550. display: flex;
  551. justify-content: space-evenly;
  552. align-items: center;
  553. box-sizing: border-box;
  554. // background-color: rgba(0, 0, 0, 0.15);
  555. border-radius: 1000rpx;
  556. border: 1rpx solid rgba(255, 255, 255, 0.5);
  557. // color: #FFFFFF;
  558. font-size: 18px;
  559. .icon {
  560. display: block;
  561. flex: 1;
  562. margin: auto;
  563. text-align: center;
  564. }
  565. &:before {
  566. content: " ";
  567. width: 1rpx;
  568. height: 110%;
  569. position: absolute;
  570. top: 22.5%;
  571. left: 0;
  572. right: 0;
  573. margin: auto;
  574. transform: scale(0.5);
  575. transform-origin: 0 0;
  576. pointer-events: none;
  577. box-sizing: border-box;
  578. opacity: 0.7;
  579. background-color: #FFFFFF;
  580. }
  581. }
  582. /* 底部悬浮按钮 start*/
  583. .tn-tabbar-height {
  584. min-height: 100rpx;
  585. height: calc(120rpx + env(safe-area-inset-bottom) / 2);
  586. }
  587. .tn-footerfixed {
  588. position: fixed;
  589. width: 100%;
  590. bottom: calc(env(safe-area-inset-bottom));
  591. z-index: 1024;
  592. box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);
  593. background: #fff;
  594. }
  595. /* 底部悬浮按钮 end*/
  596. /* 标签内容 start*/
  597. .tn-tag-content {
  598. &__item {
  599. display: inline-block;
  600. line-height: 45rpx;
  601. padding: 10rpx 30rpx;
  602. margin: 20rpx 20rpx 5rpx 0rpx;
  603. &--prefix {
  604. padding-right: 10rpx;
  605. }
  606. }
  607. }
  608. /deep/ .uni-forms-item__label {
  609. display: none;
  610. }
  611. /* 标签内容 end*/
  612. </style>