processstore.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. <template>
  2. <view class="process">
  3. <view class="process-header">
  4. <view class="process-header-text">
  5. <view class="process-header-text-neishi" @click="topgi">
  6. <view class="process-header-text-icon">
  7. <image src="https://cdn.bjtdba.com/vod/image/2022-08-11/20220811133828415.png" mode="widthFix">
  8. </image>
  9. </view>
  10. </view>
  11. <view class="process-header-text-title">
  12. 店铺入驻
  13. </view>
  14. </view>
  15. </view>
  16. <view class="process-zhuti">
  17. <view class="process-zhuti-yi">
  18. <view class="process-zhuti-yi-text">
  19. 店铺LOGO
  20. </view>
  21. <view class="process-zhuti-yi-upload" @click="storeLogo">
  22. <image v-if="merchantsInStore.logo" :src="merchantsInStore.logo" mode=""></image>
  23. <image v-else src="https://cdn.bjtdba.com/vod/image/2022-08-22/20220822172529458.png" mode=""></image>
  24. </view>
  25. </view>
  26. <view class="process-zhuti-yi">
  27. <view class="process-zhuti-yi-text">
  28. 门店简称
  29. </view>
  30. <view class="process-zhuti-yi-input">
  31. <input placeholder="请填写门店简称" v-model="merchantsInStore.mer_short_name">
  32. </view>
  33. </view>
  34. <view class="process-zhuti-yi">
  35. <view class="process-zhuti-yi-text">
  36. 门店简介
  37. </view>
  38. <view class="process-zhuti-yi-input">
  39. <input placeholder="请填写门店简介" v-model="merchantsInStore.mark">
  40. </view>
  41. </view>
  42. <view class="process-zhuti-yi">
  43. <view class="process-zhuti-yi-text">
  44. 门店分类
  45. </view>
  46. <view class="process-zhuti-yi-input">
  47. <picker class="process-zhuti-yi-picker" @change="changeStoretype" :value="storeTypeindex" :range="storeTypeData" :range-key="'category_name'">
  48. <view v-if="storeTypeindex === null" class="uni-input int-col">请选择门店分类</view>
  49. <view v-else class="uni-input">{{storeTypeData[storeTypeindex].category_name}}</view>
  50. </picker>
  51. <!-- <view class="back-combox">
  52. <view class="back-combox__input-box">
  53. <input class="back-combox__input" placeholder="请选择门店分类" disabled v-model="storeType.category_name" @click="showSelector = true" />
  54. </view>
  55. <view class="back-combox__selector" v-if="showSelector">
  56. <view class="back-popper__arrow"></view>
  57. <scroll-view scroll-y="true" class="back-combox__selector-scroll">
  58. <view class="back-combox__selector-item" v-for="(item,index) in storeTypeData" :key="index" @click="onSelectorClick(item)">
  59. <text>{{item.category_name}}</text>
  60. </view>
  61. </scroll-view>
  62. </view>
  63. </view> -->
  64. </view>
  65. </view>
  66. <view class="process-zhuti-yi">
  67. <view class="process-zhuti-yi-text">
  68. 选择省份
  69. </view>
  70. <view class="process-zhuti-yi-input">
  71. <picker class="process-zhuti-yi-picker" @change="changeProvince" :value="provinceListindex" :range="provinceList" :range-key="'name'">
  72. <view v-if="provinceListindex === null" class="uni-input int-col">请选择省份</view>
  73. <view v-else class="uni-input">{{provinceList[provinceListindex].name}}</view>
  74. </picker>
  75. </view>
  76. </view>
  77. <view class="process-zhuti-yi">
  78. <view class="process-zhuti-yi-text">
  79. 选择城市
  80. </view>
  81. <view class="process-zhuti-yi-input">
  82. <picker class="process-zhuti-yi-picker" @change="changeCity" :value="cityListindex" :range="cityList" :range-key="'name'">
  83. <view v-if="cityListindex === null" class="uni-input int-col">请选择城市</view>
  84. <view v-else class="uni-input">{{cityList[cityListindex].name}}</view>
  85. </picker>
  86. </view>
  87. </view>
  88. <view class="process-zhuti-yi">
  89. <view class="process-zhuti-yi-text">
  90. 选择区
  91. </view>
  92. <view class="process-zhuti-yi-input">
  93. <picker class="process-zhuti-yi-picker" @change="changeArea" :value="areaListindex" :range="areaList" :range-key="'name'">
  94. <view v-if="areaListindex === null" class="uni-input int-col">请选择区</view>
  95. <view v-else class="uni-input">{{areaList[areaListindex].name}}</view>
  96. </picker>
  97. </view>
  98. </view>
  99. <view class="process-zhuti-yi">
  100. <view class="process-zhuti-yi-text">
  101. 选择街道
  102. </view>
  103. <view class="process-zhuti-yi-input">
  104. <picker class="process-zhuti-yi-picker" @change="changeStreet" :value="streetListindex" :range="streetList" :range-key="'name'">
  105. <view v-if="streetListindex === null" class="uni-input int-col">请选择街道</view>
  106. <view v-else class="uni-input">{{streetList[streetListindex].name}}</view>
  107. </picker>
  108. </view>
  109. </view>
  110. <view class="process-zhuti-yi">
  111. <view class="process-zhuti-yi-text">
  112. 详细地址
  113. </view>
  114. <view class="process-zhuti-yi-input">
  115. <input placeholder="请填写详细地址" v-model="merchantsInStore.addr">
  116. </view>
  117. </view>
  118. </view>
  119. <view class="process-zhuti-btnbox">
  120. <view class="process-zhuti-btn backbtn" @click="backStep()">
  121. 上一步
  122. </view>
  123. <view :class="[btnBir ? 'btn-bir' : '', 'process-zhuti-btn' ]" @click=" btnBir ? nextStep() : '' ">
  124. 下一步
  125. </view>
  126. </view>
  127. </view>
  128. </template>
  129. <script>
  130. import { addressList, selectMerchantSort } from '@/commit/api.js';
  131. import { mapGetters } from 'vuex'
  132. export default {
  133. data() {
  134. return {
  135. merchantsInStore: {
  136. logo: '', // 店铺logoURL
  137. mer_short_name: '', // 门店简称
  138. mark: '', // 门店简介
  139. cate_id: '', // 门店分类
  140. province_id: 0, // 省ID
  141. city_id: 0, // 市ID
  142. area_id: 0, // 区ID
  143. street_id: 0, // 街道ID
  144. addr: '', // 详细地址
  145. },
  146. showSelector: false,
  147. storeTypeData: [],
  148. storeTypeindex: null,
  149. storeType: {},
  150. value: 0,
  151. addressData: [], //城市区列表
  152. provinceList:[{name:'暂无数据'}],
  153. provinceListindex: null,
  154. cityList:[{name:'暂无数据'}],
  155. cityListindex: null,
  156. areaList:[{name:'暂无数据'}],
  157. areaListindex: null,
  158. streetList:[{name:'暂无数据'}],
  159. streetListindex: null,
  160. btnBir: false,
  161. nextMerchantsData: {},
  162. merchantsPass: false
  163. }
  164. },
  165. onLoad(opsition) {
  166. const fanxian = uni.getStorageSync('merchants_in_store');
  167. const merchantsDataAll = this.merchantsDataAlls.merchantsDataAll;
  168. if(JSON.stringify(merchantsDataAll)!="{}"){
  169. // 获取门店分类反显
  170. selectMerchantSort().then(res => {
  171. if(res.data.status==200){
  172. this.storeTypeData = res.data.data.merchantCategory;
  173. this.storeTypeData.filter((item,index) => {
  174. if(item.merchant_category_id == merchantsDataAll.cate_id){
  175. return this.storeTypeindex = index
  176. }
  177. })
  178. }
  179. }, fail => {
  180. console.log(fail)
  181. })
  182. // 获取省市区街道反显
  183. addressList({id:1}).then(res => {
  184. if(res.data.status==200){
  185. this.provinceList = res.data.data.addressList;
  186. this.provinceListindex = Number(merchantsDataAll.provinceMap.index);
  187. addressList({id:2, code: merchantsDataAll.province_id}).then(res => {
  188. if(res.data.status==200){
  189. this.cityList = res.data.data.addressList;
  190. this.cityListindex = Number(merchantsDataAll.cityMap.index);
  191. addressList({id:3, code: merchantsDataAll.city_id}).then(res => {
  192. if(res.data.status==200){
  193. this.areaList = res.data.data.addressList;
  194. this.areaListindex = Number(merchantsDataAll.areaMap.index);
  195. addressList({id:4, code: merchantsDataAll.area_id}).then(res => {
  196. if(res.data.status==200){
  197. this.streetList = res.data.data.addressList;
  198. this.streetListindex = Number(merchantsDataAll.streetMap.index);
  199. }
  200. }, fail => {
  201. console.log(fail)
  202. })
  203. }
  204. }, fail => {
  205. console.log(fail)
  206. })
  207. }
  208. }, fail => {
  209. console.log(fail)
  210. })
  211. }
  212. }, fail => {
  213. console.log(fail)
  214. })
  215. // this.merchantsInStore = this.nextMerchantsData;
  216. this.merchantsInStore.logo = merchantsDataAll.logo; // 店铺logoURL
  217. this.merchantsInStore.mer_short_name = merchantsDataAll.mer_short_name;// 门店简称
  218. this.merchantsInStore.mark = merchantsDataAll.mark; // 门店简介
  219. this.merchantsInStore.cate_id = merchantsDataAll.cate_id; // 门店分类
  220. this.merchantsInStore.province_id = merchantsDataAll.province_id; // 省ID
  221. this.merchantsInStore.city_id = merchantsDataAll.city_id; // 市ID
  222. this.merchantsInStore.area_id = merchantsDataAll.area_id; // 区ID
  223. this.merchantsInStore.street_id = merchantsDataAll.street_id; // 街道ID
  224. this.merchantsInStore.addr = merchantsDataAll.addr; // 详细地址
  225. // this.merchantsPass = true;
  226. }else if(fanxian){
  227. // 获取门店分类反显
  228. selectMerchantSort().then(res => {
  229. if(res.data.status==200){
  230. this.storeTypeData = res.data.data.merchantCategory;
  231. this.storeTypeData.filter((item,index) => {
  232. if(item.merchant_category_id == fanxian.cate_id){
  233. return this.storeTypeindex = index
  234. }
  235. })
  236. }
  237. }, fail => {
  238. console.log(fail)
  239. })
  240. // 获取省市区街道反显
  241. addressList({id:1}).then(res => {
  242. if(res.data.status==200){
  243. this.provinceList = res.data.data.addressList;
  244. this.provinceList.filter((item,index) => {
  245. if(item.code == fanxian.province_id){
  246. return this.provinceListindex = index
  247. }
  248. })
  249. addressList({id:2, code: fanxian.province_id}).then(res => {
  250. if(res.data.status==200){
  251. this.cityList = res.data.data.addressList;
  252. this.cityList.filter((item,index) => {
  253. if(item.code == fanxian.city_id){
  254. return this.cityListindex = index
  255. }
  256. })
  257. addressList({id:3, code: fanxian.city_id}).then(res => {
  258. if(res.data.status==200){
  259. this.areaList = res.data.data.addressList;
  260. this.areaList.filter((item,index) => {
  261. if(item.code == fanxian.area_id){
  262. return this.areaListindex = index
  263. }
  264. })
  265. addressList({id:4, code: fanxian.area_id}).then(res => {
  266. if(res.data.status==200){
  267. this.streetList = res.data.data.addressList;
  268. this.streetList.filter((item,index) => {
  269. if(item.code == fanxian.street_id){
  270. return this.streetListindex = index
  271. }
  272. })
  273. }
  274. }, fail => {
  275. console.log(fail)
  276. })
  277. }
  278. }, fail => {
  279. console.log(fail)
  280. })
  281. }
  282. }, fail => {
  283. console.log(fail)
  284. })
  285. }
  286. }, fail => {
  287. console.log(fail)
  288. })
  289. this.merchantsInStore = fanxian;
  290. }else{
  291. // 获取门店分类
  292. selectMerchantSort().then(res => {
  293. if(res.data.status==200){
  294. this.storeTypeData = res.data.data.merchantCategory;
  295. }
  296. }, fail => {
  297. console.log(fail)
  298. })
  299. // 获取省
  300. addressList({id:1}).then(res => {
  301. if(res.data.status==200){
  302. this.provinceList = res.data.data.addressList;
  303. }
  304. }, fail => {
  305. console.log(fail)
  306. })
  307. }
  308. },
  309. onShow(){
  310. },
  311. computed:{
  312. ...mapGetters(['merchantsDataAlls'])
  313. },
  314. watch: {
  315. merchantsInStore:{
  316. handler: function(val) {
  317. this.isShow(val)
  318. },
  319. deep: true
  320. }
  321. },
  322. methods: {
  323. topgi(){
  324. uni.navigateBack({
  325. delta:1
  326. });
  327. },
  328. isShow(list) {
  329. let temp = true
  330. if(list){
  331. for(let i in list){
  332. if(list[i] == "" || list[i] == null){
  333. temp = false
  334. }
  335. }
  336. }
  337. this.btnBir = temp
  338. },
  339. // 店铺logoURL
  340. storeLogo(){
  341. let that = this;
  342. that.$time.uploadPictures(res => {
  343. that.merchantsInStore.logo = res;
  344. });
  345. },
  346. // 选择门店分类
  347. // onSelectorClick(data) {
  348. // this.showSelector = false;
  349. // this.storeType = data;
  350. // this.merchantsInStore.cate_id = data.merchant_category_id;
  351. // },
  352. changeStoretype(e){
  353. this.storeTypeindex = e.detail.value;
  354. this.merchantsInStore.cate_id = this.storeTypeData[this.storeTypeindex].merchant_category_id;
  355. },
  356. //选择省份
  357. changeProvince(e) {
  358. if(this.provinceList[0].name == '暂无数据'){
  359. return false
  360. }
  361. this.provinceListindex = e.detail.value;
  362. this.merchantsInStore.province_id = this.provinceList[this.provinceListindex].code;
  363. addressList({id:2 , code:this.merchantsInStore.province_id}).then(res => {
  364. if(res.data.status==200){
  365. this.cityList = res.data.data.addressList;
  366. this.cityListindex = null;
  367. this.areaList = [{name:'暂无数据'}];
  368. this.areaListindex = null;
  369. this.streetList = [{name:'暂无数据'}];
  370. this.streetListindex = null;
  371. }
  372. }, fail => {
  373. console.log(fail)
  374. })
  375. },
  376. // 选择城市
  377. changeCity(e){
  378. if(this.cityList[0].name == '暂无数据'){
  379. return false
  380. }
  381. this.cityListindex = e.detail.value;
  382. this.merchantsInStore.city_id = this.cityList[this.cityListindex].code;
  383. addressList({id:3 , code:this.merchantsInStore.city_id}).then(res => {
  384. if(res.data.status==200){
  385. this.areaList = res.data.data.addressList;
  386. this.areaListindex = null;
  387. this.streetList = [{name:'暂无数据'}];
  388. this.streetListindex = null;
  389. }
  390. }, fail => {
  391. console.log(fail)
  392. })
  393. },
  394. // 选择区
  395. changeArea(e){
  396. if(this.areaList[0].name == '暂无数据'){
  397. return false
  398. }
  399. this.areaListindex = Number(e.detail.value);
  400. this.merchantsInStore.area_id = this.areaList[this.areaListindex].code;
  401. addressList({id:4 , code:this.merchantsInStore.area_id}).then(res => {
  402. if(res.data.status==200){
  403. this.streetList = res.data.data.addressList;
  404. this.streetListindex = null;
  405. }
  406. }, fail => {
  407. console.log(fail)
  408. })
  409. },
  410. // 选择街道
  411. changeStreet(e){
  412. if(this.streetList[0].name == '暂无数据'){
  413. return false
  414. }
  415. this.streetListindex = Number(e.detail.value);
  416. this.merchantsInStore.street_id = this.streetList[this.streetListindex].code;
  417. },
  418. // 上一步
  419. backStep(){
  420. // uni.request({
  421. // url: 'https://kfcs.bjtdba.com/sys/captcha',
  422. // method: 'POST',
  423. // header:{
  424. // },
  425. // data: {
  426. // },
  427. // success: (res) => {
  428. // }
  429. // });
  430. // return
  431. uni.navigateBack({
  432. delta:1
  433. });
  434. },
  435. // 下一步
  436. nextStep(){
  437. if(this.merchantsInStore.logo == "" )return uni.showToast({ title: "请上传店铺LOGO", icon: "none" });
  438. if(this.merchantsInStore.mer_short_name == "" ) return uni.showToast({ title: "请填写门店简称", icon: "none" });
  439. if(this.merchantsInStore.mark == "" ) return uni.showToast({ title: "请填写门店简介", icon: "none" });
  440. if(this.merchantsInStore.cate_id == "" ) return uni.showToast({ title: "请选择门店分类", icon: "none" });
  441. if(this.merchantsInStore.province_id == 0 ) return uni.showToast({ title: "请选择省份", icon: "none" });
  442. if(this.merchantsInStore.city_id == 0 ) return uni.showToast({ title: "请选择城市", icon: "none" });
  443. if(this.merchantsInStore.area_id == 0 ) return uni.showToast({ title: "请选择街道", icon: "none" });
  444. if(this.merchantsInStore.addr == "" ) return uni.showToast({ title: "请填写详细地址", icon: "none" });
  445. uni.setStorage({
  446. key: 'merchants_in_store',
  447. data: this.merchantsInStore
  448. });
  449. // if(this.merchantsPass){
  450. // this.merchantsInStore = Object.assign(this.merchantsInStore, this.nextMerchantsData)
  451. // uni.navigateTo({
  452. // url: `./processidentity?positionResult=${JSON.stringify(this.merchantsInStore)}`
  453. // });
  454. // }else{
  455. uni.navigateTo({
  456. url: './processidentity'
  457. });
  458. // }
  459. }
  460. }
  461. }
  462. </script>
  463. <style>
  464. page {
  465. background-color: #F7F8FC;
  466. }
  467. </style>
  468. <style lang="scss" scoped>
  469. .process {
  470. width: 100%;
  471. height: 100%;
  472. display: flex;
  473. flex-direction: column;
  474. align-items: center;
  475. justify-content: center;
  476. .process-header {
  477. position: fixed;
  478. top: 0;
  479. left: 0;
  480. z-index: 111;
  481. width: 100%;
  482. height: 176rpx;
  483. background: #FFFFFF;
  484. display: flex;
  485. justify-content: center;
  486. .process-header-text {
  487. width: 686rpx;
  488. font-size: 36rpx;
  489. font-weight: 500;
  490. color: #333333;
  491. display: flex;
  492. margin-top: 107rpx;
  493. align-items: center;
  494. .process-header-text-neishi{
  495. width: 45rpx;
  496. height: 45rpx;
  497. margin-right: 17rpx;
  498. .process-header-text-icon {
  499. width: 36rpx;
  500. height: 36rpx;
  501. margin-top: 2rpx;
  502. image {
  503. width: 100%;
  504. height: 100%;
  505. }
  506. }
  507. }
  508. }
  509. }
  510. .process-zhuti {
  511. width: 100%;
  512. height: auto;
  513. margin-top: 202rpx;
  514. display: flex;
  515. flex-direction: column;
  516. align-items: center;
  517. // padding: 32rpx 0 40rpx;
  518. padding-bottom: 40rpx;
  519. background: #FFFFFF;
  520. .process-zhuti-yi {
  521. width: 686rpx;
  522. // height: 150rpx;
  523. display: flex;
  524. flex-direction: column;
  525. justify-content: space-between;
  526. align-items: flex-start;
  527. margin-top: 32rpx;
  528. .process-zhuti-yi-text {
  529. font-size: 30rpx;
  530. font-weight: 500;
  531. color: #333333;
  532. margin-bottom: 26rpx;
  533. }
  534. .process-zhuti-yi-input {
  535. width: 100%;
  536. height: 94rpx;
  537. // background: #1F7CFF;
  538. // 31 124 255 10
  539. border-radius: 8rpx;
  540. // opacity: 0.1;
  541. input{
  542. width: 100%;
  543. height: 94rpx;
  544. background: rgba(31, 124, 255, 0.1);
  545. border-radius: 8rpx;
  546. box-sizing: border-box;
  547. padding-left: 32rpx;
  548. }
  549. }
  550. .process-zhuti-yi-upload{
  551. width: 100%;
  552. height: 404rpx;
  553. background: rgba(31, 124, 255, 0.1);
  554. border-radius: 8rpx;
  555. display: flex;
  556. justify-content: center;
  557. align-items: center;
  558. image{
  559. width: 500rpx;
  560. height: 340rpx;
  561. }
  562. }
  563. .process-zhuti-yi-picker{
  564. height: 94rpx;
  565. background: rgba(31, 124, 255, 0.1);
  566. padding-left: 32rpx;
  567. line-height: 94rpx;
  568. border-radius: 8rpx;
  569. }
  570. .int-col{
  571. color: #999999;
  572. }
  573. }
  574. }
  575. .process-zhuti-btnbox{
  576. margin: 50rpx 0 94rpx;
  577. color: #FFFFFF;
  578. display: flex;
  579. justify-content: space-between;
  580. }
  581. .process-zhuti-btn{
  582. width: 330rpx;
  583. height: 98rpx;
  584. background: rgba(31, 124, 255, 0.4);
  585. text-align: center;
  586. line-height: 98rpx;
  587. border-radius: 8rpx;
  588. }
  589. .backbtn{
  590. margin-right: 26rpx;
  591. background: #1F7CFF;
  592. }
  593. .back-combox {
  594. position: relative;
  595. display: flex;
  596. flex-direction: row;
  597. align-items: center;
  598. width: 100%;
  599. height: 94rpx;
  600. // background: rgba(31, 124, 255, 0.1);
  601. border-radius: 8rpx;
  602. box-sizing: border-box;
  603. }
  604. .back-combox__input-box {
  605. position: relative;
  606. display: flex;
  607. flex: 1;
  608. flex-direction: row;
  609. align-items: center;
  610. }
  611. .back-combox__input {
  612. flex: 1;
  613. font-size: 30rpx;
  614. height: 94rpx;
  615. line-height: 94rpx;
  616. }
  617. .back-combox__selector {
  618. box-sizing: border-box;
  619. position: absolute;
  620. top: calc(100% + 24rpx);
  621. left: 0;
  622. width: 100%;
  623. background-color: #FFFFFF;
  624. border: 1px solid #EBEEF5;
  625. border-radius: 12rpx;
  626. box-shadow: 0 4rpx 24rpx 0 rgba(0, 0, 0, 0.1);
  627. z-index: 1000;
  628. padding: 8rpx 0;
  629. }
  630. .back-combox__selector-scroll {
  631. max-height: 400rpx;
  632. box-sizing: border-box;
  633. }
  634. .back-combox__selector-empty,
  635. .back-combox__selector-item {
  636. display: flex;
  637. cursor: pointer;
  638. line-height: 72rpx;
  639. font-size: 28rpx;
  640. text-align: center;
  641. padding: 0px 20rpx;
  642. }
  643. .back-combox__selector-item:hover {
  644. background-color: #f9f9f9;
  645. }
  646. .back-combox__selector-empty:last-child,
  647. .back-combox__selector-item:last-child {
  648. border-bottom: none;
  649. }
  650. // picker 弹出层通用的指示小三角
  651. .back-popper__arrow,
  652. .back-popper__arrow::after {
  653. position: absolute;
  654. display: block;
  655. width: 0;
  656. height: 0;
  657. border-color: transparent;
  658. border-style: solid;
  659. border-width: 12rpx;
  660. }
  661. .back-popper__arrow {
  662. filter: drop-shadow(0 4rpx 24rpx rgba(0, 0, 0, 0.03));
  663. top: -12rpx;
  664. left: 10%;
  665. margin-right: 6rpx;
  666. border-top-width: 0;
  667. border-bottom-color: #EBEEF5;
  668. }
  669. .back-popper__arrow::after {
  670. content: " ";
  671. top: 2rpx;
  672. margin-left: -12rpx;
  673. border-top-width: 0;
  674. border-bottom-color: #fff;
  675. }
  676. .back-combox__no-border {
  677. border: none;
  678. }
  679. .btn-bir{
  680. background: #1F7CFF;
  681. }
  682. }
  683. </style>