shopList.vue 23 KB

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