index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  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. uni.showModal({
  458. title:"温馨提示",
  459. content:"今日线上号段已拿完,理发可先电话咨询门店",
  460. showCancel:false,
  461. confirmText:"知道了"
  462. })
  463. }
  464. // 服务对象
  465. this.listServiceObject()
  466. })
  467. },
  468. selectServiceObject(item) {
  469. if (item.select) {
  470. this.orderParam.childService = this.orderParam.childService.filter(selectServiceObject =>
  471. selectServiceObject.serviceObjectId !== item.id)
  472. } else {
  473. uni.showModal({
  474. title:"温馨提示",
  475. content:"当前默认门店为" + this.storeInfo.storeName + "是否需要更换",
  476. showCancel:false,
  477. confirmText:"知道了"
  478. })
  479. let periodTimeList = JSON.parse(JSON.stringify(this.periodTimeList))
  480. periodTimeList.forEach(i=>{
  481. this.orderParam.childService.forEach(i1=>{
  482. if (i.label == i1.serviceStartTime){
  483. i.total = i.total -1
  484. }
  485. })
  486. })
  487. let childService = {
  488. periodDate: '',
  489. serviceObjectId: item.id,
  490. facePhotoUrl: item.facePhotoUrl,
  491. nickName: item.nickName,
  492. serviceUserId: -1,
  493. fee: '',
  494. serviceStartTime: '',
  495. periodTimeList:periodTimeList
  496. }
  497. for (const time of periodTimeList) {
  498. if (time.total>0){
  499. time.select = true
  500. childService.serviceStartTime = time.label
  501. for (const childService of this.orderParam.childService) {
  502. for (const periodTime of childService.periodTimeList) {
  503. if (time.label == periodTime.label) {
  504. periodTime.total = periodTime.total - 1
  505. }
  506. }
  507. }
  508. break
  509. }
  510. }
  511. this.orderParam.childService.push(childService)
  512. }
  513. item.select = !item.select
  514. this.price = 0
  515. for (let childService of this.orderParam.childService) {
  516. this.price = this.price * 1 + childService.fee * 1
  517. }
  518. },
  519. getTemplateList(){
  520. this.$api.getTemplateList({
  521. type:1
  522. }).then(res=>{
  523. this.templateId=res.data.data.data.map(item=>{
  524. return item.priTmplId
  525. })
  526. })
  527. },
  528. getSelectionRules(data){
  529. this.$api.getSelectionRules(data).then(res=>{
  530. this.takeNumberRules = res.data.rows
  531. })
  532. },
  533. openSetting(){
  534. if (!this.userInfo.phone){
  535. uni.showModal({
  536. title:'温馨提示',
  537. content:'预约叫号是通过手机尾号进行查询,是否确认绑定手机号!',
  538. success:res=>{
  539. if (res.confirm){
  540. uni.navigateTo({
  541. url: '/myPages/setting/setting-telphone',
  542. })
  543. }
  544. }
  545. })
  546. return
  547. }
  548. uni.requestSubscribeMessage({
  549. tmplIds: this.templateId,
  550. success: (res) =>{
  551. let {errMsg,...param} = res
  552. console.log('+++++++++++++success+++++++++++++',param)
  553. this.$api.updateSubscribe(param).then(res=>{
  554. console.log('+++++++++++++updateSubscribe+++++++++++++',res)
  555. })
  556. },
  557. fail:(err)=>{
  558. console.log('+++++++++++++fail+++++++++++++',err)
  559. },
  560. complete:(complete)=>{
  561. console.log('+++++++++++++complete+++++++++++++',complete)
  562. this.commonGeneralOrder()
  563. }
  564. })
  565. },
  566. commonGeneralOrder() {
  567. if (!this.orderParam.childService.length) {
  568. uni.$u.toast('请选择服务对象')
  569. return
  570. }
  571. let flag = false
  572. this.orderParam.childService.forEach(i=>{
  573. if (!i.serviceStartTime){
  574. uni.$u.toast('请选择服务时段')
  575. flag= true
  576. }
  577. })
  578. if (flag){
  579. return;
  580. }
  581. if (this.requestStatus) {
  582. return;
  583. }
  584. this.requestStatus = true
  585. uni.showLoading({
  586. title: '加载中'
  587. });
  588. this.$api.commonGeneralOrder(this.orderParam).then(res => {
  589. this.requestStatus = false
  590. uni.hideLoading();
  591. uni.$u.toast('预约成功')
  592. setTimeout(() => {
  593. uni.switchTab({
  594. url: '/pages/order/index'
  595. })
  596. }, 500)
  597. }).catch(err => {
  598. this.requestStatus = false
  599. })
  600. }
  601. }
  602. }
  603. </script>
  604. <style scoped lang="scss">
  605. @import './index.rpx.scss';
  606. .store-wrap {
  607. margin-top: 10rpx;
  608. background-color: white;
  609. .store-info {
  610. display: flex;
  611. .logo {
  612. width: 10%;
  613. text-align: center;
  614. display: flex;
  615. justify-content: center;
  616. align-items: center;
  617. image {
  618. width: 30px;
  619. height: 30px;
  620. }
  621. }
  622. .store-content {
  623. width: 90%;
  624. padding-bottom: 13px;
  625. .h-row {
  626. display: flex;
  627. align-items: center;
  628. justify-content: space-between;
  629. .store-desc {
  630. width: 90%;
  631. display: flex;
  632. line-height: 30px;
  633. font-size: 14px;
  634. .store-name {
  635. }
  636. }
  637. .arrow-right {
  638. text-align: right;
  639. margin: 0 auto;
  640. cursor: pointer;
  641. padding-top: 3px;
  642. width: 100px;
  643. display: flex;
  644. font-size: 14px;
  645. .change-store {
  646. text-align: right;
  647. color: #666;
  648. }
  649. image {
  650. width: 18px;
  651. height: 18px;
  652. }
  653. }
  654. .address {
  655. color: #999999;
  656. width: 450rpx;
  657. font-size: 24rpx;
  658. }
  659. .address1 {
  660. color: #999999;
  661. font-size: 24rpx;
  662. padding-right: 40rpx;
  663. }
  664. }
  665. }
  666. }
  667. .adress {
  668. font-size: 22rpx;
  669. white-space: nowrap;
  670. overflow: hidden;
  671. text-overflow: ellipsis;
  672. padding-left: 80rpx;
  673. color: #666;
  674. }
  675. }
  676. </style>