onlineBooking.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  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="aspectFill" :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" v-if="item.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" v-if="item.Price">¥{{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. scene:'',
  183. naUnionId:'',
  184. }
  185. },
  186. onLoad(opt) {
  187. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  188. //this.userInfo = uni.getStorageSync("userInfo");
  189. this.userInfo = this.$store.state.userInfo;
  190. this.themeColor = uni.getStorageSync("themeColor");
  191. this.naShopId = opt.naShopId;
  192. this.naUnionId=opt.naUnionId
  193. if (this.naShopId == null || this.naShopId == 'null') {
  194. this.naShopId = ''
  195. }
  196. console.log(this.naShopId)
  197. //scene=8049C9CFFFEF4BE3B0893890B676F909
  198. var that = this;
  199. this.ext=this.$common.getExtStoreId();
  200. if(this.userInfo){
  201. if(opt.scene&&opt.scene!='undefined'){
  202. this.scene=opt.scene;
  203. this.getShareParams()
  204. }else{
  205. that.getInfo()
  206. }
  207. }else{
  208. this.$common.automaticlogin().then(val => {
  209. this.themeColor = uni.getStorageSync("themeColor");
  210. this.userInfo=this.$store.state.userInfo;
  211. this.wxOpenData=this.$store.state.wxOpenData;
  212. if(opt.scene&&opt.scene!='undefined'){
  213. this.scene=opt.scene;
  214. this.getShareParams()
  215. }else{
  216. that.getInfo()
  217. }
  218. if(!this.userInfo){
  219. uni.hideLoading();
  220. this.authorizShow=true
  221. }
  222. })
  223. }
  224. //this.listBigTags()
  225. },
  226. computed: {
  227. totalPrice() {
  228. return this.selectedItems.reduce((i, k) => {
  229. return Number(i) + Number(k.Price)
  230. }, 0).toFixed(2)
  231. }
  232. },
  233. methods: {
  234. getShareParams(){
  235. this.$http('openMall/getShareParamsCache', {
  236. scene:this.scene,
  237. },'GET').then(res => {
  238. var data= JSON.parse(res.data) ;
  239. console.log(data)
  240. this.naShopId=data.naShopId;
  241. this.getInfo();
  242. })
  243. },
  244. authorizShowno(){
  245. this.authorizShow=false
  246. },
  247. decryptPhoneNumber: function(e) {
  248. console.log(e);
  249. this.code=e.detail.code
  250. this.wxPhoneLogin()
  251. this.authorizShow=false;
  252. },
  253. wxPhoneLogin(){
  254. var that=this;
  255. this.$http('miniApp2/sys/wxPhoneLogin', {
  256. appId:this.ext.appId,
  257. unionId:this.ext.unionId,
  258. code:this.code,
  259. openId:this.wxOpenData.openid
  260. },'POST').then(res => {
  261. var data = res.data;
  262. if(data.loginInfo){
  263. this.userInfo=data.loginInfo.openUser;
  264. this.wxOpenData=data.loginInfo;
  265. this.$store.commit('mutationswxOpenData', data)
  266. this.$store.commit('mutationsuserInfo', this.userInfo)
  267. this.getInfo()
  268. }
  269. })
  270. },
  271. goShopAppraiseList() {
  272. uni.navigateTo({
  273. url: '../user/ShopAppraiseList?shopID=' + this.data.shopInfo.id
  274. // url: 'ShopAppraiseList?shopID=' + this.numList.shopInfo.id
  275. })
  276. },
  277. getInfo() {
  278. uni.showLoading({
  279. title: '加载中'
  280. })
  281. var that = this;
  282. this.$http('openreservation/getInfo', {
  283. lat: this.location.lat ? this.location.lat : '',
  284. lng: this.location.lng ? this.location.lng : '',
  285. shopId: this.naShopId,
  286. }, 'GET').then(res => {
  287. uni.hideLoading();
  288. this.shopInfo = res.data.shopInfo;
  289. this.data = res.data;
  290. uni.setStorage({
  291. key: 'yyshopInfo',
  292. data: that.shopInfo,
  293. success: function() {
  294. }
  295. });
  296. this.listBigTags()
  297. })
  298. },
  299. listBigTags() {
  300. uni.showLoading({
  301. title: '加载中'
  302. });
  303. if(this.naUnionId){
  304. var unionId=this.naUnionId
  305. }else{
  306. var unionId=this.userInfo.unionId
  307. }
  308. //openreservation/listBigTags
  309. this.$http('openreservation/listItemWxCategory', {
  310. shopId: this.shopInfo.id,
  311. unionId: unionId
  312. }, 'GET').then(res => {
  313. uni.hideLoading();
  314. this.bizTagId = res.data[0].ID
  315. this.rightTitle = res.data[0].Name
  316. this.leftData = res.data;
  317. this.GetlistItemWxInfo()
  318. })
  319. },
  320. GetlistItemWxInfo() {
  321. //console.log("listItemWxInfo")
  322. uni.showLoading({
  323. title: '加载中'
  324. });
  325. console.log("bizTagId" + this.bizTagId)
  326. this.$http('openreservation/listItemWxInfo', {
  327. shopId: this.shopInfo.id,
  328. bizTagId: this.bizTagId
  329. }, 'GET').then(res => {
  330. //console.log(res)
  331. uni.hideLoading();
  332. // es.data.forEach(mode => {
  333. // mode.ck=false
  334. // })
  335. this.rightData = res.data
  336. console.log(this.rightData)
  337. })
  338. },
  339. checkItem(item) {
  340. item.bizTagId=this.bizTagId;
  341. var bizTagId=this.bizTagId;
  342. console.log(item)
  343. let index = this.selectedItems.findIndex(i => i.ID === item.ID)
  344. if (index !== -1) {
  345. this.selectedItems.splice(index, 1)
  346. } else {
  347. this.selectedItems.push(item);
  348. this.selectedItems = this.selectedItems.filter(function(i) {
  349. return i.bizTagId==bizTagId
  350. })
  351. /* this.selectedItems.forEach(i=>{
  352. if(i.bizTagId!=this.bizTagId){
  353. }
  354. }) */
  355. }
  356. console.log(this.selectedItems)
  357. },
  358. goLocation() {
  359. var that = this;
  360. if (!that.shopInfo.lat || !that.shopInfo.lng) {
  361. uni.showToast({
  362. title: '该店铺未设置定位',
  363. icon: 'none',
  364. duration: 3000
  365. });
  366. } else {
  367. uni.openLocation({
  368. latitude: Number(that.shopInfo.lat),
  369. longitude: Number(that.shopInfo.lng),
  370. name: that.shopInfo.shopName,
  371. address: that.shopInfo.provinceName + that.shopInfo.cityName + that.shopInfo.areaName +
  372. that.shopInfo.address,
  373. success: function() {
  374. console.log('success');
  375. },
  376. fail(err) {
  377. console.log(err)
  378. }
  379. });
  380. }
  381. },
  382. phones() {
  383. uni.makePhoneCall({
  384. phoneNumber: this.shopInfo.mobilePhone
  385. });
  386. },
  387. listItemWxInfo(item, index) {
  388. console.log(item)
  389. this.leftIndex = index;
  390. this.bizTagId = item.ID
  391. if (item.ID == '') {
  392. this.bizTagId = ''
  393. }
  394. this.rightTitle = item.Name;
  395. this.GetlistItemWxInfo()
  396. },
  397. yuyueDetail() {
  398. this.yydetailShow = true;
  399. },
  400. yyqingk() {
  401. this.selectedItems = []
  402. },
  403. yuyue() {
  404. if(this.shopInfo.shopState!=1){
  405. uni.showToast({
  406. title: '当前门店暂未营业',
  407. icon: 'none',
  408. duration: 3000
  409. });
  410. return false
  411. }
  412. if(!this.userInfo){
  413. this.authorizShow=true
  414. }else{
  415. if (!this.selectedItems.length) {
  416. uni.showToast({
  417. title: '请选择预约项目',
  418. icon: 'none',
  419. duration: 3000
  420. });
  421. } else {
  422. this.$store.commit('mutationsyuyueData', this.selectedItems)
  423. uni.navigateTo({
  424. url: 'confirmYuyue?totalPrice='+this.totalPrice
  425. })
  426. }
  427. }
  428. }
  429. }
  430. }
  431. </script>
  432. <style scoped lang="less">
  433. .nodataBox {
  434. text-align: center;
  435. }
  436. .nodataImg {
  437. width: 400rpx;
  438. padding-top: 100rpx;
  439. }
  440. .noTxt {
  441. font-size: 32rpx;
  442. color: #999999;
  443. padding-top: 50rpx;
  444. }
  445. .box {
  446. background: #F4F5F7;
  447. min-height: 100vh;
  448. }
  449. .swiper-item img {
  450. width: 750rpx;
  451. height: 500rpx;
  452. }
  453. .swiper-item {
  454. height: 500rpx;
  455. }
  456. .swiper {
  457. height: 500rpx;
  458. }
  459. .shopTop {
  460. height: 500rpx;
  461. }
  462. .newshopNames {
  463. width: 750rpx;
  464. background: #FFFFFF;
  465. border-radius: 10rpx;
  466. margin-top: -60rpx;
  467. position: relative;
  468. border-radius: 24rpx 24rpx 0px 0px;
  469. padding-bottom: 20rpx;
  470. }
  471. .newshopDname {
  472. color: #333333;
  473. font-size: 30rpx;
  474. padding-left: 20rpx;
  475. padding-top: 23rpx;
  476. font-weight: 500;
  477. }
  478. .newshopDtime {
  479. color: #999999;
  480. font-size: 24rpx;
  481. padding-left: 20rpx;
  482. padding-top: 10rpx;
  483. font-weight: 400;
  484. }
  485. .newshopDstop {
  486. padding-bottom: 21rpx;
  487. border-bottom: 1px solid #EEEEEE;
  488. }
  489. .newshopDetailtop {
  490. margin-bottom: 20rpx;
  491. }
  492. .newshopDbqbox {
  493. display: flex;
  494. flex-wrap: wrap;
  495. padding-left: 20rpx;
  496. }
  497. .newshopDbqline {
  498. line-height: 30rpx;
  499. height: 30rpx;
  500. border-radius: 4rpx;
  501. border: 1px solid #F19D01;
  502. color: #f19D01;
  503. font-size: 24rpx;
  504. padding: 0 8rpx;
  505. margin-right: 16rpx;
  506. margin-top: 10rpx;
  507. }
  508. .newshopDbqbox {
  509. padding-top: 5rpx;
  510. }
  511. .shopaddressIcon {
  512. width: 22rpx;
  513. height: 30rpx;
  514. }
  515. .shopDdistance {
  516. color: #3C3C3C;
  517. font-size: 24rpx;
  518. line-height: 30rpx;
  519. padding-left: 16rpx;
  520. font-weight: 500;
  521. }
  522. .newshopDaleftTop {
  523. display: flex;
  524. }
  525. .newshopDadressBpx {
  526. display: flex;
  527. padding: 20rpx 20rpx;
  528. background: url(http://dmsphoto.66km.com.cn/thFiles/010748B7-5678-46C3-941B-60B3CD4D10CB.png) no-repeat;
  529. background-size: 100% 100%;
  530. margin-left: 24rpx;
  531. }
  532. .newshopDadressName {
  533. color: #999999;
  534. padding-top: 16rpx;
  535. font-size: 24rpx;
  536. line-height: 36rpx;
  537. width: 480rpx;
  538. font-weight: 400;
  539. }
  540. .newshopDrlineimg {
  541. width: 44rpx;
  542. height: 44rpx;
  543. }
  544. .newshopDrlineTxt {
  545. color: #999999;
  546. font-size: 24rpx;
  547. text-align: center;
  548. padding-top: 7rpx;
  549. font-weight: 400;
  550. }
  551. .newright-item .yuyue-item {
  552. padding-top: 20rpx;
  553. }
  554. .newshopDRsx {
  555. width: 2rpx;
  556. height: 71rpx;
  557. background: #EEEEEE;
  558. }
  559. .newshopDaright {
  560. display: flex;
  561. justify-content: space-between;
  562. width: 150rpx;
  563. padding-left: 20rpx;
  564. }
  565. .yrTopImg {
  566. width: 36rpx;
  567. height: 36rpx;
  568. }
  569. .yuyue-container {
  570. display: flex;
  571. padding-bottom: 120rpx;
  572. min-height: 40vh;
  573. }
  574. .yuyueLeft {
  575. background: #F5F5F5;
  576. width: 154rpx;
  577. }
  578. .yuyueRight {
  579. width: 596rpx;
  580. background: #FFFFFF;
  581. }
  582. .yuyueleftLine {
  583. font-size: 24rpx;
  584. padding: 30rpx 24rpx;
  585. color: #3C3C3C;
  586. }
  587. .leftActive {
  588. background: #FFFFFF;
  589. font-weight: bold;
  590. }
  591. .yuyueRightTitle {
  592. color: #999999;
  593. font-size: 26rpx;
  594. background: #F9F9F9;
  595. padding-left: 24rpx;
  596. line-height: 62rpx;
  597. }
  598. .yrTop {
  599. display: flex;
  600. justify-content: space-between;
  601. align-items: center;
  602. }
  603. .ItemName {
  604. color: #3C3C3C;
  605. font-size: 28rpx;
  606. width: 480rpx;
  607. font-weight: bold;
  608. margin-top: 20rpx;
  609. margin-bottom: 10rpx;
  610. }
  611. .itemSm {
  612. color: #999999;
  613. line-height: 33rpx;
  614. font-size: 22rpx;
  615. text-overflow: -o-ellipsis-lastline;
  616. overflow: hidden;
  617. text-overflow: ellipsis;
  618. display: -webkit-box;
  619. -webkit-line-clamp: 2;
  620. line-clamp: 2;
  621. -webkit-box-orient: vertical;
  622. }
  623. .qianhaospan {
  624. font-size: 22rpx;
  625. }
  626. .yuyue-price {
  627. color: #FF3B30;
  628. font-size: 32rpx;
  629. padding-top: 8rpx;
  630. border-bottom: 1px solid #EEEEEE;
  631. padding-bottom: 19rpx;
  632. }
  633. .newbottom-container-button {
  634. width: 203rpx;
  635. height: 74rpx;
  636. background: #D53533;
  637. border-radius: 37rpx;
  638. color: #FEFFFE;
  639. font-size: 30rpx;
  640. line-height: 74rpx;
  641. text-align: center;
  642. }
  643. .newbottom-container {
  644. display: flex;
  645. justify-content: space-between;
  646. padding-left: 32rpx !important;
  647. width: 696rpx !important;
  648. z-index: 66;
  649. padding: 23rpx 32rpx !important;
  650. height: 76rpx !important;
  651. position: fixed;
  652. left: 0;
  653. bottom: 0;
  654. background: #FFFFFF;
  655. box-shadow: 0px -2px 10px 0px rgba(153, 153, 153, 0.1000);
  656. }
  657. .yuyue-main .newright-item {
  658. padding-bottom: 19rpx;
  659. }
  660. .yyBleftimg {
  661. width: 45rpx;
  662. height: 35rpx;
  663. margin-top: 2rpx;
  664. }
  665. .yyBleft {
  666. display: flex;
  667. align-items: center;
  668. padding-right: 33rpx;
  669. }
  670. .newyyBox {
  671. display: flex;
  672. }
  673. .newyyBox .totalPriceBox {
  674. line-height: 45rpx;
  675. color: #666666;
  676. font-size: 24rpx;
  677. font-weight: 500;
  678. }
  679. .newyyBox .totalPrice {
  680. color: #FF0000;
  681. font-size: 32rpx;
  682. }
  683. .hejishul {
  684. color: #999999;
  685. font-size: 24rpx;
  686. font-weight: 400;
  687. }
  688. .yydetailBox {
  689. position: fixed;
  690. bottom: 0;
  691. left: 0;
  692. height: 100vh;
  693. width: 100vw;
  694. background: rgba(0, 0, 0, 0.4);
  695. z-index: 6;
  696. }
  697. .yydetailCont {
  698. width: 100vw;
  699. height: calc(50vh + 2rpx);
  700. overflow-y: scroll;
  701. background: #F0F0F0;
  702. position: absolute;
  703. left: 0;
  704. bottom: 119rpx;
  705. }
  706. .yyDetailTop {
  707. width: 750rpx;
  708. height: 90rpx;
  709. background: #FFFFFF;
  710. border-radius: 24rpx 24rpx 0px 0px;
  711. position: absolute;
  712. left: 0;
  713. bottom: calc(50vh + 120rpx);
  714. display: flex;
  715. justify-content: space-between;
  716. }
  717. .yyDetailTopleft {
  718. color: #3C3C3C;
  719. font-size: 30rpx;
  720. line-height: 90rpx;
  721. padding-left: 24rpx;
  722. font-weight: 500;
  723. }
  724. .yyDetailTopRight {
  725. display: flex;
  726. padding-right: 24rpx;
  727. }
  728. .yydetailx {
  729. line-height: 90rpx;
  730. color: #999999;
  731. font-size: 30rpx;
  732. }
  733. .yydetalqk {
  734. width: 86rpx;
  735. height: 41rpx;
  736. background: #F4F5F7;
  737. border-radius: 21rpx;
  738. text-align: center;
  739. line-height: 41rpx;
  740. color: #666666;
  741. font-size: 24rpx;
  742. margin-top: 25rpx;
  743. margin-right: 38rpx;
  744. }
  745. .yydetailContLine {
  746. width: 702rpx;
  747. background: #FFFFFF;
  748. border-radius: 10rpx;
  749. margin-top: 20rpx;
  750. margin-left: 24rpx;
  751. padding: 24rpx 0px;
  752. }
  753. .yydlineName {
  754. color: #3C3C3C;
  755. font-size: 26rpx;
  756. padding-left: 24rpx;
  757. }
  758. .yydlineCommnt {
  759. color: #999999;
  760. font-size: 26rpx;
  761. padding-left: 22rpx;
  762. line-height: 30rpx;
  763. padding-top: 10rpx;
  764. }
  765. .yydPrice {
  766. padding-left: 22rpx;
  767. padding-top: 10rpx;
  768. color: #FF3B30;
  769. font-size: 32rpx;
  770. }
  771. .appraiseBg{
  772. display: flex;
  773. align-items: center;
  774. }
  775. .appraiseBox {
  776. padding: 5rpx 20rpx;
  777. padding-right: 30rpx;
  778. margin-top: 10rpx;
  779. height: 62rpx;
  780. background: rgba(255, 0, 0, 0.08);
  781. border-radius: 0 15rpx 15rpx 0;
  782. display: flex;
  783. align-items: center;
  784. }
  785. .appraise {
  786. color: #FF0000;
  787. font-size: 38rpx;
  788. font-weight: bold;
  789. }
  790. .line {
  791. margin: 0 20rpx;
  792. width: 1rpx;
  793. height: 30rpx;
  794. background: #E9E8E8;
  795. }
  796. .appraiseCount {
  797. font-size: 24rpx;
  798. font-weight: 400;
  799. color: #666666;
  800. flex-grow: 1;
  801. }
  802. .rightArrow {
  803. width: 7rpx;
  804. height: 15rpx;
  805. margin-left: 16rpx;
  806. }
  807. .authorizBox{
  808. width: 100vw;
  809. height: 100vh;
  810. background: rgba(0, 0, 0, 0.5);
  811. position: fixed;
  812. top: 0;
  813. left: 0;
  814. }
  815. .authorizCont{
  816. margin-top: 30vh;
  817. width: 564rpx;
  818. height: 408rpx;
  819. background: #FFFFFF;
  820. border-radius: 24rpx;
  821. margin-left: 93rpx;
  822. position: relative;
  823. }
  824. .authorizCloseImg{
  825. width: 62rpx;
  826. height: 62rpx;
  827. }
  828. .sqLogoBox{
  829. width: 180rpx;
  830. height: 180rpx;
  831. background: #FFFFFF;
  832. border-radius: 90rpx;
  833. text-align: center;
  834. position: absolute;
  835. top: -50rpx;
  836. left: 192rpx;
  837. }
  838. .authorizName{
  839. color: #333333;
  840. line-height: 42rpx;
  841. font-size: 30rpx;
  842. text-align: center;
  843. padding-top: 58rpx;
  844. }
  845. .authorizMs{
  846. color: #999999;
  847. line-height: 36rpx;
  848. font-size: 26rpx;
  849. width: 452rpx;
  850. padding-top: 24rpx;
  851. text-align: center;
  852. margin-left: 56rpx;
  853. }
  854. .authorizContbutton{
  855. width: 422rpx;
  856. height: 88rpx;
  857. background: #D53533;
  858. border-radius: 44rpx;
  859. line-height: 88rpx;
  860. text-align: center;
  861. font-size:30rpx;
  862. color: #FFFFFF;
  863. margin-top: 62rpx;
  864. margin-left:71rpx;
  865. }
  866. </style>