shopList.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935
  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.newCustomer){
  195. uni.showModal({
  196. title: '提示',
  197. content: data.newCustomerMsg,
  198. success: function(resTK) {
  199. }
  200. });
  201. var token=res.data.token
  202. data.loginInfo={}
  203. data.loginInfo.token=token
  204. this.$store.commit('mutationswxOpenData', data);
  205. return false;
  206. }
  207. if(data.loginInfo){
  208. this.userInfo=data.loginInfo.openUser;
  209. this.wxOpenData=data.loginInfo;
  210. this.$store.commit('mutationswxOpenData', data)
  211. this.$store.commit('mutationsuserInfo', this.userInfo)
  212. this.init()
  213. }
  214. })
  215. },
  216. init(){
  217. var that = this;
  218. uni.showLoading({
  219. title: '加载中'
  220. })
  221. uni.authorize({
  222. scope: 'scope.userLocation',
  223. success() {
  224. uni.getLocation({
  225. type: 'gcj02',
  226. success: function(res) {
  227. console.log(res)
  228. that.location.lat = res.latitude
  229. that.location.lng = res.longitude
  230. that.getAdress();
  231. //that.getqueryShopList() //获取全部门店列表
  232. },
  233. fail(err) {
  234. console.log("定位失败")
  235. that.getqueryShopList();
  236. }
  237. });
  238. },
  239. fail: (err) => {
  240. console.log(err)
  241. that.getqueryShopList();
  242. }})
  243. },
  244. quCilck(){
  245. console.log(this.cityName)
  246. if(this.cityName){
  247. this.$refs.popup.open("right")
  248. //this.popupShow=true;
  249. if(this.areaList.length==0){
  250. /* uni.showToast({
  251. title: '当前城市下无区域,请切换城市查看',
  252. icon: 'none',
  253. duration: 4000
  254. }); */
  255. uni.showModal({
  256. title: '提示',
  257. content: '当前城市下无区域,请切换城市查看',
  258. success: function(res) {
  259. if (res.confirm) {
  260. // 执行确认后的操作
  261. uni.navigateTo({
  262. url:'/pages/subPack/chooseCity?type=1'
  263. })
  264. }
  265. else {
  266. // 执行取消后的操作
  267. }
  268. }
  269. })
  270. }
  271. }else{
  272. uni.showModal({
  273. title: '提示',
  274. content: '当前城市暂无门店,请切换城市查看',
  275. success: function(res) {
  276. if (res.confirm) {
  277. // 执行确认后的操作
  278. uni.navigateTo({
  279. url:'/pages/subPack/chooseCity?type=1'
  280. })
  281. }
  282. else {
  283. // 执行取消后的操作
  284. }
  285. }
  286. })
  287. }
  288. },
  289. gocity(){
  290. uni.navigateTo({
  291. url:'/pages/subPack/chooseCity?type=1'
  292. })
  293. },
  294. checkarea(item){
  295. this.shopName=''
  296. if(this.area==item.code){
  297. this.areaName='区域'
  298. this.area=''
  299. this.getqueryShopList() //获取门店列表
  300. }else{
  301. this.areaName=item.area
  302. this.area=item.code
  303. this.getqueryShopList() //获取门店列表
  304. }
  305. this.$refs.popup.close()
  306. },
  307. bindPickerChange(e){
  308. //console.log(e)
  309. this.areaName=this.areaList[e.detail.value].area
  310. this.area=this.areaList[e.detail.value].code
  311. this.getqueryShopList() //获取门店列表
  312. },
  313. cancelHandling(){
  314. this.areaName='区域'
  315. this.area=''
  316. this.getqueryShopList() //获取门店列表
  317. },
  318. makePhoneCall(num){
  319. uni.makePhoneCall({
  320. phoneNumber:num
  321. });
  322. },
  323. goMap(item){
  324. var that = this;
  325. if (!item.lat || !item.lng) {
  326. uni.showToast({
  327. title: '该店铺未设置定位',
  328. icon: 'none',
  329. duration: 3000
  330. });
  331. } else {
  332. uni.openLocation({
  333. latitude: Number(item.lat),
  334. longitude: Number(item.lng),
  335. name: item.shopName,
  336. address: item.provinceName + item.cityName + item.areaName +
  337. item.address,
  338. success: function() {
  339. console.log('success');
  340. },
  341. fail(err) {
  342. console.log(err)
  343. }
  344. });
  345. }
  346. },
  347. getAdress(){
  348. var that=this;
  349. var location = this.location.lng + ',' + this.location.lat
  350. console.log('location'+location)
  351. //location='117.29249484592015,39.026727973090274'
  352. uni.request({
  353. url: 'https://restapi.amap.com/v3/geocode/regeo',
  354. data: {
  355. key: '389a059efa3f499d9145eb84b1c3248d',
  356. location: location,
  357. },
  358. dataType: "json",
  359. success: (res) => {
  360. console.log('定位城市', res);
  361. if(res.data.regeocode){
  362. console.log("城市名称")
  363. console.log(res.data.regeocode.addressComponent.city)
  364. // console.log(res.data.pois[0].cityname)
  365. if(res.data.regeocode.addressComponent.city.length!=0){
  366. var cityname = res.data.regeocode.addressComponent.city;
  367. }else{
  368. var cityname = res.data.regeocode.addressComponent.province;
  369. }
  370. var cityCode = res.data.regeocode.addressComponent.adcode
  371. cityCode = cityCode.slice(0, -2)
  372. cityCode = cityCode + '00'
  373. this.cityName = cityname
  374. this.cityCode = cityCode
  375. that.getqueryShopList() //获取全部门店列表
  376. that.getAreaList()
  377. }else{
  378. console.log("接口获取失败")
  379. uni.hideLoading();
  380. }
  381. }
  382. });
  383. },
  384. getAreaList(){
  385. this.$http('opencarOwnerHome/shop-area-list', {
  386. city:this.cityCode
  387. }, 'GET').then(res => {
  388. this.areaList=res.data
  389. })
  390. },
  391. getqueryShopList2(){
  392. uni.showLoading({
  393. title: '加载中'
  394. })
  395. this.loading=false;
  396. this.$http('opencarOwnerHome/queryShopInfoList', {
  397. lat: this.location.lat ? this.location.lat : '',
  398. lng: this.location.lng ? this.location.lng : '',
  399. city:'',
  400. area:'',
  401. shopName:this.shopName
  402. }, 'GET').then(res => {
  403. uni.hideLoading();
  404. this.queryShopList = res.data.shop;
  405. this.loading=true;
  406. //console.log('list+=', this.queryShopList);
  407. if(this.queryShopList.length==0){
  408. /* uni.showToast({
  409. title: '当前城市暂无门店,请切换城市查看',
  410. icon: 'none',
  411. duration: 4000
  412. }); */
  413. uni.showModal({
  414. title: '提示',
  415. content: '当前城市暂无门店,请切换城市查看',
  416. success: function(res) {
  417. if (res.confirm) {
  418. // 执行确认后的操作
  419. uni.navigateTo({
  420. url:'/pages/subPack/chooseCity?type=1'
  421. })
  422. }
  423. else {
  424. // 执行取消后的操作
  425. }
  426. }
  427. })
  428. }
  429. })
  430. },
  431. getqueryShopList() {
  432. uni.showLoading({
  433. title: '加载中'
  434. })
  435. this.loading=false;
  436. this.$http('opencarOwnerHome/queryShopInfoList', {
  437. lat: this.location.lat ? this.location.lat : '',
  438. lng: this.location.lng ? this.location.lng : '',
  439. city:this.cityCode,
  440. area:this.area,
  441. shopName:this.shopName
  442. }, 'GET').then(res => {
  443. uni.hideLoading();
  444. this.queryShopList = res.data.shop;
  445. this.loading=true;
  446. //console.log('list+=', this.queryShopList);
  447. if(this.queryShopList.length==0){
  448. /* uni.showToast({
  449. title: '当前城市暂无门店,请切换城市查看',
  450. icon: 'none',
  451. duration: 4000
  452. }); */
  453. uni.showModal({
  454. title: '提示',
  455. content: '当前城市暂无门店,请切换城市查看',
  456. success: function(res) {
  457. if (res.confirm) {
  458. // 执行确认后的操作
  459. uni.navigateTo({
  460. url:'/pages/subPack/chooseCity?type=1'
  461. })
  462. }
  463. else {
  464. // 执行取消后的操作
  465. }
  466. }
  467. })
  468. }
  469. })
  470. },
  471. goDetail(item) {
  472. uni.navigateTo({
  473. url:'onlineBooking?naShopId='+item.shopId+'naUnionId='+item.unionId
  474. })
  475. /* if (this.userInfo) {
  476. uni.navigateTo({
  477. url:'onlineBooking?naShopId='+item.shopId+'naUnionId='+item.unionId
  478. })
  479. } else {
  480. this.authorizShow = true;
  481. return false;
  482. } */
  483. }
  484. },
  485. // 下拉刷新
  486. onPullDownRefresh() {
  487. this.getqueryShopList()
  488. setTimeout(function() {
  489. uni.stopPullDownRefresh();
  490. }, 1000);
  491. },
  492. }
  493. </script>
  494. <style scoped>
  495. .areaCkIcon{
  496. width: 38rpx;height: 28rpx;
  497. }
  498. .popup-content{
  499. width: 590rpx;
  500. background: #FFFFFF;
  501. height: 100vh;
  502. }
  503. .brandList{
  504. height:99vh;
  505. }
  506. .areaListLine{
  507. padding:30rpx 24rpx;
  508. color: #666666;
  509. font-size: 28rpx;
  510. border-bottom: 1px solid #eaeaea;
  511. display: flex;
  512. justify-content: space-between;
  513. line-height: 28rpx;
  514. }
  515. .areaActvie{
  516. background: #F19D01;
  517. color: #FFFFFF;
  518. }
  519. .jtbelow{
  520. width: 14rpx;height: 7rpx;
  521. margin-left: 10rpx;margin-top: 10rpx;
  522. }
  523. .regionSx{
  524. width: 2rpx;height: 33rpx;background:#EEEEEE;
  525. }
  526. .regionLine{
  527. display: flex;justify-content: center;font-size: 26rpx;
  528. width: 370rpx;line-height: 33rpx;color: #3C3C3C;
  529. }
  530. .regionBox{
  531. display: flex;
  532. justify-content: center;
  533. background: #FFFFFF;
  534. padding: 20rpx 0;
  535. margin-bottom: 20rpx;
  536. position: fixed;
  537. width: 100vw;
  538. top: 118rpx;left: 0;
  539. }
  540. .box {
  541. min-height: 100vh;
  542. background-color: #F4F5F7;
  543. padding-bottom: 60rpx;
  544. }
  545. .shopdhBox{
  546. display: flex;padding-top: 16rpx;
  547. }
  548. .shopcall{
  549. display: flex;
  550. }
  551. .shopcallIcon{
  552. width: 23rpx;height: 23rpx;margin-top: 5rpx;
  553. }
  554. .shopcallTxt{
  555. color: #3C3C3C;font-size: 24rpx;
  556. line-height: 33rpx;padding-left: 8rpx;
  557. }
  558. .yuyuBtnBox{
  559. display: flex;
  560. font-size: 24rpx;
  561. color: #FF8113;
  562. align-items: center;
  563. justify-items: center;
  564. /* border-left: 1px solid #EEEEEE;
  565. padding-left: 20rpx; */
  566. }
  567. .shopline {
  568. margin: 0rpx 24rpx 20rpx;
  569. padding: 20rpx;
  570. background-color: #FFFFFF;
  571. border-radius: 10rpx;
  572. display: flex;
  573. }
  574. .nodataImg {
  575. width: 400rpx;
  576. padding-top: 100rpx;
  577. }
  578. .noTxt {
  579. font-size: 36rpx;
  580. color: #999999;
  581. padding-top: 50rpx;
  582. }
  583. .nodataBox {
  584. text-align: center;
  585. }
  586. .shopImg {
  587. width: 154rpx;
  588. height: 154rpx;
  589. border-radius: 10rpx;
  590. }
  591. .shopBox {
  592. padding-top: 30rpx;
  593. display: flex;
  594. }
  595. .flex {
  596. display: flex;
  597. justify-content: space-between;
  598. }
  599. .shopCont {
  600. padding-left: 22rpx;
  601. width: 520rpx;
  602. }
  603. .span1 {
  604. color: #FF4F00;
  605. font-size: 36rpx;
  606. }
  607. .span2 {
  608. color: #FF4F00;
  609. font-size: 22rpx;
  610. }
  611. .span3 {
  612. color: #333333;
  613. font-size: 22rpx;
  614. padding-left: 22rpx;
  615. }
  616. .shopBq {
  617. color: #FF4F00;
  618. font-size: 22rpx;
  619. border-radius: 4rpx;
  620. border: 1px solid #FF4F00;
  621. line-height: 30rpx;
  622. height: 30rpx;
  623. padding: 0rpx 5rpx;
  624. margin-top: 10rpx;
  625. }
  626. .brandsBg {
  627. display: flex;
  628. align-items: center;
  629. padding: 5rpx 0rpx;
  630. flex-wrap: wrap;
  631. height: 36rpx;
  632. /* 隐藏文字显示 ...不换行 */
  633. overflow: hidden;
  634. text-overflow: ellipsis;
  635. white-space: nowrap;
  636. }
  637. .brands {
  638. border-radius: 4rpx;
  639. padding: 0 5rpx;
  640. color: #F19D01;
  641. height: 28rpx;
  642. border: 1px solid #F19D01;
  643. font-size: 20rpx;
  644. line-height: 28rpx;
  645. margin: 5rpx 10rpx 5rpx 0rpx;
  646. }
  647. .timeBg {
  648. display: flex;
  649. }
  650. .shopTime {
  651. color: #666666;
  652. font-size: 24rpx;
  653. }
  654. .addressBox {
  655. color: #666666;
  656. font-size: 22rpx;
  657. }
  658. .shopNameSearchInput {
  659. width: 500rpx;
  660. }
  661. .colorCS {
  662. color: #FF4F00;
  663. }
  664. .shopbox {
  665. padding: 0 16rpx;
  666. }
  667. .shopCallImg {
  668. width: 38rpx;
  669. height: 46rpx;
  670. }
  671. .shopTop {
  672. display: flex;
  673. justify-content: space-between;
  674. }
  675. .shopright {
  676. padding-left: 20rpx;
  677. width: 510rpx;
  678. }
  679. .shopName {
  680. font-size: 28rpx;
  681. font-weight: bold;
  682. color: #333333;
  683. line-height: 40rpx;
  684. width: 450rpx;
  685. white-space: nowrap;
  686. overflow: hidden;
  687. text-overflow: ellipsis;
  688. }
  689. .shopScore1 {
  690. font-size: 36rpx;
  691. font-weight: bold;
  692. color: #FF4F00;
  693. height: 50rpx;
  694. line-height: 50rpx;
  695. }
  696. .shopScore11 {
  697. font-size: 22rpx;
  698. color: #FF4F00;
  699. margin-right: 14rpx;
  700. }
  701. .shopScore2 {
  702. font-size: 22rpx;
  703. color: #666666;
  704. margin-right: 14rpx;
  705. padding: 8rpx 0;
  706. }
  707. .shopScore3 {
  708. font-size: 22rpx;
  709. color: #333333;
  710. padding-left: 20rpx;
  711. }
  712. .Btn {
  713. width: 104rpx;
  714. height: 56rpx;
  715. background: #FF2400 linear-gradient(135deg, #FD5300 0%, #FF270A 100%);
  716. border-radius: 6rpx;
  717. font-size: 26rpx;
  718. text-align: center;
  719. color: #FFFFFF;
  720. line-height: 56rpx;
  721. }
  722. .shopBottom {
  723. display: flex;
  724. }
  725. .shopBottomLeft {
  726. font-size: 25rpx;
  727. color: #666666;
  728. line-height: 30rpx;
  729. padding-top: 10rpx;
  730. display: flex;
  731. justify-content: space-between;
  732. padding-right: 10rpx;
  733. }
  734. .shopaddress {
  735. width: 400rpx;
  736. /* 隐藏文字显示 ...不换行 */
  737. overflow: hidden;
  738. text-overflow: ellipsis;
  739. white-space: nowrap;
  740. }
  741. .noMore {
  742. text-align: center;
  743. line-height: 50rpx;
  744. color: #999999;
  745. font-size: 28rpx;
  746. }
  747. .authorizBox{
  748. width: 100vw;
  749. height: 100vh;
  750. background: rgba(0, 0, 0, 0.5);
  751. position: fixed;
  752. top: 0;
  753. left: 0;
  754. }
  755. .authorizCont{
  756. margin-top: 30vh;
  757. width: 564rpx;
  758. height: 408rpx;
  759. background: #FFFFFF;
  760. border-radius: 24rpx;
  761. margin-left: 93rpx;
  762. position: relative;
  763. }
  764. .authorizCloseImg{
  765. width: 62rpx;
  766. height: 62rpx;
  767. }
  768. .sqLogoBox{
  769. width: 180rpx;
  770. height: 180rpx;
  771. background: #FFFFFF;
  772. border-radius: 90rpx;
  773. text-align: center;
  774. position: absolute;
  775. top: -50rpx;
  776. left: 192rpx;
  777. }
  778. .authorizName{
  779. color: #333333;
  780. line-height: 42rpx;
  781. font-size: 30rpx;
  782. text-align: center;
  783. padding-top: 58rpx;
  784. }
  785. .authorizMs{
  786. color: #999999;
  787. line-height: 36rpx;
  788. font-size: 26rpx;
  789. width: 452rpx;
  790. padding-top: 24rpx;
  791. text-align: center;
  792. margin-left: 56rpx;
  793. }
  794. .authorizContbutton{
  795. width: 422rpx;
  796. height: 88rpx;
  797. background: #D53533;
  798. border-radius: 44rpx;
  799. line-height: 88rpx;
  800. text-align: center;
  801. font-size:30rpx;
  802. color: #FFFFFF;
  803. margin-top: 62rpx;
  804. margin-left:71rpx;
  805. }
  806. .sstopInput{
  807. width: 626rpx;
  808. height: 72rpx;
  809. background: #F4F5F7;
  810. border-radius: 36rpx;
  811. line-height: 72rpx;
  812. font-size: 28rpx;
  813. padding-left: 76rpx;
  814. }
  815. .sstop{
  816. position: fixed;
  817. padding-top: 24rpx;
  818. padding-left: 24rpx;
  819. background: #ffffff;
  820. width: 100vw;
  821. top: 0rpx;
  822. left: 0;
  823. padding-bottom: 20rpx;
  824. }
  825. .sstopimg{
  826. width: 40rpx;
  827. height: 40rpx;
  828. position: absolute;
  829. left: 44rpx;
  830. top: 40rpx;
  831. }
  832. .inputCh{
  833. width:40rpx;
  834. height: 40rpx;
  835. position: absolute;
  836. right: 60rpx;
  837. top: 40rpx;
  838. z-index: 11;
  839. }
  840. </style>