shopList.vue 20 KB

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