historyDetail.vue 37 KB

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