customerDetails.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. <template>
  2. <view :class="mask ? 'tl-show': ''">
  3. <!-- <u-navbar :title="title" :autoBack="true" :placeholder="true" leftIconColor="#fff"
  4. :titleStyle="{ color: '#ffffff' }" bgColor="#FD4B09">
  5. <template slot="right">
  6. <u-icon name="checkmark" color="#fff" @click="submit"></u-icon>
  7. </template>
  8. </u-navbar> -->
  9. <u-cell-group :border="false">
  10. <u-cell :border="false" center title="基础信息"></u-cell>
  11. </u-cell-group>
  12. <u--form labelPosition="left" :model="form" ref="form" labelWidth="150rpx"
  13. style="margin-top: 10rpx;margin-bottom: 150rpx;">
  14. <view style="width: calc(96%);margin: 0 auto;background-color: #fff;border-radius: 20rpx;">
  15. <view style="padding: 0 10rpx;">
  16. <u-form-item label="公司名称" prop="cname" borderBottom>
  17. <u-input v-model="form.cname" inputAlign="right" border="none" placeholder="请输入" />
  18. </u-form-item>
  19. <u-form-item label="联系人" prop="cname" borderBottom>
  20. <u-input v-model="form.attn" inputAlign="right" border="none" placeholder="请输入" />
  21. </u-form-item>
  22. <u-form-item label="联系电话" prop="cname" borderBottom>
  23. <u-input v-model="form.tel" inputAlign="right" border="none" placeholder="请输入" />
  24. </u-form-item>
  25. <u-form-item label="地址" labelWidth="80rpx" :borderBottom="false"
  26. @click="filterAll(['corpsAddrList','corpsAddrList'])">
  27. ({{form.corpsAddrList.length}})
  28. <u-input border="none" inputAlign="right" suffixIcon="plus-circle" disabled
  29. disabledColor="#ffffff" />
  30. </u-form-item>
  31. <u-cell-group :border="false">
  32. <u-swipe-action>
  33. <u-swipe-action-item :options="options" v-for="(item,index) in form.corpsAddrList"
  34. :key="index" @click="address(index)">
  35. <u-cell @click="change(item,index)" :iconStyle="{ color: '#fd4b09' }" :titleStyle="{
  36. width:'550rpx',
  37. overflow:'hidden',
  38. whiteSpace: 'nowrap',
  39. textOverflow: 'ellipsis',
  40. oTextOverflow:'ellipsis'
  41. }" :icon="item.addrType == 0?'map':'car'" :title="item.detailedAddress" :isLink="true"
  42. :borderBottom="form.corpsAddrList.length-1 == index?false:true">
  43. </u-cell>
  44. </u-swipe-action-item>
  45. </u-swipe-action>
  46. </u-cell-group>
  47. </view>
  48. </view>
  49. <u-cell-group :border="false">
  50. <u-cell :border="false" center title="类别信息" :arrow-direction="category==false?'up':'down'"
  51. :value="category==false?'展开':'收起'" :isLink="true" @click="category = !category"></u-cell>
  52. </u-cell-group>
  53. <view style="width: calc(96%);margin: 0 auto;background-color: #fff;border-radius: 20rpx;">
  54. <view style="padding: 0 10rpx;">
  55. <u-form-item label="供应商类别" labelWidth="160rpx" :borderBottom="category==false?false:true"
  56. @click="filterAll(['corpsTypeName','corpsTypeId'])">
  57. <u-input v-model="form.corpsTypeName" inputAlign="right" border="none" placeholder="请选择"
  58. disabled disabledColor="#ffffff">
  59. <template slot="suffix" style="text-align: center;">
  60. <u-icon name="plus-circle" size="18" @click.native.stop="newCategory()"></u-icon>
  61. </template>
  62. </u-input>
  63. </u-form-item>
  64. <view v-if="category">
  65. <u-form-item label="供应商标签1" prop="mailbox" borderBottom labelWidth="180rpx">
  66. <u-input v-model="form.labels[0]" inputAlign="right" border="none" placeholder="请输入" />
  67. </u-form-item>
  68. <u-form-item label="供应商标签2" prop="mailbox" labelWidth="180rpx" borderBottom>
  69. <u-input v-model="form.labels[1]" inputAlign="right" border="none" placeholder="请输入" />
  70. </u-form-item>
  71. <u-form-item label="供应商标签3" prop="mailbox" labelWidth="180rpx" borderBottom>
  72. <u-input v-model="form.labels[2]" inputAlign="right" border="none" placeholder="请输入" />
  73. </u-form-item>
  74. <u-form-item label="供应商标签4" prop="mailbox" labelWidth="180rpx" :borderBottom="false">
  75. <u-input v-model="form.labels[3]" inputAlign="right" border="none" placeholder="请输入" />
  76. </u-form-item>
  77. </view>
  78. </view>
  79. </view>
  80. <u-cell-group :border="false">
  81. <u-cell :border="false" center title="商务信息" :arrow-direction="customer==false?'up':'down'"
  82. :value="customer==false?'展开':'收起'" :isLink="true" @click="customer = !customer"></u-cell>
  83. </u-cell-group>
  84. <view style="width: calc(96%);margin: 0 auto;background-color: #fff;border-radius: 20rpx;" v-if="customer">
  85. <view style="padding: 0 10rpx;">
  86. <u-form-item label="供应商经理" labelWidth="160rpx" prop="mailbox" borderBottom>
  87. <u-input v-model="form.adminProfiles" inputAlign="right" border="none" placeholder="请输入" />
  88. </u-form-item>
  89. <u-form-item label="预付款" prop="mailbox" borderBottom>
  90. <u-input v-model="form.creditGrant" inputAlign="right" border="none" placeholder="请输入" />
  91. </u-form-item>
  92. <u-form-item label="欠款额度" prop="mailbox" borderBottom>
  93. <u-input v-model="form.arrears" inputAlign="right" border="none" placeholder="请输入" />
  94. </u-form-item>
  95. <u-form-item label="银行帐号" prop="mailbox" borderBottom>
  96. <u-input v-model="form.accountNo" inputAlign="right" border="none" placeholder="请输入" />
  97. </u-form-item>
  98. <u-form-item label="开户银行" prop="mailbox" :borderBottom="false">
  99. <u-input v-model="form.accountBank" inputAlign="right" border="none" placeholder="请输入" />
  100. </u-form-item>
  101. </view>
  102. </view>
  103. <u-cell-group :border="false">
  104. <u-cell :border="false" center title="图片信息" :arrow-direction="enclosure==false?'up':'down'"
  105. :value="enclosure==false?'展开':'收起'" :isLink="true" @click="enclosure = !enclosure"></u-cell>
  106. </u-cell-group>
  107. <view style="width: calc(96%);margin: 0 auto;background-color: #fff;border-radius: 20rpx;" v-if="enclosure">
  108. <view style="padding: 10rpx 10rpx;">
  109. <u-upload :fileList="fileList1" @afterRead="afterRead" @delete="deletePic" name="1" multiple
  110. :maxCount="10"></u-upload>
  111. </view>
  112. </view>
  113. </u--form>
  114. <view style="width: 100%;position: fixed;bottom: 0;background-color: #fff;">
  115. <view style="width: 96%;;margin: 20rpx auto;">
  116. <u-button @click="submit" type="success" color="#fd4b09" shape="circle" text="确认提交"></u-button>
  117. </view>
  118. </view>
  119. <u-popup :show="show" @close="show = false,mask = false,formTwo = {}" closeable :closeOnClickOverlay="false"
  120. zIndex="10070">
  121. <view style="width: 96%;margin: auto auto;margin-top: 20rpx;padding-bottom: 20rpx;">
  122. <text>添加地址</text>
  123. <!-- <u-divider style="margin-bottom: 10rpx;"></u-divider>
  124. <view style="display: flex;justify-content: space-around;" :key="addrType">
  125. <view style="padding-bottom: 10rpx;" :class="addrType == 0?'selectedAddress':''"
  126. @click="selected(0)">供应商地址</view>
  127. <view style="padding-bottom: 10rpx;" :class="addrType == 1?'selectedAddress':''"
  128. @click="selected(1)">物流地址</view>
  129. </view>
  130. <u-divider style="margin-top: 0rpx;"></u-divider> -->
  131. <u--form labelPosition="left" :model="formTwo" labelWidth="150rpx">
  132. <!-- <u-form-item label="省市区" borderBottom @click="filterAll(['addr','addr'])">
  133. <u-input v-model="formTwo.addr" border="none" placeholder="请选择" suffixIcon="arrow-right"
  134. disabled disabledColor="#ffffff" />
  135. </u-form-item> -->
  136. <u-form-item label="详细地址" borderBottom>
  137. <u-input v-model="formTwo.detailedAddress" border="none" placeholder="请输入">
  138. <template slot="suffix">
  139. <u-button @tap="getMap" type="success" size="mini" icon="map" color="#fd4b09"></u-button>
  140. </template>
  141. </u-input>
  142. </u-form-item>
  143. </u--form>
  144. <view style="display: flex;justify-content: space-between;padding-top: 20rpx;">
  145. <!-- <view style="width: 45%;">
  146. <u-button text="全部清空" type="warning" @click="confirmEmptying"></u-button>
  147. </view> -->
  148. <view style="width: 96%;margin: 0 auto;background-color: red;">
  149. <u-button text="保存" type="primary" @click="confirmSearch" color="#fd4b09"></u-button>
  150. </view>
  151. </view>
  152. </view>
  153. </u-popup>
  154. <u-picker :show="dropDown" ref="uPicker" :defaultIndex="[0,0,0]" :columns="columns" :keyName="keyName"
  155. @cancel="dropDown = false,mask = false" @confirm="confirm" @change="changeHandler">
  156. </u-picker>
  157. </view>
  158. </template>
  159. <script>
  160. import {
  161. urbanAreas,
  162. customerType,
  163. saveChanges,
  164. queryDetail,
  165. removeAddr,
  166. removeFile
  167. } from "@/api/views/customer/index.js"
  168. import http from '@/http/api.js'
  169. import {
  170. clientId,
  171. clientSecret
  172. } from '@/common/setting'
  173. export default {
  174. data() {
  175. return {
  176. form: {
  177. labels: ["", "", "", ""],
  178. corpsAddrList: []
  179. },
  180. customer: false,
  181. enclosure: false,
  182. category: false,
  183. title: "创建供应商",
  184. options: [{
  185. text: '删除',
  186. style: {
  187. backgroundColor: '#fc0107',
  188. }
  189. }],
  190. formTwo: {},
  191. mask: false,
  192. show: false,
  193. dropDown: false,
  194. columns: [],
  195. keyName: "",
  196. addrType: 0,
  197. fileList1: [],
  198. screen: [],
  199. type: false,
  200. iNdex: 0
  201. }
  202. },
  203. onLoad(data) {
  204. if (data.id) {
  205. uni.setNavigationBarTitle({
  206. title: '供应商详情'
  207. })
  208. this.title = "供应商详情"
  209. this.query(data.id)
  210. } else {
  211. uni.setNavigationBarTitle({
  212. title: '创建供应商'
  213. })
  214. this.title = "创建供应商"
  215. }
  216. },
  217. methods: {
  218. getMap() {
  219. let this_ = this
  220. uni.chooseLocation({
  221. success: function(res) {
  222. this_.$set(this_.formTwo, "dimension", res.latitude)
  223. this_.$set(this_.formTwo, "longitude", res.longitude)
  224. this_.$set(this_.formTwo, "detailedAddress", res.address)
  225. }
  226. });
  227. },
  228. change(item, index) {
  229. this.show = true
  230. this.mask = true
  231. this.formTwo = item
  232. this.iNdex = index
  233. this.type = true
  234. // let this_ = this
  235. // uni.chooseLocation({
  236. // success: function (res) {
  237. // this_.$set(this_.form.corpsAddrList[index],"dimension",res.latitude)
  238. // this_.$set(this_.form.corpsAddrList[index],"longitude",res.longitude)
  239. // this_.$set(this_.form.corpsAddrList[index],"detailedAddress",res.address)
  240. // }
  241. // });
  242. },
  243. query(id) {
  244. uni.showLoading({
  245. title: '加载中',
  246. mask: true
  247. });
  248. queryDetail({
  249. id: id
  250. }).then(res => {
  251. this.form = res.data
  252. this.fileList1 = res.data.corpsFiles
  253. this.form.labels = res.data.labels ? res.data.labels.split(',') : []
  254. if (this.form.labels.length < 4) {
  255. for (let item in 4) {
  256. this.form.labels.push("")
  257. }
  258. }
  259. uni.hideLoading();
  260. })
  261. },
  262. //提交
  263. submit() {
  264. if (!this.form.cname) {
  265. return uni.showToast({
  266. title: '供应商名称不能为空',
  267. icon: 'none',
  268. mask: true
  269. });
  270. }
  271. if (!this.form.attn) {
  272. return uni.showToast({
  273. title: '联系人不能为空',
  274. icon: 'none',
  275. mask: true
  276. });
  277. }
  278. if (!this.form.tel) {
  279. return uni.showToast({
  280. title: '电话不能为空',
  281. icon: 'none',
  282. mask: true
  283. });
  284. }
  285. if (this.form.corpsAddrList.length == 0) {
  286. return uni.showToast({
  287. title: '送货地址不能为空',
  288. icon: 'none',
  289. mask: true
  290. });
  291. }
  292. if (!this.form.corpsTypeId) {
  293. return uni.showToast({
  294. title: '供应商类别不能为空',
  295. icon: 'none',
  296. mask: true
  297. });
  298. }
  299. let data = {
  300. ...this.form,
  301. code: this.form.cname,
  302. corpsFiles: this.fileList1
  303. }
  304. data.corpsFiles.forEach(item => delete item.status)
  305. let this_ = this
  306. uni.showModal({
  307. title: '提示',
  308. content: '是否确认保存',
  309. success: function(rest) {
  310. if (rest.confirm == true) {
  311. uni.showLoading({
  312. title: '加载中',
  313. mask: true
  314. });
  315. let labels = []
  316. for (let item of data.labels) {
  317. if (item) {
  318. labels.push(item)
  319. }
  320. }
  321. saveChanges({
  322. ...data,
  323. corpType: "GYS",
  324. labels: labels.join(',')
  325. }).then(res => {
  326. uni.showToast({
  327. icon: "none",
  328. title: '保存成功',
  329. mask: true
  330. });
  331. setTimeout(function() {
  332. this_.query(res.data.id)
  333. }, 1000);
  334. uni.hideLoading();
  335. })
  336. }
  337. }
  338. })
  339. },
  340. newCategory(){
  341. uni.$u.route('/pages/views/product/customerType',{
  342. corpType:'GYS'
  343. });
  344. },
  345. //集合筛选条件
  346. filterAll(screen) {
  347. this.screen = screen
  348. switch (screen[1]) {
  349. case "corpsAddrList":
  350. this.show = true
  351. this.mask = true
  352. break;
  353. case "corpsTypeId":
  354. this.mask = true
  355. customerType({
  356. corpType: 'GYS',
  357. parentId: 0
  358. }).then(res => {
  359. this.columns = [res.data]
  360. if (res.data.length > 0) {
  361. if (res.data[0].hasChildren == true) {
  362. customerType({
  363. corpType: 'GYS',
  364. parentId: res.data[0].id
  365. }).then(rest => {
  366. this.columns.push(rest.data)
  367. this.dropDown = true
  368. this.keyName = "title"
  369. })
  370. } else {
  371. this.dropDown = true
  372. this.keyName = "title"
  373. }
  374. }
  375. })
  376. break;
  377. case "addr":
  378. uni.showLoading({
  379. title: '加载中',
  380. mask: true
  381. });
  382. urbanAreas({
  383. parentCode: "00"
  384. }).then(res => {
  385. this.columns = [res.data]
  386. urbanAreas({
  387. parentCode: res.data[0].id
  388. }).then(rest => {
  389. this.columns.push(rest.data)
  390. urbanAreas({
  391. parentCode: rest.data[0].id
  392. }).then(resth => {
  393. this.columns.push(resth.data)
  394. this.dropDown = true
  395. this.keyName = "name"
  396. uni.hideLoading();
  397. })
  398. })
  399. })
  400. this.show = true
  401. this.mask = true
  402. break;
  403. }
  404. },
  405. changeHandler(e) {
  406. const {
  407. columnIndex,
  408. index,
  409. // 微信小程序无法将picker实例传出来,只能通过ref操作
  410. picker = this.$refs.uPicker
  411. } = e
  412. if (this.screen[1] == "corpsTypeId") {
  413. if(e.value[e.columnIndex].hasChildren){
  414. if (e.columnIndex == 0) {
  415. uni.showLoading({
  416. title: '加载中',
  417. mask: true
  418. });
  419. customerType({
  420. corpType: 'GYS',
  421. parentId: e.value[e.columnIndex].id
  422. }).then(res => {
  423. picker.setColumnValues(1, res.data)
  424. if (res.data[0].hasChildren == true) {
  425. customerType({
  426. corpType: 'GYS',
  427. parentId: res.data[0].id
  428. }).then(rest => {
  429. picker.setColumnValues(2, rest.data)
  430. uni.hideLoading();
  431. })
  432. } else {
  433. uni.hideLoading();
  434. }
  435. })
  436. }
  437. if (e.columnIndex == 1) {
  438. uni.showLoading({
  439. title: '加载中',
  440. mask: true
  441. });
  442. customerType({
  443. corpType: 'GYS',
  444. parentId: e.value[e.columnIndex].id
  445. }).then(res => {
  446. picker.setColumnValues(2, res.data)
  447. uni.hideLoading();
  448. })
  449. }
  450. }
  451. }
  452. if (this.screen[1] == "addr") {
  453. if (e.columnIndex == 0) {
  454. uni.showLoading({
  455. title: '加载中',
  456. mask: true
  457. });
  458. urbanAreas({
  459. parentCode: e.value[e.columnIndex].id
  460. }).then(rest => {
  461. picker.setColumnValues(1, rest.data)
  462. urbanAreas({
  463. parentCode: rest.data[0].id
  464. }).then(resth => {
  465. picker.setColumnValues(2, resth.data)
  466. uni.hideLoading();
  467. })
  468. })
  469. }
  470. if (e.columnIndex == 1) {
  471. uni.showLoading({
  472. title: '加载中',
  473. mask: true
  474. });
  475. urbanAreas({
  476. parentCode: e.value[e.columnIndex].id
  477. }).then(rest => {
  478. picker.setColumnValues(2, rest.data)
  479. uni.hideLoading();
  480. })
  481. }
  482. }
  483. },
  484. // 确认选中
  485. confirm(e) {
  486. if (this.screen[1] == "addr") {
  487. this.formTwo.addr = e.value[0].name + e.value[1].name + e.value[2].name
  488. } else if (this.screen[1] == "corpsTypeId") {
  489. this.form[this.screen[0]] = e.value[e.values.length-1].title
  490. this.form[this.screen[1]] = e.value[e.values.length-1].id
  491. } else {
  492. this.formTwo[this.screen[0]] = e.value[0].cname
  493. this.formTwo[this.screen[1]] = e.value[0].id
  494. }
  495. this.dropDown = false
  496. this.mask = false
  497. this.columns = []
  498. },
  499. //删除地址
  500. address(index) {
  501. let this_ = this
  502. uni.showModal({
  503. title: '提示',
  504. content: '是否确认删除',
  505. success: function(rest) {
  506. if (rest.confirm == true) {
  507. if (this_.form.corpsAddrList[index].id) {
  508. uni.showLoading({
  509. title: '加载中',
  510. mask: true
  511. });
  512. removeAddr({
  513. ids: this_.form.corpsAddrList[index].id
  514. }).then(res => {
  515. this_.form.corpsAddrList.splice(index, 1);
  516. uni.hideLoading();
  517. })
  518. } else {
  519. this_.form.corpsAddrList.splice(index, 1);
  520. }
  521. }
  522. }
  523. })
  524. },
  525. //切换地址信息
  526. selected(type) {
  527. // this.addrType = type
  528. this.$set(this, 'addrType', type)
  529. this.formTwo = {}
  530. },
  531. //保存地址
  532. confirmSearch() {
  533. if (!this.formTwo.detailedAddress) {
  534. return uni.showToast({
  535. title: '请输入详细地址',
  536. icon: 'none',
  537. mask: true
  538. });
  539. }
  540. if (this.type) {
  541. this.form.corpsAddrList[this.iNdex] = {
  542. ...this.formTwo,
  543. type: this.addrType
  544. }
  545. this.type = false
  546. } else {
  547. this.form.corpsAddrList.push({
  548. ...this.formTwo,
  549. type: this.addrType
  550. })
  551. }
  552. this.formTwo = {}
  553. this.addrType = 0
  554. this.show = false
  555. this.mask = false
  556. },
  557. // 删除图片
  558. deletePic(event) {
  559. let this_ = this
  560. uni.showModal({
  561. title: '提示',
  562. content: '是否确认删除',
  563. success: function(rest) {
  564. if (rest.confirm == true) {
  565. if (this_[`fileList${event.name}`][event.index].id) {
  566. removeFile({
  567. ids: this_[`fileList${event.name}`][event.index].id
  568. }).then(res => {
  569. this_[`fileList${event.name}`].splice(event.index, 1)
  570. })
  571. } else {
  572. this_[`fileList${event.name}`].splice(event.index, 1)
  573. }
  574. }
  575. }
  576. })
  577. },
  578. // 新增图片
  579. async afterRead(event) {
  580. // 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
  581. let lists = [].concat(event.file)
  582. let fileListLen = this[`fileList${event.name}`].length
  583. lists.map((item) => {
  584. this[`fileList${event.name}`].push({
  585. ...item,
  586. status: 'uploading',
  587. message: '上传中'
  588. })
  589. })
  590. for (let i = 0; i < lists.length; i++) {
  591. const result = await this.uploadFilePromise(lists[i].url)
  592. let item = this[`fileList${event.name}`][fileListLen]
  593. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  594. status: 'success',
  595. sort: this.fileList1.length,
  596. fileName: JSON.parse(result).data.originalName,
  597. url: JSON.parse(result).data.link
  598. }))
  599. fileListLen++
  600. }
  601. },
  602. uploadFilePromise(url) {
  603. return new Promise((resolve, reject) => {
  604. let a = uni.uploadFile({
  605. url: http.config.baseURL +
  606. '/blade-resource/oss/endpoint/put-file', // 仅为示例,非真实的接口地址
  607. filePath: url,
  608. name: 'file',
  609. formData: {
  610. user: 'test'
  611. },
  612. header: {
  613. // 供应商端认证参数
  614. 'Authorization': 'Basic ' + Base64.encode(clientId + ':' + clientSecret),
  615. 'Blade-Auth': 'bearer ' + uni.getStorageSync('accessToken')
  616. },
  617. success: (res) => {
  618. setTimeout(() => {
  619. resolve(res.data)
  620. }, 1000)
  621. }
  622. });
  623. })
  624. },
  625. }
  626. }
  627. </script>
  628. <style lang="scss" scoped>
  629. .tl-show {
  630. overflow: hidden;
  631. position: fixed;
  632. height: 100%;
  633. width: 100%;
  634. }
  635. ::v-deep .u-cell__body {
  636. padding: 0rpx 25rpx;
  637. margin: 10rpx 0;
  638. }
  639. ::v-deep .u-cell__title-text {
  640. color: #244e96;
  641. }
  642. ::v-deep .u-form-item__body__left__content__label {
  643. color: #fd4b09;
  644. }
  645. .selectedAddress {
  646. border-bottom: 1rpx solid #fd4b09;
  647. color: #fd4b09;
  648. }
  649. </style>