takefood.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. <template>
  2. <view class="pages" v-if="XCXIsSelect == '是'">
  3. <!-- 余额 -->
  4. <view class="tosend" v-if="dataDet">
  5. <view class="tosend_text" v-if="dataDet.status == 3 && dataDet.orderType == 1">待取餐</view>
  6. <view class="tosend_text" v-if="dataDet.status == 3 && dataDet.orderType == 2">配送中</view>
  7. <view class="tosend_text" v-if="dataDet.status == 4">已完成</view>
  8. <view class="tosend_text" v-if="dataDet.status == 5">已取消</view>
  9. <view class="tosend_text" v-if="dataDet.status == 6">制作中</view>
  10. <view class="tosend_text" v-if="dataDet.status == 7">待接单</view>
  11. <view class="tosend_text" v-if="dataDet.status == 8">已取消</view>
  12. <view class="tosend_text" v-if="dataDet.status == 13">待骑手接单</view>
  13. <view class="tosend_text" v-if="dataDet.status == 0">待结算</view>
  14. <view style="padding: 0 30rpx; font-size: 20px" v-if="dataDet.orderSequence">#{{ dataDet.orderSequence }}</view>
  15. <view style="padding: 0 30rpx; font-size: 20px">
  16. {{ dataDet.orderTypeExtra == 1 ? '到店取餐' : dataDet.orderTypeExtra == 2 ? '骑手配送' : dataDet.orderTypeExtra == 3 ? '商家配送' : '' }}
  17. </view>
  18. <view class="flex justify-center" v-if="dataDet.orderType == 1" style="width: 100%; height: 140rpx; margin-bottom: 30rpx">
  19. <view class="flex justify-center" style="width: 94%; height: 100%; border-radius: 18rpx; background-color: #ffffff; padding: 3%">
  20. <view class="flex justify-between align-center" style="width: 100%; height: 100%">
  21. <image :src="shopInfo.shopCover ? shopInfo.shopCover : '../../static/logo.png'" style="width: 110rpx; height: 110rpx; border-radius: 8rpx" mode=""></image>
  22. <view class="flex flex-wrap align-center" style="width: 80%; height: 100%">
  23. <view class="" style="width: 100%; font-size: 30rpx" @click="call">
  24. <text style="font-weight: bold">{{ shopInfo.shopName ? shopInfo.shopName : '' }}</text>
  25. <text style="margin-left: 10rpx; font-weight: bold">{{ shopInfo.phones ? shopInfo.phones : '' }}</text>
  26. <u-icon name="phone" size="30" color="#999999" style=""></u-icon>
  27. </view>
  28. <view class="flex align-center" style="width: 100%; color: #999999; font-size: 24rpx" @click="goMaps">
  29. <u-icon name="map" size="30" color="#999999" style="margin-right: 10rpx"></u-icon>
  30. {{ shopInfo.detailedAddress ? shopInfo.detailedAddress : '' }}
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="tosend_header">
  37. <!-- 排序 -->
  38. <view class="cont_two_top" v-if="dataDet.status == 3 && dataDet.orderType == 1">
  39. <view class="cont_two_top_le">取餐号码</view>
  40. <!-- <view class="cont_two_top_ri">制作中</view> -->
  41. </view>
  42. <view v-if="dataDet.status == 3 && dataDet.orderType == 1" class="cont_two_text">{{ dataDet.orderCode }}</view>
  43. <view v-if="dataDet.status == 3 && dataDet.orderType == 1" class="cont_two_text2">
  44. 前面还有
  45. <text>{{ dataDet.countOrder }}</text>
  46. 个订单
  47. </view>
  48. <!-- 商品列表 -->
  49. <view v-if="dataDet" class="tosend_header_food" v-for="(item, index) in dataDet.orderGoodsList" :key="index">
  50. <view class="tosend_header_food_le">
  51. <image :src="item.goodsPicture[0]" style="border-radius: 10rpx" mode=""></image>
  52. </view>
  53. <view class="flex-sub margin-left-sm">
  54. <view class="flex justify-between align-center">
  55. <view class="text-lg text-bold text-black">{{ item.goodsName }}</view>
  56. <view class="text-lg text-bold text-black">
  57. <text class="text-sm">¥</text>
  58. {{ item.goodsPrice }}
  59. </view>
  60. </view>
  61. <view class="flex justify-between align-center text-gray">
  62. <view v-if="item.skuMessage">{{ item.skuMessage }}</view>
  63. <view>X{{ item.goodsNum }}</view>
  64. </view>
  65. <view class="flex justify-between align-center text-gray" v-if="item.goodsPack">
  66. <view>打包费</view>
  67. <view>¥{{ item.goodsPack }} / 份</view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="tosend_header_do" v-if="dataDet.couponMoney > 0">
  72. <view>优惠券</view>
  73. <view class="tosend_header_do_ri">-¥{{ dataDet.couponMoney }}</view>
  74. </view>
  75. <view
  76. class="tosend_header_do do_bot"
  77. v-if="dataDet.errandMoney > 0 && dataDet.orderType == 2 && dataDet.errandMoneyIsShop == '本单未达到商家满减金额,跑腿费由用户承担'"
  78. >
  79. <view>跑腿费</view>
  80. <view class="tosend_header_do_ri">¥{{ dataDet.errandMoney }}</view>
  81. </view>
  82. <view
  83. class="tosend_header_do do_bot"
  84. v-if="dataDet.errandMoney > 0 && dataDet.orderType == 2 && dataDet.errandMoneyIsShop == '商家未开启配送费满减,跑腿费由用户承担'"
  85. >
  86. <view>跑腿费</view>
  87. <view class="tosend_header_do_ri">¥{{ dataDet.errandMoney }}</view>
  88. </view>
  89. <view class="tosend_header_do">
  90. <view class="tosend_header_do_le2">实付</view>
  91. <view class="tosend_header_do_ri2">
  92. <text>¥</text>
  93. {{ dataDet.payMoney }}
  94. </view>
  95. </view>
  96. </view>
  97. <view class="text-center" v-if="dataDet">
  98. <map
  99. v-if="dataDet.status == 3 && latitude && longitude"
  100. id="map"
  101. @tap="goMap"
  102. style="width: 95%; height: 300rpx; margin: 20rpx auto 0"
  103. :markers="markers"
  104. :latitude="latitude"
  105. :longitude="longitude"
  106. ></map>
  107. </view>
  108. <!-- 骑手信息 -->
  109. <view class="rider_box" v-if="dataDet && (dataDet.status == 3 || dataDet.status == 4) && dataDet.riderUserId">
  110. <view class="flex justify-between align-center padding">
  111. <view style="font-size: 31rpx; color: black">联系骑手</view>
  112. <image @click="complaint" src="../../static/images/order/tousu.png" style="width: 43rpx; height: 39rpx" mode=""></image>
  113. </view>
  114. <view>
  115. <u-line color="#F2F2F2" />
  116. </view>
  117. <view style="padding: 20rpx 25rpx; display: flex; justify-content: space-between; align-items: center">
  118. <view style="display: flex">
  119. <view class="rider_left">
  120. <image :src="dataDet.riderAvatar"></image>
  121. </view>
  122. <view style="margin-left: 10rpx; color: #333333">
  123. <view>{{ dataDet.riderUserName }}</view>
  124. <view>{{ dataDet.riderPhone }}</view>
  125. </view>
  126. </view>
  127. <view class="phone" @click="bindphone(dataDet.riderPhone)">联系TA</view>
  128. </view>
  129. </view>
  130. <!-- 商家信息 -->
  131. <view class="rider_box" v-if="dataDet && (dataDet.status == 3 || dataDet.status == 4 || dataDet.status == 0)">
  132. <view class="flex justify-between align-center padding">
  133. <view style="font-size: 31rpx; color: black">联系商家</view>
  134. </view>
  135. <view>
  136. <u-line color="#F2F2F2" />
  137. </view>
  138. <view style="padding: 20rpx 25rpx; display: flex; justify-content: space-between; align-items: center">
  139. <view style="display: flex">
  140. <view style="margin-left: 10rpx; color: #333333">
  141. <view>{{ dataDet.shopName }}</view>
  142. <view>{{ dataDet.shopPhone }}</view>
  143. </view>
  144. </view>
  145. <view class="phone" @click="bindphone(dataDet.shopPhone)">联系TA</view>
  146. </view>
  147. </view>
  148. <!-- 其他信息 -->
  149. <view class="tosend_cont" v-if="dataDet">
  150. <view class="tosend_header_text">
  151. <text>订单信息</text>
  152. </view>
  153. <view class="tosend_cont_infor" v-if="dataDet.orderType == 1">
  154. <view class="tosend_cont_infor_le">取餐号码</view>
  155. <view class="tosend_cont_infor_ri">{{ dataDet.orderCode }}</view>
  156. </view>
  157. <view class="tosend_cont_infor">
  158. <view class="tosend_cont_infor_le">订单编号</view>
  159. <view class="tosend_cont_infor_ri">
  160. {{ dataDet.orderNumber }}
  161. <u-icon @click="copy(dataDet.orderNumber)" name="order" style="margin-left: 6rpx" size="32"></u-icon>
  162. </view>
  163. </view>
  164. <view class="tosend_cont_infor" v-if="dataDet.payTime">
  165. <view class="tosend_cont_infor_le">下单时间</view>
  166. <view class="tosend_cont_infor_ri">{{ dataDet.payTime }}</view>
  167. </view>
  168. <view class="tosend_cont_infor">
  169. <view class="tosend_cont_infor_le">支付方式</view>
  170. <view class="tosend_cont_infor_ri" v-if="dataDet.payType == 1">微信支付</view>
  171. <view class="tosend_cont_infor_ri" v-if="dataDet.payType == 2">余额支付</view>
  172. </view>
  173. <view class="tosend_cont_infor" v-if="dataDet.orderType == 2">
  174. <view class="tosend_cont_infor_le">联系人</view>
  175. <view class="tosend_cont_infor_ri">{{ dataDet.address.userName }}</view>
  176. </view>
  177. <view class="tosend_cont_infor" v-if="dataDet.orderType == 2">
  178. <view class="tosend_cont_infor_le">联系方式</view>
  179. <view class="tosend_cont_infor_ri">{{ dataDet.address.userPhone }}</view>
  180. </view>
  181. <view class="tosend_cont_infor" v-if="dataDet.orderType == 2">
  182. <view class="tosend_cont_infor_le">详细地址</view>
  183. <view class="tosend_cont_infor_ri">
  184. {{ dataDet.address.province }}{{ dataDet.address.city }}{{ dataDet.address.district }}{{ dataDet.address.addressDetail }}
  185. </view>
  186. </view>
  187. <view class="tosend_cont_infor" v-if="dataDet.remark">
  188. <view class="tosend_cont_infor_le">订单备注</view>
  189. <view class="tosend_cont_infor_ri">
  190. {{ dataDet.remark }}
  191. </view>
  192. </view>
  193. <view v-if="dataDet.successFlag == 1">
  194. <view class="tosend_cont_infor_le" style="margin-bottom: 20rpx">配送图片</view>
  195. <img
  196. v-for="(item, index) in dataDet.deliveryImgs.split(',')"
  197. :key="item"
  198. style="width: 200rpx; height: 200rpx; margin: 0 10rpx 10rpx 0"
  199. :src="item"
  200. mode="aspectFill"
  201. @click="handleViewImg(index, dataDet.deliveryImgs)"
  202. />
  203. </view>
  204. </view>
  205. </view>
  206. <view style="width: 100rpx; height: 100rpx; position: fixed; bottom: 100rpx; right: 70rpx" v-if="dataDet">
  207. <image src="../../static/images/order/kefu.png" style="width: 100%; height: 100%" @click="goChat()" mode=""></image>
  208. <view class="shopxiaoix" v-if="RiderUnreadCount > 0">{{ RiderUnreadCount }}</view>
  209. </view>
  210. </view>
  211. </template>
  212. <script>
  213. export default {
  214. data() {
  215. return {
  216. orderId: '',
  217. dataDet: '',
  218. markers: [], //标记点
  219. latitude: '',
  220. longitude: '',
  221. RiderUnreadCount: 0,
  222. XCXIsSelect: '是',
  223. shopId: '',
  224. shopInfo: {}
  225. }
  226. },
  227. onLoad(option) {
  228. this.XCXIsSelect = this.$queue.getData('XCXIsSelect')
  229. if (this.XCXIsSelect == '否') {
  230. uni.setNavigationBarTitle({
  231. title: '隐私政策'
  232. })
  233. } else {
  234. uni.setNavigationBarTitle({
  235. title: '订单详情'
  236. })
  237. }
  238. let that = this
  239. uni.showLoading({
  240. title: '加载中...',
  241. mask: true // 是否显示透明蒙层,防止触摸穿透
  242. })
  243. that.orderId = option.orderId
  244. that.shopId = option.shopId
  245. uni.getLocation({
  246. type: 'gcj02', //返回可以用于uni.openLocation的经纬度
  247. success: function (res) {
  248. that.lat = res.latitude
  249. that.lng = res.longitude
  250. that.getDataDet()
  251. },
  252. fail(e) {
  253. uni.hideLoading()
  254. uni.showModal({
  255. title: '温馨提示',
  256. content: '您的定位权限未开启,请开启后再来操作吧!',
  257. showCancel: true,
  258. cancelText: '取消',
  259. confirmText: '确认',
  260. success: (res) => {
  261. if (res.confirm) {
  262. uni.openSetting({
  263. // 打开设置页
  264. success(rea) {
  265. console.log(rea.authSetting)
  266. }
  267. })
  268. }
  269. }
  270. })
  271. }
  272. })
  273. this.getRiderUnreadCount()
  274. this.getShopInfo()
  275. },
  276. created() {
  277. this.RiderUnreadCount = setInterval(() => {
  278. this.getRiderUnreadCount()
  279. }, 5000)
  280. },
  281. methods: {
  282. // 点击调起地图查看位置
  283. goMaps() {
  284. let that = this
  285. let lati = parseFloat(that.shopInfo.shopLat)
  286. let longi = parseFloat(that.shopInfo.shopLng)
  287. uni.authorize({
  288. scope: 'scope.userLocation',
  289. success(res) {
  290. uni.openLocation({
  291. name: that.shopInfo.shopName,
  292. latitude: lati,
  293. longitude: longi,
  294. success: function () {}
  295. })
  296. },
  297. fail(err) {}
  298. })
  299. },
  300. // 打电话
  301. call() {
  302. uni.makePhoneCall({
  303. phoneNumber: this.shopInfo.phone
  304. })
  305. },
  306. //获取店铺信息
  307. getShopInfo() {
  308. let data = {
  309. shopId: this.shopId
  310. }
  311. this.$Request.get('/app/shop/selectShopMessage', data).then((res) => {
  312. if (res.code == 0 && res.data) {
  313. this.shopInfo = res.data
  314. console.log(this.shopInfo, 999)
  315. let phoneNumber = this.shopInfo.phone.toString() //先强制转换成字符串类型
  316. this.shopInfo.phones = phoneNumber.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
  317. }
  318. })
  319. },
  320. getDataDet() {
  321. let data = {
  322. orderId: this.orderId
  323. }
  324. this.$Request.get('/app/order/selectOrderById', data).then((res) => {
  325. uni.hideLoading()
  326. if (res.code == 0) {
  327. this.dataDet = res.data
  328. console.log(this.dataDet, 'll')
  329. // this.dataDet.goodsMessage = JSON.parse(this.dataDet.goodsMessage)
  330. if (this.dataDet.orderCode) {
  331. this.dataDet.orderCode = this.dataDet.orderCode.substring(this.dataDet.orderCode.length - 3, this.dataDet.orderCode.length)
  332. }
  333. this.dataDet.orderGoodsList.forEach((res) => {
  334. res.goodsPicture = res.goodsPicture.split(',')
  335. })
  336. if (this.dataDet.riderPhone) {
  337. this.dataDet.riderPhone1 = this.dataDet.riderPhone.substring(0, 3) + '****' + this.dataDet.riderPhone.substring(7, 11)
  338. }
  339. this.dataDet.address = this.dataDet.address ? JSON.parse(this.dataDet.address) : ''
  340. console.log(this.dataDet.address)
  341. if (this.dataDet.riderUserId) {
  342. this.getLocation(this.dataDet.riderUserId)
  343. }
  344. }
  345. })
  346. },
  347. goChat() {
  348. uni.navigateTo({
  349. url: '/pages/index/shop/im?ordersId=' + this.orderId
  350. })
  351. },
  352. getLocation(e) {
  353. let data = {
  354. riderUserId: e,
  355. lat: this.lat,
  356. lng: this.lng
  357. }
  358. this.$Request.getT('/timedtask/selectRiderLocation', data).then((res) => {
  359. if (res.code === 0) {
  360. console.log(res.data, '经纬度')
  361. this.latitude = res.data.riderLocation.lat
  362. this.longitude = res.data.riderLocation.lng
  363. this.markers = [
  364. {
  365. id: 1,
  366. latitude: res.data.riderLocation.lat,
  367. longitude: res.data.riderLocation.lng,
  368. iconPath: '../../static/images/order/rider.png',
  369. width: '40',
  370. height: '40'
  371. }
  372. ]
  373. }
  374. })
  375. },
  376. goMap() {
  377. uni.navigateTo({
  378. url: '/pages/order/waimaiMap?orderId=' + this.orderId
  379. })
  380. },
  381. // 拨打电话
  382. bindphone(e) {
  383. console.log(e)
  384. uni.makePhoneCall({
  385. phoneNumber: e
  386. })
  387. },
  388. complaint() {
  389. uni.navigateTo({
  390. url: '/pages/order/complaint/complaint?indentNumber=' + this.dataDet.indentNumber + '&indentType=5'
  391. })
  392. },
  393. copy(e) {
  394. uni.setClipboardData({
  395. data: e,
  396. success: () => {
  397. uni.showToast({
  398. title: '复制成功'
  399. })
  400. }
  401. })
  402. },
  403. getRiderUnreadCount() {
  404. let that = this
  405. let data = {
  406. ordersId: that.orderId
  407. }
  408. that.$Request.getT('/app/ordersChat/selectUserUnreadCount', data).then((res) => {
  409. if (res.code == 0) {
  410. if (res.data > 0) {
  411. if (that.RiderUnreadCount != res.data) {
  412. that.aplayAudio()
  413. that.RiderUnreadCount = res.data
  414. }
  415. } else {
  416. that.RiderUnreadCount = 0
  417. }
  418. }
  419. })
  420. },
  421. // 语音播报
  422. aplayAudio() {
  423. // const audio = document.getElementById('audio')
  424. // audio.play()
  425. // console.log('语音提示')
  426. const innerAudioContext = uni.createInnerAudioContext()
  427. innerAudioContext.autoplay = true
  428. innerAudioContext.src = 'https://pw.xianmxkj.com/file/uploadPath/2022/01/19/0753211f78d718d44ee6372e33eae9ee.mp3'
  429. innerAudioContext.onPlay(() => {
  430. console.log('开始播放')
  431. })
  432. innerAudioContext.onError((res) => {
  433. console.log(res.errMsg)
  434. console.log(res.errCode)
  435. })
  436. },
  437. handleViewImg(index, list) {
  438. uni.previewImage({
  439. urls: list.split(','),
  440. current: index
  441. })
  442. }
  443. }
  444. }
  445. </script>
  446. <style scoped>
  447. /* 余额 */
  448. .tosend {
  449. width: 100%;
  450. height: 280rpx;
  451. background: -webkit-linear-gradient(top, #fcd202, #f5f5f5);
  452. }
  453. .tosend_text {
  454. padding: 3% 3% 4%;
  455. font-size: 48rpx;
  456. font-weight: 800;
  457. color: #333333;
  458. }
  459. .tosend_header {
  460. width: 94%;
  461. background-color: #ffffff;
  462. margin: 0 auto;
  463. border-radius: 18rpx;
  464. padding: 3%;
  465. }
  466. /* 排序 */
  467. .cont_two_top {
  468. width: 100%;
  469. display: flex;
  470. justify-content: space-between;
  471. }
  472. .cont_two_top_le {
  473. font-size: 30rpx;
  474. font-weight: 500;
  475. color: #333333;
  476. }
  477. .cont_two_top_ri {
  478. padding: 6rpx 10rpx;
  479. text-align: center;
  480. background: rgba(255, 19, 10, 0.2);
  481. font-size: 24rpx;
  482. border: 2rpx solid #ff130a;
  483. color: #ff130a;
  484. opacity: 0.6;
  485. border-radius: 8rpx;
  486. }
  487. .cont_two_text {
  488. font-size: 56rpx;
  489. text-align: center;
  490. font-weight: bold;
  491. color: #333333;
  492. margin: 5% 0;
  493. line-height: 32rpx;
  494. }
  495. .cont_two_text2 {
  496. font-size: 30rpx;
  497. width: 100%;
  498. font-weight: 500;
  499. color: #333333;
  500. text-align: center;
  501. padding-bottom: 4%;
  502. line-height: 32rpx;
  503. border-bottom: 1rpx solid #e6e6e6;
  504. }
  505. .cont_two_text2 text {
  506. color: #ff130a;
  507. }
  508. /* 商品列表 */
  509. .tosend_header_text {
  510. font-weight: 800;
  511. color: #333333;
  512. line-height: 2;
  513. font-size: 30rpx;
  514. display: flex;
  515. justify-content: space-between;
  516. }
  517. .tosend_header_food {
  518. width: 100%;
  519. display: flex;
  520. margin-top: 3%;
  521. }
  522. .tosend_header_food_le {
  523. width: 15%;
  524. }
  525. .tosend_header_food_le image {
  526. width: 110rpx;
  527. height: 110rpx;
  528. }
  529. .tosend_header_food_ce {
  530. margin: 0 0 0 4%;
  531. width: 57%;
  532. }
  533. .tosend_header_food_ri {
  534. text-align: right;
  535. width: 25%;
  536. }
  537. .tosend_header_food_text {
  538. font-size: 34rpx;
  539. font-weight: 500;
  540. color: #333333;
  541. line-height: 1.8;
  542. }
  543. .tosend_header_food_text text {
  544. font-size: 25rpx;
  545. }
  546. .tosend_header_food_text2 {
  547. font-size: 30rpx;
  548. font-weight: 500;
  549. color: #999999;
  550. }
  551. .do_top {
  552. padding-top: 3%;
  553. }
  554. .do_bot {
  555. padding-bottom: 3%;
  556. border-bottom: 2rpx solid #e6e6e6;
  557. }
  558. .tosend_header_do {
  559. width: 100%;
  560. color: #333333;
  561. font-size: 30rpx;
  562. display: flex;
  563. line-height: 1.5;
  564. }
  565. .tosend_header_do view {
  566. flex: 1;
  567. }
  568. .tosend_header_do_ri {
  569. text-align: right;
  570. }
  571. .tosend_header_do_le2 {
  572. font-family: PingFang SC;
  573. font-weight: 500;
  574. color: #999999;
  575. padding-top: 1.5%;
  576. }
  577. .tosend_header_do_ri2 {
  578. text-align: right;
  579. color: #ea0000;
  580. font-size: 40rpx;
  581. }
  582. .tosend_header_do_ri2 text {
  583. font-size: 30rpx;
  584. }
  585. /* 其他信息 */
  586. .tosend_cont {
  587. width: 94%;
  588. background-color: #ffffff;
  589. margin: 3% auto;
  590. border-radius: 18rpx;
  591. padding: 3%;
  592. }
  593. .tosend_cont_infor {
  594. display: flex;
  595. margin-top: 3%;
  596. }
  597. .tosend_cont_infor_le {
  598. flex: 1;
  599. color: #999999;
  600. }
  601. .tosend_cont_infor_ri {
  602. flex: 2;
  603. text-align: right;
  604. color: #333333;
  605. }
  606. .tosend_cont_text {
  607. text-align: right;
  608. }
  609. /* 联系骑手 */
  610. .rider_box {
  611. width: 95%;
  612. margin: 0 auto;
  613. background: #ffffff;
  614. margin-top: 20rpx;
  615. border-radius: 10rpx;
  616. }
  617. .rider_left image {
  618. width: 80rpx;
  619. height: 85rpx;
  620. border-radius: 60%;
  621. }
  622. .phone {
  623. background: #fd6416;
  624. color: #ffffff;
  625. padding: 8rpx 15rpx;
  626. border-radius: 13rpx;
  627. font-size: 24rpx;
  628. }
  629. .shopxiaoix {
  630. background: red;
  631. color: #ffffff;
  632. width: auto;
  633. padding: 5rpx 12rpx;
  634. height: auto;
  635. text-align: center;
  636. border-radius: 30rpx;
  637. position: absolute;
  638. top: -4rpx;
  639. right: -4rpx;
  640. }
  641. </style>