circle.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  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" style="margin-top:40px;margin-bottom: 0;">
  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. bisNo: that.isEdit?that.editItem.bisNo:undefined,
  401. version: that.isEdit?that.editItem.version:undefined
  402. };
  403. params.slbResourceDemand.companyEntity = {};
  404. params.slbResourceDemand.companyEntity.company = params.slbResourceDemand.company;
  405. params.slbResourceDemand.companyEntity.jobTitle = params.slbResourceDemand.jobTitle;
  406. params.slbResourceDemand.companyEntity.creditCode = this.org.creditCode;
  407. params.slbResourceDemand.companyEntity.contactPerson = params.slbResourceDemand.contactPerson;
  408. params.slbResourceDemand.companyEntity.contactMethod = params.slbResourceDemand.contactMethod;
  409. params.slbResourceDemand.slbUserExt = {
  410. contactPerson:params.slbResourceDemand.contactPerson,
  411. contactMethod:params.slbResourceDemand.contactMethod,
  412. userNo:uni.getStorageSync('userNo'),
  413. };
  414. params.slbResourceDemand = JSON.stringify(params.slbResourceDemand);
  415. // params.slbResourceDemand.companyEntity.contactNickName = params.slbResourceDemand.contactNickName;
  416. // params.slbUserExt = JSON.stringify({
  417. // jobTitle:this.formInfo.jobTitle,
  418. // contactPerson:this.formInfo.contactPerson,
  419. // contactMethod:this.formInfo.contactMethod,
  420. // userNo:uni.getStorageSync('userNo'),
  421. // });
  422. params.fileDetailList = JSON.stringify(this.fileDetailList);
  423. request.post(that.isEdit?'/slbResourceDemand/update':'/slbResourceDemand/add', params).then(res => {
  424. that.canSave = true;
  425. if(res.success){
  426. uni.showToast({
  427. title:status==1?'暂存成功':'发布已提交,请在我的需求中查看进度',
  428. icon:'none',
  429. success:()=>{
  430. setTimeout(()=>{
  431. uni.redirectTo({
  432. url: "/pages/mine/need?tab="+(status==1?2:1)
  433. });
  434. },1500)
  435. }
  436. })
  437. }else{
  438. uni.showToast({
  439. title:res.msg,
  440. icon:'none'
  441. })
  442. }
  443. console.warn(res);
  444. })
  445. },
  446. // 跳转
  447. tn(e) {
  448. uni.navigateTo({
  449. url: e,
  450. });
  451. },
  452. // 手动上传文件
  453. upload() {
  454. console.warn(121212);
  455. },
  456. // 手动清空列表
  457. clear() {
  458. this.$refs.imageUpload.clear()
  459. },
  460. // 图片拖拽重新排序
  461. onSortList(list) {
  462. console.log(list);
  463. },
  464. select(e) {
  465. console.log('选择文件:', e)
  466. let tempFiles = e.tempFiles;
  467. for (let i in tempFiles) {
  468. this.upfile(tempFiles[i])
  469. }
  470. },
  471. deleteFile(e, index) {
  472. for(let i=0;i<this.fileDetailList.length;i++){
  473. if(e.tempFile.path===this.fileDetailList[i].path){
  474. this.fileDetailList.splice(i, 1);
  475. }
  476. }
  477. },
  478. upfile(file) {
  479. let that = this;
  480. console.warn(file);
  481. uni.uploadFile({
  482. url: 'http://slb-m.dev.ml1993.com/oss/upload/userFeedback', //仅为示例,非真实的接口地址
  483. filePath: file.url,
  484. name: 'file',
  485. success: (uploadFileRes) => {
  486. console.warn(JSON.parse(uploadFileRes.data));
  487. let resultMap = JSON.parse(uploadFileRes.data).resultMap;
  488. that.fileDetailList.push({
  489. name: file.name,
  490. fileName: file.name, // 原始文件名
  491. ftpUrl: resultMap.uploadUrl, // 文件访问url
  492. path:file.path
  493. })
  494. }
  495. });
  496. },
  497. // 上传成功
  498. success(e) {
  499. console.log('上传成功')
  500. },
  501. selectChange(e){
  502. console.error(e);
  503. this.searchValue = e.name
  504. this.current = e.regNumber;
  505. if(e.jobTitle){
  506. this.formInfo.jobTitle = e.jobTitle;
  507. }
  508. this.org = e;
  509. },
  510. search: function(val) {
  511. let that = this;
  512. if (val && val.length > 3) {
  513. request.post('/member/searchCompys', {
  514. keyWord: val
  515. }).then(res => {
  516. if(res.success){
  517. let list = res.resultMap.data || [];
  518. that.items = list;
  519. // that.setData({
  520. // items: list
  521. // })
  522. }else{
  523. uni.showToast({
  524. title: res.msg,
  525. icon: 'none'
  526. })
  527. }
  528. })
  529. }else{
  530. that.items = [];
  531. }
  532. },
  533. }
  534. }
  535. </script>
  536. <style lang="scss" scoped>
  537. .template-edit {}
  538. /* 胶囊*/
  539. .tn-custom-nav-bar__back {
  540. width: 60%;
  541. height: 100%;
  542. position: relative;
  543. display: flex;
  544. justify-content: space-evenly;
  545. align-items: center;
  546. box-sizing: border-box;
  547. // background-color: rgba(0, 0, 0, 0.15);
  548. border-radius: 1000rpx;
  549. border: 1rpx solid rgba(255, 255, 255, 0.5);
  550. // color: #FFFFFF;
  551. font-size: 18px;
  552. .icon {
  553. display: block;
  554. flex: 1;
  555. margin: auto;
  556. text-align: center;
  557. }
  558. &:before {
  559. content: " ";
  560. width: 1rpx;
  561. height: 110%;
  562. position: absolute;
  563. top: 22.5%;
  564. left: 0;
  565. right: 0;
  566. margin: auto;
  567. transform: scale(0.5);
  568. transform-origin: 0 0;
  569. pointer-events: none;
  570. box-sizing: border-box;
  571. opacity: 0.7;
  572. background-color: #FFFFFF;
  573. }
  574. }
  575. /* 底部悬浮按钮 start*/
  576. .tn-tabbar-height {
  577. min-height: 100rpx;
  578. height: calc(120rpx + env(safe-area-inset-bottom) / 2);
  579. }
  580. .tn-footerfixed {
  581. position: fixed;
  582. width: 100%;
  583. bottom: calc(env(safe-area-inset-bottom));
  584. z-index: 1024;
  585. box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);
  586. background: #fff;
  587. }
  588. /* 底部悬浮按钮 end*/
  589. /* 标签内容 start*/
  590. .tn-tag-content {
  591. &__item {
  592. display: inline-block;
  593. line-height: 45rpx;
  594. padding: 10rpx 30rpx;
  595. margin: 20rpx 20rpx 5rpx 0rpx;
  596. &--prefix {
  597. padding-right: 10rpx;
  598. }
  599. }
  600. }
  601. /deep/ .uni-forms-item__label {
  602. display: none;
  603. }
  604. /deep/ .uni-stat__select .uni-select__input-placeholder {
  605. font-size: 14px;
  606. }
  607. /* 标签内容 end*/
  608. </style>