myOrder.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <template>
  2. <view class="box">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'我的订单'" :cj="3"></homenav>
  4. <view class="tab">
  5. <view class="tabLine" :class="{tabActive:tabIndex==0}" @click="tabClick(0)">全部</view>
  6. <view class="tabLine" :class="{tabActive:tabIndex==1}" @click="tabClick(1)">待付款</view>
  7. <view class="tabLine" :class="{tabActive:tabIndex==5}" @click="tabClick(5)">待成团</view>
  8. <view class="tabLine" :class="{tabActive:tabIndex==2}" @click="tabClick(2)">待服务</view>
  9. <view class="tabLine" :class="{tabActive:tabIndex==3}" @click="tabClick(3)">已完成</view>
  10. <view class="tabLine" :class="{tabActive:tabIndex==6}" @click="tabClick(6)">售后</view>
  11. </view>
  12. <view class="main">
  13. <view v-if="tabIndex!==6" >
  14. <view class="itemBg" v-for="(item,index) in items" @click="goDetail(item)">
  15. <view class="itemTop">
  16. <view class="orderCodeBox">
  17. <view class="itemType" v-if="item.SheetType==1">商城-商品订单</view>
  18. <view class="itemType" v-if="item.SheetType==2">商城-项目订单</view>
  19. <view class="itemType" v-if="item.SheetType==3">商城-套餐订单</view>
  20. <view class="itemType" v-if="item.SheetType==4">救援订单</view>
  21. <view class="itemType" v-if="item.SheetType==5">钣喷订单</view>
  22. <view class="itemType" v-if="item.SheetType==6">集客订单</view>
  23. <view class="itemType" v-if="item.SheetType==7">保养订单</view>
  24. <view class="itemType" v-else></view>
  25. <view class="orderCode">:{{item.Code}}</view>
  26. </view>
  27. <view class="itemSheetState redColor" v-if="item.SheetState==5">待成团</view>
  28. <view class="itemSheetState redColor" v-if="item.SheetState==1">待付款</view>
  29. <!-- <view v-if="item.SheetType==7">
  30. <view class="itemSheetState orangeColor" v-if="item.SheetState==2">已完成</view>
  31. </view> -->
  32. <view class="itemSheetState orangeColor" v-if="item.SheetState==2">待服务</view>
  33. <view class="itemSheetState greenColor" v-if="item.SheetState==3">已完成</view>
  34. <view class="itemSheetState" v-if="item.SheetState==4">已取消</view>
  35. </view>
  36. <!-- <view class="itemShopBg">
  37. <view class="shopName">{{item.SheetContent}}</view>
  38. <view style="color: #333333;font-size: 22rpx;">¥<span class="price">{{item.RealMoney}}</span></view>
  39. </view> -->
  40. <view class="afterSalesLineCont">
  41. <view v-if="item.ImgUrl"><!-- getNewValue(item.ImgUrl) -->
  42. <image v-for="(url,index) in item.ImgUrl.split(',')" :src="url" v-if="index<3" class="afterSalesLineImg" mode=""></image>
  43. </view>
  44. <image v-else src="../../../static/timg/noimg.png" class="afterSalesLineImg" mode=""></image>
  45. <view class="shCont">
  46. <view class="shCOntName" v-if="item.sheetType!=5">{{item.SheetContent}}</view>
  47. <view class="shCOntName" v-if="item.sheetType==5">钣喷</view>
  48. <view class="shContMS">共 {{item.detailCount}} 件商品</view>
  49. <view class="shContMS">¥{{item.RealMoney}}</view>
  50. </view>
  51. </view>
  52. <view class="renBox" v-if="item.SheetType==6">
  53. <image src="../../../static/timg/icon_ren.png" mode="" class="renimg"></image>
  54. <view class="renMobilePhone">{{item.MobilePhone}}</view>
  55. <view class="renNickName">{{item.NickName?item.NickName:''}}</view>
  56. </view>
  57. <view class="itemName">{{item.CreateTime}}</view>
  58. <view class="itemName" style="padding-top: 2rpx;padding-bottom: 0;">{{item.ShopName}}</view>
  59. <view class="package" v-if="item.SheetType==7" style="display: flex;">
  60. <view class="packageName" v-if="item.packageName">{{item.packageName}}</view>
  61. <view class="packageQty" v-if="item.packageQty" style="padding-left: 10rpx;">共{{item.packageQty}}件</view>
  62. </view>
  63. <view class="bottom" v-if="item.SheetState == 1">
  64. <view class="cancel" @click.stop="cancelBespeak(item)">取消订单</view>
  65. <view class="defer" v-if="item.PayType == 1" @click.stop="pay(item)">立即支付</view>
  66. </view>
  67. </view>
  68. <nodata v-show="isload&&items.length==0"></nodata>
  69. </view>
  70. <view v-if="tabIndex==6" class="afterSales">
  71. <view class="afterSalesLine" v-for="(item,index) in RefundList" @click="goReDetail(item)">
  72. <view class="afterSalesLineTop">
  73. <view class="" style="display: flex;">
  74. <view class="afterSalesShop">{{item.WriteoffShopName?item.WriteoffShopName:item.serverShopName}}</view>
  75. <image class="afterSalesLineJt" src="/static/img2/jt1.png" mode=""></image>
  76. </view>
  77. <view class="afterSalesLineState">退款</view>
  78. </view>
  79. <view class="afterSalesLineCont">
  80. <image v-if="item.ImgUrl" :src="getNewValue(item.ImgUrl)" class="afterSalesLineImg" mode=""></image>
  81. <image v-else src="../../../static/timg/noimg.png" class="afterSalesLineImg" mode=""></image>
  82. <view class="shCont">
  83. <view class="shCOntName" v-if="item.sheetType!=5">{{item.ItemName}}</view>
  84. <view class="shCOntName" v-if="item.sheetType==5">钣喷</view>
  85. <view class="shContMS">共 {{item.CouponCount}} 件商品</view>
  86. <view class="shContMS">退款:¥{{item.Money}}</view>
  87. </view>
  88. </view>
  89. <view class="tkStateBox">
  90. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==0">无退款</span>
  91. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==1">退款中</span>
  92. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==2">退款成功</span>
  93. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==3">退款拒绝</span>
  94. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==4">退款失败</span>
  95. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==5">退款关闭</span>
  96. <span style="font-weight: 500;color: #222222;" v-if="item.RefundState==6">待退款到账</span>
  97. <span style="padding-left: 24rpx;" >请查看详情</span>
  98. </view>
  99. <view class="tkBottom">
  100. <view class="tkBottomBtn">查看详情</view>
  101. </view>
  102. </view>
  103. <nodata v-show="RefundList.length==0&&isload"></nodata>
  104. </view>
  105. </view>
  106. <!-- 手机号授权 -->
  107. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  108. <view class="authorizCont" @click.stop="">
  109. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  110. <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  111. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  112. </view>
  113. <view style="text-align: center;padding-top: 56rpx;">
  114. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  115. </view>
  116. </view>
  117. </view>
  118. </template>
  119. <script>
  120. import nodata from '@/components/nodata/nodata.vue'
  121. import homenav from "@/components/homenav/nav.vue"
  122. export default {
  123. components: {
  124. nodata,homenav
  125. },
  126. data() {
  127. return {
  128. page: 1,
  129. tabIndex: '',
  130. items: [],
  131. isload: false,
  132. iStatusBarHeight:'',
  133. userInfo:'',
  134. ext:'',
  135. wxOpenData:'',
  136. themeColor:'',
  137. authorizShow:false,
  138. code:'',
  139. RefundList:[],
  140. }
  141. },
  142. onLoad(opt) {
  143. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  144. this.tabIndex = opt.num;
  145. this.userInfo=this.$store.state.userInfo;
  146. this.ext=this.$common.getExtStoreId();
  147. this.themeColor = uni.getStorageSync("themeColor");
  148. if(this.userInfo){
  149. this.getData()
  150. }else{
  151. this.$common.automaticlogin().then(val => {
  152. this.userInfo=this.$store.state.userInfo;
  153. this.wxOpenData=this.$store.state.wxOpenData;
  154. this.themeColor = uni.getStorageSync("themeColor");
  155. this.getData();
  156. if(!this.userInfo){
  157. this.authorizShow=true
  158. }
  159. })
  160. }
  161. },
  162. onShow() {
  163. console.log(this.tabIndex)
  164. this.getData()
  165. },
  166. computed:{
  167. getNewValue(item) {
  168. return item => {
  169. var arr=item.split(",")
  170. if(arr.length>1){
  171. item=arr[0]
  172. }else{
  173. //item=item
  174. }
  175. return item
  176. // 根据item做一些处理,返回新值
  177. //return item.value + ' modified';
  178. };
  179. }
  180. },
  181. methods: {
  182. goReDetail(item){
  183. uni.navigateTo({
  184. url:'../../subPack/refundDetail?id='+item.ID
  185. })
  186. },
  187. pay(item){
  188. this.$http('openMallOrder/unifiedPay', {
  189. sheetId:item.ID
  190. },'POST').then(res => {
  191. if(res.code==0){
  192. this.requestPayment(res.data)
  193. }else{
  194. uni.showToast({
  195. title: res.msg,
  196. icon: 'none',
  197. duration: 3000
  198. });
  199. }
  200. })
  201. },
  202. requestPayment(res){
  203. var payInfo=res;
  204. //console.log(payInfo)
  205. //console.log(String(Date.now()))
  206. var that=this;
  207. uni.requestPayment({
  208. provider: 'wxpay',
  209. //timeStamp: String(Date.now()),
  210. timeStamp: payInfo.timeStamp,
  211. nonceStr: payInfo.nonceStr,
  212. package:payInfo.package,
  213. signType: payInfo.signType,
  214. paySign: payInfo.paySign,
  215. appid:payInfo.appId,
  216. success: function (res) {
  217. console.log('success:' + JSON.stringify(res));
  218. uni.showToast({
  219. title: '支付成功',
  220. icon:'none',
  221. duration: 2000
  222. });
  223. that.tabIndex=0
  224. that.page = 1;
  225. that.getData()
  226. },
  227. fail: function (err) {
  228. console.log(err)
  229. uni.showToast({
  230. title: '支付失败',
  231. icon:'none',
  232. duration: 2000
  233. });
  234. }
  235. });
  236. },
  237. cancelBespeak(item){
  238. var that = this
  239. uni.showModal({
  240. title: '提示',
  241. content: '是否取消该订单',
  242. cancelText:'否',
  243. confirmText:'是',
  244. success: function (res) {
  245. if (res.confirm) {
  246. uni.showLoading({
  247. title: '加载中'
  248. })
  249. that.$http('openOrderManagement/updateSheetState', {
  250. id: item.ID,
  251. }, 'POST').then(res => {
  252. uni.hideLoading();
  253. // var list = res.data.Items
  254. if(res.code==0){
  255. uni.showToast({
  256. title: '取消成功',
  257. icon: 'none',
  258. duration: 2000
  259. });
  260. setTimeout(function() {
  261. that.page = 1;
  262. that.getData();
  263. }, 100);
  264. }else{
  265. uni.showToast({
  266. title: res.msg,
  267. icon: 'none',
  268. duration: 3000
  269. });
  270. }
  271. })
  272. } else if (res.cancel) {
  273. }
  274. }
  275. });
  276. },
  277. decryptPhoneNumber: function(e) {
  278. console.log(e);
  279. this.code=e.detail.code
  280. this.wxPhoneLogin()
  281. this.authorizShow=false;
  282. },
  283. wxPhoneLogin(){
  284. var that=this;
  285. this.$http('miniApp2/sys/wxPhoneLogin', {
  286. appId:this.ext.appId,
  287. unionId:this.ext.unionId,
  288. code:this.code,
  289. openId:this.wxOpenData.openid
  290. },'POST').then(res => {
  291. var data = res.data;
  292. if(data.loginInfo){
  293. this.userInfo=data.loginInfo.openUser;
  294. this.wxOpenData=data.loginInfo;
  295. this.$store.commit('mutationswxOpenData', data)
  296. this.$store.commit('mutationsuserInfo', this.userInfo)
  297. this.getData()
  298. }
  299. })
  300. },
  301. tabClick(num) {
  302. this.tabIndex = num;
  303. this.page = 1;
  304. if(num==6){
  305. this.getOpenSheetRefundList()
  306. }else{
  307. this.getData()
  308. }
  309. },
  310. getOpenSheetRefundList(){
  311. uni.showLoading({
  312. title: '加载中'
  313. });
  314. this.isload = false;
  315. var padata = {
  316. page: this.page,
  317. limit: 10,
  318. //sheetState: this.tabIndex > 0 ? this.tabIndex : ''
  319. }
  320. this.$http('openOrderManagement/getOpenSheetRefundList', padata, 'GET').then(res => {
  321. uni.hideLoading();
  322. this.isload = true;
  323. var list = res.data.Items;
  324. if (this.page == 1) {
  325. this.RefundList = list
  326. } else {
  327. this.RefundList = this.RefundList.concat(list)
  328. }
  329. })
  330. },
  331. goDetail(item) {
  332. //SheetType 1 商品2项目3套餐4救援5钣喷6集客
  333. if((item.SheetType==1)||(item.SheetType==2)||(item.SheetType==3)){
  334. uni.navigateTo({
  335. url: "mallOrderDetail?id=" + item.ID +"&SheetType=" + item.SheetType
  336. })
  337. }
  338. else if (item.SheetType==5){
  339. uni.navigateTo({
  340. url: "paintOrderDetail?id=" + item.ID
  341. })
  342. }
  343. else if (item.SheetType==6){
  344. uni.navigateTo({
  345. url: "activityOrderDetail?id=" + item.ID//+'&sx=1'
  346. })
  347. }
  348. },
  349. getData() {
  350. uni.showLoading({
  351. title: '加载中'
  352. });
  353. this.isload = false;
  354. var padata = {
  355. page: this.page,
  356. limit: 10,
  357. sheetState: this.tabIndex > 0 ? this.tabIndex : ''
  358. }
  359. this.$http('openOrderManagement/getOpenSheetList', padata, 'GET').then(res => {
  360. uni.hideLoading();
  361. this.isload = true;
  362. var list = res.data.Items;
  363. if (this.page == 1) {
  364. this.items = list
  365. } else {
  366. this.items = this.items.concat(list)
  367. }
  368. })
  369. },
  370. },
  371. onReachBottom() {
  372. this.page++;
  373. this.getData()
  374. },
  375. onPullDownRefresh() {
  376. this.page = 1;
  377. this.getData()
  378. setTimeout(function() {
  379. uni.stopPullDownRefresh();
  380. }, 1000);
  381. }
  382. }
  383. </script>
  384. <style scoped>
  385. .box {
  386. min-height: 100vh;
  387. background: #F4F5F7;
  388. }
  389. .renBox{
  390. color: #1A1A1A;
  391. background: #F7F7F7;
  392. border-radius: 10rpx;
  393. display: flex;
  394. padding: 20rpx;font-size: 24rpx;
  395. line-height: 30rpx;
  396. margin-top: 16rpx;
  397. }
  398. .renimg{
  399. width: 30rpx;height: 30rpx;
  400. }
  401. .renMobilePhone{
  402. padding-left: 13rpx;
  403. }
  404. .renNickName{
  405. padding-left: 20rpx;
  406. }
  407. .tab {
  408. background: #FFFFFF;
  409. display: flex;
  410. justify-content: space-between;
  411. line-height: 92rpx;
  412. position: fixed;
  413. width: calc(100vw - 100rpx);
  414. padding-left: 50rpx;
  415. padding-right: 50rpx;
  416. height: 92rpx;
  417. z-index: 11;
  418. }
  419. .tabLine {
  420. font-size: 28rpx;
  421. color: #333333;
  422. text-align: center;
  423. }
  424. .tabActive {
  425. color: #EC0F0A;
  426. font-weight: bold;
  427. border-bottom: 4rpx solid #EC0F0A;
  428. }
  429. .main {
  430. padding-top: 92rpx;
  431. padding-bottom: 20rpx;
  432. background-color: #F4F5F7;
  433. }
  434. .itemBg {
  435. margin: 20rpx 24rpx;
  436. background-color: #FFFFFF;
  437. border-radius: 10rpx;
  438. padding: 20rpx;
  439. }
  440. .itemTop {
  441. display: flex;
  442. justify-content: space-between;
  443. }
  444. .itemType {
  445. color: #999999;
  446. font-size: 24rpx;
  447. }
  448. .itemSheetState {
  449. font-size: 24rpx;
  450. color: #999999
  451. }
  452. .redColor {
  453. color: #EC0F0A;
  454. }
  455. .orangeColor {
  456. color: #F19D01;
  457. }
  458. .greenColor {
  459. color: #00A040;
  460. }
  461. .itemShopBg {
  462. display: flex;
  463. justify-content: space-between;
  464. margin-top: 20rpx;
  465. }
  466. .shopName {
  467. color: #333333;
  468. font-size: 30rpx;
  469. font-weight: bold;
  470. /* 隐藏文字显示 ...不换行 */
  471. overflow: hidden;
  472. text-overflow: ellipsis;
  473. white-space: nowrap;
  474. }
  475. .price {
  476. color: #333333;
  477. font-weight: bold;
  478. font-size: 32rpx;
  479. }
  480. .itemName {
  481. color: #666666;
  482. font-size: 24rpx;
  483. padding: 16rpx 0;
  484. height: 30rpx;
  485. overflow: hidden;
  486. text-overflow: ellipsis;
  487. white-space: nowrap;
  488. }
  489. .plateBg {
  490. display: flex;
  491. justify-content: space-between;
  492. align-items: center;
  493. }
  494. .plateNumber {
  495. color: #666666;
  496. font-size: 24rpx;
  497. margin-bottom: 20rpx;
  498. display: flex;
  499. }
  500. .itemLineBottom {
  501. display: flex;
  502. justify-content: flex-end;
  503. }
  504. .itemBtn1 {
  505. width: 150rpx;
  506. height: 56rpx;
  507. border-radius: 36rpx;
  508. border: 2rpx solid #DDDDDD;
  509. text-align: center;
  510. line-height: 56rpx;
  511. font-size: 28rpx;
  512. color: #3C3C3C;
  513. margin-left: 40rpx;
  514. }
  515. .itemBtn2 {
  516. width: 150rpx;
  517. height: 56rpx;
  518. border-radius: 36rpx;
  519. border: 2rpx solid #FF4F00;
  520. text-align: center;
  521. line-height: 56rpx;
  522. font-size: 28rpx;
  523. color: #FF4F00;
  524. margin-left: 40rpx;
  525. }
  526. .orderState {
  527. color: #F19D01;
  528. font-size: 24rpx;
  529. padding-left: 20rpx;
  530. }
  531. .authorizBox{
  532. width: 100vw;
  533. height: 100vh;
  534. background: rgba(0, 0, 0, 0.5);
  535. position: fixed;
  536. top: 0;
  537. left: 0;
  538. }
  539. .authorizCont{
  540. margin-top: 30vh;
  541. width: 564rpx;
  542. height: 408rpx;
  543. background: #FFFFFF;
  544. border-radius: 24rpx;
  545. margin-left: 93rpx;
  546. position: relative;
  547. }
  548. .authorizCloseImg{
  549. width: 62rpx;
  550. height: 62rpx;
  551. }
  552. .sqLogoBox{
  553. width: 180rpx;
  554. height: 180rpx;
  555. background: #FFFFFF;
  556. border-radius: 90rpx;
  557. text-align: center;
  558. position: absolute;
  559. top: -50rpx;
  560. left: 192rpx;
  561. }
  562. .authorizName{
  563. color: #333333;
  564. line-height: 42rpx;
  565. font-size: 30rpx;
  566. text-align: center;
  567. padding-top: 58rpx;
  568. }
  569. .authorizMs{
  570. color: #999999;
  571. line-height: 36rpx;
  572. font-size: 26rpx;
  573. width: 452rpx;
  574. padding-top: 24rpx;
  575. text-align: center;
  576. margin-left: 56rpx;
  577. }
  578. .authorizContbutton{
  579. width: 422rpx;
  580. height: 88rpx;
  581. background: #EC0F0A;
  582. border-radius: 44rpx;
  583. line-height: 88rpx;
  584. text-align: center;
  585. font-size:30rpx;
  586. color: #FFFFFF;
  587. margin-top: 62rpx;
  588. margin-left:71rpx;
  589. }
  590. .shopBoxpt{
  591. margin-top: 20rpx;
  592. }
  593. button::after{
  594. border: none;
  595. }
  596. button{
  597. position: relative;
  598. display: block;
  599. margin-left: 0;
  600. margin-right: 0;
  601. padding-left: 0px;
  602. padding-right: 0px;
  603. box-sizing: border-box;
  604. // font-size: 18px;
  605. text-align: center;
  606. text-decoration: none;
  607. // line-height: 1;
  608. line-height: 1.35;
  609. // border-radius: 5px;
  610. -webkit-tap-highlight-color: transparent;
  611. overflow: hidden;
  612. color: #000000;
  613. background-color: #fff;
  614. height: 100%;
  615. }
  616. .orderCodeBox{
  617. display: flex;
  618. }
  619. .orderCode{
  620. color: #999999; font-size: 24rpx;
  621. }
  622. .cancel {
  623. color: #3C3C3C;
  624. font-size: 24rpx;
  625. width: 130rpx;
  626. height: 56rpx;
  627. border-radius: 8rpx;
  628. border: 1rpx solid #DDDDDD;
  629. text-align: center;
  630. line-height: 56rpx;
  631. /* margin-right: 20rpx; */
  632. }
  633. .defer {
  634. color: #EC0F0A;
  635. font-size: 24rpx;
  636. width: 130rpx;
  637. height: 56rpx;
  638. border-radius: 8rpx;
  639. border: 1rpx solid #EC0F0A;
  640. text-align: center;
  641. line-height: 56rpx;
  642. margin-left: 20rpx;
  643. }
  644. .bottom{
  645. display: flex;
  646. justify-content: flex-end;
  647. }
  648. .packageName{
  649. font-size: 22rpx;
  650. color: #FF0035;
  651. border-radius: 5rpx;
  652. border: 1px solid #FF0035;
  653. padding: 2rpx 8rpx;
  654. }
  655. .package{
  656. justify-content: space-between;
  657. padding-top: 10rpx;padding-bottom: 10rpx;
  658. }
  659. .packageQty{
  660. font-size: 26rpx;
  661. color: #666666;
  662. }
  663. .afterSalesLineJt{
  664. width: 10rpx;height: 20rpx;
  665. margin-top: 12rpx;
  666. margin-left: 10rpx;
  667. }
  668. .afterSales{
  669. padding: 0 24rpx;
  670. }
  671. .afterSalesLine{
  672. background: #FFFFFF;
  673. margin-top: 20rpx;
  674. padding: 30rpx 20rpx;border-radius: 16rpx;
  675. }
  676. .afterSalesLineTop{
  677. display: flex;
  678. justify-content: space-between;
  679. }
  680. .afterSalesShop{
  681. font-size: 30rpx;
  682. color: #222222;
  683. line-height: 42rpx;
  684. font-weight: 500;
  685. }
  686. .afterSalesLineState{
  687. font-size: 26rpx;line-height: 42rpx;
  688. color: #666666;
  689. }
  690. .afterSalesLineImg{
  691. width: 144rpx;
  692. height: 144rpx;
  693. border-radius: 10rpx;
  694. margin-right: 20rpx;
  695. }
  696. .afterSalesLineCont{
  697. display: flex;padding: 24rpx 0;
  698. }
  699. .shCont{
  700. color: #222222;padding-left: 10rpx;
  701. }
  702. .shCOntName{
  703. font-size: 26rpx;line-height: 37rpx;
  704. }
  705. .shContMS{
  706. font-size: 22rpx;
  707. color: #222222;
  708. line-height: 30rpx;
  709. padding-top: 8rpx;
  710. }
  711. .tkStateBox{
  712. height: 60rpx;padding-left: 16rpx;
  713. background: #F9F9F9;color: #666666;
  714. border-radius: 10rpx;
  715. line-height: 60rpx;font-size: 26rpx;
  716. }
  717. .tkBottomBtn{
  718. font-size: 24rpx;
  719. color: #222222;
  720. width: 137rpx;
  721. height: 56rpx;
  722. line-height: 58rpx;
  723. font-size: 24rpx;
  724. color: #222222;
  725. border-radius: 8rpx;
  726. border: 1rpx solid #DDDDDD;
  727. margin-top: 24rpx;
  728. text-align: center;
  729. }
  730. .tkBottom{
  731. display: flex;justify-content: flex-end;
  732. }
  733. </style>