createOrderT.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. <template>
  2. <view class="content page-contanier" :class="['qn-page-' + theme]">
  3. <view class="" style="background-color: #4076d6;height: 100rpx;">
  4. </view>
  5. <view class="good-info-wrap">
  6. <view class="good-list">
  7. <!-- <view class="empty" v-if="xmlist.length == 0" @click="chooseGoods">
  8. 选择项目
  9. </view> -->
  10. <!-- 商品详情 -->
  11. <view class="good-wrap">
  12. <view class="good">
  13. <image :src="item_detail.image" mode="" class="good-img"></image>
  14. <view class="good-info">
  15. <view class="good-name clamp2">
  16. {{item_detail.name}}
  17. </view>
  18. <view class="good-price">
  19. {{item_detail.price}}
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="mjly">
  26. <view class="ly-left">
  27. 买家留言
  28. </view>
  29. <input type="text" placeholder="请输入留言内容" class="ly-right" v-model="mjly">
  30. </view>
  31. </view>
  32. <!-- <view class="mj-info" @click="goPage('/pagesT/customer/selCustomer')">
  33. <view class="mjly" style="border-bottom: 1rpx solid #f7f8fa;">
  34. <view class="ly-left">
  35. 客户姓名
  36. </view>
  37. <input type="text" placeholder="请输入留言内容" class="ly-right" v-model="customerData.name" v-if="customerData.name" disabled>
  38. <image src="../../static/img/downright.png" mode="" v-else></image>
  39. </view>
  40. <view class="mjly" >
  41. <view class="ly-left">
  42. 联系方式
  43. </view>
  44. <input type="number" placeholder="请填写联系方式" class="ly-right" v-model="customerData.mobile" @click.stop="">
  45. </view>
  46. </view> -->
  47. <!-- 选择门店 -->
  48. <view class="sc-md">
  49. <view class="sc-tip">
  50. 选择门店
  51. </view>
  52. <view class="store-info" @click="openStoreChoose">
  53. <image :src="choose_store.logo" mode="" class="store-logo"></image>
  54. <view class="info">
  55. <view class="store-name">
  56. {{choose_store.name}}
  57. </view>
  58. <view class="store-address">
  59. {{choose_store.area.provinceName + choose_store.area.cityName + choose_store.area.districtName + choose_store.area.address}}
  60. </view>
  61. </view>
  62. <view class="float_right"><text class="ibonfont ibonjinru"></text></view>
  63. </view>
  64. </view>
  65. <!-- 门店列表弹出层 -->
  66. <u-popup v-model="store_choose_show" mode="bottom" @close="close" @open="open" border-radius="14">
  67. <view>
  68. <scroll-view scroll-y="true" class="store-list" @scrolltolower="getStoreList()">
  69. <view class="store-info " :class="{'choose-stroe': storeitem.id == choose_store.id}"
  70. v-for="(storeitem,storeindex) in store.list" @click="chooseStore(storeitem)">
  71. <image :src="storeitem.logo" mode="" class="store-logo"></image>
  72. <view class="info">
  73. <view class="store-name">
  74. {{storeitem.name}}
  75. </view>
  76. <view class="store-address">
  77. {{storeitem.area.provinceName + storeitem.area.cityName + storeitem.area.districtName + storeitem.area.address}}
  78. </view>
  79. </view>
  80. <view class="float_right"></text></view>
  81. </view>
  82. <u-loadmore :status="store.loadingType" />
  83. </scroll-view>
  84. </view>
  85. </u-popup>
  86. <!-- 预约 -->
  87. <its-calendar :sta_num="start_time" :end_num="end_time" :int_num="30" @getTime="getTime"></its-calendar>
  88. <!-- 指派 -->
  89. <scroll-view scroll-x="true" class="zp-wrap" v-if="timed">
  90. <view class="zp-item" v-for="ygitem in yg.list" @click="choosYg(ygitem)"
  91. :class="{'choose': ygitem.uid == choose_yg.uid}">
  92. <image :src="ygitem.avatar" mode="" class="zp-logo"></image>
  93. <view class="zp-name">{{ygitem.staffName}}</view>
  94. </view>
  95. </scroll-view>
  96. <!-- 结算 -->
  97. <!-- 填充 -->
  98. <view class="" style="height: 110rpx;"></view>
  99. <view class="tj-dd">
  100. <view class="">
  101. <text style="font-size: 26rpx;color: #999;">实付</text>
  102. <text style="color: #CE372E;font-size: 44rpx;font-weight: bold;padding-left: 10rpx;"
  103. class="rmb">{{order_detail.pay_price || '0'}}</text>
  104. <!-- <text style="font-size: 22rpx;color: #333333;font-weight: bold;">(包含预约费¥3元)</text> -->
  105. </view>
  106. <view class="tj-btn" @click="canpay?selPayFun():''" :class="{'canpay': canpay}">
  107. 提交
  108. </view>
  109. <!-- <view class="tj-btn" @click="selPayFun()" :class="{'canpay': canpay}">
  110. 提交
  111. </view> -->
  112. </view>
  113. <u-popup v-model="payPop" mode="bottom" :border-radius="12">
  114. <view class="pay-pop-view">
  115. <view class="pay-sel-title clearfix">
  116. <text class="float_left">付款方式</text>
  117. <text class="float_right ibonfont ibonguanbi" @click="closePayPop"></text>
  118. </view>
  119. <view class="pay-ul">
  120. <view class="pay-li" @click="pay_type = 1">
  121. <text class="ibonfont ibonhuodaofukuan"></text>
  122. <view class="pay-name clearfix"
  123. :class="[order_detail.pay_price*1 > Number(order_detail.memberBalance) ? 'balance-pay-name' : '']">
  124. <view class="float_left">
  125. <text>余额</text>
  126. <text class="balace-num">(余额:¥{{ Number(order_detail.memberBalance) }})</text>
  127. </view>
  128. <text class="float_right ibonfont ibonxuanze1" v-if="pay_type == 1"></text>
  129. <text class="float_right ibonfont ibonxuanze1" style="color: #CCCCCC;" v-else></text>
  130. </view>
  131. </view>
  132. <view class="pay-li" @click="pay_type = 2" v-if="order_detail.pay_price*1 > 0">
  133. <text class="ibonfont ibonweixinzhifu"></text>
  134. <view class="pay-name clearfix ">
  135. <view class="float_left">
  136. <text>微信</text>
  137. </view>
  138. <text class="float_right ibonfont ibonxuanze1" v-if="pay_type == 2"></text>
  139. <text class="float_right ibonfont ibonxuanze1" style="color: #CCCCCC;" v-else></text>
  140. </view>
  141. </view>
  142. </view>
  143. <view class="pay-btn primary-btn" @click="submit">
  144. <text>确定</text>
  145. </view>
  146. </view>
  147. </u-popup>
  148. </view>
  149. </template>
  150. <script>
  151. import its from '@/components/its-calendar/its-calendar.vue'
  152. export default {
  153. components: {
  154. its
  155. },
  156. data() {
  157. return {
  158. payPop: false,
  159. canpay: false,
  160. good_id: '',
  161. item_detail: {},
  162. mjly: '',
  163. customerData: {},
  164. store: {
  165. page: 1,
  166. page_size: 10,
  167. list: [],
  168. loadingType: 'loadmore',
  169. loaded: false,
  170. },
  171. yg: {
  172. page: 1,
  173. page_size: 10,
  174. list: [],
  175. loadingType: 'loadmore',
  176. loaded: false,
  177. },
  178. choose_yg: {
  179. },
  180. choose_store: {},
  181. choose_time: '',
  182. choose_time_detail: '',
  183. order_detail: {}, //计算结果
  184. timed: false, //是否选择完时间
  185. store_choose_show: false, //门店选择弹出层开关
  186. start_time: 0,
  187. end_time: 24,
  188. yyshow: true,
  189. pay_type: 1, //1余额2微信3支付宝
  190. }
  191. },
  192. computed: {
  193. // start_time() {
  194. // let start = this.store.state
  195. // },
  196. // end_time() {
  197. // }
  198. },
  199. watch: {
  200. choose_store(newval, oldval) {
  201. this.choose_yg = {}
  202. if (newval.openTime.isAllDay != 1) {
  203. let start = newval.openTime.start.split(':')
  204. let end = newval.openTime.end.split(':')
  205. if (start[1] > 30) {
  206. this.start_time = start[0] * 1 + 1
  207. } else {
  208. this.start_time = start[0] * 1
  209. }
  210. this.end_time = end[0] * 1
  211. console.log(this.start_time)
  212. } else {
  213. this.start_time = 0
  214. this.end_time = 24
  215. console.log(this.start_time)
  216. }
  217. if (this.choose_time != '') {
  218. console.log(this.choose_time, 'this.choose_time ')
  219. this.getYgList('reload')
  220. }
  221. },
  222. choose_time(newval, oldval) {
  223. this.getYgList('reload')
  224. },
  225. choose_yg(newval, oldval) {
  226. if (newval.staffName && newval.uid != 0) {
  227. this.getYgYyTimeArea()
  228. } else {
  229. if (newval.staffName == '随机指派' && this.choose_time) {
  230. this.canpay = true
  231. }
  232. }
  233. },
  234. choose_time_detail(newval, oldval) {
  235. if (this.choose_store && this.choose_yg.uid != 0) {
  236. this.getYgYyTimeArea()
  237. }
  238. }
  239. },
  240. onLoad(opt) {
  241. this.good_id = opt.id
  242. this.getItemDetail()
  243. this.calculation()
  244. console.log(this.$store.state.locationObj, 'this.$store.state.locationObj')
  245. this.getStoreList()
  246. },
  247. onShow() {
  248. console.log(this.customerData)
  249. },
  250. onReachBottom() {
  251. },
  252. onReady() {
  253. },
  254. methods: {
  255. close() {
  256. this.store_choose_show = false
  257. },
  258. open() {
  259. },
  260. // 打开门店选择
  261. openStoreChoose() {
  262. console.log('打开门店选择')
  263. this.store_choose_show = true
  264. },
  265. //选择门店
  266. chooseStore(item) {
  267. this.choose_store = item
  268. this.close()
  269. },
  270. getTime(e) {
  271. console.log(e);
  272. this.timed = true
  273. this.choose_time = e.time.split(' ')[0]
  274. this.choose_time_detail = e.time.split(' ')[1]
  275. },
  276. //计算价格
  277. calculation() {
  278. let that = this
  279. that.$u.api.calculation({
  280. id: that.good_id
  281. }).then(({
  282. data
  283. }) => {
  284. console.log(data, 'price')
  285. this.order_detail = data
  286. }).catch(err => {
  287. })
  288. },
  289. getItemDetail() {
  290. this.$u.api.getItemDetail({
  291. id: this.good_id
  292. }).then(({
  293. data
  294. }) => {
  295. this.item_detail = data
  296. }).catch(err => {
  297. })
  298. },
  299. // 获取门店列表
  300. getStoreList() {
  301. console.log('获取门店列表')
  302. let item = this.store
  303. if (item.loadingType == 'loading' || item.loadingType == 'nomore') {
  304. return
  305. }
  306. item.loadingType = 'loading'
  307. this.$u.api.getStoreList({
  308. page: item.page,
  309. pageSize: item.page_size,
  310. longitude: this.$store.state.locationObj.longitude,
  311. latitude: this.$store.state.locationObj.latitude
  312. }).then(({
  313. data
  314. }) => {
  315. console.log(data, '门店列表')
  316. item.list = item.list.concat(data)
  317. if (item.page == 1) {
  318. this.choose_store = item.list[0]
  319. }
  320. item.page++
  321. if (item.page_size == data.length) {
  322. item.loadingType = 'loadmore'
  323. } else {
  324. item.loadingType = 'nomore'
  325. }
  326. })
  327. },
  328. //获取员工列表
  329. getYgList(type) {
  330. let item = this.yg
  331. if (type == 'reload') {
  332. item.list = []
  333. item.loadingType = 'loadmore'
  334. }
  335. if (item.loadingType == 'loading' || item.loadingType == 'nomore') {
  336. return
  337. }
  338. item.loadingType = 'loading'
  339. this.$u.api.getTimeYgList({
  340. time: this.choose_time,
  341. 'SHOP-TOKEN': this.choose_store.token
  342. }).then(({
  343. data
  344. }) => {
  345. let arr = [{
  346. uid: 0,
  347. staffName: '随机指派'
  348. }]
  349. item.list = arr.concat(data)
  350. item.loadingType = 'nomore'
  351. })
  352. },
  353. cannot(title = '该员工不在工作时间') {
  354. uni.showToast({
  355. title: title,
  356. icon: 'none'
  357. })
  358. this.canpay = false
  359. },
  360. //判断是否能预约员工
  361. getYgYyTimeArea() {
  362. let that = this
  363. that.$u.api.getYgYyTimeArea({
  364. time: that.choose_time,
  365. uid: that.choose_yg.uid
  366. }).then(({
  367. data
  368. }) => {
  369. console.log()
  370. let choose_time = that.choose_time_detail.replace(/\:/g, '')
  371. let worktime = [data.time_slot[0][0].replace(/\:/g, ''), data.time_slot[0][1].replace(/\:/g,
  372. '')]
  373. // 判断员工是否在工作时间
  374. console.log(choose_time, worktime)
  375. if (choose_time * 1 >= worktime[0] * 1 && choose_time * 1 <= worktime[1] * 1) {
  376. this.canpay = true
  377. } else {
  378. console.log('该员工不在工作时间')
  379. that.cannot()
  380. }
  381. if (data.reserved.length > 0) {
  382. for (let i = 0; i < data.reserved.length; i++) {
  383. console.log(i)
  384. if (that.choose_time_detail == data.reserved[i]) {
  385. that.cannot('该员工已有预约')
  386. break
  387. }
  388. }
  389. }
  390. })
  391. },
  392. choosYg(item) {
  393. this.choose_yg = item
  394. // //查看员工是否有空
  395. // if (this.choose_yg.uid != 0) {
  396. // this.getYgYyTimeArea()
  397. // }
  398. },
  399. selPayFun() {
  400. // if (!this.is_notExpress) {
  401. // return;
  402. // }
  403. this.payPop = true;
  404. },
  405. // 创建项目订单
  406. createItemOrder() {
  407. let that = this
  408. that.$u.api.createItemOrder({
  409. "order_id": that.order_detail.order_id,
  410. "time": that.choose_time + ' ' + that.choose_time_detail, //预约时间
  411. "staff_id": that.choose_yg.uid, //0随机排员工 指定员工传入员工id
  412. "pay_type": 2, //1余额2微信3支付宝
  413. "source": 3, //微信8h5支付3小程序支付0app支付
  414. "remarks": that.mjly, //备注
  415. "SHOP-TOKEN": that.choose_store.token
  416. }).then(({
  417. data
  418. }) => {
  419. })
  420. },
  421. submit() {
  422. let that = this
  423. // 判断余额是否足够
  424. if (that.pay_type == 1 && (that.order_detail.pay_price * 1 > that.order_detail.memberBalance * 1)) {
  425. return this.$u.toast('抱歉,您的可用余额不足');
  426. }
  427. that.$u.api.createItemOrder({
  428. "order_id": that.order_detail.order_id,
  429. "time": that.choose_time + ' ' + that.choose_time_detail, //预约时间
  430. "staff_id": that.choose_yg.uid, //0随机排员工 指定员工传入员工id
  431. "pay_type": that.pay_type, //1余额2微信3支付宝
  432. "source": that.pay_type == 2 ? 3 : '',
  433. "remarks": that.mjly, //备注
  434. "SHOP-TOKEN": that.choose_store.token
  435. }).then(({
  436. data
  437. }) => {
  438. // 余额支付
  439. if (that.pay_type == 1) {
  440. console.log(data)
  441. if (data == '支付成功' || data.data == '支付成功') {
  442. that.payPop = false
  443. setTimeout(() => {
  444. uni.navigateTo({
  445. url: '/pagesT/money/paySuccess?price=' + that.order_detail
  446. .pay_price + '&isyy=1'
  447. })
  448. }, 200);
  449. }
  450. }
  451. // 微信支付
  452. if (that.pay_type == 2) {
  453. // data.data
  454. let payInfo = data.data
  455. // #ifdef MP-WEIXIN
  456. uni.requestPayment({
  457. provider: 'wxpay',
  458. timeStamp: payInfo.timeStamp, //当前时间
  459. nonceStr: payInfo.nonceStr, //随机字符串,长度在32一下
  460. package: payInfo.package, //统一单接口返回的prepay_id
  461. signType: payInfo.signType, //签名算法,目前支持MD5
  462. paySign: payInfo.paySign, //签名
  463. success: res => {
  464. // 订单审核,取消订单提醒
  465. that.payPop = false
  466. setTimeout(() => {
  467. uni.navigateTo({
  468. url: '/pagesT/money/paySuccess?price=' + that
  469. .order_detail.pay_price + '&isyy=1'
  470. })
  471. }, 200);
  472. },
  473. fail: async err => {
  474. that.payPop = false
  475. console.log('支付失败');
  476. await setTimeout(() => {
  477. uni.redirectTo({
  478. url: '/pagesT/order/orderT?state=0'
  479. });
  480. }, 100);
  481. }
  482. });
  483. // #endif
  484. }
  485. })
  486. }
  487. }
  488. }
  489. </script>
  490. <style lang="scss">
  491. .good-info-wrap {
  492. margin: -50rpx auto 20rpx;
  493. width: 712rpx;
  494. min-height: 285rpx;
  495. background: #FFFFFF;
  496. border-radius: 10rpx;
  497. padding: 10rpx 20rpx;
  498. .good-list {
  499. min-height: 177rpx;
  500. width: 100%;
  501. .good-wrap {
  502. min-height: 177rpx;
  503. .good {
  504. height: 177rpx;
  505. border-bottom: 1px solid #f7f8fa;
  506. display: flex;
  507. justify-content: flex-start;
  508. align-items: center;
  509. .good-info {
  510. height: 177rpx;
  511. width: 365rpx;
  512. padding: 25rpx 0 25rpx 20rpx;
  513. display: flex;
  514. flex-direction: column;
  515. justify-content: space-between;
  516. align-items: flex-start;
  517. .good-name {
  518. font-size: 26rpx;
  519. font-weight: 500;
  520. color: #333333;
  521. }
  522. .good-price {
  523. margin-top: 20rpx;
  524. font-size: 34rpx;
  525. font-weight: bold;
  526. color: #CE372E;
  527. &::before {
  528. content: '¥';
  529. font-size: 24rpx;
  530. color: #CE372E;
  531. }
  532. }
  533. }
  534. .good-img {
  535. width: 133rpx;
  536. height: 133rpx;
  537. border-radius: 10rpx;
  538. background-color: #eee;
  539. }
  540. }
  541. }
  542. .empty {
  543. // display: ;
  544. font-size: 28rpx;
  545. height: 177rpx;
  546. background-color: #ecf1f7;
  547. text-align: center;
  548. line-height: 177rpx;
  549. color: #4472bd;
  550. border-radius: 10rpx;
  551. }
  552. }
  553. }
  554. .mj-info {
  555. width: 712rpx;
  556. height: 200rpx;
  557. background: #FFFFFF;
  558. border-radius: 10px;
  559. margin: 20rpx auto;
  560. padding: 0 20rpx;
  561. }
  562. .mjly {
  563. height: 100rpx;
  564. display: flex;
  565. justify-content: space-between;
  566. align-items: center;
  567. font-size: 26rpx;
  568. .ly-left {
  569. font-weight: 500;
  570. color: #000;
  571. }
  572. .ly-right {
  573. width: 400rpx;
  574. text-align: right;
  575. }
  576. image {
  577. width: 15rpx;
  578. height: 28rpx;
  579. }
  580. }
  581. //指派
  582. .zp-wrap {
  583. margin-top: 20rpx;
  584. width: 750rpx;
  585. height: 216rpx;
  586. white-space: nowrap;
  587. .zp-item {
  588. display: inline-block;
  589. margin-right: 15rpx;
  590. padding-top: 34rpx;
  591. width: 172rpx;
  592. height: 216rpx;
  593. // background: #E02020;
  594. background-color: #fff;
  595. border-radius: 10rpx;
  596. .zp-logo {
  597. display: block;
  598. width: 106rpx;
  599. height: 106rpx;
  600. margin: auto;
  601. border-radius: 50%;
  602. background-color: #999999;
  603. }
  604. .zp-name {
  605. margin-top: 15rpx;
  606. width: 100%;
  607. text-align: center;
  608. font-size: 30rpx;
  609. font-weight: bold;
  610. color: #333333;
  611. }
  612. }
  613. .choose {
  614. background-color: #262261 !important;
  615. .zp-name {
  616. color: #fff !important;
  617. }
  618. }
  619. }
  620. .tj-dd {
  621. width: 750rpx;
  622. height: 100rpx;
  623. position: fixed;
  624. bottom: 0;
  625. display: flex;
  626. justify-content: space-between;
  627. align-items: center;
  628. background-color: #fff;
  629. padding: 0 20rpx;
  630. .tj-btn {
  631. width: 200rpx;
  632. height: 75rpx;
  633. line-height: 75rpx;
  634. color: #fff;
  635. background-color: #999;
  636. border-radius: 10rpx;
  637. text-align: center;
  638. font-size: 28rpx;
  639. font-weight: 500;
  640. }
  641. .canpay {
  642. background-color: #d84840;
  643. }
  644. }
  645. .rmb {
  646. &::before {
  647. content: '¥';
  648. color: #CE372E;
  649. font-size: 30rpx;
  650. }
  651. }
  652. // 门店
  653. .sc-md {
  654. margin: 20rpx auto;
  655. width: 712rpx;
  656. height: 210rpx;
  657. background: #FFFFFF;
  658. border-radius: 10rpx;
  659. .sc-tip {
  660. padding-left: 20rpx;
  661. line-height: 70rpx;
  662. width: 712rpx;
  663. height: 70rpx;
  664. background: #e9e8ef;
  665. border-radius: 10rpx 10rpx 0px 0px;
  666. font-size: 26rpx;
  667. font-weight: 500;
  668. color: #262261;
  669. }
  670. }
  671. .store-info {
  672. display: flex;
  673. justify-content: flex-start;
  674. align-items: center;
  675. height: 140rpx;
  676. padding: 0 30rpx 0 20rpx;
  677. .store-logo {
  678. width: 61rpx;
  679. height: 61rpx;
  680. background-color: #eee;
  681. border-radius: 50%;
  682. }
  683. .info {
  684. flex-grow: 1;
  685. display: flex;
  686. flex-direction: column;
  687. justify-content: center;
  688. padding: 0 40rpx 0 20rpx;
  689. .store-name {
  690. font-size: 25rpx;
  691. font-weight: 500;
  692. color: #333333;
  693. }
  694. .store-address {
  695. margin-top: 15rpx;
  696. font-size: 22rpx;
  697. font-weight: 500;
  698. color: #999999;
  699. }
  700. }
  701. }
  702. .store-list {
  703. min-height: 280rpx;
  704. max-height: 450rpx;
  705. width: 750upx;
  706. padding-top: 1rpx;
  707. background-color: #fff;
  708. .store-info {
  709. width: 712rpx;
  710. margin: 20rpx auto;
  711. border: 1px solid #aaa;
  712. border-radius: 20rpx;
  713. }
  714. .choose-stroe {
  715. border: 1px solid #262261;
  716. }
  717. }
  718. .pay-pop-view {
  719. background-color: #ffffff;
  720. border-top-left-radius: 12upx;
  721. border-top-right-radius: 12upx;
  722. font-size: 28upx;
  723. .pay-sel-title {
  724. padding: 0 30upx;
  725. line-height: 88upx;
  726. font-weight: bold;
  727. font-size: 32upx;
  728. .ibonfont {
  729. color: #999;
  730. font-weight: 400;
  731. }
  732. }
  733. .pay-btn {
  734. height: 90upx;
  735. line-height: 90upx;
  736. color: #000;
  737. font-size: 32upx;
  738. text-align: center;
  739. background-color: #108ee9;
  740. }
  741. .pay-ul {
  742. .pay-li {
  743. line-height: 100upx;
  744. .ibonfont {
  745. padding-left: 30upx;
  746. font-size: 46upx;
  747. vertical-align: middle;
  748. margin-right: 24upx;
  749. }
  750. .ibonweixinzhifu {
  751. color: #04be02;
  752. }
  753. .ibonumidd17 {
  754. color: #108ee9;
  755. }
  756. .ibonhuodaofukuan {
  757. color: #f2b844;
  758. }
  759. .pay-name {
  760. width: 650upx;
  761. display: inline-block;
  762. padding-right: 30upx;
  763. vertical-align: middle;
  764. border-bottom: 1px solid #f5f5f5;
  765. .ibonxuanze1,
  766. .ibonweixuanze {
  767. margin-right: 0;
  768. padding-left: 0;
  769. font-size: 38upx;
  770. }
  771. .balace-num {
  772. font-size: 24rpx;
  773. color: #6c6c6c;
  774. }
  775. }
  776. .balance-pay-name {
  777. position: relative;
  778. padding-bottom: 20rpx;
  779. .balance-tip {
  780. position: absolute;
  781. font-size: 22rpx;
  782. line-height: 36rpx;
  783. bottom: 10rpx;
  784. left: 0;
  785. }
  786. }
  787. }
  788. }
  789. }
  790. </style>