onlineBooking.vue 22 KB

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