historyDetail.vue 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513
  1. <template>
  2. <view class="box">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'消费明细'" ></homenav>
  4. <view class="contentBox">
  5. <view class="top" :style="{background:'#'+themeColor}">
  6. <view class="orderState">
  7. <image src="../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;">
  8. </image>
  9. <!-- <view class="SheetState" v-if="orderData.billsheet.PayState==2">已结算</view>
  10. <view class="SheetState" v-if="orderData.billsheet.PayState==0">未结算</view>
  11. -->
  12. <!-- SheetType单据类型(1维修单 2销售单3洗车单4销售退货) -->
  13. <view class="stateBox" v-if="orderData.billsheet.SheetType == 1">
  14. <!-- 0待施工(已保存)1施工中(已派工)2已完工 3已质检 4 已作废 -->
  15. <view class="SheetState" v-if="orderData.billsheet.SheetState == 0">待施工</view>
  16. <view class="SheetState" v-if="orderData.billsheet.SheetState == 1">施工中</view>
  17. <view class="SheetState" v-if="orderData.billsheet.SheetState == 2">已完工</view>
  18. <view class="SheetState" v-if="orderData.billsheet.SheetState == 3">已质检</view>
  19. <view class="SheetState" v-if="orderData.billsheet.SheetState == 4">已作废</view>
  20. <!-- 结算状态 -->
  21. <view class="SheetState" v-if="orderData.billsheet.PayState == 0">/未结算</view>
  22. <view class="SheetState" v-if="orderData.billsheet.PayState == 2">/已结算</view>
  23. </view>
  24. <view class="stateBox" v-if="orderData.billsheet.SheetType == 2">
  25. <!-- 0待施工(已保存)1施工中(已派工)2已审核 3已质检 4 已作废 -->
  26. <view class="SheetState" v-if="orderData.billsheet.SheetState < 2 ">未审核</view>
  27. <view class="SheetState" v-if="orderData.billsheet.SheetState == 2">已审核</view>
  28. <view class="SheetState" v-if="orderData.billsheet.SheetState == 4">已作废</view>
  29. <!-- 结算状态 -->
  30. <view class="SheetState" v-if="orderData.billsheet.PayState == 0">/未结算</view>
  31. <view class="SheetState" v-if="orderData.billsheet.PayState == 2">/已结算</view>
  32. </view>
  33. <view class="stateBox" v-if="orderData.billsheet.SheetType == 3">
  34. <!-- 0待施工(已保存)1施工中(已派工)2已完工 3已质检 4 已作废 -->
  35. <view class="SheetState" v-if="orderData.billsheet.SheetState == 0">已保存</view>
  36. <view class="SheetState" v-if="orderData.billsheet.SheetState == 4">已作废</view>
  37. <!-- 结算状态 -->
  38. <view class="SheetState" v-if="orderData.billsheet.PayState == 0">/未结算</view>
  39. <view class="SheetState" v-if="orderData.billsheet.PayState == 2">/已结算</view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="shopBox2">
  44. <view class="newboxTop">
  45. <view class="newline1">{{orderData.billsheet.CustomerName}}</view>
  46. <view class="newline1" style="padding-left: 20rpx;">{{orderData.billsheet.PlateNumber}}</view>
  47. </view>
  48. <view class="CarModel" v-if="orderData.billsheet.CarModel">{{orderData.billsheet.CarModel}}</view>
  49. <view class="goodscostLine" >
  50. <view class="informationTxt">进店里程</view>
  51. <view class="goodsCostNum3 " style="font-size: 28rpx;" v-if="orderData.billsheet.CurrentMileage>0">
  52. {{orderData.billsheet.CurrentMileage}}公里
  53. </view>
  54. </view>
  55. <view class="goodscostLine" >
  56. <view class="informationTxt">建议下次保养里程</view>
  57. <view class="goodsCostNum3 " style="font-size: 28rpx;color: #FDC752;" v-if="orderData.billsheet.NextCareMilage">
  58. {{orderData.billsheet.NextCareMilage}}公里
  59. </view>
  60. </view>
  61. <!-- <view class="goodscostLine" style="font-size: 28rpx;color: #FDC752;" v-if="orderData.billsheet.SheetType==1">
  62. <view class="informationTxt">建议下次保养时间</view>
  63. <view class="goodsCostNum3 " v-if="orderData.billsheet.NextCareDate">
  64. {{orderData.billsheet.NextCareDate.slice(0,10)}}
  65. </view>
  66. </view> -->
  67. <view class="baoyangtis">建议下次保养,里程或日期,先到为准</view>
  68. </view>
  69. <!-- 店铺信息 -->
  70. <view class="shopBox">
  71. <!-- <image src="../../static/img/icon_store.png" mode="" class="shopBoximg"></image> -->
  72. <view class="shopCont">
  73. <view class="shopName">{{orderData.billsheet.ShopName}}</view>
  74. <view class="Address" v-if="orderData.billsheet.shopMobilePhone">服务电话:{{orderData.billsheet.shopMobilePhone}}</view>
  75. <view class="Address">{{orderData.billsheet.Address}}</view>
  76. </view>
  77. <view class="shopRightBox" @click="map">
  78. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  79. <view class="shopRihgtTxt">地图</view>
  80. </view>
  81. <view class="shopsx"></view>
  82. <view class="shopRightBox" @click="call">
  83. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  84. <view class="shopRihgtTxt">电话</view>
  85. </view>
  86. </view>
  87. <!-- 订单信息 -->
  88. <view class="information">
  89. <view class="carMes">
  90. <view class="plate">{{orderData.billsheet.time}}</view>
  91. </view>
  92. <view class="informationLine">
  93. <view class="informationTxt">单号</view>
  94. <view class="informationNum">{{orderData.billsheet.Code}}</view>
  95. </view>
  96. <view class="informationLine">
  97. <view class="informationTxt">服务顾问</view>
  98. <view class="informationNum" v-if="orderData.billsheet.PickName">{{orderData.billsheet.PickName}}</view>
  99. </view>
  100. <view class="informationLine">
  101. <view class="informationTxt">技师</view>
  102. <view class="informationNum" v-if="orderData.billsheet.workNames">
  103. <span v-if="orderData.billsheet.workNames==null||orderData.billsheet.workNames=='null'"></span>
  104. <span v-else>{{orderData.billsheet.workNames}}</span>
  105. </view>
  106. </view>
  107. <!-- <view class="informationLine">
  108. <view class="informationTxt">手机号:</view>
  109. <view class="informationNum">{{orderData.billsheet.MobilePhone}}</view>
  110. </view> -->
  111. <!-- <view class="informationLine">
  112. <view class="informationTxt">接车时间:</view>
  113. <view class="informationNum">{{orderData.billsheet.time}}</view>
  114. </view> -->
  115. <view class="informationLine" v-if="FaultDescription">
  116. <view class="informationTxt">故障描述</view>
  117. <view class="informationNum" v-if="orderData.billsheet.FaultDescription">
  118. {{orderData.billsheet.FaultDescription}}
  119. </view>
  120. </view>
  121. <view class="informationLine" v-if="RepairDescription">
  122. <view class="informationTxt">维修建议</view>
  123. <view class="informationNum" v-if="orderData.billsheet.RepairDescription">
  124. {{orderData.billsheet.RepairDescription}}
  125. </view>
  126. </view>
  127. <!-- <view class="informationLine" >
  128. <view class="informationTxt">保养技师:</view>
  129. <view class="informationNum" v-if="orderData.billsheet.workNames">
  130. {{orderData.billsheet.workNames}}
  131. </view>
  132. </view> -->
  133. <view class="informationLine" v-if="Comment">
  134. <view class="informationTxt">备注</view>
  135. <view class="informationNum" v-if="orderData.billsheet.Comment">{{orderData.billsheet.Comment}}
  136. </view>
  137. </view>
  138. <view class="imgListBox">
  139. <image class="pictureImg" @click="seeImg(index)" :src="item.imgPath" mode="" v-for="(item,index) in imgList"></image>
  140. </view>
  141. </view>
  142. <!-- 项目明细 -->
  143. <view class="detailedBox itemBox" v-if=" orderData.listItems.length!=0" >
  144. <view class="detailedTitle">项目</view>
  145. <view class="detailedLineBox">
  146. <view class="detailedLine" v-for="(item,index) in orderData.listItems">
  147. <view style="display: flex;justify-content: space-between;">
  148. <view class="detailedName"><span v-if="item.CardDetailID" class="kaColor">卡</span>{{item.ItemName}}
  149. </view>
  150. <view class="price" v-if="ItemMoney">
  151. <span>¥</span>
  152. {{item.AmountMoney?item.AmountMoney:0}}
  153. </view>
  154. </view>
  155. <view class="itemWorkHoursBox" v-if="itemWorkHours||itemPrice||ItemMoneyReal" :class="{nopb:ItemComment&&item.Comment}">
  156. <view class="itemWorkHoursBoxleft">
  157. <view class="itemWorkHours" v-if="itemWorkHours">
  158. 工时:<span class="SalePrice">{{item.SaleQty}}</span>
  159. </view>
  160. <view class="itemPrice" v-if="itemPrice">
  161. 单价:<span class="SalePrice">{{item.SalePrice}}</span>
  162. </view>
  163. </view>
  164. <view class="price yhprice" v-if="ItemMoneyReal">
  165. <span>¥</span>
  166. {{item.discountPriceReal?item.discountPriceReal:0}}
  167. </view>
  168. </view>
  169. <view class="secondBox" v-if="ItemComment" :class="{noLine:index == orderData.listItems.length-1}">
  170. <view class="comment" v-if="item.Comment">{{item.Comment}}</view>
  171. <view class="secondRight">
  172. <!-- <view class="grayPrice">¥{{item.CheckOutTaxRate}}</view> -->
  173. </view>
  174. </view>
  175. </view>
  176. </view>
  177. </view>
  178. <!-- 商品明细-->
  179. <view class="detailedBox itemBox" v-if="orderData.listParts.length!=0">
  180. <view class="detailedTitle">商品</view>
  181. <view class="detailedLineBox">
  182. <view class="detailedLine" v-for="(item,index) in orderData.listParts">
  183. <view class="goodTop">
  184. <view class="detailedName"><span v-if="item.CardDetailID"
  185. class="kaColor">卡</span>
  186. <span class="GoodsName" style="padding-right: 4rpx;" v-if="brandSetting&&item.Brand">{{item.Brand}} </span>
  187. <span class="GoodsName">{{item.GoodsName}}</span>
  188. <span class="GoodsName" style="padding-left: 4rpx;" v-if="specSetting&&item.Spec"> {{item.Spec}}</span>
  189. <span class="GoodsName" v-if="factoryNumber&&item.FactoryCode">({{item.FactoryCode}})</span>
  190. </view>
  191. <view class="price" v-if="goodsMoney">
  192. <span>¥</span>
  193. {{item.AmountMoney?item.AmountMoney:0}}
  194. </view>
  195. <!-- <view class="qty" v-if="goodsNumber">x{{item.SaleQty}}</view> -->
  196. </view>
  197. <view class="itemWorkHoursBox" v-if="goodsPrice||goodsNumber||goodsMoneyReal" :class="{nopb:GoodsComment&&item.Comment}">
  198. <view class="itemWorkHoursBoxleft">
  199. <view class="itemWorkHours" v-if="goodsNumber">
  200. 数量:<span class="SalePrice">{{item.SaleQty}}<span v-if="item.Unit">({{item.Unit}})</span> </span>
  201. </view>
  202. <view class="itemPrice" v-if="goodsPrice">
  203. 单价:<span class="SalePrice">{{item.SalePrice}}</span>
  204. </view>
  205. </view>
  206. <view class="price yhprice" v-if="goodsMoneyReal">
  207. <span>¥</span>
  208. {{item.discountPriceReal?item.discountPriceReal:0}}
  209. </view>
  210. </view>
  211. <view class="secondBox" v-if="GoodsComment" :class="{noLine:index == orderData.listParts.length-1}">
  212. <view class="comment" v-if="GoodsComment&&item.Comment">{{item.Comment}}</view>
  213. </view>
  214. </view>
  215. </view>
  216. </view>
  217. <!-- 费用明细 -->
  218. <view class="goodscost"
  219. v-if="AmountMoney || TotalDiscountMoney || CardMoneyT || CardMoneyC || ReceiptsMoney">
  220. <view class="detailedTitle">费用明细</view>
  221. <view class="goodscostLine" v-if="AmountMoney">
  222. <view class="goodscostTxt">应收总计</view>
  223. <view class="goodsCostNum3">¥{{orderData.billsheet.AmountMoney?orderData.billsheet.AmountMoney:0}}</view>
  224. </view>
  225. <view class="goodscostLine" v-if="TotalDiscountMoney" @click="dmBtn">
  226. <view class="goodscostTxt">优惠总计</view>
  227. <view class="goodsCostNum3 DiscountMoneyTop">
  228. <span>¥{{orderData.billsheet.TotalDiscountMoney?orderData.billsheet.TotalDiscountMoney:0}}</span>
  229. <image v-if="DiscountMoneyDetail&&!dmShow" class="DiscountMoneyIcon" src="../../static/img/icon_arrow_down.png" mode=""></image>
  230. <image v-if="DiscountMoneyDetail&&dmShow" class="DiscountMoneyIcon" src="../../static/img/icon_arrow_up.png" mode=""></image>
  231. </view>
  232. </view>
  233. <view class="yhmx" v-if="DiscountMoneyDetail&&dmShow"><!-- 优惠明细 -->
  234. <view class="goodscostLine" v-for="(item,index) in orderData.discountList" v-if="DiscountMoneyDetailNullZero&&item.price">
  235. <view class="goodscostTxt">{{item.type}}</view>
  236. <view class="goodsCostNum3">¥{{item.price?item.price:0}}</view>
  237. </view>
  238. <view class="goodscostLine" v-for="(item,index) in orderData.discountList" v-if="!DiscountMoneyDetailNullZero">
  239. <view class="goodscostTxt">{{item.type}}</view>
  240. <view class="goodsCostNum3">¥{{item.price?item.price:0}}</view>
  241. </view>
  242. </view>
  243. <view class="goodscostLine" v-if="CardMoneyT">
  244. <view class="goodscostTxt">计次卡冲销</view>
  245. <view class="goodsCostNum3">¥{{orderData.billsheet.CardMoneyT?orderData.billsheet.CardMoneyT:0}}</view>
  246. </view>
  247. <view class="goodscostLine" v-if="CardMoneyC">
  248. <view class="goodscostTxt">储值卡冲销</view>
  249. <view class="goodsCostNum3">¥{{orderData.billsheet.CardMoneyCWriteOff?orderData.billsheet.CardMoneyCWriteOff:0}}</view>
  250. </view>
  251. <view class="goodscostLine" v-if="ReceiptsMoney">
  252. <view class="goodscostTxt">支付金额</view>
  253. <view class="goodsCostNum"><span style="font-size: 28rpx;">¥</span>{{orderData.billsheet.money?orderData.billsheet.money:0}}</view>
  254. </view>
  255. <view class="goodscostLine" >
  256. <view class="goodscostTxt">结算方式</view>
  257. <view class="goodsCostNumJsfs" style="color: #333333;">{{orderData.billsheet.lastPayMethod?orderData.billsheet.lastPayMethod:''}}</view>
  258. </view>
  259. </view>
  260. <!-- 手机号授权 -->
  261. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  262. <view class="authorizCont" @click.stop="">
  263. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  264. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  265. <button class="authorizContbutton" type="default" open-type="getPhoneNumber"
  266. @getphonenumber="decryptPhoneNumber">授权</button>
  267. </view>
  268. <view style="text-align: center;padding-top: 56rpx;">
  269. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  270. </view>
  271. </view>
  272. </view>
  273. <view v-if="appraise == true && orderData.billsheet.PayState == 2" class="bottom">
  274. <view
  275. v-if="(orderData.billsheet.EvaluateState == 0) && (lastDay <= 30) && appraise == true && orderData.billsheet.PayState == 2"
  276. @click.stop="goAppraise()" class="ping">评价</view>
  277. <view v-if="orderData.billsheet.EvaluateState == 1" @click.stop="goAppraiseDetail()" class="kan">查看评价</view>
  278. </view>
  279. </view>
  280. </template>
  281. <script>
  282. import homenav from "../../components/homenav/nav.vue"
  283. export default {
  284. components: {
  285. homenav
  286. },
  287. data() {
  288. return {
  289. location: '',
  290. id: '',
  291. orderData: '',
  292. themeColor: '',
  293. authorizShow: false,
  294. userInfo: '',
  295. ext: '',
  296. wxOpenData: '',
  297. appraise: false,
  298. lastDay: '',
  299. // 权限
  300. FaultDescription: false, //故障描述
  301. RepairDescription: false, //维修建议
  302. Comment: false, //备注
  303. ItemMoney: false, //项目、商品金额
  304. ItemComment: false, //项目备注
  305. GoodsComment: false, //商品备注
  306. AmountMoney: false, //应收总计
  307. TotalDiscountMoney: false, //优惠总计
  308. CardMoneyT: false, //计次卡冲销
  309. CardMoneyC: false, //储值卡冲销
  310. ReceiptsMoney: false, //支付金额
  311. brandSetting:false,
  312. specSetting:false,
  313. factoryNumber:false,
  314. goodsNumber:false,
  315. goodsPrice:false,
  316. itemWorkHours:false,
  317. itemPrice:false,
  318. iStatusBarHeight:'',
  319. ShowSetting:'',
  320. goodsMoney:'',
  321. Picture:false,//图片
  322. imgList:[],
  323. ItemMoneyReal:false,
  324. goodsMoneyReal:false,
  325. DiscountMoneyDetail:false,
  326. DiscountMoneyDetailNullZero:false,
  327. dmShow:false,
  328. }
  329. },
  330. onLoad(opt) {
  331. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  332. this.id = opt.id
  333. this.themeColor = uni.getStorageSync("themeColor");
  334. this.userInfo = this.$store.state.userInfo;
  335. this.ext = this.$common.getExtStoreId();
  336. if(opt.scene&&opt.scene!='undefined'){
  337. var scene=opt.scene
  338. var id1=scene.slice(0,8)
  339. var id2=scene.slice(8,12)
  340. var id3=scene.slice(12,16)
  341. var id4=scene.slice(16,20)
  342. var id5=scene.slice(20,32)
  343. var ids=id1+'-'+id2+'-'+id3+'-'+id4+'-'+id5
  344. console.log(ids)
  345. this.id = ids
  346. }
  347. if (this.userInfo) {
  348. this.getData()
  349. this.myPower();
  350. this.showPower();
  351. } else {
  352. this.$common.automaticlogin().then(val => {
  353. this.userInfo = this.$store.state.userInfo;
  354. this.wxOpenData = this.$store.state.wxOpenData;
  355. this.themeColor = uni.getStorageSync("themeColor");
  356. this.getData()
  357. this.myPower();
  358. this.showPower();
  359. if(!this.userInfo){
  360. this.authorizShow=true
  361. }
  362. })
  363. }
  364. },
  365. methods: {
  366. dmBtn(){
  367. this.dmShow=!this.dmShow
  368. },
  369. seeImg(index){
  370. console.log(index)
  371. var imgs=[]
  372. this.imgList.forEach(item=>{
  373. imgs.push(item.imgPath)
  374. })
  375. uni.previewImage({
  376. urls:imgs ,
  377. current: index,
  378. longPressActions: {
  379. itemList: ['发送给朋友', '保存图片', '收藏'],
  380. success: function(data) {
  381. console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
  382. },
  383. fail: function(err) {
  384. console.log(err.errMsg);
  385. }
  386. }
  387. });
  388. },
  389. //显示权限
  390. showPower() {
  391. this.$http('openweiXinCardInfoController/getShowSetting', {
  392. }, 'GET').then(res => {
  393. // 权限
  394. // FaultDescription:false,//故障描述
  395. // RepairDescription:false,//维修建议
  396. // Comment:false,//备注
  397. // ItemMoney:false,//项目、商品金额
  398. // ItemComment:false,//项目备注
  399. // GoodsComment:false,//商品备注
  400. // AmountMoney:false,//应收总计
  401. // TotalDiscountMoney:false,//优惠总计
  402. // CardMoneyT:false,//计次卡冲销
  403. // CardMoneyC:false,//储值卡冲销
  404. // ReceiptsMoney:false,//支付金额
  405. this.ShowSetting=res.data
  406. var list = res.data
  407. list.forEach((item, index) => {
  408. if (item.fieldValue == 'FaultDescription') {
  409. this.FaultDescription = item.isChecked
  410. }
  411. if (item.fieldValue == 'RepairDescription') {
  412. this.RepairDescription = item.isChecked
  413. }
  414. if (item.fieldValue == 'Comment') {
  415. this.Comment = item.isChecked
  416. }
  417. if (item.fieldValue == 'ItemMoney') {
  418. this.ItemMoney = item.isChecked
  419. }
  420. if (item.fieldValue == 'ItemComment') {
  421. this.ItemComment = item.isChecked
  422. }
  423. if (item.fieldValue == 'GoodsComment') {
  424. this.GoodsComment = item.isChecked
  425. }
  426. if (item.fieldValue == 'AmountMoney') {
  427. this.AmountMoney = item.isChecked
  428. }
  429. if (item.fieldValue == 'CardMoneyT') {
  430. this.CardMoneyT = item.isChecked
  431. }
  432. if (item.fieldValue == 'CardMoneyC') {
  433. this.CardMoneyC = item.isChecked
  434. }
  435. if (item.fieldValue == 'ReceiptsMoney') {
  436. this.ReceiptsMoney = item.isChecked
  437. }
  438. if (item.fieldValue == 'TotalDiscountMoney') {
  439. this.TotalDiscountMoney = item.isChecked
  440. }
  441. if (item.fieldValue == 'brand') {
  442. this.brandSetting = item.isChecked
  443. }
  444. if (item.fieldValue == 'spec') {
  445. this.specSetting = item.isChecked
  446. }
  447. if (item.fieldValue == 'factoryNumber') {
  448. this.factoryNumber = item.isChecked
  449. }
  450. if (item.fieldValue == 'goodsNumber') {
  451. this.goodsNumber = item.isChecked
  452. }
  453. if (item.fieldValue == 'goodsPrice') {
  454. this.goodsPrice = item.isChecked
  455. }
  456. if (item.fieldValue == 'itemWorkHours') {
  457. this.itemWorkHours = item.isChecked
  458. }
  459. if (item.fieldValue == 'itemPrice') {
  460. this.itemPrice = item.isChecked
  461. }
  462. if (item.fieldValue == 'goodsMoney') {
  463. this.goodsMoney = item.isChecked
  464. }
  465. if (item.fieldValue == 'ItemMoneyReal') {
  466. this.ItemMoneyReal = item.isChecked
  467. }
  468. if (item.fieldValue == 'goodsMoneyReal') {
  469. this.goodsMoneyReal = item.isChecked
  470. }
  471. if (item.fieldValue == 'DiscountMoneyDetail') {
  472. this.DiscountMoneyDetail = item.isChecked
  473. }
  474. if (item.fieldValue == 'DiscountMoneyDetailNullZero') {
  475. this.DiscountMoneyDetailNullZero = item.isChecked
  476. }
  477. if(item.fieldValue =='Picture'){
  478. this.Picture = item.isChecked
  479. if(item.isChecked){
  480. this.queryBillInsurancePolicy()
  481. }
  482. }
  483. })
  484. })
  485. },
  486. queryBillInsurancePolicy(){
  487. this.$http('openweiXinCardInfoController/queryBillInsurancePolicy', {
  488. sheetID:this.id
  489. }, 'GET').then(res => {
  490. this.imgList=res.data
  491. })
  492. },
  493. //评价权限
  494. myPower() {
  495. this.$http('openMiniEvaluate/getEvaluateSetting', {
  496. }, 'GET').then(res => {
  497. // var list = res.data.Items
  498. this.appraise = res.data
  499. })
  500. },
  501. goAppraiseDetail(item) {
  502. uni.navigateTo({
  503. url: 'myAppraiseDetail?sheetId=' + this.orderData.billsheet.id
  504. })
  505. },
  506. goAppraise(item) {
  507. uni.navigateTo({
  508. url: 'appraise?sheetID=' + this.orderData.billsheet.id + '&shopID=' + this.orderData.billsheet
  509. .shopID
  510. })
  511. },
  512. decryptPhoneNumber: function(e) {
  513. console.log(e);
  514. this.code = e.detail.code
  515. this.wxPhoneLogin()
  516. this.authorizShow = false;
  517. },
  518. wxPhoneLogin() {
  519. var that = this;
  520. this.$http('miniApp2/sys/wxPhoneLogin', {
  521. appId: this.ext.appId,
  522. unionId: this.ext.unionId,
  523. code: this.code,
  524. openId: this.wxOpenData.openid
  525. }, 'POST').then(res => {
  526. var data = res.data;
  527. if(data.newCustomer){
  528. uni.showModal({
  529. title: '提示',
  530. content: data.newCustomerMsg,
  531. success: function(resTK) {
  532. }
  533. });
  534. var token=res.data.token
  535. data.loginInfo={}
  536. data.loginInfo.token=token
  537. this.$store.commit('mutationswxOpenData', data);
  538. return false;
  539. }
  540. if (data.loginInfo) {
  541. this.userInfo = data.loginInfo.openUser;
  542. this.wxOpenData = data.loginInfo;
  543. this.$store.commit('mutationswxOpenData', data)
  544. this.$store.commit('mutationsuserInfo', this.userInfo)
  545. this.getData()
  546. }
  547. })
  548. },
  549. map() {
  550. console.log("打开地图")
  551. var that = this;
  552. if (!that.orderData.billsheet.lat || !that.orderData.billsheet.lng) {
  553. uni.showToast({
  554. title: '该店铺未设置定位',
  555. icon: 'none',
  556. duration: 3000
  557. });
  558. } else {
  559. uni.openLocation({
  560. latitude: Number(that.orderData.billsheet.lat),
  561. longitude: Number(that.orderData.billsheet.lng),
  562. name: that.orderData.billsheet.ShopName,
  563. address: that.orderData.billsheet.Address,
  564. success: function() {
  565. console.log('success');
  566. },
  567. fail(err) {
  568. console.log(err)
  569. }
  570. });
  571. }
  572. },
  573. call() {
  574. uni.makePhoneCall({
  575. phoneNumber: this.orderData.billsheet.shopMobilePhone
  576. });
  577. },
  578. getData() {
  579. let that = this
  580. uni.showLoading({
  581. title: '加载中'
  582. });
  583. this.$http('openweiXinCardInfoController/queryConsumptionDetail', {
  584. // lat: this.location.lat,
  585. // lng: this.location.lng,
  586. id: this.id,
  587. }, 'POST').then(res => {
  588. uni.hideLoading();
  589. this.orderData = res.data;
  590. console.log('data===', this.orderData);
  591. })
  592. },
  593. //时间对比
  594. getDateBeforeNow(stringTime) {
  595. console.log("传参未格式化", stringTime);
  596. stringTime = new Date(stringTime.replace(/-/g, '/'))
  597. // 统一单位换算
  598. var minute = 1000 * 60;
  599. var hour = minute * 60;
  600. var day = hour * 24;
  601. var week = day * 7;
  602. var month = day * 30;
  603. var year = month * 12;
  604. var time1 = new Date().getTime(); //当前的时间戳 console.log("当前时间", time1);
  605. // 对时间进行毫秒单位转换 var time2 = new Date(stringTime).getTime(); //指定时间的时间戳
  606. console.log("传过来的时间", time2);
  607. var time = time1 - time2;
  608. console.log("计算后的时间", time);
  609. var result =
  610. null; // if (time < 0) { // // alert("传过来的时间的时间不能晚于当前时间!"); // result = stringTime; // } else if (time / year >= 1) {
  611. // result = parseInt(time / year) + "年前";
  612. // } else if (time / month >= 1) {
  613. // result = parseInt(time / month) + "月前";
  614. // } else if (time / week >= 1) { // result = parseInt(time / week) + "周前"; // } else if (time / day >= 1) {
  615. // result = parseInt(time / day) + "天前";
  616. // } else if (time / hour >= 1) { // result = parseInt(time / hour) + "小时前";
  617. // } else if (time / minute >= 1) {
  618. // result = parseInt(time / minute) + "分钟前"; // } else {
  619. // result = "刚刚"; // }
  620. if (time < 0) {
  621. // alert("传过来的时间的时间不能晚于当前时间!");
  622. result = -1;
  623. } else if (time / day >= 0) {
  624. result = parseInt(time / day); //多少天前
  625. }
  626. console.log("多少天前", result);
  627. return result;
  628. },
  629. goback() {
  630. uni.navigateBack({})
  631. },
  632. },
  633. onPullDownRefresh() {
  634. this.getData()
  635. this.myPower();
  636. this.showPower();
  637. setTimeout(function() {
  638. uni.stopPullDownRefresh();
  639. }, 1000);
  640. },
  641. }
  642. </script>
  643. <style scoped>
  644. .imgListBox{
  645. display: flex;
  646. flex-wrap: wrap;
  647. }
  648. .pictureImg{
  649. width:170rpx;height: 170rpx;
  650. margin: 2rpx;
  651. }
  652. .SalePrice{
  653. color: #3C3C3C;
  654. font-weight: 600;
  655. }
  656. .GoodsName{
  657. font-size: 30rpx !important;
  658. }
  659. .itemWorkHoursBox{
  660. display: flex;
  661. justify-content: space-between;
  662. font-size: 24rpx;
  663. font-weight: 400;
  664. color: #999999;
  665. padding-top: 20rpx;padding-bottom: 20rpx;
  666. }
  667. .itemWorkHoursBoxleft{
  668. display: flex;
  669. }
  670. .nopb{
  671. padding-bottom: 0px;
  672. }
  673. .itemWorkHours{
  674. padding-right: 50rpx;
  675. }
  676. .itemPrice{
  677. }
  678. .newboxTop{
  679. display: flex;
  680. padding-left: 20rpx;
  681. font-size: 30rpx;
  682. border-bottom: 1rpx solid #EEEEEE;
  683. font-weight: bold;
  684. padding-bottom: 15rpx;
  685. }
  686. .baoyangtis{
  687. font-size: 26rpx;
  688. padding-left: 20rpx;
  689. }
  690. .CarModel{
  691. font-size: 26rpx;
  692. padding: 15rpx 20rpx;
  693. }
  694. .baoyangtis{
  695. padding: 15rpx 20rpx 0 15rpx;
  696. }
  697. .box {
  698. min-height: 100vh;
  699. background: #F4F5F7;
  700. padding-bottom: constant(safe-area-inset-bottom);
  701. padding-bottom: env(safe-area-inset-bottom);
  702. }
  703. .contentBox {
  704. background: #F4F5F7;
  705. padding-bottom: 100rpx;
  706. }
  707. .top {
  708. height: 190rpx;
  709. background: #FF0000;
  710. }
  711. .stateBox {
  712. display: flex;
  713. }
  714. .orderState {
  715. display: flex;
  716. justify-content: center;
  717. align-items: center;
  718. padding-top: 40rpx;
  719. }
  720. .SheetState {
  721. display: flex;
  722. justify-content: center;
  723. font-size: 36rpx;
  724. font-weight: 500;
  725. color: #FFFFFF;
  726. margin-left: 15rpx;
  727. }
  728. .timeEditImg {
  729. width: 25rpx;
  730. height: 25rpx;
  731. padding-left: 20rpx;
  732. }
  733. .shopBoximg {
  734. width: 40rpx;
  735. height: 40rpx;
  736. }
  737. .shopRightImg {
  738. width: 44rpx;
  739. height: 45rpx;
  740. }
  741. .shopsx {
  742. width: 1px;
  743. height: 50rpx;
  744. background: #EEEEEE;
  745. margin-top: 30rpx;
  746. margin-left: 28rpx;
  747. }
  748. .shopBox2{
  749. padding: 30rpx 0rpx;
  750. margin: 0rpx 24rpx;
  751. margin-top: -60rpx;
  752. background-color: #FFFFFF;
  753. border-radius: 10rpx;
  754. }
  755. .shopBox2 .informationTxt {
  756. width: 350rpx;
  757. }
  758. .shopBox {
  759. display: flex;
  760. padding: 30rpx 20rpx;
  761. margin: 0rpx 24rpx;
  762. margin-top: 20rpx;
  763. background-color: #FFFFFF;
  764. border-radius: 10rpx;
  765. }
  766. .shopCont {
  767. width: 470rpx;
  768. /* padding-left: 20rpx; */
  769. }
  770. .shopName {
  771. font-size: 30rpx;
  772. font-weight: bold;
  773. color: #3C3C3C;
  774. line-height: 45rpx;
  775. }
  776. .Address {
  777. color: #999999;
  778. font-size: 24rpx;
  779. margin-top: 10rpx;
  780. }
  781. .shopRihgtTxt {
  782. color: #999999;
  783. font-size: 24rpx;
  784. }
  785. .shopRightBox {
  786. padding-left: 28rpx;
  787. }
  788. .peopleCont {
  789. font-size: 28rpx;
  790. color: #3C3C3C;
  791. padding-left: 20rpx;
  792. }
  793. .people {
  794. display: flex;
  795. padding-left: 20rpx;
  796. padding-top: 30rpx;
  797. padding-bottom: 36rpx;
  798. }
  799. .PlateNumberBox {
  800. display: flex;
  801. padding-left: 20rpx;
  802. padding-bottom: 30rpx;
  803. }
  804. .PlateNumbercx {
  805. font-size: 28rpx;
  806. color: #3C3C3C;
  807. padding-left: 20rpx;
  808. }
  809. .PlateNumber {
  810. width: 130rpx;
  811. height: 32rpx;
  812. border-radius: 4rpx;
  813. border: 1px solid #F19D01;
  814. line-height: 32rpx;
  815. text-align: center;
  816. font-size: 22rpx;
  817. color: #F19D01;
  818. margin-left: 26rpx;
  819. }
  820. .PlateNumberBoxTop {
  821. display: flex;
  822. }
  823. .CarModel {
  824. font-size: 26rpx;
  825. color: #999999;
  826. padding-left: 20rpx;
  827. padding-top: 6rpx;
  828. padding-right: 20rpx;
  829. padding-bottom: 15rpx;
  830. width: 600rpx;
  831. }
  832. .detailedBox {
  833. background: #FFFFFF;
  834. border-radius: 10px;
  835. margin: 20rpx 24rpx;
  836. padding-bottom: 20rpx;
  837. }
  838. .itemBox {
  839. margin-top: 20rpx;
  840. }
  841. .carMes {
  842. padding: 23rpx 20rpx;
  843. display: flex;
  844. align-items: center;
  845. justify-content: flex-start;
  846. border-bottom: 1rpx solid #EEEEEE;
  847. }
  848. .plate {
  849. font-size: 30rpx;
  850. color: #3C3C3C;
  851. font-weight: bold;
  852. margin-right: 20rpx;
  853. }
  854. .mileage {
  855. font-size: 24rpx;
  856. color: #F19D01;
  857. padding: 0rpx 10rpx;
  858. border: 1rpx solid #F19D01;
  859. border-radius: 4rpx;
  860. height: 36rpx;
  861. }
  862. .detailedTitle {
  863. padding: 23rpx 20rpx;
  864. display: flex;
  865. text-align: center;
  866. align-content: flex-start;
  867. border-bottom: 1rpx solid #EEEEEE;
  868. font-size: 30rpx;
  869. font-weight: bold;
  870. color: #3C3C3C;
  871. }
  872. .detailedLine {
  873. padding: 20rpx 20rpx 0rpx;
  874. }
  875. .detailedImg {
  876. width: 120rpx;
  877. height: 120rpx;
  878. border-radius: 10rpx;
  879. }
  880. .detailedName {
  881. font-size: 30rpx;
  882. color: #3C3C3C;
  883. font-weight: 500;
  884. }
  885. .kaColor {
  886. background: #F19D01;
  887. border-radius: 4rpx;
  888. color: #FFFFFF;
  889. font-size: 24rpx;
  890. margin-right: 8rpx;
  891. padding: 3rpx 5rpx;
  892. }
  893. .qty {
  894. font-size: 24rpx;
  895. font-weight: 400;
  896. color: #999999;
  897. }
  898. .secondBox {
  899. display: flex;
  900. /* padding: 20rpx 0rpx; */
  901. justify-content: space-between;
  902. align-items: baseline;
  903. border-bottom: 1rpx solid #EEEEEE;
  904. }
  905. .noLine {
  906. border-bottom: 0 solid #FFFFFF;
  907. }
  908. .comment {
  909. margin-right: 20rpx;
  910. font-size: 24rpx;
  911. font-weight: 400;
  912. color: #999999;
  913. flex-grow: 1;
  914. padding: 20rpx 0rpx;
  915. }
  916. .secondRight {
  917. display: flex;
  918. justify-content: flex-end;
  919. align-items: baseline;
  920. }
  921. .grayPrice {
  922. font-size: 24rpx;
  923. font-weight: 400;
  924. color: #999999;
  925. text-decoration: line-through;
  926. }
  927. .price {
  928. font-size: 26rpx;
  929. font-weight: 500;
  930. /* color: #FF0000; */
  931. display: flex;
  932. color: #3C3C3C;
  933. align-items: center;
  934. }
  935. span {
  936. font-size: 24rpx;
  937. }
  938. .goodTop {
  939. display: flex;
  940. justify-content: space-between;
  941. }
  942. .goodscost {
  943. background: #FFFFFF;
  944. border-radius: 10px;
  945. margin: 20rpx 24rpx;
  946. padding-bottom: 20rpx;
  947. }
  948. .goodscostLine {
  949. display: flex;
  950. justify-content: space-between;
  951. font-size: 26rpx;
  952. padding: 15rpx 20rpx;
  953. color: #333333;
  954. }
  955. .goodsCostNum {
  956. color: #FF0000;
  957. font-weight: 500;
  958. font-size: 36rpx;
  959. }
  960. .goodsCostNumJsfs{
  961. color: #333333;
  962. }
  963. .goodsCostNum3{
  964. font-weight: 500;
  965. }
  966. .information {
  967. width: 702rpx;
  968. background: #FFFFFF;
  969. border-radius: 10px;
  970. margin-left: 24rpx;
  971. margin-top: 20rpx;
  972. padding: 0rpx 0 15rpx 0;
  973. }
  974. .informationLine {
  975. display: flex;
  976. font-size: 26rpx;
  977. padding: 15rpx 20rpx;
  978. justify-content: space-between;
  979. }
  980. .informationTxt {
  981. width: 200rpx;
  982. color: #999999;
  983. }
  984. .informationNum {
  985. color: #333333;
  986. width: calc(100vw - 200rpx);
  987. text-align: right;
  988. }
  989. .copyBtn {
  990. width: 86rpx;
  991. height: 40rpx;
  992. background: #F4F5F7;
  993. border-radius: 20rpx;
  994. font-size: 24rpx;
  995. color: #333333;
  996. text-align: center;
  997. line-height: 40rpx;
  998. margin-left: 20rpx;
  999. }
  1000. .orderBottom {
  1001. width: 750rpx;
  1002. height: 98rpx;
  1003. background: #FFFFFF;
  1004. position: fixed;
  1005. left: 0;
  1006. bottom: 0;
  1007. display: flex;
  1008. justify-content: flex-end;
  1009. }
  1010. .cancelBtn {
  1011. width: 150rpx;
  1012. height: 56rpx;
  1013. border-radius: 36rpx;
  1014. border: 2rpx solid #DDDDDD;
  1015. text-align: center;
  1016. line-height: 56rpx;
  1017. font-size: 28rpx;
  1018. color: #3C3C3C;
  1019. margin-top: 21rpx;
  1020. margin-right: 16rpx;
  1021. margin-left: 20rpx;
  1022. }
  1023. .payBtn {
  1024. width: 150rpx;
  1025. height: 56rpx;
  1026. border-radius: 36rpx;
  1027. border: 2rpx solid #FF4F00;
  1028. text-align: center;
  1029. line-height: 56rpx;
  1030. font-size: 28rpx;
  1031. color: #FF4F00;
  1032. margin-top: 21rpx;
  1033. margin-right: 16rpx;
  1034. margin-left: 20rpx;
  1035. }
  1036. .timeBox2 {
  1037. width: 100vw;
  1038. height: 100vh;
  1039. background: rgba(0, 0, 0, 0.5);
  1040. position: fixed;
  1041. top: 0;
  1042. left: 0;
  1043. }
  1044. .timeLeftActive {
  1045. background: #FFFFFF;
  1046. }
  1047. .timeMain {
  1048. width: 100vw;
  1049. height: 70vh;
  1050. margin-top: 30vh;
  1051. background: #FFFFFF;
  1052. border-radius: 24rpx 24rpx 0px 0px;
  1053. }
  1054. .timesfNo {
  1055. background: #F5F5F5;
  1056. }
  1057. .timesfActive {
  1058. background: #FF4F00;
  1059. }
  1060. .timesfActive .timeSfNum {
  1061. color: #FFFFFF;
  1062. }
  1063. .timesfActive .timeyy {
  1064. color: #FFFFFF;
  1065. }
  1066. .topBox {
  1067. padding: 20rpx 24rpx;
  1068. }
  1069. .timeTop {
  1070. display: flex;
  1071. line-height: 90rpx;
  1072. padding-left: 24rpx;
  1073. padding-right: 24rpx;
  1074. justify-content: space-between;
  1075. }
  1076. .timeTopTitle {
  1077. font-size: 30rpx;
  1078. font-family: PingFangSC-Medium, PingFang SC;
  1079. font-weight: 600;
  1080. color: #3C3C3C;
  1081. }
  1082. .close {
  1083. color: #999999;
  1084. font-size: 30rpx;
  1085. padding-left: 30rpx;
  1086. }
  1087. .timeCont {
  1088. height: calc(70vh - 210rpx);
  1089. }
  1090. .timeSv {
  1091. height: calc(70vh - 210rpx);
  1092. }
  1093. .timeLeft2 {
  1094. width: 162rpx;
  1095. background: #F4F5F7;
  1096. border-top: 1px soid #F4F5F7;
  1097. border-right: 1px soid #F4F5F7;
  1098. }
  1099. .timeRight2 {
  1100. width: 588rpx;
  1101. }
  1102. .timesf {
  1103. width: 165rpx;
  1104. height: 98rpx;
  1105. border-radius: 7rpx;
  1106. border: 2rpx solid #EEEEEE;
  1107. text-align: center;
  1108. margin-left: 20rpx;
  1109. margin-bottom: 24rpx;
  1110. }
  1111. .timeBottom {
  1112. width: 750rpx;
  1113. height: 120rpx;
  1114. background: #FFFFFF;
  1115. box-shadow: 0px -2px 20rpx 0px rgba(153, 153, 153, 0.2);
  1116. display: flex;
  1117. align-items: center;
  1118. }
  1119. .timerightBox {
  1120. display: flex;
  1121. flex-wrap: wrap;
  1122. }
  1123. .timeCont {
  1124. display: flex;
  1125. }
  1126. .timeSfNum {
  1127. color: #666666;
  1128. font-size: 28rpx;
  1129. padding-top: 15rpx;
  1130. }
  1131. .timeyy {
  1132. font-size: 24rpx;
  1133. color: #999999;
  1134. }
  1135. .timecomplete {
  1136. width: 690rpx;
  1137. height: 74rpx;
  1138. background: linear-gradient(124deg, #FF8700 0%, #FF4F00 100%);
  1139. border-radius: 37rpx;
  1140. line-height: 74rpx;
  1141. text-align: center;
  1142. font-size: 30rpx;
  1143. color: #FFFFFF;
  1144. margin-left: 30rpx;
  1145. }
  1146. .timeleftLine {
  1147. font-size: 30rpx;
  1148. color: #999999;
  1149. text-align: center;
  1150. padding: 28rpx 10rpx;
  1151. border-bottom: 1px solid #EEEEEE;
  1152. }
  1153. .yuyueBox {
  1154. background: #FFFFFF;
  1155. border-radius: 10rpx;
  1156. margin-left: 24rpx;
  1157. margin-right: 24rpx;
  1158. }
  1159. .yuyueTime {
  1160. display: flex;
  1161. padding-left: 20rpx;
  1162. padding-top: 30rpx;
  1163. padding-bottom: 36rpx;
  1164. align-items: center;
  1165. }
  1166. .yuyueState {
  1167. display: flex;
  1168. padding-left: 20rpx;
  1169. padding-top: 30rpx;
  1170. padding-bottom: 36rpx;
  1171. }
  1172. .maBox {
  1173. display: flex;
  1174. justify-content: space-between;
  1175. padding: 24rpx 20rpx;
  1176. }
  1177. .querenMa {
  1178. margin: 20rpx 0;
  1179. padding-bottom: 30rpx;
  1180. }
  1181. .maBoximg {
  1182. width: 308rpx;
  1183. height: 308rpx;
  1184. margin: 30rpx 197rpx;
  1185. }
  1186. .rightShou {
  1187. display: flex;
  1188. justify-content: flex-start;
  1189. align-items: center;
  1190. }
  1191. .authorizBox {
  1192. width: 100vw;
  1193. height: 100vh;
  1194. background: rgba(0, 0, 0, 0.5);
  1195. position: fixed;
  1196. top: 0;
  1197. left: 0;
  1198. }
  1199. .authorizCont {
  1200. margin-top: 30vh;
  1201. width: 564rpx;
  1202. height: 408rpx;
  1203. background: #FFFFFF;
  1204. border-radius: 24rpx;
  1205. margin-left: 93rpx;
  1206. position: relative;
  1207. }
  1208. .authorizCloseImg {
  1209. width: 62rpx;
  1210. height: 62rpx;
  1211. }
  1212. .sqLogoBox {
  1213. width: 180rpx;
  1214. height: 180rpx;
  1215. background: #FFFFFF;
  1216. border-radius: 90rpx;
  1217. text-align: center;
  1218. position: absolute;
  1219. top: -50rpx;
  1220. left: 192rpx;
  1221. }
  1222. .authorizName {
  1223. color: #333333;
  1224. line-height: 42rpx;
  1225. font-size: 30rpx;
  1226. text-align: center;
  1227. padding-top: 58rpx;
  1228. }
  1229. .authorizMs {
  1230. color: #999999;
  1231. line-height: 36rpx;
  1232. font-size: 26rpx;
  1233. width: 452rpx;
  1234. padding-top: 24rpx;
  1235. text-align: center;
  1236. margin-left: 56rpx;
  1237. }
  1238. .authorizContbutton {
  1239. width: 422rpx;
  1240. height: 88rpx;
  1241. background: #D53533;
  1242. border-radius: 44rpx;
  1243. line-height: 88rpx;
  1244. text-align: center;
  1245. font-size: 30rpx;
  1246. color: #FFFFFF;
  1247. margin-top: 62rpx;
  1248. margin-left: 71rpx;
  1249. }
  1250. .bottom {
  1251. position: fixed;
  1252. width: 100%;
  1253. padding: 20rpx 24rpx;
  1254. right: 0;
  1255. bottom: 0;
  1256. background: #ffffff;
  1257. font-size: 28rpx;
  1258. display: flex;
  1259. justify-content: flex-end;
  1260. height: 58rpx;
  1261. padding-bottom: constant(safe-area-inset-bottom);
  1262. padding-bottom: env(safe-area-inset-bottom);
  1263. }
  1264. .ping {
  1265. text-align: center;
  1266. /* color: #FF4F00; */
  1267. color: #666666;
  1268. width: 150rpx;
  1269. height: 56rpx;
  1270. line-height: 56rpx;
  1271. border-radius: 36rpx;
  1272. border: 2rpx solid #DDDDDD;
  1273. }
  1274. .kan {
  1275. text-align: center;
  1276. color: #666666;
  1277. width: 150rpx;
  1278. height: 56rpx;
  1279. line-height: 56rpx;
  1280. border-radius: 36rpx;
  1281. border: 2rpx solid #DDDDDD;
  1282. }
  1283. .goodscostTxt{
  1284. color: #999999;
  1285. }
  1286. .DiscountMoneyIcon{
  1287. width: 30rpx;height: 20rpx; margin-top: 10rpx;
  1288. margin-left: 10rpx;
  1289. }
  1290. .DiscountMoneyTop{
  1291. display: flex;
  1292. }
  1293. .yhprice{
  1294. color: #FF0000;
  1295. }
  1296. .yhmx .goodsCostNum3{
  1297. color: #666;
  1298. font-weight: 400;
  1299. }
  1300. </style>