offerSheetDetail.vue 36 KB

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