onlineBooking.vue 23 KB

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