onlineBooking.vue 22 KB

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