shopList.vue 21 KB

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