onlineBooking.vue 22 KB

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