index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  1. <template>
  2. <view class="page">
  3. <view class="periodDate">
  4. <text>服务日期:{{orderParam.serviceDate}}</text>
  5. </view>
  6. <view class="store-wrap">
  7. <view class="store-info">
  8. <view class="logo">
  9. <image src="../../static/index/u55.png" mode=""></image>
  10. </view>
  11. <view @click="gotoStoreChoose()" class="store-content">
  12. <view class="h-row">
  13. <view class="store-desc">
  14. <view class="store-name">
  15. <view class="">{{ storeInfo.storeName }}</view>
  16. </view>
  17. </view>
  18. <view class="arrow-right">
  19. <view class="change-store">更换门店</view>
  20. <u-icon name="arrow-right" color="#333" size="16"></u-icon>
  21. </view>
  22. </view>
  23. <view class="h-row">
  24. <text class="address">地址:{{ storeInfo.address }}</text>
  25. <text class="address1">{{storeInfo.distanceDesc}}</text>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="flex-col group">
  31. <view class="serob"><text>服务对象</text></view>
  32. <u-grid :border="false" col="4">
  33. <u-grid-item v-for="(item,index) in serviceObjectList" :key="index">
  34. <view class="serobItem flex-col">
  35. <view class="serobImgView" @click="selectServiceObject(item)">
  36. <image class="serobImg" mode="aspectFill" :src="item.facePhotoUrl || '/static/me/ud4.png'">
  37. </image>
  38. </view>
  39. <text class="serobName">{{item.nickName || '未填写'}}</text>
  40. <view class="serobV" v-if="item.select === true">
  41. <image class="serobVicon" src="/static/order/ud20.png"></image>
  42. </view>
  43. </view>
  44. </u-grid-item>
  45. </u-grid>
  46. </view>
  47. <view class="flex-col group" v-for="(item,index) in orderParam.childService">
  48. <view class="flex-row ">
  49. <image class="selectSerobImg" mode="aspectFill" :src="item.facePhotoUrl || '/static/me/ud4.png'"></image>
  50. <text class="selectSerobName">{{item.nickName || '未填写'}}</text>
  51. </view>
  52. <view class="serob" >
  53. <text>服务时段</text>
  54. </view>
  55. <view v-if="!item.serviceStartTime" class="noTime flex-row justify-center">
  56. <text>暂无可用的服务时段</text>
  57. </view>
  58. <view v-else>
  59. <u-grid :border="false" col="5">
  60. <u-grid-item v-if="item2.total > 0" v-for="(item2,index2) in item.periodTimeList" :key="index2">
  61. <view class="timeItemView">
  62. <view class="flex-col justify-center timeItem " :class="{selectBack: item2.select}" @click="selectServiceTime(item.periodTimeList,index,index2)">
  63. <view class="flex-row justify-center">
  64. <text class="time">{{item2.label}}</text>
  65. </view>
  66. <!-- <view class="flex-row justify-center">-->
  67. <!-- <text class="price">¥{{item2.price}}</text>-->
  68. <!-- </view>-->
  69. </view>
  70. </view>
  71. </u-grid-item>
  72. </u-grid>
  73. </view>
  74. </view>
  75. <view class="flex-col group ">
  76. <view class="groupItemKey">
  77. <text>取号规则</text>
  78. </view>
  79. <view v-for=" (item,index) in takeNumberRules " class="serobReminder">
  80. <text>{{index+1}}.{{item.dictValue}}。</text>
  81. </view>
  82. <!-- <view class="serobReminder">-->
  83. <!-- <text>1.你已进入不挑师傅不挑时段的单剪造型占位理发服务。</text>-->
  84. <!-- </view>-->
  85. <!-- <view class="serobReminder">-->
  86. <!-- <text>2.预约需要一人一号。</text>-->
  87. <!-- </view>-->
  88. <!-- <view class="serobReminder">-->
  89. <!-- <text>3.到门店先签到,过时没有签到占位时段失效。</text>-->
  90. <!-- </view>-->
  91. <!-- <view class="serobReminder">-->
  92. <!-- <text>4.服务费用到店享受相应服务以后在另行收取。</text>-->
  93. <!-- </view>-->
  94. </view>
  95. <view v-if="recommendActivity" class="flex-row justify-center" style="background: #ffffff;margin-top: 20rpx;padding: 10rpx 32rpx">
  96. <image style="width: 686rpx" :src="activityImg" mode="widthFix" @click="goDetail(recommendActivity)"></image>
  97. </view>
  98. <view class="tabBarLineHeight "></view>
  99. <view class="tabBarView">
  100. <!-- <view v-if="recommendActivity" class="btnTitle1 flex-row justify-between">-->
  101. <!-- <view>-->
  102. <!-- <text>推荐活动:{{recommendActivity.title}}</text>-->
  103. <!-- <text style="margin-left: 10rpx;color: #999999" >({{recommendActivity.description}})</text>-->
  104. <!-- </view>-->
  105. <!-- <view class="btnRight1" @click="goDetail(recommendActivity)">购买({{recommendActivity.salePrice}})</view>-->
  106. <!-- </view>-->
  107. <view class="submitButton " @click="openSetting">提交</view>
  108. </view>
  109. <uni-popup ref="sameDayQueuePopup">
  110. <uni-popup-dialog :type="msgType" cancelText="不再提示" confirmText="已知晓" title="提示" :content="configContent" @confirm="dialogConfirm"
  111. @close="dialogClose"></uni-popup-dialog>
  112. </uni-popup>
  113. <uni-popup ref="showExpireEquityCard">
  114. <view class="flex-col justify-start expirePopup" >
  115. <view class="flex-row justify-center">
  116. <text class="popupTitle">到期提醒</text>
  117. </view>
  118. <scroll-view scroll-y class="flex-col justify-start" :class="[ expireEquityCard.length > 1 ? 'scroll-y1':'scroll-y']" >
  119. <view class="flex-row listView" v-for="(item,index) in expireEquityCard">
  120. <view class="h-text flex-col justify-center ">
  121. <view class="money">
  122. <text>{{ item.faceValue }}</text>
  123. </view>
  124. </view>
  125. <view class="h-center-content flex-col justify-around">
  126. <view class="h-value">
  127. <text>{{ item.title }}</text>
  128. </view>
  129. <view class="title">
  130. 服务对象:{{ item.serviceObjectName || '' }}
  131. </view>
  132. <view class="title">
  133. 适用门店:{{ item.useStoreDesc || '' }}
  134. </view>
  135. <view class="title">
  136. 到期时间:{{ item.effectiveEndTime.slice(0,10) }}
  137. </view>
  138. </view>
  139. <view class="h-right-content flex-col justify-center ">
  140. <view class="btn" @click="navigateTo(item)">
  141. <text>续费</text>
  142. </view>
  143. </view>
  144. </view>
  145. </scroll-view>
  146. </view>
  147. </uni-popup>
  148. </view>
  149. </template>
  150. <script>
  151. export default {
  152. components: {
  153. },
  154. data() {
  155. return {
  156. recommendActivity:null,
  157. msgType:null,
  158. configContent:'',
  159. timeoutId:null,
  160. templateId:[],
  161. periodTimeList:[],
  162. userInfo: {},
  163. store: {},
  164. serviceObjectList: [],
  165. requestStatus: false,
  166. orderParam: {
  167. orderType: 1,
  168. serviceAttribute: 1,
  169. serviceStoreId: '',
  170. remark: '',
  171. serviceDate: '',
  172. childService: [
  173. // {
  174. // periodDate:'',//回显需要,不做参数
  175. // serviceObjectId: '',
  176. // facePhotoUrl:'', //回显需要,不做参数
  177. // nickName:'', //回显需要,不做参数
  178. // serviceUserId: '',
  179. // personName:'',//回显需要,不做参数
  180. // fee:'',//回显需要,不做参数
  181. // serviceStartTime: ''
  182. // }
  183. ]
  184. },
  185. takeNumberData:{
  186. pageNum:1,
  187. pageSize:10,
  188. dictType:'today_make_rule'
  189. },
  190. takeNumberRules:[],
  191. storeInfo: {},
  192. expireEquityCard:[], //过期的权益卡
  193. activityImg:"",
  194. }
  195. },
  196. onLoad() {
  197. this.store = uni.getStorageSync('storeInfo')
  198. this.userInfo = uni.getStorageSync('userInfo')
  199. this.orderParam.serviceStoreId = this.store.storeId
  200. let date = new Date();
  201. this.orderParam.serviceDate = date.getFullYear() + '-' + ('0' + (date.getMonth() + 1)).slice(-2) + '-' + ('0' +
  202. date.getDate()).slice(-2)
  203. this.timeoutId = setTimeout(()=>{
  204. uni.showModal({
  205. title:'温馨提示',
  206. content:'您在下单页面停留太久,请重新进入!',
  207. showCancel:false,
  208. success:res=>{
  209. if (res.confirm){
  210. uni.switchTab({
  211. url: '/pages/index/index',
  212. })
  213. }
  214. }
  215. })
  216. },1000*60*5)
  217. this.getExpireEquityCard()
  218. this.getRecommendActivity();
  219. },
  220. onShow() {
  221. this.getActivityImg()
  222. //获取弹窗设置
  223. let sameDayQueueContent = uni.getStorageSync('same_day_queue_content');
  224. if (!sameDayQueueContent){
  225. this.getConfigKey('same_day_queue_content')
  226. }
  227. // 查询门店信息
  228. const data = uni.getStorageSync('storeInfo');
  229. this.store = uni.getStorageSync('storeInfo')
  230. this.userInfo = uni.getStorageSync('userInfo')
  231. if (!data) {
  232. // 获取位置信息查询门店列表数据
  233. this.getLocation();
  234. } else {
  235. this.storeInfo = data;
  236. }
  237. this.getServicePersonTime()
  238. this.getTemplateList()
  239. this.getSelectionRules(this.takeNumberData)
  240. this.orderParam.childService = []
  241. },
  242. onUnload(){
  243. clearTimeout(this.timeoutId);
  244. },
  245. methods: {
  246. getActivityImg(){
  247. this.$api.getSelectionRules({
  248. dictType:'recommended_images'
  249. }).then(res => {
  250. if (res.data.rows.length > 0){
  251. let url = this.$activityImgUrl
  252. this.activityImg = url + res.data.rows[0].dictValue
  253. console.log("++++++++++this.activityImg++++++++++",this.activityImg)
  254. }
  255. })
  256. },
  257. goDetail(e){
  258. uni.navigateTo({
  259. url:'/orderPages/activityDetail/activityDetail?id=' + e.id
  260. })
  261. },
  262. getRecommendActivity(){
  263. this.$api.getRecommendActivity().then(res=>{
  264. this.recommendActivity = res.data.data
  265. })
  266. },
  267. navigateTo(item){
  268. if(item.activityId){
  269. let list = item.activityId.split(',')
  270. if (list.length == 1){
  271. uni.navigateTo({
  272. url:'/orderPages/activityDetail/activityDetail?id=' + item.activityId +'&renewServiceObjectId=' + item.serviceObjectId
  273. })
  274. }else {
  275. uni.navigateTo({
  276. url:'/orderPages/activityList/activityList?renewServiceObjectId=' + item.serviceObjectId + '&equityCardId=' + item.equityCardId
  277. })
  278. }
  279. }else{
  280. uni.navigateTo({
  281. url:'/orderPages/activityList/activityList'
  282. })
  283. }
  284. },
  285. getExpireEquityCard(){
  286. this.$api.getExpireEquityCard({
  287. serviceObjectId:0
  288. }).then((res)=>{
  289. this.expireEquityCard = res.data.data;
  290. // if (this.expireEquityCard.length > 0){
  291. // uni.showModal({
  292. // title:'温馨提示',
  293. // content:'您有' + this.expireEquityCard.length + '张权益卡即将到期',
  294. // confirmText:'立即续费',
  295. // success:(res)=>{
  296. // if (res.confirm) {
  297. // console.log('用户点击确定');
  298. // uni.navigateTo({
  299. // url:'/storePages/myRights/index'
  300. // })
  301. // } else if (res.cancel) {
  302. // console.log('用户点击取消');
  303. // }
  304. // }
  305. // })
  306. // }
  307. if (this.expireEquityCard.length > 0){
  308. this.$refs.showExpireEquityCard.open()
  309. }
  310. })
  311. },
  312. dialogConfirm(){
  313. this.configContent = '';
  314. },
  315. dialogClose(){
  316. uni.setStorageSync('same_day_queue_content',true);
  317. this.configContent = '';
  318. },
  319. getConfigKey(key){
  320. this.$api.getConfigKey({key:key}).then(res=>{
  321. console.log('获取到的配置信息',res.data.msg)
  322. if (res.data.msg){
  323. //打开弹窗
  324. this.configContent = res.data.msg
  325. this.$refs.sameDayQueuePopup.open()
  326. }
  327. })
  328. },
  329. // 获取门店列表数据
  330. getStoreListData(data) {
  331. let that = this;
  332. // 用户绑定门店
  333. this.$api.storeList(data).then((res) => {
  334. console.log(res.data.data[0])
  335. that.storeInfo = res.data.data[0]
  336. // 更新用户选择的门店信息
  337. uni.setStorageSync('storeInfo', res.data.data[0])
  338. })
  339. },
  340. // 获取经纬度信息
  341. getLocation() {
  342. let that = this
  343. console.log('+++++++++++++开始获取位置信息++++++++++++++++')
  344. uni.getLocation({
  345. type: 'gcj02',
  346. success: function (res) {
  347. console.log(res)
  348. let latitude = res.latitude; // 纬度
  349. let longitude = res.longitude; // 经度
  350. let speed = res.speed; // 速度
  351. let accuracy = res.accuracy; // 精确度
  352. // 在这里可以对位置信息进行处理
  353. console.log("纬度:" + latitude + ";经度" + longitude)
  354. that.reqParm.latitude = latitude
  355. that.reqParm.longitude = longitude
  356. uni.setStorageSync('location', that.reqParm)
  357. that.getStoreListData(that.reqParm)
  358. },
  359. fail:function (fail) {
  360. console.log('获取用户地址失败==》',fail)
  361. that.getStoreListData(that.reqParm)
  362. },
  363. complete:function (complete) {
  364. console.log('获取用户地址失败or成功==》',complete)
  365. }
  366. });
  367. },
  368. // 去选择门店
  369. gotoStoreChoose() {
  370. uni.setStorageSync('router','1')
  371. uni.navigateTo({
  372. url: '/storePages/store/store-choose?type=1',
  373. })
  374. },
  375. back(){
  376. uni.switchTab({
  377. url: '/pages/index/index',
  378. })
  379. },
  380. selectServiceTime(items,index,index2){
  381. items.forEach(e=>{
  382. e.select=false
  383. })
  384. let oidTime = this.orderParam.childService[index].serviceStartTime
  385. items[index2].select =true // 新选中的时间
  386. this.orderParam.childService[index].serviceStartTime = items[index2].label
  387. for (let i=0;i<this.orderParam.childService.length;i++){
  388. if (index != i){
  389. for (const time of this.orderParam.childService[i].periodTimeList) {
  390. if (time.label == oidTime){
  391. time.total = time.total + 1
  392. }
  393. if (time.label == items[index2].label) {
  394. time.total = time.total - 1
  395. }
  396. }
  397. }
  398. }
  399. this.$forceUpdate()
  400. },
  401. // 查询服务对象信息列表
  402. listServiceObject() {
  403. this.$api.listServiceObject(this.reqParm).then((res) => {
  404. this.serviceObjectList = res.data.data
  405. this.getImgUrlByBannerOssId(this.serviceObjectList);
  406. //不再默认选中第一个
  407. // if (this.periodTimeList.length >0){
  408. // this.orderParam.childService = [],
  409. // this.serviceObjectList[0].select = true
  410. // let periodTimeList = JSON.parse(JSON.stringify(this.periodTimeList))
  411. // periodTimeList[0].select = true
  412. // let childService = {
  413. // periodDate: '',
  414. // serviceObjectId: this.serviceObjectList[0].id,
  415. // facePhotoUrl: this.serviceObjectList[0].facePhotoUrl,
  416. // nickName: this.serviceObjectList[0].nickName,
  417. // serviceUserId: -1,
  418. // fee: '',
  419. // serviceStartTime: periodTimeList[0].label,
  420. // periodTimeList:periodTimeList
  421. // }
  422. // this.orderParam.childService.push(childService)
  423. // }
  424. })
  425. },
  426. // 获取图片
  427. getImgUrlByBannerOssId(items) {
  428. for (let i = 0; i < items.length; i++) {
  429. if (items[i].facePhoto) {
  430. this.$api.getImgUrlByOssId({
  431. ossId: items[i].facePhoto
  432. }).then(res => {
  433. items[i].facePhotoUrl = res.data.data[0].url.replace(/^http:/, "https:")
  434. this.$set(this.serviceObjectList, i, items[i])
  435. if (i === 0) {
  436. this.orderParam.childService[0].facePhotoUrl = res.data.data[0].url.replace(
  437. /^http:/, "https:")
  438. }
  439. })
  440. }
  441. }
  442. },
  443. addServiceObject() {
  444. uni.navigateTo({
  445. url: '/myPages/ServiceObjectManagement/index'
  446. })
  447. },
  448. getServicePersonTime(){
  449. this.$api.getServicePersonTime({
  450. personId: -1,
  451. date: this.orderParam.serviceDate,
  452. storeId:this.store.storeId
  453. }).then(res=>{
  454. this.periodTimeList = res.data.data
  455. if (this.periodTimeList.length===0){
  456. uni.$u.toast('暂无可预约排班')
  457. }
  458. // 服务对象
  459. this.listServiceObject()
  460. })
  461. },
  462. selectServiceObject(item) {
  463. if (item.select) {
  464. this.orderParam.childService = this.orderParam.childService.filter(selectServiceObject =>
  465. selectServiceObject.serviceObjectId !== item.id)
  466. } else {
  467. uni.showModal({
  468. title:"温馨提示",
  469. content:"当前默认门店为" + this.storeInfo.storeName + "是否需要更换?3月20日,龙抬头当天不理全头,不理造型;只做新派仪式剪。",
  470. showCancel:false,
  471. confirmText:"知道了"
  472. })
  473. let periodTimeList = JSON.parse(JSON.stringify(this.periodTimeList))
  474. periodTimeList.forEach(i=>{
  475. this.orderParam.childService.forEach(i1=>{
  476. if (i.label == i1.serviceStartTime){
  477. i.total = i.total -1
  478. }
  479. })
  480. })
  481. let childService = {
  482. periodDate: '',
  483. serviceObjectId: item.id,
  484. facePhotoUrl: item.facePhotoUrl,
  485. nickName: item.nickName,
  486. serviceUserId: -1,
  487. fee: '',
  488. serviceStartTime: '',
  489. periodTimeList:periodTimeList
  490. }
  491. for (const time of periodTimeList) {
  492. if (time.total>0){
  493. time.select = true
  494. childService.serviceStartTime = time.label
  495. for (const childService of this.orderParam.childService) {
  496. for (const periodTime of childService.periodTimeList) {
  497. if (time.label == periodTime.label) {
  498. periodTime.total = periodTime.total - 1
  499. }
  500. }
  501. }
  502. break
  503. }
  504. }
  505. this.orderParam.childService.push(childService)
  506. }
  507. item.select = !item.select
  508. this.price = 0
  509. for (let childService of this.orderParam.childService) {
  510. this.price = this.price * 1 + childService.fee * 1
  511. }
  512. },
  513. getTemplateList(){
  514. this.$api.getTemplateList({
  515. type:1
  516. }).then(res=>{
  517. this.templateId=res.data.data.data.map(item=>{
  518. return item.priTmplId
  519. })
  520. })
  521. },
  522. getSelectionRules(data){
  523. this.$api.getSelectionRules(data).then(res=>{
  524. this.takeNumberRules = res.data.rows
  525. })
  526. },
  527. openSetting(){
  528. if (!this.userInfo.phone){
  529. uni.showModal({
  530. title:'温馨提示',
  531. content:'预约叫号是通过手机尾号进行查询,是否确认绑定手机号!',
  532. success:res=>{
  533. if (res.confirm){
  534. uni.navigateTo({
  535. url: '/myPages/setting/setting-telphone',
  536. })
  537. }
  538. }
  539. })
  540. return
  541. }
  542. uni.requestSubscribeMessage({
  543. tmplIds: this.templateId,
  544. success: (res) =>{
  545. let {errMsg,...param} = res
  546. console.log('+++++++++++++success+++++++++++++',param)
  547. this.$api.updateSubscribe(param).then(res=>{
  548. console.log('+++++++++++++updateSubscribe+++++++++++++',res)
  549. })
  550. },
  551. fail:(err)=>{
  552. console.log('+++++++++++++fail+++++++++++++',err)
  553. },
  554. complete:(complete)=>{
  555. console.log('+++++++++++++complete+++++++++++++',complete)
  556. this.commonGeneralOrder()
  557. }
  558. })
  559. },
  560. commonGeneralOrder() {
  561. if (!this.orderParam.childService.length) {
  562. uni.$u.toast('请选择服务对象')
  563. return
  564. }
  565. let flag = false
  566. this.orderParam.childService.forEach(i=>{
  567. if (!i.serviceStartTime){
  568. uni.$u.toast('请选择服务时段')
  569. flag= true
  570. }
  571. })
  572. if (flag){
  573. return;
  574. }
  575. if (this.requestStatus) {
  576. return;
  577. }
  578. this.requestStatus = true
  579. uni.showLoading({
  580. title: '加载中'
  581. });
  582. this.$api.commonGeneralOrder(this.orderParam).then(res => {
  583. this.requestStatus = false
  584. uni.hideLoading();
  585. uni.$u.toast('预约成功')
  586. setTimeout(() => {
  587. uni.switchTab({
  588. url: '/pages/order/index'
  589. })
  590. }, 500)
  591. }).catch(err => {
  592. this.requestStatus = false
  593. })
  594. }
  595. }
  596. }
  597. </script>
  598. <style scoped lang="scss">
  599. @import './index.rpx.scss';
  600. .store-wrap {
  601. margin-top: 10rpx;
  602. background-color: white;
  603. .store-info {
  604. display: flex;
  605. .logo {
  606. width: 10%;
  607. text-align: center;
  608. display: flex;
  609. justify-content: center;
  610. align-items: center;
  611. image {
  612. width: 30px;
  613. height: 30px;
  614. }
  615. }
  616. .store-content {
  617. width: 90%;
  618. padding-bottom: 13px;
  619. .h-row {
  620. display: flex;
  621. align-items: center;
  622. justify-content: space-between;
  623. .store-desc {
  624. width: 90%;
  625. display: flex;
  626. line-height: 30px;
  627. font-size: 14px;
  628. .store-name {
  629. }
  630. }
  631. .arrow-right {
  632. text-align: right;
  633. margin: 0 auto;
  634. cursor: pointer;
  635. padding-top: 3px;
  636. width: 100px;
  637. display: flex;
  638. font-size: 14px;
  639. .change-store {
  640. text-align: right;
  641. color: #666;
  642. }
  643. image {
  644. width: 18px;
  645. height: 18px;
  646. }
  647. }
  648. .address {
  649. color: #999999;
  650. width: 450rpx;
  651. font-size: 24rpx;
  652. }
  653. .address1 {
  654. color: #999999;
  655. font-size: 24rpx;
  656. padding-right: 40rpx;
  657. }
  658. }
  659. }
  660. }
  661. .adress {
  662. font-size: 22rpx;
  663. white-space: nowrap;
  664. overflow: hidden;
  665. text-overflow: ellipsis;
  666. padding-left: 80rpx;
  667. color: #666;
  668. }
  669. }
  670. </style>