onlineBooking.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. <template>
  2. <view class="box">
  3. <homenav :iStatusBarHeight="iStatusBarHeight" :title="'在线预约'" ></homenav>
  4. <view class="top">
  5. <view class="shopTop">
  6. <swiper class="swiper" circular :autoplay="true" :interval="interval" :duration="duration"
  7. v-if="shopInfo.imgs">
  8. <swiper-item v-for="(item,index) in shopInfo.imgs.split(',')" v-if="item">
  9. <view class="swiper-item">
  10. <img mode="aspectFit" :src="item" alt="">
  11. </view>
  12. </swiper-item>
  13. </swiper>
  14. </view>
  15. <!-- 门店详情 -->
  16. <view class="newshopNames" v-if="shopInfo">
  17. <view class="newshopDstop">
  18. <view class="newshopDname">{{shopInfo.shopName}}</view>
  19. <view v-if="data.isShowScore == 1 && data.isShowEvaluate == 1" class="appraiseBg">
  20. <view class="appraiseBox">
  21. <view v-if="data.isShowScore == 1 && data.shopInfo.miniV2ShopScore" class="appraise">
  22. {{data.shopInfo.miniV2ShopScore}}
  23. <span style='font-size: 26rpx; margin-left: 3rpx;'>分</span>
  24. </view>
  25. <view v-if="data.isShowScore == 1 && !data.shopInfo.miniV2ShopScore" class="appraise"
  26. style='font-size: 26rpx;'>暂无评分</span>
  27. </view>
  28. <view class="line"></view>
  29. <view @click="goShopAppraiseList()" v-if="data.isShowEvaluate == 1 && data.evaluateCount"
  30. class="appraiseCount">评价数
  31. {{data.evaluateCount}}
  32. <image class="rightArrow" src="../../static/timg/icon_arrow_right.png" mode=""></image>
  33. </view>
  34. <view v-if="data.isShowEvaluate == 1 && !data.evaluateCount"
  35. class="appraiseCount">暂无评价</view>
  36. </view>
  37. </view>
  38. <view class="newshopDtime">
  39. 营业时间: <span>{{shopInfo.startTime}} - {{shopInfo.endTime}}</span>
  40. </view>
  41. <view class="newshopDbqbox" v-if="shopInfo.brands">
  42. <view class="newshopDbqline" v-for="(item,index) in shopInfo.brands.split(',')">{{item}}</view>
  43. </view>
  44. </view>
  45. <view class="newshopDadressBpx">
  46. <view class="newshopDaleft">
  47. <view class="newshopDaleftTop">
  48. <!-- <img src="../../static/timg/icon_coordinate@2x.png" alt="" class="shopaddressIcon"> -->
  49. <!-- <span class="shopDdistance" v-if="Number(shopInfo.distance)>1">距离{{shopInfo.distance}}km</span>
  50. <span class="shopDdistance" v-else-if="Number(shopInfo.distance)">距离{{shopInfo.distance*1000}}m</span>
  51. <span class="shopDdistance" v-else>距离--km</span> -->
  52. </view>
  53. <view class="" style="display: flex;">
  54. <img src="../../static/timg/icon_coordinate@2x.png"
  55. style="margin-top: 24rpx;margin-right: 10rpx;" class="shopaddressIcon">
  56. <view class="newshopDadressName">
  57. {{shopInfo.address?shopInfo.address:'--'}}
  58. </view>
  59. </view>
  60. </view>
  61. <view class="newshopDaright">
  62. <view class="newshopDrline" @click="goLocation()">
  63. <img src="../../static/timg/icon_map@2x.png" alt="" class="newshopDrlineimg">
  64. <view class="newshopDrlineTxt">地图</view>
  65. </view>
  66. <view class="newshopDRsx"></view>
  67. <view class="newshopDrline" @click="phones()">
  68. <img src="../../static/timg/icon_phone@2x.png" alt="" class="newshopDrlineimg">
  69. <view class="newshopDrlineTxt">电话</view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <!-- 预约详情-->
  76. <view class="yuyue-container">
  77. <view class="yuyueLeft">
  78. <view class="yuyueleftLine" v-for="(item,index) in leftData" @click="listItemWxInfo(item,index)"
  79. :class="{leftActive:leftIndex==index}">{{item.Name}}</view>
  80. </view>
  81. <view class="yuyueRight">
  82. <!-- <view class="yuyueRightTitle">{{rightTitle}}</view> -->
  83. <view v-for="(item,index) in rightData" @click="checkItem(item)"
  84. style="padding-left: 24rpx;padding-right: 24rpx;">
  85. <view class="yrTop">
  86. <view class="ItemName">{{item.ItemName}}</view>
  87. <image src="../../static/timg/ickno.png" v-if="selectedItems.findIndex(i=>i.ID===item.ID)==-1"
  88. mode="" class="yrTopImg"></image>
  89. <image src="../../static/timg/icon_checked@2x.png"
  90. v-if="selectedItems.findIndex(i=>i.ID===item.ID)!=-1" mode="" class="yrTopImg"></image>
  91. </view>
  92. <view class="itemSm">
  93. {{item.Comment}}
  94. </view>
  95. <view class="Price">
  96. <view class="yuyue-price"> <span class="qianhaospan">¥</span> {{item.Price||'--'}} </view>
  97. </view>
  98. </view>
  99. <view class="nodataBox" v-if="rightData.length==0">
  100. <image src="http://dmsphoto.66km.com.cn/thFiles/3C95A4C5-73F8-4B34-902B-703B8A0825C9.png"
  101. mode="widthFix" class="nodataImg"></image>
  102. <view class="noTxt">暂无数据</view>
  103. </view>
  104. </view>
  105. </view>
  106. <view class="bottom-container newbottom-container">
  107. <view class="newyyBox" @click="yuyueDetail">
  108. <view class="yyBleft">
  109. <img src="../../static/timg/icon_qingdan@2x.png" alt="" class="yyBleftimg">
  110. </view>
  111. <view>
  112. <view class="totalPriceBox"><span>预估总额:</span> <span class="totalPrice"><span
  113. class="qianhaospan">¥</span>{{totalPrice}}</span> </view>
  114. <span class="hejishul">合计数量: {{selectedItems.length}}</span>
  115. </view>
  116. </view>
  117. <view href="javascript:;" :style="{background:'#'+themeColor}" class=" newbottom-container-button"
  118. @click="yuyue">立即预约</view>
  119. </view>
  120. <view class="yydetailBox" v-if="yydetailShow" @click="yydetailShow=false">
  121. <view class="yyDetailTop" @click.stop="">
  122. <view class="yyDetailTopleft">清单</view>
  123. <view class="yyDetailTopRight">
  124. <view class="yydetalqk" @click="yyqingk">清空</view>
  125. <view class="yydetailx" @click="yydetailShow=false">X</view>
  126. </view>
  127. </view>
  128. <view class="yydetailCont" @click.stop="">
  129. <view class="yydetailContLine" v-for="(item,index) in selectedItems">
  130. <view class="yydlineName">{{item.ItemName}}</view>
  131. <view class="yydlineCommnt" v-if="true">{{item.Comment}}</view>
  132. <view class="yydPrice">¥{{item.Price}}</view>
  133. </view>
  134. </view>
  135. </view>
  136. <!-- 手机号授权 -->
  137. <view class="authorizBox" v-if="authorizShow" @click="authorizShowno">
  138. <view class="authorizCont" @click.stop="">
  139. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  140. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  141. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  142. </view>
  143. <view style="text-align: center;padding-top: 56rpx;">
  144. <image src="../../static/timg/icon_guanbi@2x.png" @click="authorizShowno" mode="" class="authorizCloseImg"></image>
  145. </view>
  146. </view>
  147. </view>
  148. </template>
  149. <script>
  150. import homenav from "../../components/homenav/nav.vue"
  151. export default {
  152. components: {
  153. homenav
  154. },
  155. data() {
  156. return {
  157. interval: 3000,
  158. duration: 500,
  159. distance: 0.05,
  160. leftIndex: 0,
  161. yydetailShow: false,
  162. userInfo: '',
  163. bizTagId: '',
  164. leftData: '',
  165. rightData: '',
  166. rightTitle: '',
  167. selectedItems: [],
  168. location: {
  169. lng: '',
  170. lat: '',
  171. },
  172. shopInfo: '',
  173. naShopId: '',
  174. themeColor: '',
  175. data: {},
  176. iStatusBarHeight:'',
  177. ext:'',
  178. shareId:'',
  179. authorizShow:false,
  180. wxOpenData:'',
  181. code:'',
  182. }
  183. },
  184. onLoad(opt) {
  185. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  186. this.userInfo = uni.getStorageSync("userInfo");
  187. this.themeColor = uni.getStorageSync("themeColor");
  188. this.naShopId = opt.naShopId;
  189. if (this.naShopId == null || this.naShopId == 'null') {
  190. this.naShopId = ''
  191. }
  192. console.log(this.naShopId)
  193. var that = this;
  194. this.ext=this.$common.getExtStoreId();
  195. if(this.userInfo){
  196. that.getInfo()
  197. }else{
  198. this.$common.automaticlogin().then(val => {
  199. this.themeColor = uni.getStorageSync("themeColor");
  200. this.userInfo=this.$store.state.userInfo;
  201. this.wxOpenData=this.$store.state.wxOpenData;
  202. that.getInfo()
  203. })
  204. }
  205. //this.listBigTags()
  206. },
  207. computed: {
  208. totalPrice() {
  209. return this.selectedItems.reduce((i, k) => {
  210. return Number(i) + Number(k.Price)
  211. }, 0).toFixed(2)
  212. }
  213. },
  214. methods: {
  215. authorizShowno(){
  216. this.authorizShow=false
  217. },
  218. decryptPhoneNumber: function(e) {
  219. console.log(e);
  220. this.code=e.detail.code
  221. this.wxPhoneLogin()
  222. this.authorizShow=false;
  223. },
  224. wxPhoneLogin(){
  225. var that=this;
  226. this.$http('miniApp2/sys/wxPhoneLogin', {
  227. appId:this.ext.appId,
  228. unionId:this.ext.unionId,
  229. code:this.code,
  230. openId:this.wxOpenData.openid
  231. },'POST').then(res => {
  232. var data = res.data;
  233. if(data.loginInfo){
  234. this.userInfo=data.loginInfo.openUser;
  235. this.wxOpenData=data.loginInfo;
  236. this.$store.commit('mutationswxOpenData', data)
  237. this.$store.commit('mutationsuserInfo', this.userInfo)
  238. this.getInfo()
  239. }
  240. })
  241. },
  242. goShopAppraiseList() {
  243. uni.navigateTo({
  244. url: '../user/ShopAppraiseList?shopID=' + this.data.shopInfo.id
  245. // url: 'ShopAppraiseList?shopID=' + this.numList.shopInfo.id
  246. })
  247. },
  248. getInfo() {
  249. uni.showLoading({
  250. title: '加载中'
  251. })
  252. var that = this;
  253. this.$http('openreservation/getInfo', {
  254. lat: this.location.lat ? this.location.lat : '',
  255. lng: this.location.lng ? this.location.lng : '',
  256. shopId: this.naShopId,
  257. }, 'GET').then(res => {
  258. this.shopInfo = res.data.shopInfo;
  259. this.data = res.data;
  260. uni.setStorage({
  261. key: 'yyshopInfo',
  262. data: that.shopInfo,
  263. success: function() {
  264. }
  265. });
  266. this.listBigTags()
  267. })
  268. },
  269. listBigTags() {
  270. uni.showLoading({
  271. title: '加载中'
  272. });
  273. //openreservation/listBigTags
  274. this.$http('openreservation/listItemWxCategory', {
  275. shopId: this.shopInfo.id,
  276. unionId: this.userInfo.unionId
  277. }, 'GET').then(res => {
  278. uni.hideLoading();
  279. this.bizTagId = res.data[0].ID
  280. this.rightTitle = res.data[0].Name
  281. this.leftData = res.data;
  282. this.GetlistItemWxInfo()
  283. })
  284. },
  285. GetlistItemWxInfo() {
  286. //console.log("listItemWxInfo")
  287. uni.showLoading({
  288. title: '加载中'
  289. });
  290. console.log("bizTagId" + this.bizTagId)
  291. this.$http('openreservation/listItemWxInfo', {
  292. shopId: this.shopInfo.id,
  293. bizTagId: this.bizTagId
  294. }, 'GET').then(res => {
  295. //console.log(res)
  296. uni.hideLoading();
  297. // es.data.forEach(mode => {
  298. // mode.ck=false
  299. // })
  300. this.rightData = res.data
  301. console.log(this.rightData)
  302. })
  303. },
  304. checkItem(item) {
  305. let index = this.selectedItems.findIndex(i => i.ID === item.ID)
  306. if (index !== -1) {
  307. this.selectedItems.splice(index, 1)
  308. } else {
  309. this.selectedItems.push(item)
  310. }
  311. },
  312. goLocation() {
  313. var that = this;
  314. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  315. uni.showToast({
  316. title: '该店铺未设置定位',
  317. icon: 'none',
  318. duration: 3000
  319. });
  320. } else {
  321. uni.openLocation({
  322. latitude: Number(that.shopInfo.lat),
  323. longitude: Number(that.shopInfo.lng),
  324. name: that.shopInfo.shopName,
  325. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName +
  326. that.shopInfo.address,
  327. success: function() {
  328. console.log('success');
  329. },
  330. fail(err) {
  331. console.log(err)
  332. }
  333. });
  334. }
  335. },
  336. phones() {
  337. uni.makePhoneCall({
  338. phoneNumber: this.shopInfo.mobilePhone
  339. });
  340. },
  341. listItemWxInfo(item, index) {
  342. console.log(item)
  343. this.leftIndex = index;
  344. this.bizTagId = item.ID
  345. if (item.ID == '') {
  346. this.bizTagId = ''
  347. }
  348. this.rightTitle = item.Name;
  349. this.GetlistItemWxInfo()
  350. },
  351. yuyueDetail() {
  352. this.yydetailShow = true;
  353. },
  354. yyqingk() {
  355. this.selectedItems = []
  356. },
  357. yuyue() {
  358. if(!this.userInfo){
  359. this.authorizShow=true
  360. }else{
  361. if (!this.selectedItems.length) {
  362. uni.showToast({
  363. title: '请选择预约项目',
  364. icon: 'none',
  365. duration: 3000
  366. });
  367. } else {
  368. this.$store.commit('mutationsyuyueData', this.selectedItems)
  369. uni.navigateTo({
  370. url: 'confirmYuyue'
  371. })
  372. }
  373. }
  374. }
  375. }
  376. }
  377. </script>
  378. <style scoped lang="less">
  379. .nodataBox {
  380. text-align: center;
  381. }
  382. .nodataImg {
  383. width: 400rpx;
  384. padding-top: 100rpx;
  385. }
  386. .noTxt {
  387. font-size: 32rpx;
  388. color: #999999;
  389. padding-top: 50rpx;
  390. }
  391. .box {
  392. background: #F4F5F7;
  393. min-height: 100vh;
  394. }
  395. .swiper-item img {
  396. width: 750rpx;
  397. height: 500rpx;
  398. }
  399. .swiper-item {
  400. height: 500rpx;
  401. }
  402. .swiper {
  403. height: 500rpx;
  404. }
  405. .shopTop {
  406. height: 500rpx;
  407. }
  408. .newshopNames {
  409. width: 750rpx;
  410. background: #FFFFFF;
  411. border-radius: 10rpx;
  412. margin-top: -60rpx;
  413. position: relative;
  414. border-radius: 24rpx 24rpx 0px 0px;
  415. padding-bottom: 20rpx;
  416. }
  417. .newshopDname {
  418. color: #333333;
  419. font-size: 30rpx;
  420. padding-left: 20rpx;
  421. padding-top: 23rpx;
  422. font-weight: 500;
  423. }
  424. .newshopDtime {
  425. color: #999999;
  426. font-size: 24rpx;
  427. padding-left: 20rpx;
  428. padding-top: 10rpx;
  429. font-weight: 400;
  430. }
  431. .newshopDstop {
  432. padding-bottom: 21rpx;
  433. border-bottom: 1px solid #EEEEEE;
  434. }
  435. .newshopDetailtop {
  436. margin-bottom: 20rpx;
  437. }
  438. .newshopDbqbox {
  439. display: flex;
  440. flex-wrap: wrap;
  441. padding-left: 20rpx;
  442. }
  443. .newshopDbqline {
  444. line-height: 30rpx;
  445. height: 30rpx;
  446. border-radius: 4rpx;
  447. border: 1px solid #F19D01;
  448. color: #f19D01;
  449. font-size: 24rpx;
  450. padding: 0 8rpx;
  451. margin-right: 16rpx;
  452. margin-top: 10rpx;
  453. }
  454. .newshopDbqbox {
  455. padding-top: 5rpx;
  456. }
  457. .shopaddressIcon {
  458. width: 22rpx;
  459. height: 30rpx;
  460. }
  461. .shopDdistance {
  462. color: #3C3C3C;
  463. font-size: 24rpx;
  464. line-height: 30rpx;
  465. padding-left: 16rpx;
  466. font-weight: 500;
  467. }
  468. .newshopDaleftTop {
  469. display: flex;
  470. }
  471. .newshopDadressBpx {
  472. display: flex;
  473. padding: 20rpx 20rpx;
  474. background: url(http://dmsphoto.66km.com.cn/thFiles/010748B7-5678-46C3-941B-60B3CD4D10CB.png) no-repeat;
  475. background-size: 100% 100%;
  476. margin-left: 24rpx;
  477. }
  478. .newshopDadressName {
  479. color: #999999;
  480. padding-top: 16rpx;
  481. font-size: 24rpx;
  482. line-height: 36rpx;
  483. width: 480rpx;
  484. font-weight: 400;
  485. }
  486. .newshopDrlineimg {
  487. width: 44rpx;
  488. height: 44rpx;
  489. }
  490. .newshopDrlineTxt {
  491. color: #999999;
  492. font-size: 24rpx;
  493. text-align: center;
  494. padding-top: 7rpx;
  495. font-weight: 400;
  496. }
  497. .newright-item .yuyue-item {
  498. padding-top: 20rpx;
  499. }
  500. .newshopDRsx {
  501. width: 2rpx;
  502. height: 71rpx;
  503. background: #EEEEEE;
  504. }
  505. .newshopDaright {
  506. display: flex;
  507. justify-content: space-between;
  508. width: 150rpx;
  509. padding-left: 20rpx;
  510. }
  511. .yrTopImg {
  512. width: 36rpx;
  513. height: 36rpx;
  514. }
  515. .yuyue-container {
  516. display: flex;
  517. padding-bottom: 120rpx;
  518. min-height: 40vh;
  519. }
  520. .yuyueLeft {
  521. background: #F5F5F5;
  522. width: 154rpx;
  523. }
  524. .yuyueRight {
  525. width: 596rpx;
  526. background: #FFFFFF;
  527. }
  528. .yuyueleftLine {
  529. font-size: 24rpx;
  530. padding: 30rpx 24rpx;
  531. color: #3C3C3C;
  532. }
  533. .leftActive {
  534. background: #FFFFFF;
  535. font-weight: bold;
  536. }
  537. .yuyueRightTitle {
  538. color: #999999;
  539. font-size: 26rpx;
  540. background: #F9F9F9;
  541. padding-left: 24rpx;
  542. line-height: 62rpx;
  543. }
  544. .yrTop {
  545. display: flex;
  546. justify-content: space-between;
  547. align-items: center;
  548. }
  549. .ItemName {
  550. color: #3C3C3C;
  551. font-size: 28rpx;
  552. width: 480rpx;
  553. font-weight: bold;
  554. margin-top: 20rpx;
  555. margin-bottom: 10rpx;
  556. }
  557. .itemSm {
  558. color: #999999;
  559. line-height: 33rpx;
  560. font-size: 22rpx;
  561. text-overflow: -o-ellipsis-lastline;
  562. overflow: hidden;
  563. text-overflow: ellipsis;
  564. display: -webkit-box;
  565. -webkit-line-clamp: 2;
  566. line-clamp: 2;
  567. -webkit-box-orient: vertical;
  568. }
  569. .qianhaospan {
  570. font-size: 22rpx;
  571. }
  572. .yuyue-price {
  573. color: #FF3B30;
  574. font-size: 32rpx;
  575. padding-top: 8rpx;
  576. border-bottom: 1px solid #EEEEEE;
  577. padding-bottom: 19rpx;
  578. }
  579. .newbottom-container-button {
  580. width: 203rpx;
  581. height: 74rpx;
  582. background: #D53533;
  583. border-radius: 37rpx;
  584. color: #FEFFFE;
  585. font-size: 30rpx;
  586. line-height: 74rpx;
  587. text-align: center;
  588. }
  589. .newbottom-container {
  590. display: flex;
  591. justify-content: space-between;
  592. padding-left: 32rpx !important;
  593. width: 696rpx !important;
  594. z-index: 66;
  595. padding: 23rpx 32rpx !important;
  596. height: 76rpx !important;
  597. position: fixed;
  598. left: 0;
  599. bottom: 0;
  600. background: #FFFFFF;
  601. box-shadow: 0px -2px 10px 0px rgba(153, 153, 153, 0.1000);
  602. }
  603. .yuyue-main .newright-item {
  604. padding-bottom: 19rpx;
  605. }
  606. .yyBleftimg {
  607. width: 45rpx;
  608. height: 35rpx;
  609. margin-top: 2rpx;
  610. }
  611. .yyBleft {
  612. display: flex;
  613. align-items: center;
  614. padding-right: 33rpx;
  615. }
  616. .newyyBox {
  617. display: flex;
  618. }
  619. .newyyBox .totalPriceBox {
  620. line-height: 45rpx;
  621. color: #666666;
  622. font-size: 24rpx;
  623. font-weight: 500;
  624. }
  625. .newyyBox .totalPrice {
  626. color: #FF0000;
  627. font-size: 32rpx;
  628. }
  629. .hejishul {
  630. color: #999999;
  631. font-size: 24rpx;
  632. font-weight: 400;
  633. }
  634. .yydetailBox {
  635. position: fixed;
  636. bottom: 0;
  637. left: 0;
  638. height: 100vh;
  639. width: 100vw;
  640. background: rgba(0, 0, 0, 0.4);
  641. z-index: 6;
  642. }
  643. .yydetailCont {
  644. width: 100vw;
  645. height: calc(50vh + 2rpx);
  646. overflow-y: scroll;
  647. background: #F0F0F0;
  648. position: absolute;
  649. left: 0;
  650. bottom: 119rpx;
  651. }
  652. .yyDetailTop {
  653. width: 750rpx;
  654. height: 90rpx;
  655. background: #FFFFFF;
  656. border-radius: 24rpx 24rpx 0px 0px;
  657. position: absolute;
  658. left: 0;
  659. bottom: calc(50vh + 120rpx);
  660. display: flex;
  661. justify-content: space-between;
  662. }
  663. .yyDetailTopleft {
  664. color: #3C3C3C;
  665. font-size: 30rpx;
  666. line-height: 90rpx;
  667. padding-left: 24rpx;
  668. font-weight: 500;
  669. }
  670. .yyDetailTopRight {
  671. display: flex;
  672. padding-right: 24rpx;
  673. }
  674. .yydetailx {
  675. line-height: 90rpx;
  676. color: #999999;
  677. font-size: 30rpx;
  678. }
  679. .yydetalqk {
  680. width: 86rpx;
  681. height: 41rpx;
  682. background: #F4F5F7;
  683. border-radius: 21rpx;
  684. text-align: center;
  685. line-height: 41rpx;
  686. color: #666666;
  687. font-size: 24rpx;
  688. margin-top: 25rpx;
  689. margin-right: 38rpx;
  690. }
  691. .yydetailContLine {
  692. width: 702rpx;
  693. background: #FFFFFF;
  694. border-radius: 10rpx;
  695. margin-top: 20rpx;
  696. margin-left: 24rpx;
  697. padding: 24rpx 0px;
  698. }
  699. .yydlineName {
  700. color: #3C3C3C;
  701. font-size: 26rpx;
  702. padding-left: 24rpx;
  703. }
  704. .yydlineCommnt {
  705. color: #999999;
  706. font-size: 26rpx;
  707. padding-left: 22rpx;
  708. line-height: 30rpx;
  709. padding-top: 10rpx;
  710. }
  711. .yydPrice {
  712. padding-left: 22rpx;
  713. padding-top: 10rpx;
  714. color: #FF3B30;
  715. font-size: 32rpx;
  716. }
  717. .appraiseBg{
  718. display: flex;
  719. align-items: center;
  720. }
  721. .appraiseBox {
  722. padding: 5rpx 20rpx;
  723. padding-right: 30rpx;
  724. margin-top: 10rpx;
  725. height: 62rpx;
  726. background: rgba(255, 0, 0, 0.08);
  727. border-radius: 0 15rpx 15rpx 0;
  728. display: flex;
  729. align-items: center;
  730. }
  731. .appraise {
  732. color: #FF0000;
  733. font-size: 38rpx;
  734. font-weight: bold;
  735. }
  736. .line {
  737. margin: 0 20rpx;
  738. width: 1rpx;
  739. height: 30rpx;
  740. background: #E9E8E8;
  741. }
  742. .appraiseCount {
  743. font-size: 24rpx;
  744. font-weight: 400;
  745. color: #666666;
  746. flex-grow: 1;
  747. }
  748. .rightArrow {
  749. width: 7rpx;
  750. height: 15rpx;
  751. margin-left: 16rpx;
  752. }
  753. .authorizBox{
  754. width: 100vw;
  755. height: 100vh;
  756. background: rgba(0, 0, 0, 0.5);
  757. position: fixed;
  758. top: 0;
  759. left: 0;
  760. }
  761. .authorizCont{
  762. margin-top: 30vh;
  763. width: 564rpx;
  764. height: 408rpx;
  765. background: #FFFFFF;
  766. border-radius: 24rpx;
  767. margin-left: 93rpx;
  768. position: relative;
  769. }
  770. .authorizCloseImg{
  771. width: 62rpx;
  772. height: 62rpx;
  773. }
  774. .sqLogoBox{
  775. width: 180rpx;
  776. height: 180rpx;
  777. background: #FFFFFF;
  778. border-radius: 90rpx;
  779. text-align: center;
  780. position: absolute;
  781. top: -50rpx;
  782. left: 192rpx;
  783. }
  784. .authorizName{
  785. color: #333333;
  786. line-height: 42rpx;
  787. font-size: 30rpx;
  788. text-align: center;
  789. padding-top: 58rpx;
  790. }
  791. .authorizMs{
  792. color: #999999;
  793. line-height: 36rpx;
  794. font-size: 26rpx;
  795. width: 452rpx;
  796. padding-top: 24rpx;
  797. text-align: center;
  798. margin-left: 56rpx;
  799. }
  800. .authorizContbutton{
  801. width: 422rpx;
  802. height: 88rpx;
  803. background: #D53533;
  804. border-radius: 44rpx;
  805. line-height: 88rpx;
  806. text-align: center;
  807. font-size:30rpx;
  808. color: #FFFFFF;
  809. margin-top: 62rpx;
  810. margin-left:71rpx;
  811. }
  812. </style>