onlineBooking.vue 23 KB

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