serveType.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. <template>
  2. <view style="padding-bottom:150upx ;">
  3. <view class="text-white padding bg margin" style="border-radius: 24upx;">
  4. <view class="flex align-center margin-bottom-sm justify-between " @click="cityShow =true">
  5. <view class=" text-bold">项目位置</view>
  6. <view class="text-right flex align-center ">
  7. <view>{{form.address?form.address:'请选择省市区'}}</view>
  8. <view class="margin-left-sm">
  9. <image src="../../static/images/my/right_icon.png" style="width: 12upx;height: 21upx;"></image>
  10. </view>
  11. </view>
  12. </view>
  13. <view class="padding-bottom text-right"
  14. style="border-bottom: 1rpx solid #F2F2F2;color: red;font-size: 24rpx;">
  15. * 如需选择其他省请联系客服
  16. </view>
  17. <view class="flex align-center margin-bottom-sm justify-between" style="border-bottom: 1rpx solid #F2F2F2;">
  18. <view class=" text-bold">甲方性质</view>
  19. <view class="text-right flex align-center margin-tb-xs">
  20. <u-input v-model="form.projectName" :disabled="true" @click="getShuXingList()" placeholder="请选择甲方性质"
  21. placeholder-style="color:#999999;" :clearable="false" />
  22. </view>
  23. </view>
  24. <view class="flex align-center margin-bottom-sm justify-between" style="border-bottom: 1rpx solid #F2F2F2;">
  25. <view class=" text-bold">项目类型</view>
  26. <view class="text-right flex align-center margin-tb-xs">
  27. <u-input v-model="form.projectType" :disabled="true" @click="openType(1)" placeholder="请选择项目类型"
  28. placeholder-style="color:#999999;" :clearable="false" />
  29. </view>
  30. </view>
  31. <view class="flex align-center margin-bottom-sm justify-between"
  32. style="border-bottom: 1rpx solid #F2F2F2;">
  33. <view class=" text-bold">项目工期(月)</view>
  34. <view class="text-right flex align-center margin-bottom-sm">
  35. <u-input v-model="form.projectDayNum" type="number" placeholder="请填写项目工期(月)"
  36. placeholder-style="color:#999999;" :clearable="false" />
  37. </view>
  38. </view>
  39. <view class="flex align-center justify-between" style="border-bottom: 1rpx solid #F2F2F2;">
  40. <view class=" text-bold">电子邮箱</view>
  41. <view class="text-right margin-bottom-sm">
  42. <u-input v-model="form.email" placeholder="请输入电子邮箱" placeholder-style="color:#999999;"
  43. :clearable="false" />
  44. </view>
  45. </view>
  46. <view class="flex align-center margin-bottom-sm justify-between">
  47. <view class=" text-bold">进场时间</view>
  48. <view class="text-right flex align-center margin-bottom-sm">
  49. <u-input v-model="form.approachTime" :disabled="true" @click="timeShow = true" type="number" placeholder="请选择进场时间"
  50. placeholder-style="color:#999999;" :clearable="false" />
  51. </view>
  52. </view>
  53. </view>
  54. <view class="padding margin bg" style="border-radius: 24upx;">
  55. <view class="padding-bottom-sm margin-top-sm" style="border-bottom: 1rpx solid #F2F2F2;">
  56. <view class="flex align-center justify-between">
  57. <view class=" text-bold">项目福利</view>
  58. <view @click="getFlList()">
  59. <image src="../static/add.png" style="width: 52upx;height: 52upx;"></image>
  60. </view>
  61. </view>
  62. <view class="margin-top-sm text-sm" style="color: #999999;" v-if="projectAward.length==0">添加项目类型</view>
  63. <view class="flex flex-wrap" v-else>
  64. <view v-for="(item,index) in projectAward" :key="index" class="label margin-right-sm"
  65. style="margin-bottom: 10rpx;position: relative;">
  66. {{item}}
  67. <u-icon name="close-circle-fill" @click="removeLable(projectAward,index)" color="red" size="28"
  68. style="position: absolute;top: -5rpx;right: -5rpx;"></u-icon>
  69. </view>
  70. </view>
  71. </view>
  72. <!-- postDetailsList -->
  73. <view class="padding-bottom-sm margin-top-sm" style="border-bottom: 1rpx solid #F2F2F2;">
  74. <view class="flex align-center justify-between">
  75. <view class=" text-bold">岗位添加</view>
  76. <view @click="addGw">
  77. <image src="../static/add.png" style="width: 52upx;height: 52upx;"></image>
  78. </view>
  79. </view>
  80. <view class="margin-top-sm text-sm" style="color: #999999;">添加岗位会根据你的岗位需求为你推荐</view>
  81. </view>
  82. <view class="flex align-center margin-bottom-sm justify-between" style="border-bottom: 1rpx solid #F2F2F2;">
  83. <view class=" text-bold">联系人</view>
  84. <view class="text-right flex align-center margin-tb-xs">
  85. <u-input v-model="form.projectPrincipalName" placeholder="请输入联系人"
  86. placeholder-style="color:#999999;" :clearable="false" />
  87. </view>
  88. </view>
  89. <view class="flex align-center justify-between" >
  90. <view class=" text-bold">电话</view>
  91. <view class="text-right flex align-center margin-tb-xs">
  92. <u-input v-model="form.projectPrincipalPhone" type="number" maxlength="11" placeholder="请输入电话"
  93. placeholder-style="color:#999999;" :clearable="false" />
  94. </view>
  95. </view>
  96. </view>
  97. <view class="text-white padding bg margin" style="border-radius: 24upx;" v-if="form.postDetailsList"
  98. v-for="(item,index) in form.postDetailsList" :key="index">
  99. <view class="flex align-center justify-between">
  100. <view class=" text-bold">{{item.postName}}-{{item.rulePostName}}</view>
  101. <view class="flex align-center">
  102. <view @click="bianjiList(item,index)">
  103. <image src="../static/bianji.png" style="width: 35upx;height: 34upx;"></image>
  104. </view>
  105. <view class="margin-left" @click="deteList(index)">
  106. <image src="../static/dete.png" style="width: 38upx;height: 38upx;"></image>
  107. </view>
  108. </view>
  109. </view>
  110. <view class="flex margin-top-xs flex-wrap" style="color: #333333;">
  111. <view class="flex align-center">
  112. <view>{{item.postAge}}</view>
  113. <view class="margin-lr-sm" style="width: 1rpx;height: 25rpx;background: #CCCCCC;">
  114. </view>
  115. </view>
  116. <view class="flex align-center">
  117. <view>{{item.postSex}}</view>
  118. <view class="margin-lr-sm" style="width: 1rpx;height: 25rpx;background: #CCCCCC;">
  119. </view>
  120. </view>
  121. <view class="flex align-center">
  122. <view>{{item.postPeopleNum}}人</view>
  123. </view>
  124. </view>
  125. <view class="flex align-center justify-between margin-top-sm">
  126. <view class="text-df " style="color: #6696FF;">
  127. <text class="text-bold" style="font-size: 32upx;">{{item.money}}<text
  128. style="font-size:20rpx;margin-left: 5rpx;">积分</text></text>
  129. </view>
  130. </view>
  131. </view>
  132. <view class="text-white padding bg margin" style="border-radius: 24upx;">
  133. <view class="text-lg text-bold">收费明细</view>
  134. <view class="text-sm margin-top" v-for="(item,index) in form.postDetailsList" style="color: #666666;">
  135. <view class="" style="display: flex;justify-content: space-between;color: #333333;">
  136. <span>{{item.postName}}-{{item.rulePostName}}</span>
  137. <span>x{{item.postPeopleNum}}</span>
  138. </view>
  139. <view class="margin-top flex justify-between">
  140. <span v-if="form.classify==2">单价:{{item.price}}积分</span>
  141. <span>合计:{{item.money}}积分</span>
  142. </view>
  143. </view>
  144. </view>
  145. <view class="text-white padding bg margin" style="border-radius: 24upx;">
  146. <view class="text-lg text-bold">收费说明</view>
  147. <view class="text-sm margin-top" style="color: #666666;" v-html="content"></view>
  148. </view>
  149. <!-- 省市区选择 -->
  150. <u-picker v-model="cityShow" mode="region" :params="params" @confirm="cityConfirm"></u-picker>
  151. <u-popup v-model="show" mode="center" border-radius="14" width="600rpx" :closeable="true"
  152. close-icon="close-circle" close-icon-size="44">
  153. <view class="padding-bottom" v-if="state==1">
  154. <view class="text-center text-lg text-bold margin-top">添加项目类型</view>
  155. <view class="margin-lr margin-top-xl padding-lr" style="background: #f5f5f5;">
  156. <u-input v-model="typeName" placeholder="请填写项目类型" inputAlign="text-align:left" />
  157. </view>
  158. <view class="btn" @click="save()">保存</view>
  159. </view>
  160. <view class="padding-bottom" v-if="state==2">
  161. <view class="text-center text-lg text-bold margin-top">添加项目福利</view>
  162. <view class="margin-lr margin-top-xl padding-lr" style="background: #f5f5f5;">
  163. <u-input v-model="typeName" placeholder="请填写项目福利" inputAlign="text-align:left" />
  164. </view>
  165. <view class="btn" @click="save()">保存</view>
  166. </view>
  167. </u-popup>
  168. <!-- 选择项目类型 -->
  169. <u-select v-model="projectTypeShow" :list="projectTypelist" @confirm="projectTypelistConfirm"></u-select>
  170. <view class="submit">
  171. <view class="padding-left" style="">合计:<text
  172. style="font-size: 44upx;color: #FF4A28;">{{totalprice?totalprice:'0'}}<text
  173. style="font-size:24rpx;margin-left: 5rpx;">积分</text></text></view>
  174. <view class="subbtn" @click="submit">确认发布</view>
  175. </view>
  176. <!-- 发布弹窗 -->
  177. <u-popup v-model="submitShow" mode="bottom" border-radius="24rpx">
  178. <view class="submitShow">
  179. <view class="submitShow-box">
  180. <view class="submitShow-box-title">
  181. <view class="submitShow-box-title-close" @click="submitShow = false">
  182. 取消
  183. </view>
  184. <view class="submitShow-box-title-text">
  185. 收费明细
  186. </view>
  187. <view class="">
  188. </view>
  189. </view>
  190. <view class="submitShow-box-item" v-for="(item,index) in form.postDetailsList">
  191. <view class="submitShow-box-item-l">
  192. {{item.postName}}-{{item.rulePostName}}<span
  193. style="color: #979997;font-size: 26rpx;margin-left: 10rpx;">x{{item.postPeopleNum}}</span>
  194. </view>
  195. <view class="submitShow-box-item-r">
  196. <span style="font-size: 32rpx;">{{item.money}}</span>积分
  197. </view>
  198. </view>
  199. <view class="submitShow-box-item">
  200. <view class="submitShow-box-item-l" style="color: #82A9FE;font-weight: bold;">
  201. 总费用
  202. </view>
  203. <view class="submitShow-box-item-r" style="color: #2B6CF1;">
  204. <span style="font-size: 32rpx;">{{totalprice}}</span>积分
  205. </view>
  206. </view>
  207. <view class="submitShow-box-submit" @click="paysubmitSave()">
  208. 确认支付
  209. </view>
  210. </view>
  211. </view>
  212. </u-popup>
  213. <!-- 福利选择 -->
  214. <u-select v-model="flshow" :list="list" @confirm="projectFllistConfirm"></u-select>
  215. <!-- 属性选择 -->
  216. <u-select v-model="shuxingShow" :list="shuxingList" @confirm="shuxingConfirm"></u-select>
  217. <!-- 进场时间 -->
  218. <u-picker v-model="timeShow" mode="time" :params="paramsTime" @confirm="timeconfirm"></u-picker>
  219. </view>
  220. </template>
  221. <script>
  222. export default {
  223. data() {
  224. return {
  225. paramsTime: {
  226. year: true,
  227. month: true,
  228. day: true,
  229. hour: false,
  230. minute: false,
  231. second: false
  232. },
  233. timeShow: false,
  234. shuxingShow: false,
  235. flshow: false,
  236. list: [],
  237. submitShow: false,
  238. params: {
  239. province: true,
  240. city: true,
  241. area: true
  242. },
  243. cityShow: false,
  244. form: {
  245. address: '', //省市区
  246. projectName: '', //项目名称
  247. projectType: '', //项目类型
  248. projectAward: '', //项目福利
  249. email: '', //电子邮箱
  250. projectDayNum: '', //项目工期
  251. classify: '', //分类 1.定制化 2.进准推送
  252. postDetailsList: [], //岗位列表
  253. approachTime:'',//进场时间
  254. projectPrincipalPhone:'',//电话
  255. projectPrincipalName:'',//负责人
  256. },
  257. projectAward: [], //项目福利
  258. show: false,
  259. state: '',
  260. typeName: '',
  261. totalprice: '',
  262. content: '',
  263. projectTypeShow: false, //项目类型
  264. projectTypelist: [],
  265. shuxingList: [],
  266. }
  267. },
  268. //离开页面清除岗位缓存
  269. onUnload() {
  270. uni.setStorageSync('postDetailsList', '')
  271. },
  272. onLoad(option) {
  273. // console.log(option)
  274. if (option.name) {
  275. uni.setNavigationBarTitle({
  276. title: option.name
  277. });
  278. }
  279. if (option.classify) {
  280. this.form.classify = option.classify
  281. }
  282. this.$Request.get('/app/common/type/262').then(res => {
  283. if (res.code == 0) {
  284. this.content = res.data.value.replace("img",
  285. 'img style="width:100%;height:auto"');
  286. }
  287. });
  288. },
  289. onShow() {
  290. this.totalprice = 0
  291. this.form.postDetailsList = uni.getStorageSync('postDetailsList')
  292. console.log(this.form.postDetailsList)
  293. if (this.form.postDetailsList) {
  294. this.form.postDetailsList.forEach(d => {
  295. if (this.form.classify == 2) {
  296. d.money = d.postPeopleNum * d.price
  297. this.totalprice = Number(this.totalprice + d.money)
  298. } else if (this.form.classify == 1) {
  299. d.money = d.customizationPrice
  300. this.totalprice = Number(this.totalprice + d.money)
  301. }
  302. })
  303. }
  304. },
  305. methods: {
  306. //确认进场时间
  307. timeconfirm(e){
  308. this.form.approachTime = e.year+'-'+e.month+'-'+e.day
  309. },
  310. //确认属性
  311. shuxingConfirm(e) {
  312. this.form.projectName = e[0].label
  313. },
  314. getShuXingList() {
  315. let data = {
  316. type: '项目甲方'
  317. }
  318. this.$Request.get('/app/dict/list', data).then(res => {
  319. if (res.code == 0) {
  320. if (res.data.length > 0) {
  321. var arr = []
  322. res.data.forEach(d => {
  323. var data = {}
  324. data.label = d.value;
  325. data.value = d.id;
  326. arr.push(data)
  327. });
  328. this.shuxingList = arr
  329. this.shuxingShow = true
  330. }
  331. }
  332. })
  333. },
  334. //删除项目类型/项目福利
  335. removeLable(list, index) {
  336. list.splice(index, 1)
  337. },
  338. //选择项目福利
  339. projectFllistConfirm(e) {
  340. console.log(e[0].label, this.projectAward)
  341. let data = e[0].label
  342. var flag = false;
  343. if (this.projectAward.length > 0) {
  344. this.projectAward.forEach(d => {
  345. if (d == data) {
  346. uni.showToast({
  347. title: '该福利已添加,不能重复添加!',
  348. icon: 'none'
  349. })
  350. flag = true;
  351. }
  352. })
  353. if (!flag) {
  354. this.projectAward.push(data)
  355. }
  356. } else {
  357. this.projectAward.push(data)
  358. }
  359. },
  360. // 获取项目福利列表
  361. getFlList() {
  362. let data = {
  363. type: '项目福利'
  364. }
  365. this.$Request.get('/app/dict/list', data).then(res => {
  366. if (res.code == 0) {
  367. if (res.data.length > 0) {
  368. var arr = []
  369. res.data.forEach(d => {
  370. var data = {}
  371. data.label = d.value;
  372. data.value = d.id;
  373. arr.push(data)
  374. });
  375. this.list = arr
  376. this.flshow = true
  377. }
  378. }
  379. })
  380. },
  381. //添加项目类型
  382. getType(index) {
  383. let type = ''
  384. if (index == '项目类型') {
  385. type = index
  386. }
  387. let data = {
  388. type: type
  389. }
  390. this.$Request.get('/app/dict/list', data).then(res => {
  391. if (res.code == 0) {
  392. if (res.data.length > 0) {
  393. var arr = []
  394. res.data.forEach(d => {
  395. var data = {}
  396. data.label = d.value;
  397. data.value = d.id;
  398. arr.push(data)
  399. });
  400. this.projectTypelist = arr
  401. this.projectTypeShow = true
  402. }
  403. }
  404. })
  405. },
  406. projectTypelistConfirm(e) {
  407. this.form.projectType = e[0].label
  408. },
  409. // 编辑岗位
  410. bianjiList(item, index) {
  411. uni.navigateTo({
  412. url: '/my/publish/gangw?postDetailsList=' + JSON.stringify(item) + '&index=' + index +
  413. '&classify=' + this.form.classify
  414. })
  415. },
  416. //岗位删除
  417. deteList(index) {
  418. this.form.postDetailsList.splice(index, 1)
  419. uni.setStorageSync('postDetailsList', this.form.postDetailsList)
  420. if (this.form.postDetailsList.length > 0) {
  421. this.form.postDetailsList.forEach(d => {
  422. if (this.form.classify == 2) {
  423. d.money = d.postPeopleNum * d.price
  424. let num = 0
  425. num += Number(d.money)
  426. this.totalprice = num
  427. } else if (this.form.classify == 1) {
  428. d.money = d.customizationPrice
  429. let num = 0
  430. num += Number(d.money)
  431. this.totalprice = num
  432. }
  433. })
  434. } else {
  435. this.totalprice = 0
  436. }
  437. },
  438. //添加项目福利
  439. openType(index) {
  440. if (index == 1) {
  441. this.getType('项目类型')
  442. } else if (index == 2) {
  443. this.state = index
  444. this.show = true
  445. }
  446. },
  447. cityConfirm(e) {
  448. // this.form.address = e.province.label + '' + e.city.label + '' + e.area.label
  449. this.form.address = e.province.label + '' + e.city.label + '' + e.area.label
  450. // console.log(e, this.form.address)
  451. },
  452. addGw() {
  453. uni.navigateTo({
  454. url: '/my/publish/gangw?classify=' + this.form.classify
  455. })
  456. },
  457. save() {
  458. if (this.state == 1) {
  459. this.projectType.push(this.typeName)
  460. } else if (this.state == 2) {
  461. this.projectAward.push(this.typeName)
  462. }
  463. this.typeName = ''
  464. this.show = false
  465. },
  466. paysubmitSave() {
  467. this.$Request.postJson('/app/postPush/insertPostPush', this.form).then(ret => {
  468. if (ret.code == 0) {
  469. uni.removeStorageSync('postDetailsList')
  470. uni.showToast({
  471. title: '提交成功',
  472. })
  473. this.submitShow = false
  474. setTimeout(() => {
  475. uni.redirectTo({
  476. url: '/my/order/index?index=1'
  477. })
  478. }, 1000)
  479. } else {
  480. uni.showToast({
  481. title: ret.msg,
  482. icon: 'error'
  483. })
  484. }
  485. })
  486. },
  487. submit() {
  488. this.form.projectAward = this.projectAward
  489. this.form.projectAward = this.form.projectAward.toString()
  490. if (!this.form.address) {
  491. uni.showToast({
  492. title: '请选择省市',
  493. icon: 'none'
  494. })
  495. return
  496. }
  497. if (!this.form.projectName) {
  498. uni.showToast({
  499. title: '请选择甲方性质',
  500. icon: 'none'
  501. })
  502. return
  503. }
  504. if (!this.form.projectType) {
  505. uni.showToast({
  506. title: '请添加项目类型',
  507. icon: 'none'
  508. })
  509. return
  510. }
  511. if (!this.form.projectDayNum) {
  512. uni.showToast({
  513. title: '请填写项目工期',
  514. icon: 'none'
  515. })
  516. return
  517. }
  518. if (!this.form.email) {
  519. uni.showToast({
  520. title: '请填写电子邮箱',
  521. icon: 'none'
  522. })
  523. return
  524. }
  525. if (!this.form.approachTime) {
  526. uni.showToast({
  527. title: '请选择进场时间',
  528. icon: 'none'
  529. })
  530. return
  531. }
  532. if (!this.form.projectAward) {
  533. uni.showToast({
  534. title: '请填写项目福利',
  535. icon: 'none'
  536. })
  537. return
  538. }
  539. if (!this.projectAward) {
  540. uni.showToast({
  541. title: '请添加项目福利',
  542. icon: 'none'
  543. })
  544. return
  545. }
  546. if (this.form.postDetailsList.length == 0) {
  547. uni.showToast({
  548. title: '请添加岗位',
  549. icon: 'none'
  550. })
  551. return
  552. }
  553. if (!this.form.projectPrincipalName) {
  554. uni.showToast({
  555. title: '请填写联系人',
  556. icon: 'none'
  557. })
  558. return
  559. }
  560. if (!this.form.projectPrincipalPhone) {
  561. uni.showToast({
  562. title: '请填写电话',
  563. icon: 'none'
  564. })
  565. return
  566. }
  567. this.submitShow = true
  568. }
  569. }
  570. }
  571. </script>
  572. <style lang="less">
  573. page {
  574. background: #F2F2F2;
  575. }
  576. .submitShow {
  577. width: 100%;
  578. height: 100%;
  579. display: flex;
  580. justify-content: center;
  581. }
  582. .submitShow-box {
  583. width: 628rpx;
  584. height: 100%;
  585. }
  586. .submitShow-box-title {
  587. width: 100%;
  588. height: 100rpx;
  589. border-bottom: 1rpx solid #EEEEEE;
  590. display: flex;
  591. justify-content: center;
  592. align-items: center;
  593. position: relative;
  594. }
  595. .submitShow-box-title-close {
  596. font-size: 28rpx;
  597. color: #999999;
  598. font-weight: bold;
  599. position: absolute;
  600. left: 0;
  601. top: 50%;
  602. transform: translate(0, -50%);
  603. }
  604. .submitShow-box-title-text {
  605. font-size: 32rpx;
  606. color: #191919;
  607. font-weight: 800;
  608. }
  609. .submitShow-box-item {
  610. width: 100%;
  611. display: flex;
  612. justify-content: space-between;
  613. align-items: center;
  614. margin-top: 45rpx;
  615. }
  616. .submitShow-box-item-l {
  617. color: #191919;
  618. font-size: 28rpx;
  619. }
  620. .submitShow-box-item-r {
  621. color: #191919;
  622. font-size: 24rpx;
  623. font-weight: 800;
  624. }
  625. .submitShow-box-submit {
  626. width: 100%;
  627. height: 88rpx;
  628. display: flex;
  629. justify-content: center;
  630. align-items: center;
  631. background-color: #82A9FE;
  632. border-radius: 4rpx;
  633. margin-top: 40rpx;
  634. color: #FFFFFF;
  635. font-size: 32rpx;
  636. font-weight: bold;
  637. margin-bottom: 30rpx;
  638. }
  639. .bg {
  640. background-color: #FFFFFF;
  641. border-radius: 24upx;
  642. }
  643. .submit {
  644. display: flex;
  645. align-items: center;
  646. justify-content: space-between;
  647. height: 90upx;
  648. background: #FFFFFF;
  649. // border-radius: 16upx;
  650. color: #000;
  651. position: fixed;
  652. bottom: 0;
  653. left: 0;
  654. right: 0;
  655. z-index: 99;
  656. }
  657. .subbtn {
  658. width: 25%;
  659. background: #82A9FE;
  660. color: #FFFFFF;
  661. text-align: center;
  662. height: 90upx;
  663. line-height: 90upx;
  664. }
  665. .btn {
  666. background: #82A9FE;
  667. border-radius: 12upx;
  668. color: #FFFFFF;
  669. text-align: center;
  670. margin: 60upx 30upx;
  671. padding: 21upx 0upx;
  672. }
  673. .label {
  674. background: #E8EFFF;
  675. border-radius: 4upx;
  676. color: #82A9FE;
  677. display: inline-flex;
  678. padding: 14upx 23upx;
  679. }
  680. </style>