store_details.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. <template>
  2. <view class="container">
  3. <view class="tui-shop__info">
  4. <image :src="storeDetail.store_logo" class="tui-logo"></image>
  5. <view class="tui-shop__desc">
  6. <view class="tui-shop__name">
  7. <text>{{storeDetail.title}}</text>
  8. </view>
  9. <view class="tui-shop__rate" @tap="storeopenLocation">
  10. <!--<view class="tui-rate__box"><tui-rate :current="5" :score="0.6" disabled :size="12"></tui-rate></view>-->
  11. <view class="tui-shop__address">{{storeDetail.address}}<image src="/static/images/map.png" class="map-img"> </image><text
  12. style="color: #fff;">导航到这里</text></view>
  13. </view>
  14. </view>
  15. <!--
  16. <view class="tui-btn__follow">
  17. <tui-button :size="24" width="116rpx" height="48rpx" shape="circle" type="danger">
  18. <tui-icon name="like" color="#fff" :size="24" unit="rpx"></tui-icon>
  19. <text class="tui-follow__text">关注</text>
  20. </tui-button>
  21. <tui-button :size="24" width="116rpx" height="48rpx" shape="circle" type="white" disabled>已关注</tui-button>
  22. </view>-->
  23. </view>
  24. <tui-tabs @change="change" :currentTab="current" :tabs="tabs" itemWidth="33%" backgroundColor="#5796fd"
  25. color="rgba(255,255,255,.7)" selectedColor="#fff" sliderBgColor="#fff" bottom="8rpx" unlined :size="30"
  26. :sliderWidth="60"></tui-tabs>
  27. <!--=======推荐 start=======-->
  28. <view class="tui-items__1 tui-padding" v-if="current == 0">
  29. <block v-if="is_recommendgoods==1">
  30. <view class="tui-ranking__header">
  31. <view class="tui-ranking__title">平台推荐</view>
  32. </view>
  33. <view class="tui-ranking__list">
  34. <view class="tui-ranking__item" @tap="detail(item.id)" v-for="(item, index) in recommendgoods"
  35. v-if="index<3" :key="index">
  36. <image :src="item.pic"></image>
  37. <view class="tui-ranking__gtitle">{{ item.name }}</view>
  38. <view class="tui-sale-price">¥{{ item.price }}</view>
  39. </view>
  40. </view>
  41. </block>
  42. <view class="tui-recommend__title">服务/商品</view>
  43. <view class="tui-recommend__item" @tap="detail(item.id)" v-for="(item, index) in goodsList" :key="index">
  44. <image :src="item.pic" class="tui-rg__img" mode="widthFix"></image>
  45. <view class="tui-recommend__right">
  46. <view class="tui-rg__title">
  47. {{ item.name }}
  48. </view>
  49. <view class="tui-sale-price">¥{{ item.price }}</view>
  50. <view v-if="item.sale_count>1" class="tui-rg__interested">
  51. <tui-icon name="like" :size="26" unit="rpx" color="#EB0909"></tui-icon>
  52. <text class="tui-interested__num">{{ item.sale_count }}人购买</text>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. <!--=======推荐 end=======-->
  58. <!--=======活动 start=======-->
  59. <view class="tui-items__3 tui-padding" v-if="current == 1">
  60. <view class="tui-activity__box">
  61. <view class="tui-activity__title">用户评价</view>
  62. <!--
  63. <view class="tui-activity__item" @tap="detail" v-for="(item, index) in 12" :key="index">
  64. <image :src="`/static/images/product/${index % 2 == 0 ? 4 : 3}.jpg`"></image>
  65. <view class="tui-activity__right">
  66. <view class="tui-ag__title">水星家纺 豪华大床四件套豪华大床四件套豪华大床四件套</view>
  67. <view class="tui-flex tui-ag__tag"><tui-tag plain type="danger" padding="8rpx 12rpx" size="24rpx" margin="0 8rpx 0 0">优惠促销</tui-tag></view>
  68. <view class="tui-ag__bottom">
  69. <view class="tui-flex">
  70. <view class="tui-ag__discount">
  71. <text>4.5</text>
  72. </view>
  73. <view class="tui-ag__original">¥10</view>
  74. </view>
  75. <view class="tui-ag__btn">
  76. <view>已低至4.5折</view>
  77. <view class="tui-btn__text">立即抢购</view>
  78. </view>
  79. </view>
  80. </view>
  81. </view>-->
  82. </view>
  83. </view>
  84. <!--=======活动 end=======-->
  85. <!--=======新品 start=======-->
  86. <view class="tui-items__4" v-if="current == 2">
  87. <view class="tui-score__bg"></view>
  88. <view class="tui-info__box">
  89. <view class="tui-score__box tui-common__box">
  90. <view class="tui-flex__center">
  91. <text>店铺星级</text>
  92. <view class="tui-rate__box">
  93. <tui-rate :current="5" :score="0.6" disabled :size="12"></tui-rate>
  94. </view>
  95. </view>
  96. <view class="tui-flex__center">
  97. <text>用户评价</text>
  98. <view class="tui-score tui-color__red">
  99. <text>9.90分</text>
  100. <text>高</text>
  101. </view>
  102. </view>
  103. <view class="tui-flex__center">
  104. <text>专业程度</text>
  105. <view class="tui-score tui-color__red">
  106. <text>9.99分</text>
  107. <text>高</text>
  108. </view>
  109. </view>
  110. <view class="tui-flex__center">
  111. <text>服务态度</text>
  112. <view class="tui-score tui-color__green">
  113. <text>8.95分</text>
  114. <text>低</text>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="tui-common__box tui-top__20">
  119. <!--<tui-list-cell arrow>证照信息</tui-list-cell>-->
  120. <tui-list-cell arrow unlined @click="qrcode">店铺二维码</tui-list-cell>
  121. </view>
  122. <view class="tui-common__box tui-top__20">
  123. <tui-list-cell :hover="false">
  124. <view class="tui-flex">
  125. <text class="tui-text__shrink">店铺简介</text>
  126. <text class="tui-sub__info">{{storeDetail.content}}</text>
  127. </view>
  128. </tui-list-cell>
  129. <tui-list-cell :hover="false">
  130. <view class="tui-flex">
  131. <text class="tui-text__shrink">地址</text>
  132. <text class="tui-sub__info">{{storeDetail.province_name}}{{storeDetail.city_name}}{{storeDetail.district_name}}<br />{{storeDetail.address}}</text>
  133. </view>
  134. </tui-list-cell>
  135. <tui-list-cell :hover="false" unlined>
  136. <view class="tui-flex">
  137. <text class="tui-text__shrink">开店时间</text>
  138. <text class="tui-sub__info">{{storeDetail.create_time}}</text>
  139. </view>
  140. </tui-list-cell>
  141. </view>
  142. </view>
  143. </view>
  144. <!--=======新品 end=======-->
  145. <!--=======二维码 start=======-->
  146. <tui-modal custom :show="modalShow" backgroundColor="transparent" padding="0" @cancel="hideModal">
  147. <view class="tui-poster__box" :style="{marginTop:height+'px'}">
  148. <image src="/static/images/mall/icon_popup_closed.png" class="tui-close__img" @tap.stop="hideModal">
  149. </image>
  150. <image :src="qrcodeImg" v-if="qrcodeImg" class="tui-poster__img"></image>
  151. <tui-button type="danger" width="460rpx" height="80rpx" shape="circle" @click="savePic">保存图片
  152. </tui-button>
  153. <view class="tui-share__tips">保存二维图片到手机相册后,分享到您的圈子</view>
  154. </view>
  155. </tui-modal>
  156. <!--=======二维码 end=======-->
  157. </view>
  158. </template>
  159. <script>
  160. export default {
  161. components: {},
  162. data() {
  163. return {
  164. uid: '',
  165. width: 350,
  166. height: 64,
  167. modalShow: false,
  168. qrcodeImg: '',
  169. statusBarHeight: 20,
  170. tabs: [{
  171. name: '服务/商品'
  172. },
  173. {
  174. name: '评价'
  175. },
  176. {
  177. name: '商家简介'
  178. }
  179. ],
  180. is_recommendgoods:'',
  181. storeDetail: {},
  182. current: 0,
  183. recommendgoods: [],
  184. rankingTab: 0,
  185. goodsList: []
  186. };
  187. },
  188. onLoad: function(e) {
  189. const _this = this;
  190. if (e && e.scene) {
  191. const scene = decodeURIComponent(e.scene) // 处理扫码进商品详情页面的逻辑
  192. if (scene) {
  193. e.id = scene.split(',')[0]
  194. if (scene.split(',')[1]) {
  195. e.reid = scene.split(',')[1];
  196. }
  197. }
  198. }
  199. if (e.reid) {
  200. uni.setStorageSync('reid', e.reid)
  201. }
  202. _this.sam.login().then(res => {
  203. if (res.uid > 0) {
  204. _this.uid = res.uid;
  205. if (uni.getStorageSync('reid')) {
  206. _this.$request.get('member.bindpid', {
  207. samkey: (new Date()).valueOf(),
  208. pid: uni.getStorageSync('reid')
  209. }).then(res => {
  210. if (res.errno == 0) {
  211. console.log('pid绑定成功');
  212. }
  213. })
  214. }
  215. }
  216. });
  217. this.getStoreDetail(e.id);
  218. _this.$request.get('Goods.recommend').then(res => {
  219. if (res.errno == 0) {
  220. _this.recommendgoods = res.data;
  221. }
  222. });
  223. _this.$request.post('Goods.index',{sid:e.id}).then(res => {
  224. if (res.errno == 0) {
  225. _this.goodsList = res.data.data;
  226. }
  227. });
  228. },
  229. methods: {
  230. getStoreDetail(sId) {
  231. const _this = this;
  232. _this.$request.get('store.detail', {
  233. id: sId
  234. }).then(res => {
  235. if (res.errno == 0) {
  236. _this.storeDetail = res.data
  237. if(_this.storeDetail.storeconfig){
  238. _this.is_recommendgoods = _this.storeDetail.storeconfig.is_recommendgoods
  239. }
  240. }
  241. });
  242. },
  243. storeopenLocation: function() {
  244. uni.openLocation({
  245. latitude: Number(this.storeDetail.latitude), //要去的纬度-地址
  246. longitude: Number(this.storeDetail.longitude), //要去的经度-地址
  247. address: this.storeDetail.region_name,
  248. success: function() {
  249. console.log('success');
  250. },
  251. fail: function() {
  252. console.log('fail');
  253. }
  254. })
  255. },
  256. initHeader(e) {
  257. this.width = Number(e.left);
  258. this.height = Number(e.height);
  259. this.statusBarHeight = Number(e.statusBarHeight);
  260. this.bubbleTop = this.height + 6 + 'px';
  261. },
  262. change(e) {
  263. this.current = e.index;
  264. },
  265. detail(id) {
  266. this.tui.href('/pages/goodsDetail/goodsDetail?id=' + id);
  267. },
  268. async qrcode() {
  269. const _this = this;
  270. if (this.qrcodeImg) {
  271. this.modalShow = true;
  272. return;
  273. }
  274. uni.showLoading({
  275. mask: true,
  276. title: '二维生成中...'
  277. });
  278. let qrdata = await _this.$request.post('qrcode.store', {
  279. sid: _this.storeDetail.id,
  280. page: '',
  281. is_hyaline: true,
  282. expireHours: 1
  283. })
  284. //console.log(qrdata);
  285. if (qrdata.errno == 0) {
  286. uni.hideLoading();
  287. this.qrcodeImg = qrdata.data;
  288. setTimeout(() => {
  289. this.modalShow = true;
  290. }, 60);
  291. } else {
  292. uni.hideLoading();
  293. this.tui.toast('生成二维图片失败,请稍后再试');
  294. }
  295. },
  296. hideModal() {
  297. this.modalShow = false;
  298. },
  299. savePic() {
  300. if (this.qrcodeImg) {
  301. // #ifdef H5
  302. uni.previewImage({
  303. urls: [this.qrcodeImg]
  304. });
  305. // #endif
  306. // #ifndef H5
  307. this.sam.saveImage(this.qrcodeImg);
  308. //console.log(this.qrcodeImg);
  309. // #endif
  310. this.hideModal();
  311. }
  312. },
  313. },
  314. /**
  315. * 页面相关事件处理函数--监听用户下拉动作
  316. */
  317. onPullDownRefresh: function() {
  318. setTimeout(() => {
  319. uni.stopPullDownRefresh()
  320. }, 200);
  321. },
  322. //发送给朋友
  323. onShareAppMessage: function() {
  324. let _this = this;
  325. //console.log(_this.uid);
  326. return {
  327. title: _this.storeDetail.title || "",
  328. path: "/pages/store_details/store_details?id=" + _this.storeDetail.id + "&reid=" + _this.uid,
  329. };
  330. },
  331. onShareTimeline(res) { //分享到朋友圈
  332. return {}
  333. },
  334. };
  335. </script>
  336. <style>
  337. .tui-header {
  338. width: 100%;
  339. display: flex;
  340. align-items: center;
  341. padding: 0 8rpx;
  342. box-sizing: border-box;
  343. }
  344. .tui-back__box {
  345. padding-right: 12rpx;
  346. padding-left: 4rpx;
  347. flex-shrink: 0;
  348. }
  349. .tui-menu__box {
  350. padding-right: 26rpx;
  351. padding-left: 24rpx;
  352. flex-shrink: 0;
  353. }
  354. .tui-flex__center {
  355. display: flex;
  356. align-items: center;
  357. }
  358. .tui-shop__info {
  359. width: 100%;
  360. background-color: #5796fd;
  361. padding: 0 25rpx 16rpx;
  362. box-sizing: border-box;
  363. display: flex;
  364. align-items: center;
  365. color: #fff;
  366. }
  367. .tui-logo {
  368. width: 80rpx;
  369. height: 80rpx;
  370. border-radius: 6rpx;
  371. display: block;
  372. margin-right: 12rpx;
  373. flex-shrink: 0;
  374. }
  375. .tui-shop__name {
  376. width: 440rpx;
  377. font-size: 30rpx;
  378. font-weight: 500;
  379. padding-bottom: 6rpx;
  380. white-space: nowrap;
  381. overflow: hidden;
  382. text-overflow: ellipsis;
  383. }
  384. .tui-shop__rate {
  385. display: flex;
  386. align-items: center;
  387. }
  388. .tui-rate__box {
  389. background-color: rgba(255, 255, 255, 0.3);
  390. display: flex;
  391. align-items: center;
  392. border-radius: 20px;
  393. padding: 0 6rpx;
  394. margin-right: 12rpx;
  395. line-height: 13px;
  396. }
  397. .tui-shop__address {
  398. font-size: 30rpx;
  399. transform: scale(0.8);
  400. transform-origin: 0 center;
  401. }
  402. .tui-shop__follow {
  403. font-size: 25rpx;
  404. transform: scale(0.8);
  405. transform-origin: 0 center;
  406. }
  407. .tui-btn__follow {
  408. margin-left: auto;
  409. }
  410. .tui-follow__text {
  411. padding-left: 6rpx;
  412. }
  413. .tui-padding {
  414. width: 100%;
  415. padding: 0 25rpx 30rpx;
  416. box-sizing: border-box;
  417. }
  418. .tui-flex {
  419. display: flex;
  420. align-items: center;
  421. }
  422. /*========推荐 start=========*/
  423. .tui-ranking__header {
  424. width: 100%;
  425. padding: 30rpx 4rpx 24rpx;
  426. display: flex;
  427. align-items: center;
  428. justify-content: space-between;
  429. box-sizing: border-box;
  430. }
  431. .tui-ranking__title {
  432. font-size: 30rpx;
  433. }
  434. .tui-ranking__tabs {
  435. display: flex;
  436. align-items: center;
  437. justify-content: space-between;
  438. font-size: 26rpx;
  439. color: #999;
  440. }
  441. .tui-ranking__tabs view {
  442. margin-left: 40rpx;
  443. }
  444. .tui-ranking__active {
  445. color: #000;
  446. position: relative;
  447. transition: all 0.1s;
  448. }
  449. .tui-ranking__active::after {
  450. content: ' ';
  451. width: 60%;
  452. position: absolute;
  453. border-bottom: 2px solid #eb0909;
  454. border-radius: 4px;
  455. left: 20%;
  456. bottom: -10rpx;
  457. }
  458. .tui-ranking__list {
  459. width: 100%;
  460. display: flex;
  461. align-items: center;
  462. justify-content: space-between;
  463. }
  464. .tui-justify__start {
  465. justify-content: flex-start !important;
  466. }
  467. .tui-item-mr__16 {
  468. margin-right: 16rpx;
  469. }
  470. .tui-ranking__item {
  471. width: 224rpx;
  472. border-radius: 12rpx;
  473. overflow: hidden;
  474. background-color: #fff;
  475. padding-bottom: 20rpx;
  476. box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
  477. }
  478. .tui-ranking__item image {
  479. width: 224rpx;
  480. height: 224rpx;
  481. display: block;
  482. }
  483. .tui-ranking__gtitle {
  484. font-size: 24rpx;
  485. line-height: 24rpx;
  486. padding: 24rpx 12rpx 8rpx;
  487. box-sizing: border-box;
  488. white-space: nowrap;
  489. overflow: hidden;
  490. text-overflow: ellipsis;
  491. }
  492. .tui-ranking__sub {
  493. font-size: 25rpx;
  494. line-height: 25rpx;
  495. padding: 8rpx 18rpx 8rpx;
  496. transform: scale(0.8);
  497. transform-origin: 0 center;
  498. color: #999;
  499. }
  500. .tui-recommend__title {
  501. padding: 30rpx 4rpx 24rpx;
  502. font-size: 30rpx;
  503. box-sizing: border-box;
  504. }
  505. .tui-recommend__item {
  506. width: 100%;
  507. border-radius: 24rpx;
  508. background-color: #ffffff;
  509. padding: 25rpx;
  510. box-sizing: border-box;
  511. display: flex;
  512. margin-bottom: 20rpx;
  513. box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
  514. }
  515. .tui-recommend__right {
  516. width: 60%;
  517. position: relative;
  518. }
  519. .tui-rg__img {
  520. width: 240rpx;
  521. height: 240rpx;
  522. border-radius: 12rpx;
  523. flex-shrink: 0;
  524. margin-right: 20rpx;
  525. }
  526. .tui-rg__title {
  527. width: 98%;
  528. font-size: 26rpx;
  529. overflow: hidden;
  530. text-overflow: ellipsis;
  531. }
  532. .tui-sale-price {
  533. font-size: 34rpx;
  534. margin-top: 12rpx;
  535. font-weight: 500;
  536. color: #e41f19;
  537. }
  538. .tui-rg__attr {
  539. font-size: 24rpx;
  540. color: #999;
  541. background-color: #f5f5f5;
  542. display: inline-flex;
  543. align-items: center;
  544. justify-content: center;
  545. padding: 6rpx 16rpx;
  546. border-radius: 20px;
  547. transform: scale(0.8);
  548. transform-origin: 0 center;
  549. margin-top: 12rpx;
  550. }
  551. .tui-rg__interested {
  552. font-size: 24rpx;
  553. margin-top: 12rpx;
  554. }
  555. .tui-interested__num {
  556. padding-left: 8rpx;
  557. color: #999;
  558. }
  559. .tui-rg__imgbox {
  560. display: flex;
  561. align-items: center;
  562. position: absolute;
  563. bottom: 2rpx;
  564. left: 0;
  565. }
  566. .tui-rg__imgbox image {
  567. width: 84rpx;
  568. height: 84rpx;
  569. border-radius: 12rpx;
  570. margin-right: 20rpx;
  571. flex-shrink: 0;
  572. }
  573. /*=======推荐 end=======*/
  574. /*====活动========= start*/
  575. .tui-activity__box {
  576. width: 100%;
  577. padding: 25rpx;
  578. box-sizing: border-box;
  579. border-radius: 24rpx;
  580. background-color: #fff;
  581. margin-top: 20rpx;
  582. box-shadow: 0 3rpx 20rpx rgba(183, 183, 183, 0.1);
  583. }
  584. .tui-activity__title {
  585. font-size: 32rpx;
  586. line-height: 32rpx;
  587. padding-bottom: 25rpx;
  588. }
  589. .tui-activity__item {
  590. width: 100%;
  591. display: flex;
  592. margin-bottom: 32rpx;
  593. }
  594. .tui-activity__item image {
  595. width: 180rpx;
  596. height: 180rpx;
  597. border-radius: 8rpx;
  598. margin-right: 20rpx;
  599. flex-shrink: 0;
  600. }
  601. .tui-activity__right {
  602. flex: 1;
  603. overflow: hidden;
  604. position: relative;
  605. }
  606. .tui-ag__title {
  607. width: 100%;
  608. white-space: nowrap;
  609. overflow: hidden;
  610. text-overflow: ellipsis;
  611. font-size: 28rpx;
  612. }
  613. .tui-ag__bottom {
  614. width: 100%;
  615. display: flex;
  616. align-items: flex-end;
  617. justify-content: space-between;
  618. position: absolute;
  619. left: 0;
  620. bottom: 0;
  621. }
  622. .tui-ag__discount {
  623. color: #eb0909;
  624. font-size: 24rpx;
  625. }
  626. .tui-ag__discount text {
  627. font-size: 32rpx;
  628. line-height: 32rpx;
  629. }
  630. .tui-ag__original {
  631. color: #999;
  632. font-size: 24rpx;
  633. line-height: 24rpx;
  634. text-decoration: line-through;
  635. padding-left: 10rpx;
  636. }
  637. .tui-ag__tag {
  638. padding: 12rpx 0;
  639. }
  640. .tui-ag__btn {
  641. display: flex;
  642. flex-direction: column;
  643. justify-content: center;
  644. align-items: center;
  645. font-size: 24rpx;
  646. line-height: 24rpx;
  647. color: #fff;
  648. background: linear-gradient(90deg, rgb(255, 89, 38), rgb(240, 14, 44));
  649. padding: 8rpx 24rpx;
  650. border-radius: 8rpx;
  651. }
  652. .tui-btn__text {
  653. font-size: 28rpx;
  654. line-height: 28rpx;
  655. padding-top: 8rpx;
  656. }
  657. /*=====活动======== end*/
  658. /*=====新品===== start*/
  659. .tui-ptop__0 {
  660. padding-top: 0 !important;
  661. }
  662. /*======新品======= end*/
  663. .tui-score__bg {
  664. width: 100%;
  665. height: 100rpx;
  666. }
  667. .tui-score__box {
  668. width: 100%;
  669. padding: 10rpx 30rpx 30rpx;
  670. }
  671. .tui-rate__box {
  672. display: flex;
  673. align-items: center;
  674. border-radius: 20px;
  675. padding: 0 6rpx;
  676. margin-right: 12rpx;
  677. background-color: rgba(83, 83, 83, .1);
  678. line-height: 13px;
  679. }
  680. .tui-flex__center {
  681. display: flex;
  682. align-items: center;
  683. margin-top: 20rpx;
  684. }
  685. .tui-flex__center text {
  686. font-size: 24rpx;
  687. color: #999;
  688. padding-right: 50rpx;
  689. }
  690. .tui-score text {
  691. padding-right: 25rpx;
  692. }
  693. .tui-color__red text {
  694. color: #EB0909;
  695. }
  696. .tui-color__green text {
  697. color: #19be6b;
  698. }
  699. .tui-info__box {
  700. width: 100%;
  701. padding: 0 25rpx 100rpx;
  702. box-sizing: border-box;
  703. margin-top: -100rpx;
  704. }
  705. .tui-top__20 {
  706. margin-top: 20rpx;
  707. }
  708. .tui-flex {
  709. display: flex;
  710. }
  711. .tui-text__shrink {
  712. flex-shrink: 0;
  713. }
  714. .tui-sub__info {
  715. color: #999;
  716. padding-left: 40rpx;
  717. word-break: break-all;
  718. }
  719. .map-img {
  720. width: 50rpx;
  721. height: 50rpx;
  722. margin-left: 10rpx;
  723. margin-right: 10rpx;
  724. margin-top: -30rpx;
  725. margin-bottom: -10rpx;
  726. }
  727. /*二维码modal弹层*/
  728. .tui-poster__box {
  729. width: 100%;
  730. position: relative;
  731. display: flex;
  732. justify-content: center;
  733. align-items: center;
  734. flex-direction: column;
  735. }
  736. .tui-close__img {
  737. width: 48rpx;
  738. height: 48rpx;
  739. position: absolute;
  740. right: 0;
  741. top: -60rpx;
  742. }
  743. .tui-poster__img {
  744. width: 560rpx;
  745. height: 560rpx;
  746. border-radius: 20rpx;
  747. margin-bottom: 40rpx;
  748. }
  749. .tui-share__tips {
  750. font-size: 24rpx;
  751. transform: scale(0.8);
  752. transform-origin: center center;
  753. color: #ffffff;
  754. padding-top: 12rpx;
  755. }
  756. </style>