circle.vue 20 KB

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