orderDetail.vue 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073
  1. <template>
  2. <block>
  3. <!-- <login @onLoginBack="onLoginBack"></login> -->
  4. <view class="content">
  5. <view class="orderStatus">
  6. <image :src="
  7. info.order_status == 1
  8. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/f05de1ad262ae8a303f5b38ca2419eae.png'
  9. : info.order_status == 2
  10. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/f05de1ad262ae8a303f5b38ca2419eae.png'
  11. : info.order_status == 3
  12. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/74354f7d56ad4043e279760e09307bef.png'
  13. : info.order_status == 4
  14. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/f05de1ad262ae8a303f5b38ca2419eae.png'
  15. : info.order_status == 5
  16. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/cb6d9cec19387616fa955f95d8470bc5.png'
  17. : info.order_status == 6
  18. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/f05de1ad262ae8a303f5b38ca2419eae.png'
  19. : info.order_status == 0 && info.receive_type == 2
  20. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/74354f7d56ad4043e279760e09307bef.png'
  21. : info.order_status == 0 && info.receive_type == 1
  22. ? 'https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/74354f7d56ad4043e279760e09307bef.png'
  23. : ''
  24. "></image>
  25. <view>
  26. {{
  27. info.order_status == 1
  28. ? '审核通过'
  29. : info.order_status == 2
  30. ? '已退款'
  31. : info.order_status == 3
  32. ? '拒绝退款'
  33. : info.order_status == 4
  34. ? '已核销'
  35. : info.order_status == 5
  36. ? '已发货'
  37. : info.order_status == 6
  38. ? '已完成'
  39. : info.order_status == 0 && info.receive_type == 2
  40. ? '待发货'
  41. : info.order_status == 0 && info.receive_type == 1
  42. ? '待核销'
  43. : ''
  44. }}
  45. </view>
  46. </view>
  47. <!-- <view class="p-common iflexC">
  48. <text>订单号:{{info.order_no}}</text>
  49. <text class="p-con" wx:if="{{info.order_status==0&&info.receive_type==2}}">待发货</text>
  50. <text class="p-con" wx:if="{{info.order_status==0&&info.receive_type==1}}">待核销</text>
  51. <text class="p-con" wx:elif="{{info.order_status==1}}">审核通过</text>
  52. <text class="p-con" wx:elif="{{info.order_status== 2}}">已退款</text>
  53. <text class="p-con" wx:elif="{{info.order_status== 3}}">拒绝退款</text>
  54. <text class="p-con" wx:elif="{{info.order_status== 4}}">已核销</text>
  55. <text class="p-con" wx:elif="{{info.order_status== 5}}">已发货</text>
  56. <text class="p-con" wx:elif="{{info.order_status== 6}}">已完成</text>
  57. </view> -->
  58. <view class="p-common ibetween" v-if="info.receive_type == 1">
  59. <text>手机号码 : {{ info.receiver_mobile }}</text>
  60. <view class="hxCode" @tap="showHxcode">
  61. <image mode="widthFix"
  62. src="https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/6c8fc754eba8870fb95b18baaedff277.png">
  63. </image>
  64. <view>核销码</view>
  65. </view>
  66. </view>
  67. <view class="p-common" v-if="info.receive_type == 2">
  68. <view class="p-list icenterY">
  69. <text>手机号码</text>
  70. <text class="cPhone">{{ info.receiver_mobile }}</text>
  71. </view>
  72. <view class="p-list">
  73. <text>收货地址</text>
  74. <text class="cArea">{{ info.receiver_area }}</text>
  75. <view class="cDetailAddress">{{ info.receiver_address }}</view>
  76. </view>
  77. </view>
  78. <!-- <view class="p-common iflexC" v-if="info.receive_type == 2">
  79. <text>物流信息</text>
  80. <text class="p-con">快递单号:{{ info.deliver_no || '暂无物流信息' }}</text>
  81. <view class="p-con">
  82. <text>快递名称:{{ info.send_comp || '暂无物流信息' }}</text>
  83. </view>
  84. </view> -->
  85. <view class="shopInfo bgfff" v-if="info.hexiao_center">
  86. <view class="ibetween">
  87. <view class="shopTop-name over_2">{{ info.hexiao_center.name }}</view>
  88. </view>
  89. <!-- <view class="shopBot ifend">
  90. <view class="flex1 iflexC">
  91. <view class="l-shopTime">时间:{{ info.hexiao_center.job_time }}</view>
  92. <view class="l-shopAddress over_1">地址:{{ info.hexiao_center.address }}</view>
  93. </view>
  94. <view class="iflex">
  95. <view
  96. class="shoploc iflexC aliCen"
  97. :data-address="info.hexiao_center.address"
  98. @tap="toPage"
  99. :data-url="'location:' + info.hexiao_center.lat + ', ' + info.hexiao_center.lng + ', ' + info.hexiao_center.name"
  100. >
  101. <image src="https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/b5d708429fd9e35f4d1c164d1147a7fb.png" mode="widthFix"></image>
  102. </view>
  103. <view class="shopSu"></view>
  104. <view class="shoploc iflexC aliCen" @tap="toPage" :data-url="'tel:' + info.hexiao_center.phone">
  105. <image src="https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/05d336706e46151d602e4287863b9d3a.png" mode="widthFix"></image>
  106. </view>
  107. </view>
  108. </view> -->
  109. </view>
  110. <!-- <msg status="99" xmdata="{{info.hexiao_center}}" wx:if="{{info.hexiao_center.id}}" styles='margin:0rpx 0px 20rpx 0px;background:#fff;' /> -->
  111. <view class="p-common iflex radiuBot">
  112. <image class="p-goodsImg" :src="info.goods_pic"></image>
  113. <view class="p-goods">
  114. <text class="p-goodsName bold">{{ info.goods_name }}</text>
  115. <text class="p-goodsTips">{{ info.good_info ? info.good_info : '' }}</text>
  116. <view class="p-sku ibetween">
  117. <!-- <text class="p-red"><text wx:if="{{info.pay_money}}">¥{{info.pay_money}} +</text> {{info.integral}}{{unit}}</text> -->
  118. <text class="p-con">×1</text>
  119. </view>
  120. </view>
  121. </view>
  122. <view class="p-common radiuTop">
  123. <view class="ibetween p-list icenterY">
  124. <text>商品价格:</text>
  125. <text class="p-con">¥{{ info.pay_money ? info.pay_money : 0 }}</text>
  126. </view>
  127. <view class="ibetween p-list">
  128. <text>商品{{ unit }}:</text>
  129. <text class="p-con">{{ info.integral }} {{ unit }}</text>
  130. </view>
  131. <view class="ibetween p-list">
  132. <text>运费:</text>
  133. <text class="p-con">¥{{ info.freight ? info.freight : 0 }}</text>
  134. </view>
  135. <view class="ibetween p-list icenterY">
  136. <text>支付方式:</text>
  137. <text class="p-con">
  138. <text v-if="info.freight || info.pay_money">现金+</text>
  139. {{ unit }}支付
  140. </text>
  141. </view>
  142. <view class="ibetween p-list">
  143. <text>实际支付:</text>
  144. <text class="p-con colorActive">
  145. <text class="p-red">
  146. <text v-if="info.pay_money">¥{{ info.pay_money }}+</text>
  147. {{ info.integral }}
  148. </text>
  149. {{ unit }}
  150. </text>
  151. </view>
  152. </view>
  153. <view class="p-common iflex">
  154. <text class="message">买家留言:</text>
  155. <text>{{ info.user_mark ? info.user_mark : '暂无留言' }}</text>
  156. </view>
  157. <view class="p-common" v-if="info.is_comment == 1">
  158. <view class="p-list icenterY">
  159. <text>买家评价:</text>
  160. <text class="p-con">{{ info.inorder_comment ? info.inorder_comment.content : '暂无评价' }}</text>
  161. </view>
  162. <!-- <view class="p-list icenterY">
  163. <text>商家回复:</text>
  164. <text class="p-con">{{info.reply ? info.reply : '暂无回复'}}</text>
  165. </view> -->
  166. </view>
  167. <view class="orderInfo">
  168. <view class="orderInfoTip">订单信息</view>
  169. <view class="orderItem">
  170. <view>下单编号:</view>
  171. <view>{{ info.order_no }}</view>
  172. <view @tap="copy" :data-on="info.order_no">复制</view>
  173. </view>
  174. <view class="orderItem">
  175. <view>下单时间:</view>
  176. <view>{{ info.create_time }}</view>
  177. </view>
  178. </view>
  179. </view>
  180. <view class="p-footer iflex isFixed icenterY"
  181. v-if="info.order_status == 0 || info.order_status == 4 || info.order_status == 6 || info.order_status == 5">
  182. <!-- <button wx:if="{{info.integral_money}}" bindtap="backMoney">申请退款</button> -->
  183. <button @tap="toPage" data-url="/yidu_tc/pages/comment/index?itype=1" :data-order_id="info.order_no"
  184. class="activeBtn1" v-if="(info.order_status == 6 || info.order_status == 4) && info.is_comment == 0">
  185. 去评论
  186. </button>
  187. <!-- <button class="p-btn1" wx:if="{{!info.integral_money && info.is_deliver == 3 && info.is_comment == 1}}" style="opacity: 0.5">订单已完成</button> -->
  188. <button @tap="confirm" v-if="info.receive_type == 2 && info.order_status == 5"
  189. class="activeBtn1">确认收货</button>
  190. <button @tap="lookOrder" v-if="info.receive_type == 2 && info.order_status == 5"
  191. class="activeBtn2">查看物流</button>
  192. <button @tap="hx_btn" v-if="info.receive_type == 1 && info.order_status == 0 && info.is_hexiao"
  193. class="activeBtn1">确认核销</button>
  194. <button @tap="getMovie" v-if="info.order_status == 0 && info.is_film == 1" class="activeBtn1">立即领取</button>
  195. <button v-if="info.order_status == 0 && info.receive_type == 2" class="activeBtn2">待发货</button>
  196. <button v-if="info.order_status == 0 && info.receive_type == 1 && !info.is_hexiao"
  197. class="activeBtn1">待核销</button>
  198. <button v-if="info.order_status == 2">已退款</button>
  199. </view>
  200. <!-- <imask :show="showCode" :zindex="30"> -->
  201. <view class="mengban" v-if="showCode">
  202. <view class="allBox">
  203. <view class="boxWrap">
  204. <view class="codeInfo">
  205. <image :src="info.goods_pic"></image>
  206. <view class="goodBoxInfo">
  207. <view>{{ info.hexiao_center.name }}</view>
  208. <view>{{ info.goods_name }}</view>
  209. </view>
  210. </view>
  211. <view class="codeWrap">
  212. <view class="code1">
  213. <view></view>
  214. <view>核销码</view>
  215. <view></view>
  216. </view>
  217. <image :src="hxcode" class="hxcodeImg"></image>
  218. <view class="codeTip">请把核销码出示给商家</view>
  219. </view>
  220. </view>
  221. <view class="download" @tap="download">
  222. <view>下载保存图片</view>
  223. <image
  224. src="https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/fb053b002967d127bde32a542c5a9794.png">
  225. </image>
  226. </view>
  227. <image @tap="closeBox" class="closeBox"
  228. src="https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/8/b9fd3c42c6e5116ecced6ed92864221a.png">
  229. </image>
  230. </view>
  231. </view>
  232. <!-- </imask> -->
  233. </block>
  234. </template>
  235. <script>
  236. var app = getApp();
  237. export default {
  238. data() {
  239. return {
  240. info: {
  241. admin_id: 0,
  242. create_time: "2022-03-26 15:45:59",
  243. deliver_no: "",
  244. deliver_time: null,
  245. freight: "0.00",
  246. goods_id: 1520,
  247. goods_name: "寒铁10件套美容工具IRON-0100 IRON-0100",
  248. goods_pic: "https://ymyun-oss.oss-cn-hangzhou.aliyuncs.com/yidu_tc/public/upload/12/2487/f04456f1d7360742a070f36b0901e0a7.png",
  249. hexiao_center: [],
  250. id: 1182,
  251. inorder_comment: null,
  252. integral: "0.00",
  253. is_comment: 0,
  254. is_deliver: 0,
  255. is_film: 0,
  256. is_hexiao: false,
  257. order_no: "31038957705405027625933",
  258. order_status: 0,
  259. pay_money: "0.00",
  260. pay_time: "2022-03-26 15:45:59",
  261. receive_type: 2,
  262. receiver_address: "水南镇长征大道赣州商会大厦(章贡区长征大道31号)27楼",
  263. receiver_area: "江西省赣州市章贡区",
  264. receiver_mobile: "18779615160",
  265. receiver_name: "李路根",
  266. region_id: 159,
  267. send_comp: "",
  268. sku: "中号型",
  269. ssq_code: "360702",
  270. user_mark: "",
  271. showCode:true
  272. },
  273. // 订单详情
  274. unit: '积分',
  275. inorder_comment: '',
  276. showCode: false,
  277. hxcode: '',
  278. order_id: '',
  279. uid: '',
  280. show_login: false
  281. };
  282. }
  283. /**
  284. * 生命周期函数--监听页面加载
  285. */
  286. ,
  287. onLoad: function(options) {
  288. // if (options.scene) {
  289. // this.setData({
  290. // order_id: options.scene
  291. // });
  292. // } else {
  293. // this.setData({
  294. // order_id: options.order_id
  295. // });
  296. // }
  297. // let that = this;
  298. // let td = that;
  299. // let u = app.globalData.getCache('userinfo').uid;
  300. // if (u) {
  301. // console.log('有uid');
  302. // that.setData({
  303. // uid: u
  304. // });
  305. // that.getInfo();
  306. // } else {
  307. // that.setData({
  308. // show_login: true
  309. // });
  310. // }
  311. },
  312. /**
  313. * 生命周期函数--监听页面初次渲染完成
  314. */
  315. onReady: function() {},
  316. /**
  317. * 生命周期函数--监听页面显示
  318. */
  319. onShow: function() {},
  320. /**
  321. * 生命周期函数--监听页面隐藏
  322. */
  323. onHide: function() {},
  324. /**
  325. * 生命周期函数--监听页面卸载
  326. */
  327. onUnload: function() {},
  328. /**
  329. * 页面相关事件处理函数--监听用户下拉动作
  330. */
  331. onPullDownRefresh: function() {
  332. this.getInfo();
  333. },
  334. /**
  335. * 页面上拉触底事件的处理函数
  336. */
  337. onReachBottom: function() {},
  338. /**
  339. * 用户点击右上角分享
  340. */
  341. onShareAppMessage: function() {},
  342. methods: {
  343. download() {
  344. saveImgs(this.hxcode, function() {
  345. console.log('保存成功');
  346. });
  347. },
  348. closeBox() {
  349. this.setData({
  350. showCode: false
  351. });
  352. },
  353. copy(e) {
  354. uni.setClipboardData({
  355. data: e.currentTarget.dataset.on,
  356. success: function(res) {
  357. uni.showToast({
  358. title: '复制成功',
  359. icon: 'none'
  360. });
  361. }
  362. });
  363. },
  364. lookOrder() {
  365. uni.navigateTo({
  366. url: `/pages/other/logistics/logistics?phone=${this.info.receiver_mobile}&no=${this.info.deliver_no}`
  367. });
  368. },
  369. onLoginBack: function(e) {
  370. var u = app.globalData.getCache('userinfo').uid;
  371. if (u && this.show_login) {
  372. this.setData({
  373. uid: u,
  374. show_login: false
  375. });
  376. this.getInfo();
  377. }
  378. },
  379. getMovie() {
  380. uni.navigateTo({
  381. url: `/pages/movie/pages/receive/index?id=${this.order_id}&channel=integral`
  382. });
  383. },
  384. hx_btn() {
  385. var that = this;
  386. uni.showModal({
  387. title: '提示',
  388. content: '确认核销?',
  389. success(res) {
  390. if (res.confirm) {
  391. console.log('用户点击确定');
  392. a.get(
  393. 'regionintegral/hexiao', {
  394. uid: app.globalData.getCache('userinfo').uid,
  395. order_id: that.order_id
  396. },
  397. function(r) {
  398. if (r.code) {
  399. a.alert(r.msg);
  400. } else {
  401. uni.showToast({
  402. title: '核销成功'
  403. });
  404. setTimeout(function() {
  405. uni.redirectTo({
  406. url: '/pages/operate/logs/logs'
  407. });
  408. }, 1500);
  409. }
  410. }
  411. );
  412. } else {
  413. if (res.cancel) {
  414. console.log('用户点击取消');
  415. }
  416. }
  417. }
  418. });
  419. },
  420. confirm() {
  421. // 确认收货
  422. const that = this;
  423. a.get(
  424. 'Integral/confirm_order', {
  425. uid: app.globalData.getCache('userinfo').uid,
  426. order_id: this.order_id
  427. },
  428. function(res) {
  429. if (res.code == 0) {
  430. uni.showToast({
  431. title: '确认成功'
  432. });
  433. setTimeout(function() {
  434. uni.redirectTo({
  435. url: '/pages/operate/logs/logs'
  436. });
  437. }, 1500);
  438. } else {
  439. a.alert(res.msg);
  440. }
  441. }
  442. );
  443. },
  444. backMoney() {
  445. // 申请退款
  446. var that = this;
  447. a.confirm('是否确定申请退款?', function(res) {
  448. a.get(
  449. '', {
  450. uid: app.globalData.getCache('userinfo').uid,
  451. id: this.order_id
  452. },
  453. function(res) {
  454. console.log(12122);
  455. }
  456. );
  457. });
  458. },
  459. showHxcode() {
  460. uni.showLoading({
  461. title: '正在加载'
  462. });
  463. const that = this;
  464. a.get(
  465. 'regionintegral/qrcode', {
  466. uid: app.globalData.getCache('userinfo').uid,
  467. order_id: this.order_id
  468. },
  469. function(res) {
  470. uni.hideLoading();
  471. that.setData({
  472. hxcode: res.info,
  473. showCode: true
  474. });
  475. }
  476. );
  477. },
  478. getInfo() {
  479. const that = this;
  480. a.get(
  481. 'regionintegral/orderDetail', {
  482. uid: app.globalData.getCache('userinfo').uid,
  483. order_id: this.order_id
  484. },
  485. function(res) {
  486. let data = res.info.data;
  487. uni.stopPullDownRefresh();
  488. console.log(data);
  489. data.freight = Number(data.freight);
  490. data.integral_money = Number(data.integral_money);
  491. data.pay_money = Number(data.pay_money);
  492. that.setData({
  493. info: data
  494. }); // that.getComment(data.goods_id)
  495. }
  496. );
  497. },
  498. // getComment(goods_id){
  499. // const that = this
  500. // a.get('regionintegral/comment', {
  501. // uid: app.getCache('userinfo').uid,
  502. // goods_id: goods_id
  503. // }, function (res) {
  504. // that.setData({
  505. // inorder_comment: res.info
  506. // })
  507. // })
  508. // },
  509. toPage(e) {
  510. app.globalData.toPage(e);
  511. }
  512. }
  513. };
  514. </script>
  515. <style>
  516. /* yidu_tc/pages/jifen/integral/orderDetail/orderDetail.wxss */
  517. page {
  518. background: #f4f4f4;
  519. }
  520. .content {
  521. width: 100%;
  522. box-sizing: border-box;
  523. padding: 20rpx 20rpx 120rpx;
  524. }
  525. .p-common {
  526. border-radius: 20rpx;
  527. padding: 26rpx 30rpx;
  528. margin-bottom: 20rpx;
  529. background: white;
  530. /* width: calc(100% - 132rpx); */
  531. position: relative;
  532. }
  533. .p-common input {
  534. width: 74%;
  535. }
  536. .p-img {
  537. height: 44rpx;
  538. width: 44rpx;
  539. margin-right: 8rpx;
  540. color: #333;
  541. vertical-align: top;
  542. }
  543. .shareicon {
  544. position: absolute;
  545. right: 30rpx;
  546. top: calc(50% - 8px);
  547. }
  548. .p-goods {
  549. width: 72%;
  550. }
  551. .p-goodsImg {
  552. height: 128rpx;
  553. width: 128rpx;
  554. margin-right: 18rpx;
  555. flex-shrink: 0;
  556. }
  557. .p-goodsName {
  558. text-overflow: ellipsis;
  559. white-space: nowrap;
  560. overflow: hidden;
  561. display: block;
  562. font-size: 32rpx;
  563. }
  564. .p-goodsTips {
  565. color: #666;
  566. font-size: 24rpx;
  567. }
  568. .p-con {
  569. font-size: 24rpx;
  570. color: #666;
  571. }
  572. .p-list {
  573. border-bottom: 1px solid #f2f2f2;
  574. padding: 26rpx 0;
  575. }
  576. .p-list:first-child {
  577. padding-top: 0;
  578. }
  579. .p-list:last-child {
  580. border: none;
  581. padding-bottom: 0;
  582. }
  583. .p-red {
  584. color: #fe6000;
  585. font-size: 28rpx;
  586. font-weight: 700;
  587. }
  588. .isFixed {
  589. position: fixed;
  590. bottom: 32rpx;
  591. }
  592. .p-total {
  593. width: 50%;
  594. text-align: center;
  595. }
  596. .p-btn {
  597. border: none;
  598. background: #f62e2e;
  599. color: white;
  600. height: 100%;
  601. border-radius: 0 20rpx 20rpx 0;
  602. width: 50%;
  603. }
  604. .p-common:last-child {
  605. padding: 0;
  606. width: calc(100% - 72rpx);
  607. margin-bottom: 0;
  608. }
  609. .bold {
  610. font-weight: bold;
  611. }
  612. input {
  613. margin-top: -4rpx;
  614. }
  615. .p-icon {
  616. height: 30rpx;
  617. width: 30rpx;
  618. margin-right: 8rpx;
  619. vertical-align: center;
  620. }
  621. .p-sku {
  622. position: absolute;
  623. bottom: 20rpx;
  624. width: calc(72% - 30rpx);
  625. }
  626. .message {
  627. flex-shrink: 0;
  628. }
  629. .p-footer {
  630. position: fixed;
  631. bottom: 0;
  632. width: 100%;
  633. left: 0;
  634. background: white;
  635. height: 100rpx;
  636. display: flex;
  637. flex-direction: row-reverse !important;
  638. }
  639. button {
  640. width: 188rpx;
  641. border-radius: 40rpx;
  642. border: 1px solid #999;
  643. background: none;
  644. color: #666;
  645. font-size: 28rpx;
  646. margin-right: 22rpx;
  647. margin-left: 0;
  648. }
  649. button::after {
  650. border: none;
  651. }
  652. .p-common:last-child {
  653. padding: 26rpx 30rpx !important;
  654. width: calc(100% - 60rpx);
  655. margin-bottom: 0;
  656. }
  657. .orderStatus {
  658. display: flex;
  659. align-items: center;
  660. justify-content: center;
  661. padding: 12rpx 0 30rpx;
  662. }
  663. .orderStatus>image {
  664. width: 46rpx;
  665. height: 46rpx;
  666. margin-top: 8rpx;
  667. }
  668. .orderStatus>view {
  669. font-size: 35rpx;
  670. font-weight: 700;
  671. color: #333333;
  672. margin-left: 16rpx;
  673. }
  674. .hxCode {
  675. display: flex;
  676. align-items: center;
  677. }
  678. .hxCode>view {
  679. color: #fe6b05;
  680. font-size: 28rpx;
  681. }
  682. .hxCode>image {
  683. width: 28rpx;
  684. margin-right: 10rpx;
  685. margin-top: 4rpx;
  686. }
  687. .cPhone {
  688. font-size: 28rpx;
  689. color: #333333;
  690. margin-left: 30rpx;
  691. }
  692. .cArea {
  693. font-size: 28rpx;
  694. color: #333333;
  695. margin-left: 30rpx;
  696. }
  697. .cDetailAddress {
  698. color: #666666;
  699. margin-top: 12rpx;
  700. }
  701. .shopInfo {
  702. padding: 24rpx 24rpx 30rpx 24rpx;
  703. margin: 18rpx 0rpx;
  704. border-radius: 20rpx;
  705. }
  706. .shopTop-name {
  707. font-size: 28rpx;
  708. width: 500rpx;
  709. color: #000;
  710. }
  711. .shopTop-btn {
  712. width: 83rpx;
  713. height: 35rpx;
  714. display: flex;
  715. justify-content: center;
  716. align-items: center;
  717. color: #fd6000;
  718. border: 1px solid #fd6000;
  719. border-radius: 30rpx;
  720. font-size: 25rpx;
  721. }
  722. .shopBot {
  723. margin-top: 30rpx;
  724. }
  725. .shopTD {
  726. flex: 1;
  727. display: flex;
  728. flex-direction: column;
  729. }
  730. .l-shopTime,
  731. .l-shopAddress {
  732. font-size: 25rpx;
  733. color: #666;
  734. line-height: 1;
  735. }
  736. .l-shopAddress {
  737. width: 410rpx;
  738. margin-top: 18rpx;
  739. }
  740. .shoploc:first-of-type {
  741. max-width: 104rpx;
  742. }
  743. .shoploc {
  744. font-size: 20rpx;
  745. color: #999;
  746. line-height: 1;
  747. }
  748. .shoploc image {
  749. width: 42rpx;
  750. height: 42rpx;
  751. margin-bottom: 12rpx;
  752. }
  753. .shopSu {
  754. height: 48rpx;
  755. width: 1rpx;
  756. background: #999999;
  757. margin: 0 38rpx;
  758. }
  759. .radiuBot {
  760. border-radius: 20rpx 20rpx 0 0 !important;
  761. margin-bottom: 0;
  762. }
  763. .radiuTop {
  764. border-radius: 0 0 20rpx 20rpx !important;
  765. }
  766. .colorActive {
  767. color: #fe6000;
  768. }
  769. .orderInfo {
  770. margin-top: 20rpx;
  771. background: #fff;
  772. border-radius: 20rpx;
  773. padding-bottom: 20rpx;
  774. }
  775. .iflexC {
  776. display: flex;
  777. flex-direction: column
  778. }
  779. .orderInfoTip {
  780. padding: 30rpx 30rpx 26rpx 30rpx;
  781. box-sizing: border-box;
  782. font-weight: 700;
  783. font-size: 28rpx;
  784. color: #333333;
  785. border-bottom: 1px solid #dcdcdc;
  786. margin-bottom: 30rpx;
  787. }
  788. .orderItem {
  789. padding: 0rpx 0 0rpx 30rpx;
  790. display: flex;
  791. align-items: center;
  792. margin: 20rpx 0;
  793. }
  794. .orderItem>view:nth-child(1) {
  795. font-size: 26rpx;
  796. color: #999999;
  797. }
  798. .orderItem>view:nth-child(2) {
  799. font-size: 26rpx;
  800. color: #333;
  801. margin-left: 8rpx;
  802. }
  803. .orderItem>view:nth-child(3) {
  804. width: 72rpx;
  805. height: 34rpx;
  806. line-height: 34rpx;
  807. text-align: center;
  808. border-radius: 12rpx;
  809. font-size: 25rpx;
  810. color: #000;
  811. border: 1px solid #898989;
  812. margin-left: 22rpx;
  813. }
  814. .activeBtn1 {
  815. background: linear-gradient(to right, #fda401, #fe6b05);
  816. color: #fff !important;
  817. border: none;
  818. }
  819. .activeBtn2 {
  820. color: #fe6b00 !important;
  821. border: 1px solid #fe6b00;
  822. }
  823. .boxWrap {
  824. width: 524rpx;
  825. border-radius: 30rpx;
  826. background: #fff;
  827. }
  828. .codeInfo {
  829. box-sizing: border-box;
  830. display: flex;
  831. align-items: center;
  832. background: linear-gradient(to right, #fda401, #fe6b05);
  833. padding: 35rpx 53rpx 27rpx 17rpx;
  834. border-radius: 12rpx 12rpx 0 0;
  835. }
  836. .codeInfo>image {
  837. width: 86rpx;
  838. height: 86rpx;
  839. border-radius: 12rpx;
  840. }
  841. .goodBoxInfo {
  842. color: #fff;
  843. margin-left: 18rpx;
  844. }
  845. .goodBoxInfo>view:nth-child(1) {
  846. font-size: 28rpx;
  847. color: #ffffff;
  848. font-weight: 700;
  849. }
  850. .goodBoxInfo>view:nth-child(2) {
  851. font-size: 28rpx;
  852. color: #ffffff;
  853. overflow: hidden;
  854. text-overflow: ellipsis;
  855. display: -webkit-box;
  856. -webkit-line-clamp: 2;
  857. -webkit-box-orient: vertical;
  858. }
  859. .codeWrap {
  860. display: flex;
  861. flex-direction: column;
  862. align-items: center;
  863. justify-content: center;
  864. padding: 33rpx 0;
  865. }
  866. .code1 {
  867. display: flex;
  868. align-items: center;
  869. }
  870. .code1>view:nth-child(1),
  871. .code1>view:nth-child(3) {
  872. width: 74rpx;
  873. height: 1px;
  874. background: #333333;
  875. }
  876. .code1>view:nth-child(2) {
  877. font-size: 24rpx;
  878. color: #333;
  879. font-weight: 700;
  880. margin: 0 20rpx;
  881. }
  882. .hxcodeImg {
  883. width: 340rpx;
  884. height: 340rpx;
  885. margin: 20rpx 0;
  886. }
  887. .codeTip {
  888. font-size: 24rpx;
  889. color: #333;
  890. }
  891. .download {
  892. width: 351rpx;
  893. height: 82rpx;
  894. display: flex;
  895. align-items: center;
  896. justify-content: center;
  897. background: linear-gradient(to right, #fda401, #fe6b05);
  898. border-radius: 40rpx;
  899. margin-top: 20rpx;
  900. }
  901. .download>view {
  902. font-size: 31rpx;
  903. color: #fff;
  904. }
  905. .download>image {
  906. width: 30rpx;
  907. height: 30rpx;
  908. margin-left: 24rpx;
  909. }
  910. .allBox {
  911. display: flex;
  912. flex-direction: column;
  913. align-items: center;
  914. position: absolute;
  915. top: 50%;
  916. left: 50%;
  917. transform: translate(-50%,-50%);
  918. }
  919. .closeBox {
  920. width: 50rpx;
  921. height: 50rpx;
  922. margin-top: 30rpx;
  923. }
  924. .iflex {
  925. display: flex;
  926. }
  927. .icentery,
  928. .icenterY {
  929. display: flex;
  930. align-items: center;
  931. flex-direction: row;
  932. }
  933. .ibetween {
  934. display: flex;
  935. justify-content: space-between
  936. }
  937. .mengban{
  938. position: fixed;
  939. top: 0;
  940. left: 0;
  941. right: 0;
  942. bottom: 0;
  943. background: rgba(0,0,0,0.7);
  944. }
  945. </style>