shopList.vue 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. <template>
  2. <view class="box">
  3. <!-- <view class="sstop">
  4. <image src="../../static/timg/icon_search@2x.png" mode="" class="sstopimg"></image>
  5. <input type="text" v-model="shopName" placeholder="请输入门店名称、门店地址" class="sstopInput" @confirm="getqueryShopList2">
  6. <image src="../../static/img/icon_close.png" mode="" @click="empty" v-if="inputChShow" class="inputCh"></image>
  7. </view>
  8. <view class="regionBox">
  9. <view class="regionLine" @click="gocity">
  10. <view class="regionTxt">{{cityName}}</view>
  11. <image src="../../static/timg/icon_arrow_def@2x.png" mode="" class="jtbelow"></image>
  12. </view>
  13. <view class="regionSx"></view>
  14. <view class="regionLine" @click="quCilck">
  15. <view class="regionTxt">{{areaName}}</view>
  16. <image src="../../static/timg/icon_arrow_def@2x.png" mode="" class="jtbelow"></image>
  17. </view>
  18. </view> -->
  19. <view class="newTop">
  20. <view class="newTopSSbox">
  21. <view class="newTopSSLeft" @click="gocity">
  22. <view class="newregionTxt">{{cityName}}</view>
  23. <image src="../../static/img2/xia.png" mode="" class="newTopXia"></image>
  24. </view>
  25. <view class="newTopSSRight">
  26. <image class="newSImg" src="../../static/img2/ss.png" mode=""></image>
  27. <input type="text" v-model="shopName" placeholder="门店名称、地址" class="sstopInput" @confirm="getqueryShopList2">
  28. </view>
  29. </view>
  30. </view>
  31. <view style="height: 135rpx;"></view>
  32. <view class="shopline" v-for="(item,index) in queryShopList">
  33. <view class="newdistance" v-if="item.distance&&item.distance!= '0.00'">
  34. <image src="../../static/img2/dh.png" mode="" class="dhImg"></image>
  35. <view style="padding-top: 6rpx;"><span >{{item.distance}}km</span></view>
  36. </view>
  37. <view class="shoplineLeft">
  38. <image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
  39. <image :src="item.photoPath2" mode="" class="shopImg" v-else-if="item.photoPath2"></image>
  40. <image src="../../static/timg/noimg.png" mode="" class="shopImg" v-else></image>
  41. </view>
  42. <view class="shopright">
  43. <view style="display: flex;justify-content: space-between;">
  44. <view style="width: 410rpx;">
  45. <view class="shopTop">
  46. <view class="shopName">{{item.shopName}}</view>
  47. </view>
  48. <view class="brandsBg" v-if="item.brands">
  49. <view class="brands" v-for="(v,index2) in item.brands.split(',')">{{v}}</view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="shopTime">
  54. 营业时间: <span v-if="item.startTime">{{item.startTime}}</span> - <span
  55. v-if="item.endTime">{{item.endTime}}</span> </view>
  56. <view class="shopBottomLeft">
  57. <span class="shopaddress"
  58. v-if="item.address">{{item.address}}</span>
  59. </view>
  60. <view class="shopdhBox">
  61. <view class="shopcall" style="" @click.stop="goDetail(item)">
  62. <image class="shopcallIcon" src="../../static/img2/yueyue.png" mode=""></image>
  63. <view class="shopcallTxt">预约</view>
  64. </view>
  65. <view class="shopcall" @click.stop="goMap(item)">
  66. <image class="shopcallIcon" src="../../static/img2/dhjt.png" mode=""></image>
  67. <view class="shopcallTxt">导航</view>
  68. </view>
  69. <view class="shopcall" @click.stop="makePhoneCall(item.mobilePhone)">
  70. <image class="shopcallIcon" src="../../static/img2/call.png" mode=""></image>
  71. <view class="shopcallTxt">电话</view>
  72. </view>
  73. <!-- <view class="shopcall" >
  74. <image class="shopcallIcon" src="../../static/img2/wx.png" mode=""></image>
  75. <view class="shopcallTxt">店长微信</view>
  76. </view> -->
  77. </view>
  78. </view>
  79. </view>
  80. <!-- 上拉 加载更多 -->
  81. <view class="noMore" v-if="noMoreShow && (queryShopList.length!=0)">没有更多数据</view>
  82. <!-- 无数据空白页 -->
  83. <nodata v-if="queryShopList.length==0&&loading"></nodata>
  84. <uni-popup ref="popup" type="right" :mask-click="true">
  85. <view class="popup-content">
  86. <scroll-view class="brandList" scroll-y="true">
  87. <!-- :class="{areaActvie:item.area==areaName}" -->
  88. <view v-for="item in areaList" class="areaListLine"
  89. @click="checkarea(item)">
  90. <span >{{item.area}}</span>
  91. <image v-if="item.code==area" class="areaCkIcon" src="http://dmsphoto.66km.com.cn/thFiles/0A1DADEA-1807-4ABC-B391-ECC8B1882DA4.png" mode=""></image>
  92. </view>
  93. </scroll-view>
  94. </view>
  95. </uni-popup>
  96. <!-- 手机号授权 -->
  97. <view class="authorizBox" v-if="authorizShow" @click="authorizShowno">
  98. <view class="authorizCont" @click.stop="">
  99. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  100. <view class="authorizMs">未注册的手机号登录后将自动创建会员账号,如果您不同意授权获取手机号,会影响您使用我们的产品和服务。</view>
  101. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  102. </view>
  103. <view style="text-align: center;padding-top: 56rpx;">
  104. <image src="../../static/timg/icon_guanbi@2x.png" @click="authorizShowno" mode="" class="authorizCloseImg"></image>
  105. </view>
  106. </view>
  107. <!-- <view>lng:{{location.lng}}</view>
  108. <view>lat:{{location.lat}}</view> -->
  109. </view>
  110. </template>
  111. <script>
  112. import nodata from '../../components/nodata/nodata.vue'
  113. export default {
  114. components: {
  115. nodata,
  116. },
  117. data() {
  118. return {
  119. location: {
  120. lng: '',
  121. lat: '',
  122. },
  123. queryShopList: '',
  124. noMoreShow: false,
  125. regionName:'',
  126. twoRegionName:'',
  127. cityName:'城市',
  128. area:'',
  129. cityCode:'',
  130. areaList:'',
  131. index:'',
  132. areaName:'区域',
  133. loading:false,
  134. ext:'',
  135. authorizShow:false,
  136. wxOpenData:'',
  137. userInfo: '',
  138. shopName:'',
  139. inputChShow:false,
  140. }
  141. },
  142. watch:{
  143. shopName(val){
  144. console.log(val)
  145. if(val){
  146. this.inputChShow=true
  147. }
  148. },
  149. },
  150. onLoad() {
  151. var that = this;
  152. uni.removeStorageSync('selectCity');
  153. this.userInfo = this.$store.state.userInfo;
  154. this.ext=this.$common.getExtStoreId();
  155. if(this.userInfo){
  156. this.themeColor = uni.getStorageSync("themeColor");
  157. this.wxOpenData=this.$store.state.wxOpenData;
  158. this.init()
  159. }else{
  160. this.$common.automaticlogin().then(val => {
  161. this.themeColor = uni.getStorageSync("themeColor");
  162. this.userInfo=this.$store.state.userInfo;
  163. this.wxOpenData=this.$store.state.wxOpenData;
  164. this.init()
  165. if(!this.userInfo){
  166. uni.hideLoading();
  167. this.authorizShow=true
  168. }
  169. })
  170. }
  171. // that.getqueryShopList();
  172. },
  173. onShow() {
  174. const selectCity = uni.getStorageSync('selectCity');
  175. //console.log("onShow")
  176. //console.log(selectCity)
  177. if(selectCity){
  178. this.loading=false
  179. this.cityName=selectCity.city
  180. this.cityCode=selectCity.code
  181. this.areaName='区域'
  182. this.area=''
  183. this.shopName=''
  184. this.getAreaList()
  185. this.getqueryShopList() //获取门店列表
  186. }
  187. },
  188. methods: {
  189. empty(){
  190. this.shopName='';
  191. this.inputChShow=false;
  192. this.queryShopList=[];
  193. this.page=1;
  194. this.getqueryShopList()
  195. },
  196. authorizShowno(){
  197. this.authorizShow=false
  198. },
  199. decryptPhoneNumber: function(e) {
  200. console.log(e);
  201. this.code=e.detail.code
  202. this.wxPhoneLogin()
  203. this.authorizShow=false;
  204. },
  205. wxPhoneLogin(){
  206. var that=this;
  207. this.$http('miniApp2/sys/wxPhoneLogin', {
  208. appId:this.ext.appId,
  209. unionId:this.ext.unionId,
  210. code:this.code,
  211. openId:this.wxOpenData.openid
  212. },'POST').then(res => {
  213. var data = res.data;
  214. if(data.loginInfo){
  215. this.userInfo=data.loginInfo.openUser;
  216. this.wxOpenData=data.loginInfo;
  217. this.$store.commit('mutationswxOpenData', data)
  218. this.$store.commit('mutationsuserInfo', this.userInfo)
  219. this.init()
  220. }
  221. })
  222. },
  223. init(){
  224. var that = this;
  225. uni.showLoading({
  226. title: '加载中'
  227. })
  228. uni.authorize({
  229. scope: 'scope.userLocation',
  230. success() {
  231. uni.getLocation({
  232. type: 'gcj02',
  233. success: function(res) {
  234. console.log(res)
  235. that.location.lat = res.latitude
  236. that.location.lng = res.longitude
  237. that.getAdress();
  238. //that.getqueryShopList() //获取全部门店列表
  239. },
  240. fail(err) {
  241. console.log("定位失败")
  242. that.getqueryShopList();
  243. }
  244. });
  245. },
  246. fail: (err) => {
  247. console.log(err)
  248. that.getqueryShopList();
  249. }})
  250. },
  251. quCilck(){
  252. console.log(this.cityName)
  253. if(this.cityName){
  254. this.$refs.popup.open("right")
  255. //this.popupShow=true;
  256. if(this.areaList.length==0){
  257. /* uni.showToast({
  258. title: '当前城市下无区域,请切换城市查看',
  259. icon: 'none',
  260. duration: 4000
  261. }); */
  262. uni.showModal({
  263. title: '提示',
  264. content: '当前城市下无区域,请切换城市查看',
  265. success: function(res) {
  266. if (res.confirm) {
  267. // 执行确认后的操作
  268. uni.navigateTo({
  269. url:'/pages/subPack/chooseCity?type=1'
  270. })
  271. }
  272. else {
  273. // 执行取消后的操作
  274. }
  275. }
  276. })
  277. }
  278. }else{
  279. uni.showModal({
  280. title: '提示',
  281. content: '当前城市暂无门店,请切换城市查看',
  282. success: function(res) {
  283. if (res.confirm) {
  284. // 执行确认后的操作
  285. uni.navigateTo({
  286. url:'/pages/subPack/chooseCity?type=1'
  287. })
  288. }
  289. else {
  290. // 执行取消后的操作
  291. }
  292. }
  293. })
  294. }
  295. },
  296. gocity(){
  297. uni.navigateTo({
  298. url:'/pages/subPack/chooseCity?type=1'
  299. })
  300. },
  301. checkarea(item){
  302. this.shopName=''
  303. if(this.area==item.code){
  304. this.areaName='区域'
  305. this.area=''
  306. this.getqueryShopList() //获取门店列表
  307. }else{
  308. this.areaName=item.area
  309. this.area=item.code
  310. this.getqueryShopList() //获取门店列表
  311. }
  312. this.$refs.popup.close()
  313. },
  314. bindPickerChange(e){
  315. //console.log(e)
  316. this.areaName=this.areaList[e.detail.value].area
  317. this.area=this.areaList[e.detail.value].code
  318. this.getqueryShopList() //获取门店列表
  319. },
  320. cancelHandling(){
  321. this.areaName='区域'
  322. this.area=''
  323. this.getqueryShopList() //获取门店列表
  324. },
  325. makePhoneCall(num){
  326. uni.makePhoneCall({
  327. phoneNumber:num
  328. });
  329. },
  330. goMap(item){
  331. var that = this;
  332. if (!item.lat || !item.lng) {
  333. uni.showToast({
  334. title: '该店铺未设置定位',
  335. icon: 'none',
  336. duration: 3000
  337. });
  338. } else {
  339. uni.openLocation({
  340. latitude: Number(item.lat),
  341. longitude: Number(item.lng),
  342. name: item.shopName,
  343. address: item.provinceName + item.cityName + item.areaName +
  344. item.address,
  345. success: function() {
  346. console.log('success');
  347. },
  348. fail(err) {
  349. console.log(err)
  350. }
  351. });
  352. }
  353. },
  354. getAdress(){
  355. var that=this;
  356. var location = this.location.lng + ',' + this.location.lat
  357. console.log('location'+location)
  358. //location='117.29249484592015,39.026727973090274'
  359. uni.request({
  360. url: 'https://restapi.amap.com/v3/geocode/regeo',
  361. data: {
  362. key: '389a059efa3f499d9145eb84b1c3248d',
  363. location: location,
  364. },
  365. dataType: "json",
  366. success: (res) => {
  367. console.log('定位城市', res);
  368. if(res.data.regeocode){
  369. console.log("城市名称")
  370. console.log(res.data.regeocode.addressComponent.city)
  371. // console.log(res.data.pois[0].cityname)
  372. if(res.data.regeocode.addressComponent.city.length!=0){
  373. var cityname = res.data.regeocode.addressComponent.city;
  374. }else{
  375. var cityname = res.data.regeocode.addressComponent.province;
  376. }
  377. var cityCode = res.data.regeocode.addressComponent.adcode
  378. cityCode = cityCode.slice(0, -2)
  379. cityCode = cityCode + '00'
  380. this.cityName = cityname
  381. this.cityCode = cityCode
  382. that.getqueryShopList() //获取全部门店列表
  383. that.getAreaList()
  384. }else{
  385. console.log("接口获取失败")
  386. uni.hideLoading();
  387. }
  388. }
  389. });
  390. },
  391. getAreaList(){
  392. this.$http('opencarOwnerHome/shop-area-list', {
  393. city:this.cityCode
  394. }, 'GET').then(res => {
  395. this.areaList=res.data
  396. })
  397. },
  398. getqueryShopList2(){
  399. uni.showLoading({
  400. title: '加载中'
  401. })
  402. this.loading=false;
  403. this.$http('opencarOwnerHome/queryShopInfoList', {
  404. lat: this.location.lat ? this.location.lat : '',
  405. lng: this.location.lng ? this.location.lng : '',
  406. city:'',
  407. area:'',
  408. shopName:this.shopName
  409. }, 'GET').then(res => {
  410. uni.hideLoading();
  411. this.queryShopList = res.data.shop;
  412. this.loading=true;
  413. //console.log('list+=', this.queryShopList);
  414. if(this.queryShopList.length==0){
  415. /* uni.showToast({
  416. title: '当前城市暂无门店,请切换城市查看',
  417. icon: 'none',
  418. duration: 4000
  419. }); */
  420. uni.showModal({
  421. title: '提示',
  422. content: '当前城市暂无门店,请切换城市查看',
  423. success: function(res) {
  424. if (res.confirm) {
  425. // 执行确认后的操作
  426. uni.navigateTo({
  427. url:'/pages/subPack/chooseCity?type=1'
  428. })
  429. }
  430. else {
  431. // 执行取消后的操作
  432. }
  433. }
  434. })
  435. }
  436. })
  437. },
  438. getqueryShopList() {
  439. uni.showLoading({
  440. title: '加载中'
  441. })
  442. this.loading=false;
  443. this.$http('opencarOwnerHome/queryShopInfoList', {
  444. lat: this.location.lat ? this.location.lat : '',
  445. lng: this.location.lng ? this.location.lng : '',
  446. city:this.cityCode,
  447. area:this.area,
  448. shopName:this.shopName
  449. }, 'GET').then(res => {
  450. uni.hideLoading();
  451. this.queryShopList = res.data.shop;
  452. this.loading=true;
  453. //console.log('list+=', this.queryShopList);
  454. if(this.queryShopList.length==0){
  455. /* uni.showToast({
  456. title: '当前城市暂无门店,请切换城市查看',
  457. icon: 'none',
  458. duration: 4000
  459. }); */
  460. uni.showModal({
  461. title: '提示',
  462. content: '当前城市暂无门店,请切换城市查看',
  463. success: function(res) {
  464. if (res.confirm) {
  465. // 执行确认后的操作
  466. uni.navigateTo({
  467. url:'/pages/subPack/chooseCity?type=1'
  468. })
  469. }
  470. else {
  471. // 执行取消后的操作
  472. }
  473. }
  474. })
  475. }
  476. })
  477. },
  478. goDetail(item) {
  479. // uni.navigateTo({
  480. // url: '../shop/shopDetail?id=' + item.shopId
  481. // })
  482. if (this.userInfo) {
  483. uni.navigateTo({
  484. url:'onlineBooking?naShopId='+item.shopId+'&naUnionId='+item.unionId
  485. })
  486. } else {
  487. this.authorizShow = true;
  488. return false;
  489. }
  490. }
  491. },
  492. // 下拉刷新
  493. onPullDownRefresh() {
  494. this.getqueryShopList()
  495. setTimeout(function() {
  496. uni.stopPullDownRefresh();
  497. }, 1000);
  498. },
  499. }
  500. </script>
  501. <style scoped>
  502. .newTop{
  503. width: 702rpx;
  504. height: 70rpx;
  505. background: #FFFFFF;
  506. padding: 24rpx;
  507. position: fixed;
  508. top: 0;left: 0;z-index: 11;
  509. }
  510. .newTopSSbox{
  511. height: 50rpx;
  512. border-radius: 15rpx;
  513. border: 2rpx solid #FCD903;
  514. padding: 10rpx 0;
  515. display: flex;
  516. }
  517. .newTopXia{
  518. width: 12rpx;height: 8rpx;margin-top: 20rpx;margin-left: 10rpx;
  519. }
  520. .newTopSSLeft{
  521. width: 190rpx;
  522. display: flex;
  523. border-right: 1px solid #EEEEEE;
  524. justify-content: center;
  525. }
  526. .newSImg{
  527. width: 28rpx;height: 28rpx;
  528. margin-left: 30rpx;margin-top: 10rpx;
  529. }
  530. .sstopInput{
  531. width: 400rpx;
  532. height: 50rpx;
  533. line-height: 50rpx;
  534. font-size: 26rpx;
  535. padding-left: 16rpx;
  536. }
  537. .newTopSSRight{
  538. display: flex;
  539. }
  540. .newregionTxt{
  541. font-size: 26rpx;
  542. color: #333333;
  543. line-height: 50rpx;
  544. white-space: nowrap; /* 禁止换行 */
  545. overflow: hidden; /* 隐藏溢出内容 */
  546. text-overflow: ellipsis; /* 添加省略号 */
  547. max-width: 150rpx;
  548. }
  549. .dhImg{
  550. width: 35rpx;height: 35rpx;border-radius: 6rpx;
  551. }
  552. .newdistance{
  553. position: absolute;top: 22rpx;right: 18rpx;
  554. text-align: center;
  555. font-size: 22rpx;
  556. color: #666666;
  557. }
  558. .areaCkIcon{
  559. width: 38rpx;height: 28rpx;
  560. }
  561. .popup-content{
  562. width: 590rpx;
  563. background: #FFFFFF;
  564. height: 100vh;
  565. }
  566. .brandList{
  567. height:99vh;
  568. }
  569. .areaListLine{
  570. padding:30rpx 24rpx;
  571. color: #666666;
  572. font-size: 28rpx;
  573. border-bottom: 1px solid #eaeaea;
  574. display: flex;
  575. justify-content: space-between;
  576. line-height: 28rpx;
  577. }
  578. .areaActvie{
  579. background: #F19D01;
  580. color: #FFFFFF;
  581. }
  582. .jtbelow{
  583. width: 14rpx;height: 7rpx;
  584. margin-left: 10rpx;margin-top: 10rpx;
  585. }
  586. .regionSx{
  587. width: 2rpx;height: 33rpx;background:#EEEEEE;
  588. }
  589. .regionLine{
  590. display: flex;justify-content: center;font-size: 26rpx;
  591. width: 370rpx;line-height: 33rpx;color: #3C3C3C;
  592. }
  593. .regionBox{
  594. display: flex;
  595. justify-content: center;
  596. background: #FFFFFF;
  597. padding: 20rpx 0;
  598. margin-bottom: 20rpx;
  599. position: fixed;
  600. width: 100vw;
  601. top: 118rpx;left: 0;
  602. }
  603. .box {
  604. min-height: 100vh;
  605. background-color: #F4F5F7;
  606. padding-bottom: 60rpx;
  607. }
  608. .shopdhBox{
  609. display: flex;padding-top: 20rpx;
  610. justify-content: space-between;
  611. }
  612. .shopcall{
  613. display: flex;
  614. }
  615. .shopcallIcon{
  616. width: 26rpx;height: 26rpx;margin-top: 2rpx;
  617. }
  618. .shopcallTxt{
  619. font-size: 24rpx;
  620. color: #222222;
  621. line-height: 33rpx;padding-left: 8rpx;
  622. }
  623. .yuyuBtnBox{
  624. display: flex;
  625. font-size: 24rpx;
  626. color: #FF8113;
  627. align-items: center;
  628. justify-items: center;
  629. /* border-left: 1px solid #EEEEEE;
  630. padding-left: 20rpx; */
  631. }
  632. .shopline {
  633. margin: 0rpx 24rpx 20rpx;
  634. padding: 24rpx 20rpx;
  635. background-color: #FFFFFF;
  636. border-radius: 20rpx;
  637. display: flex;
  638. position: relative;
  639. }
  640. .nodataImg {
  641. width: 400rpx;
  642. padding-top: 100rpx;
  643. }
  644. .noTxt {
  645. font-size: 36rpx;
  646. color: #999999;
  647. padding-top: 50rpx;
  648. }
  649. .nodataBox {
  650. text-align: center;
  651. }
  652. .shopImg {
  653. width: 160rpx;
  654. height: 160rpx;
  655. border-radius: 10rpx;
  656. }
  657. .shopBox {
  658. padding-top: 30rpx;
  659. display: flex;
  660. }
  661. .flex {
  662. display: flex;
  663. justify-content: space-between;
  664. }
  665. .shopCont {
  666. padding-left: 22rpx;
  667. width: 520rpx;
  668. }
  669. .span1 {
  670. color: #FF4F00;
  671. font-size: 36rpx;
  672. }
  673. .span2 {
  674. color: #FF4F00;
  675. font-size: 22rpx;
  676. }
  677. .span3 {
  678. color: #333333;
  679. font-size: 22rpx;
  680. padding-left: 22rpx;
  681. }
  682. .shopBq {
  683. color: #FF4F00;
  684. font-size: 22rpx;
  685. border-radius: 4rpx;
  686. border: 1px solid #FF4F00;
  687. line-height: 30rpx;
  688. height: 30rpx;
  689. padding: 0rpx 5rpx;
  690. margin-top: 10rpx;
  691. }
  692. .brandsBg {
  693. display: flex;
  694. align-items: center;
  695. padding: 10rpx 0rpx;
  696. flex-wrap: wrap;
  697. height: 34rpx;
  698. /* 隐藏文字显示 ...不换行 */
  699. overflow: hidden;
  700. text-overflow: ellipsis;
  701. white-space: nowrap;
  702. }
  703. .brands {
  704. border-radius: 4rpx;
  705. padding: 0 5rpx;
  706. color: #F19D01;
  707. height: 28rpx;
  708. border: 1px solid #F19D01;
  709. font-size: 22rpx;
  710. line-height: 30rpx;
  711. margin: 5rpx 10rpx 5rpx 0rpx;
  712. }
  713. .timeBg {
  714. display: flex;
  715. }
  716. .shopTime {
  717. color: #666666;
  718. font-size: 26rpx;
  719. padding-top: 4rpx;
  720. }
  721. .addressBox {
  722. color: #666666;
  723. font-size: 22rpx;
  724. }
  725. .shopNameSearchInput {
  726. width: 500rpx;
  727. }
  728. .colorCS {
  729. color: #FF4F00;
  730. }
  731. .shopbox {
  732. padding: 0 16rpx;
  733. }
  734. .shopCallImg {
  735. width: 38rpx;
  736. height: 46rpx;
  737. }
  738. .shopTop {
  739. display: flex;
  740. justify-content: space-between;
  741. }
  742. .shopright {
  743. padding-left: 28rpx;
  744. width: 500rpx;
  745. }
  746. .shopName {
  747. font-size: 32rpx;
  748. font-weight: bold;
  749. color: #222222;
  750. line-height: 40rpx;
  751. width: 450rpx;
  752. white-space: nowrap;
  753. overflow: hidden;
  754. text-overflow: ellipsis;
  755. }
  756. .shopScore1 {
  757. font-size: 36rpx;
  758. font-weight: bold;
  759. color: #FF4F00;
  760. height: 50rpx;
  761. line-height: 50rpx;
  762. }
  763. .shopScore11 {
  764. font-size: 22rpx;
  765. color: #FF4F00;
  766. margin-right: 14rpx;
  767. }
  768. .shopScore2 {
  769. font-size: 22rpx;
  770. color: #666666;
  771. margin-right: 14rpx;
  772. padding: 8rpx 0;
  773. }
  774. .shopScore3 {
  775. font-size: 22rpx;
  776. color: #333333;
  777. padding-left: 20rpx;
  778. }
  779. .Btn {
  780. width: 104rpx;
  781. height: 56rpx;
  782. background: #FF2400 linear-gradient(135deg, #FD5300 0%, #FF270A 100%);
  783. border-radius: 6rpx;
  784. font-size: 26rpx;
  785. text-align: center;
  786. color: #FFFFFF;
  787. line-height: 56rpx;
  788. }
  789. .shopBottom {
  790. display: flex;
  791. }
  792. .shopBottomLeft {
  793. font-size: 25rpx;
  794. color: #666666;
  795. line-height: 30rpx;
  796. padding-top: 8rpx;
  797. display: flex;
  798. justify-content: space-between;
  799. padding-right: 10rpx;
  800. }
  801. .shopaddress {
  802. width: 400rpx;
  803. /* 隐藏文字显示 ...不换行 */
  804. overflow: hidden;
  805. text-overflow: ellipsis;
  806. white-space: nowrap;
  807. color: #999999;
  808. }
  809. .noMore {
  810. text-align: center;
  811. line-height: 50rpx;
  812. color: #999999;
  813. font-size: 28rpx;
  814. }
  815. .authorizBox{
  816. width: 100vw;
  817. height: 100vh;
  818. background: rgba(0, 0, 0, 0.5);
  819. position: fixed;
  820. top: 0;
  821. left: 0;
  822. }
  823. .authorizCont{
  824. margin-top: 30vh;
  825. width: 564rpx;
  826. height: 408rpx;
  827. background: #FFFFFF;
  828. border-radius: 24rpx;
  829. margin-left: 93rpx;
  830. position: relative;
  831. }
  832. .authorizCloseImg{
  833. width: 62rpx;
  834. height: 62rpx;
  835. }
  836. .sqLogoBox{
  837. width: 180rpx;
  838. height: 180rpx;
  839. background: #FFFFFF;
  840. border-radius: 90rpx;
  841. text-align: center;
  842. position: absolute;
  843. top: -50rpx;
  844. left: 192rpx;
  845. }
  846. .authorizName{
  847. color: #333333;
  848. line-height: 42rpx;
  849. font-size: 30rpx;
  850. text-align: center;
  851. padding-top: 58rpx;
  852. }
  853. .authorizMs{
  854. color: #999999;
  855. line-height: 36rpx;
  856. font-size: 26rpx;
  857. width: 452rpx;
  858. padding-top: 24rpx;
  859. text-align: center;
  860. margin-left: 56rpx;
  861. }
  862. .authorizContbutton{
  863. width: 422rpx;
  864. height: 88rpx;
  865. background: #EC0F0A;
  866. border-radius: 44rpx;
  867. line-height: 88rpx;
  868. text-align: center;
  869. font-size:30rpx;
  870. color: #FFFFFF;
  871. margin-top: 62rpx;
  872. margin-left:71rpx;
  873. }
  874. .sstop{
  875. position: fixed;
  876. padding-top: 24rpx;
  877. padding-left: 24rpx;
  878. background: #ffffff;
  879. width: 100vw;
  880. top: 0rpx;
  881. left: 0;
  882. padding-bottom: 20rpx;
  883. }
  884. .sstopimg{
  885. width: 40rpx;
  886. height: 40rpx;
  887. position: absolute;
  888. left: 44rpx;
  889. top: 40rpx;
  890. }
  891. .inputCh{
  892. width:40rpx;
  893. height: 40rpx;
  894. position: absolute;
  895. right: 60rpx;
  896. top: 40rpx;
  897. z-index: 11;
  898. }
  899. </style>