order.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. <template>
  2. <view class="container">
  3. <u-sticky bgColor="#fff">
  4. <!-- <view class="search-box">
  5. <u-input placeholder="搜索我的订单" v-model="serviceName"
  6. :customStyle="{backgroundColor: '#eee',borderRadius: '50rpx',padding:'12rpx 30rpx'}" :border="false"
  7. @confirm="getOrderList('reload')">
  8. <template slot="suffix">
  9. <image src="/static/search-02.png" mode="aspectFill" style="width: 40rpx;height: 36rpx;"
  10. @click="getOrderList('reload')">
  11. </image>
  12. </template>
  13. </u-input>
  14. </view> -->
  15. <u-tabs :lineWidth="50" :activeStyle="{ color: '#4B91D1' }" :list="typeList" keyName="value"
  16. :current="current" @change="changeTab"></u-tabs>
  17. </u-sticky>
  18. <!-- 正常状态 -->
  19. <view class="order-list" v-if="orderStatus != 7">
  20. <view class="order-item" v-for="item,index in orderList" :key="index" @click="toDetails(item)">
  21. <view class="order-t-box">
  22. <view class="order-t-box-l">
  23. <view class="order-name">
  24. {{item.serviceName || '-'}}(数量:{{item.orderNum || '-'}})
  25. </view>
  26. <view class="order-no">
  27. <span>订单编号:{{item.orderNo || '-'}}</span>
  28. <image class="icon" :src="copyImg" mode="aspectFill"
  29. @click.stop="$utils.copyTxt(item.orderNo)"></image>
  30. </view>
  31. </view>
  32. <view class="order-t-box-r">
  33. <span class="title">订单金额</span>
  34. <span class="price">¥{{item.totalPrice || '-'}}</span>
  35. </view>
  36. </view>
  37. <u-line color="#f0f0f0"></u-line>
  38. <view class="order-b-box">
  39. <view class="order-b-box-l">
  40. <view class="order-b-item">
  41. <span class="title">医院:</span>
  42. <span class="txt">{{item.hospitalVo.name || '-'}}</span>
  43. </view>
  44. <view class="order-b-item">
  45. <span class="title">科室:</span>
  46. <span class="txt">{{item.hospitalDepartmentName || '-'}}</span>
  47. </view>
  48. <view class="order-b-item">
  49. <span class="title">就诊人:</span>
  50. <span class="txt">{{item.patientVo.name || '-'}}({{item.patientVo.mobile || '-'}})</span>
  51. </view>
  52. </view>
  53. <view class="order-b-box-r">
  54. <span class="status"
  55. :class="item.status == 6 ? 'cancle' : ''">{{getStatusTxt(item.status)}}</span>
  56. </view>
  57. </view>
  58. <u-line color="#f0f0f0"></u-line>
  59. <view class="btn-box">
  60. <span class="time">{{$utils.mFormatDate(item.expectedTime, 'yyyy-MM-dd HH:mm') || '-'}}</span>
  61. <view class="btn-box-r">
  62. <span class="btn btn1" v-if="item.status == 1" @click.stop="cancleOrder(item.id)">取消订单</span>
  63. <!-- -->
  64. <span class="btn btn2" v-if="item.status == 2 || item.status == 3"
  65. @click.stop="contactPerson(item.id)">联系护工</span>
  66. <span class="btn btn2" v-if="item.status == 4" @click.stop="goEvaluation(item.id)">去评价</span>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <!-- 退款 -->
  72. <view class="order-list" v-else>
  73. <view class="order-item" v-for="item,index in orderList" :key="index" @click="toDetails(item,'refund')">
  74. <view class="order-t-box">
  75. <view class="order-t-box-l">
  76. <view class="order-name">
  77. {{item.serviceName || '-'}}(数量:{{item.orderNum || '-'}})
  78. </view>
  79. <view class="order-no">
  80. <span>退款订单号:{{item.orderRefundNo || '-'}}</span>
  81. <image class="icon" :src="copyImg" mode="aspectFill"
  82. @click.stop="$utils.copyTxt(item.orderRefundNo)"></image>
  83. </view>
  84. </view>
  85. <view class="order-t-box-r">
  86. <span class="title">退款金额</span>
  87. <span class="price">¥{{item.refundAmount || '-'}}</span>
  88. </view>
  89. </view>
  90. <u-line color="#f0f0f0"></u-line>
  91. <view class="order-b-box">
  92. <view class="order-b-box-l">
  93. <view class="order-b-item">
  94. <span class="title">医院:</span>
  95. <span class="txt">{{item.orderVo.hospitalName || '-'}}</span>
  96. </view>
  97. <view class="order-b-item">
  98. <span class="title">科室:</span>
  99. <span class="txt">{{item.orderVo.hospitalDepartmentName || '-'}}</span>
  100. </view>
  101. <view class="order-b-item">
  102. <span class="title">就诊人:</span>
  103. <span
  104. class="txt">{{item.orderVo.patientName || '-'}}({{item.orderVo.patientMobile || '-'}})</span>
  105. </view>
  106. </view>
  107. <view class="order-b-box-r">
  108. <span class="status">{{getRefundTxt(item.refundStatus)}}</span>
  109. </view>
  110. </view>
  111. <u-line color="#f0f0f0"></u-line>
  112. <view class="btn-box">
  113. <span class="time">{{$utils.mFormatDate(item.createTime, 'yyyy-MM-dd HH:mm') || '-'}}</span>
  114. <view class="btn-box-r">
  115. <span class="btn btn1" v-if="item.refundStatus == 1"
  116. @click.stop="cancleOrder(item.id)">取消退款</span>
  117. <span class="txt" v-if="item.refundStatus == 2">实退金额:{{item.actualRefundAmount || 0}}</span>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. <view class="empty-box" v-if="!orderList.length">
  123. <u-image src="/static/none.png" mode="aspectFill" width="582rpx" height="582rpx"></u-image>
  124. <span class="empty-txt">暂无数据!</span>
  125. <!-- <u-empty marginTop="100" style="width: 100%;"></u-empty> -->
  126. </view>
  127. <view style="width: 100%;padding-bottom: 40rpx;" v-else>
  128. <u-loadmore :status="status" :loading-text="loadingText" :loadmore-text="loadmoreText"
  129. :nomore-text="nomoreText" @loadmore="loadmore" dashed line marginTop="20" />
  130. </view>
  131. <!-- 联系护工 -->
  132. <u-popup :overlayStyle="{'touch-action':'none'}" closeable mode="bottom" :show="popShow" @close="popClose"
  133. @open="open" :round="20">
  134. <view class="pop-box">
  135. <view class="pop-title">联系护工</view>
  136. <view class="pop-content">
  137. <view class="pop-item" v-for="item,index in workerList" :key="index"
  138. @click="confirmAndCall(item.phoneNumber)">
  139. <u-icon name="phone" color="#fff"></u-icon>
  140. <span class="txt">{{item.phoneNumber || '-'}}</span>
  141. </view>
  142. </view>
  143. <view class="pop-footer-btn">
  144. <span class="btn" @click="popClose()">取消</span>
  145. </view>
  146. </view>
  147. </u-popup>
  148. <!-- 评价 -->
  149. <u-popup :overlayStyle="{'touch-action':'none'}" closeable mode="bottom" :show="evaluateShow"
  150. @close="evaluateClose" @open="evaluateOpen" :round="20">
  151. <view class="pop-box">
  152. <view class="pop-title">订单评价</view>
  153. <view class="pop-content">
  154. <view class="info-item">
  155. <span class="title">服务态度</span>
  156. <u-rate :count="count" size="20" v-model="evaluateInfo.serviceAttitude"></u-rate>
  157. </view>
  158. <u-line></u-line>
  159. <view class="info-item">
  160. <span class="title">着装仪态</span>
  161. <u-rate :count="count" size="20" v-model="evaluateInfo.dressAppearance"></u-rate>
  162. </view>
  163. <u-line></u-line>
  164. <view class="info-item">
  165. <span class="title">沟通能力</span>
  166. <u-rate :count="count" size="20" v-model="evaluateInfo.communicationAbility"></u-rate>
  167. </view>
  168. <u-line></u-line>
  169. <view class="tip-txt">
  170. <span class="name">文字评价</span>
  171. <u--textarea v-model="evaluateInfo.content" placeholder="请输入内容"></u--textarea>
  172. </view>
  173. </view>
  174. <view class="footer-btn">
  175. <span class="btn" @click="confirmEvaluate">确认提交</span>
  176. </view>
  177. </view>
  178. </u-popup>
  179. </view>
  180. </template>
  181. <script>
  182. import {
  183. getOrderList,
  184. getOrderStatus,
  185. cancelOrder,
  186. getAfterSaleOrderList,
  187. getRefundStatus,
  188. getServicePhoneList,
  189. evaluateOrder
  190. } from "@/api/order.js"
  191. export default {
  192. data() {
  193. return {
  194. copyImg: require('@/static/copy.png'),
  195. serviceName: undefined,
  196. orderStatus: undefined,
  197. orderList: [],
  198. typeList: [],
  199. loading: false,
  200. pageSize: 10,
  201. pageNum: 1,
  202. botLoadingShow: 0, //0不显示 1显示 3.显示没有更多了
  203. loadingShow: false,
  204. status: 'loadmore',
  205. loadingText: '努力加载中',
  206. loadmoreText: '上拉或点击加载更多',
  207. nomoreText: '实在没有了',
  208. total: 0,
  209. customBar: 0, //状态栏高度 + 导航栏高度
  210. status: {
  211. 10: ''
  212. },
  213. current: 0,
  214. isFirst: true,
  215. workerList: [],
  216. popShow: false,
  217. refundStatusList: [],
  218. evaluateInfo: {
  219. content: '',
  220. serviceAttitude: 0,
  221. dressAppearance: 0,
  222. communicationAbility: 0,
  223. },
  224. evaluateShow: false,
  225. count: 5,
  226. orderId: '',
  227. }
  228. },
  229. onLoad(option) {
  230. if (option.type) {
  231. this.orderStatus = option.type;
  232. switch (option.type) {
  233. case "10":
  234. this.current = 1;
  235. break;
  236. case "20":
  237. this.current = 2;
  238. break
  239. case "40":
  240. this.current = 4;
  241. break
  242. case "60":
  243. this.current = 6;
  244. break
  245. default:
  246. this.current = 0;
  247. break
  248. }
  249. }
  250. console.log('onLoad');
  251. },
  252. onShow() {
  253. if (this.isFirst) {
  254. this.isFirst = false;
  255. this.init();
  256. } else {
  257. // 获取全局参数
  258. const app = getApp();
  259. if (app.globalData.switchTabParams) {
  260. const params = app.globalData.switchTabParams;
  261. console.log('接收到的参数:', params);
  262. if (params.reload) {
  263. console.log('onShow');
  264. this.init()
  265. // 使用完后可以清除
  266. app.globalData.switchTabParams = null;
  267. return
  268. } else {
  269. }
  270. }
  271. }
  272. },
  273. methods: {
  274. init() {
  275. console.log("初始化");
  276. this.getOrderList("reload")
  277. this.getOrderStatus();
  278. },
  279. evaluateOpen() {
  280. this.evaluateShow = true;
  281. },
  282. evaluateClose() {
  283. this.evaluateShow = false;
  284. },
  285. // 评价订单
  286. confirmEvaluate() {
  287. if (!this.evaluateInfo.content) {
  288. uni.showToast({
  289. title: '请填写内容',
  290. icon: 'none'
  291. });
  292. return
  293. }
  294. let that = this;
  295. uni.showLoading({
  296. title: '评价中',
  297. mask: true,
  298. });
  299. that.evaluateInfo.orderId = that.orderId
  300. evaluateOrder(that.evaluateInfo).then(res => {
  301. if (res.code == 200) {
  302. let data = res.data;
  303. that.evaluateInfo = {
  304. content: '',
  305. serviceAttitude: 0,
  306. dressAppearance: 0,
  307. communicationAbility: 0,
  308. }
  309. that.evaluateClose()
  310. that.getOrderList('reload')
  311. }
  312. })
  313. .catch((err) => {
  314. console.log(err);
  315. })
  316. .finally(() => {
  317. uni.hideLoading();
  318. });
  319. },
  320. open() {
  321. let that = this;
  322. getServicePhoneList().then(res => {
  323. if (res.code == 200) {
  324. let data = res.data;
  325. this.workerList = data;
  326. this.popShow = true;
  327. }
  328. })
  329. .catch((err) => {
  330. console.log(err);
  331. })
  332. },
  333. popClose() {
  334. this.popShow = false;
  335. },
  336. //拨打电话
  337. confirmAndCall(phoneNumber) {
  338. // 先验证电话号码
  339. if (!this.isValidPhoneNumber(phoneNumber)) {
  340. uni.showToast({
  341. title: '电话号码格式不正确',
  342. icon: 'none'
  343. });
  344. return;
  345. }
  346. // 显示确认对话框
  347. uni.showModal({
  348. title: '确认拨打电话',
  349. content: `确定要拨打 ${phoneNumber} 吗?`,
  350. success: (res) => {
  351. if (res.confirm) {
  352. // 用户点击确定,执行拨打电话
  353. this.makePhoneCall(phoneNumber);
  354. }
  355. }
  356. });
  357. },
  358. isValidPhoneNumber(phoneNumber) {
  359. // 简单的电话号码验证
  360. return /^1[3-9]\d{9}$/.test(phoneNumber);
  361. },
  362. makePhoneCall(phoneNumber) {
  363. uni.makePhoneCall({
  364. phoneNumber: phoneNumber,
  365. success: () => {
  366. console.log('拨打电话成功');
  367. },
  368. fail: (err) => {
  369. console.error('拨打电话失败', err);
  370. uni.showToast({
  371. title: '拨打电话失败',
  372. icon: 'none'
  373. });
  374. }
  375. });
  376. },
  377. changeTab(item) {
  378. console.log("item", item);
  379. this.pageNum = 1;
  380. this.orderStatus = item.code;
  381. if (item.code != 7) {
  382. this.orderList = [];
  383. this.getOrderList("reload");
  384. } else {
  385. this.getRefundStatus();
  386. this.getAfterSaleOrderList("reload");
  387. }
  388. },
  389. getStatusTxt(value) {
  390. let obj = this.typeList.find(item => item.code == value);;
  391. return obj ? obj.value : '-'
  392. },
  393. getRefundTxt(value) {
  394. let obj = this.refundStatusList.find(item => item.code == value);;
  395. return obj ? obj.value : '-'
  396. },
  397. //取消订单
  398. cancleOrder(id) {
  399. //确认是否删除
  400. uni.showModal({
  401. title: '提示',
  402. content: '确定取消订单吗?',
  403. success: (res) => {
  404. if (res.confirm) {
  405. console.log('用户点击确定');
  406. cancelOrder(id).then(res => {
  407. if (res.code == 200) {
  408. uni.showToast({
  409. title: '取消成功',
  410. icon: 'success'
  411. })
  412. this.init()
  413. }
  414. })
  415. } else if (res.cancel) {
  416. console.log('用户点击取消');
  417. }
  418. },
  419. })
  420. },
  421. //联系护工
  422. contactPerson(item) {
  423. this.open()
  424. },
  425. //去评价
  426. goEvaluation(id) {
  427. this.orderId = id
  428. this.evaluateOpen()
  429. },
  430. //获取订单列表
  431. getOrderList(reload) {
  432. // 验证登录
  433. // let token = uni.getStorageSync('apiToken');
  434. // if (!token) return
  435. let that = this;
  436. if (reload) {
  437. that.pageNum = 1;
  438. that.orderList = [];
  439. }
  440. uni.showLoading({
  441. title: '加载中',
  442. mask: true,
  443. });
  444. let param = {
  445. status: that.orderStatus,
  446. serviceName: that.serviceName,
  447. pageNum: that.pageNum,
  448. pageSize: that.pageSize,
  449. };
  450. getOrderList(param).then(res => {
  451. let data = res.rows;
  452. if (data) {
  453. that.orderList.push(...data); //在列表后面新增新获取的数据
  454. that.total = res.total; //获取数据总页数
  455. if (that.orderList.length >= that.total) {
  456. that.status = 'nomore';
  457. return;
  458. }
  459. } else {
  460. that.status = 'nomore';
  461. }
  462. })
  463. .catch((err) => {
  464. console.log(err);
  465. })
  466. .finally(() => {
  467. uni.hideLoading();
  468. });
  469. },
  470. //查询售后订单列表
  471. getAfterSaleOrderList(reload) {
  472. let that = this;
  473. if (reload) {
  474. that.pageNum = 1;
  475. that.orderList = [];
  476. }
  477. uni.showLoading({
  478. title: '加载中',
  479. mask: true,
  480. });
  481. let param = {
  482. pageNum: that.pageNum,
  483. pageSize: that.pageSize,
  484. }
  485. getAfterSaleOrderList(param).then(res => {
  486. let data = res.rows;
  487. if (data) {
  488. that.orderList.push(...data); //在列表后面新增新获取的数据
  489. that.total = res.total; //获取数据总页数
  490. if (that.orderList.length >= that.total) {
  491. that.status = 'nomore';
  492. return;
  493. }
  494. } else {
  495. that.status = 'nomore';
  496. }
  497. })
  498. .catch((err) => {
  499. console.log(err);
  500. })
  501. .finally(() => {
  502. uni.hideLoading();
  503. });
  504. },
  505. //查询订单状态
  506. getOrderStatus() {
  507. let that = this;
  508. getOrderStatus().then(res => {
  509. if (res.code == 200) {
  510. let data = res.data.orderStatus;
  511. data.unshift({
  512. value: '全部',
  513. code: undefined,
  514. })
  515. data.push({
  516. value: '退款',
  517. code: 7,
  518. })
  519. this.typeList = data;
  520. }
  521. })
  522. .catch((err) => {
  523. console.log(err);
  524. })
  525. },
  526. //查询退款状态
  527. getRefundStatus() {
  528. let that = this;
  529. getRefundStatus().then(res => {
  530. if (res.code == 200) {
  531. let data = res.data.refundStatus;
  532. this.refundStatusList = data;
  533. }
  534. })
  535. .catch((err) => {
  536. console.log(err);
  537. })
  538. },
  539. //去详情
  540. toDetails(item, type) {
  541. if (type) {
  542. uni.navigateTo({
  543. url: '/pages/order/refundDetails?id=' + item.id
  544. })
  545. } else {
  546. uni.navigateTo({
  547. url: '/pages/order/orderDetails?id=' + item.id
  548. })
  549. }
  550. },
  551. //去验收
  552. toAcceptance(item) {
  553. uni.navigateTo({
  554. url: '/pages/mineOrders/acceptance?id=' + item.id
  555. })
  556. },
  557. //加载更多
  558. loadmore() {
  559. // 如果当前页数大于等于总页数,状态修改为没有更多了,不再继续往下执行代码
  560. if (this.orderList.length >= this.total) {
  561. this.status = 'nomore';
  562. return;
  563. }
  564. this.status = 'loading'; //状态改为加载中
  565. this.pageNum++;
  566. if (this.orderStatus != 7) {
  567. this.getOrderList();
  568. } else {
  569. this.getAfterSaleOrderList();
  570. }
  571. },
  572. onReachBottom() {
  573. this.loadmore();
  574. },
  575. //下拉刷新回调函数
  576. onPullDownRefresh() {
  577. // wx.setStorageSync('isChangeBanner', true);
  578. this.init();
  579. setTimeout(function() {
  580. uni.stopPullDownRefresh();
  581. }, 1000);
  582. },
  583. }
  584. }
  585. </script>
  586. <style lang="scss" scoped>
  587. .container {
  588. background-color: #f6f6f6;
  589. }
  590. .search-box {
  591. display: flex;
  592. align-items: center;
  593. padding: 20rpx;
  594. }
  595. .order-list {
  596. margin: 20rpx;
  597. .order-item {
  598. margin-bottom: 20rpx;
  599. background-color: #fff;
  600. border-radius: 20rpx;
  601. padding: 10rpx 24rpx 30rpx;
  602. .order-t-box {
  603. display: flex;
  604. justify-content: space-between;
  605. align-items: flex-start;
  606. padding: 20rpx 0;
  607. .order-t-box-l {
  608. .order-name {
  609. font-size: 32rpx;
  610. font-weight: bold;
  611. }
  612. .order-no {
  613. display: flex;
  614. align-items: center;
  615. margin-top: 15rpx;
  616. font-size: 24rpx;
  617. color: #6F6F6F;
  618. .icon {
  619. width: 40rpx;
  620. height: 40rpx;
  621. margin-left: 10rpx;
  622. }
  623. }
  624. }
  625. .order-t-box-r {
  626. display: flex;
  627. align-items: center;
  628. flex-direction: column;
  629. .title {
  630. font-size: 24rpx;
  631. color: #6F6F6F;
  632. }
  633. .price {
  634. margin-top: 15rpx;
  635. font-size: 32rpx;
  636. font-weight: bold;
  637. color: #FF0000;
  638. }
  639. }
  640. }
  641. .order-b-box {
  642. display: flex;
  643. justify-content: space-between;
  644. align-items: center;
  645. padding: 20rpx 0;
  646. .order-b-box-l {
  647. flex: 1;
  648. .order-b-item {
  649. margin-bottom: 15rpx;
  650. &:last-child {
  651. margin-bottom: 0;
  652. }
  653. .title {
  654. font-size: 26rpx;
  655. color: #1A1A1A;
  656. }
  657. .txt {
  658. font-size: 26rpx;
  659. color: #808080;
  660. }
  661. }
  662. }
  663. .order-b-box-r {
  664. width: 110rpx;
  665. text-align: right;
  666. font-size: 24rpx;
  667. color: #0085FF;
  668. .cancle {
  669. color: #FF0000;
  670. }
  671. }
  672. }
  673. .btn-box {
  674. display: flex;
  675. align-items: center;
  676. justify-content: space-between;
  677. margin-top: 15rpx;
  678. .time {
  679. font-size: 24rpx;
  680. color: #6F6F6F;
  681. }
  682. .btn-box-r {
  683. display: flex;
  684. align-items: center;
  685. .btn {
  686. width: 160rpx;
  687. height: 60rpx;
  688. margin-left: 20rpx;
  689. line-height: 60rpx;
  690. text-align: center;
  691. background-color: #4B91D1;
  692. color: #fff;
  693. border-radius: 30rpx;
  694. font-size: 24rpx;
  695. }
  696. .btn1 {
  697. background-color: #fff;
  698. border: 1rpx solid #4B91D1;
  699. color: #4B91D1;
  700. }
  701. }
  702. }
  703. }
  704. }
  705. .pop-box {
  706. .pop-title {
  707. font-size: 32rpx;
  708. font-weight: bold;
  709. text-align: center;
  710. padding: 20rpx 0;
  711. }
  712. .pop-content {
  713. display: flex;
  714. flex-direction: column;
  715. align-items: center;
  716. margin-top: 30rpx;
  717. font-size: 28rpx;
  718. color: #6F6F6F;
  719. padding: 0 20rpx;
  720. &>view {
  721. margin-bottom: 20rpx;
  722. &:last-child {
  723. margin-bottom: 0;
  724. }
  725. }
  726. .pop-item {
  727. display: flex;
  728. align-items: center;
  729. justify-content: center;
  730. width: 500rpx;
  731. padding: 20rpx 0;
  732. background-color: #4B91D1;
  733. border-radius: 40rpx;
  734. color: #fff;
  735. .txt {
  736. font-size: 28rpx;
  737. }
  738. }
  739. .info-item {
  740. display: flex;
  741. justify-content: space-between;
  742. padding: 20rpx 0;
  743. width: 100%;
  744. }
  745. .tip-txt {
  746. display: flex;
  747. flex-direction: column;
  748. padding: 20rpx 0;
  749. width: 100%;
  750. .name {
  751. margin-bottom: 20rpx;
  752. }
  753. }
  754. }
  755. .footer-btn {
  756. display: flex;
  757. flex-direction: column;
  758. align-items: center;
  759. margin-top: 30rpx;
  760. padding: 20rpx;
  761. .btn {
  762. width: 100%;
  763. padding: 20rpx 0;
  764. border: 1rpx solid #4B91D1;
  765. background-color: #4B91D1;
  766. border-radius: 40rpx;
  767. color: #fff;
  768. text-align: center;
  769. }
  770. }
  771. .pop-footer-btn {
  772. display: flex;
  773. flex-direction: column;
  774. align-items: center;
  775. margin-top: 60rpx;
  776. .btn {
  777. width: 500rpx;
  778. padding: 20rpx 0;
  779. border: 1rpx solid #4B91D1;
  780. border-radius: 40rpx;
  781. color: #333;
  782. text-align: center;
  783. }
  784. }
  785. }
  786. </style>