onlineBooking.vue 22 KB

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