meobohui.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <template>
  2. <view class="container home clearfix">
  3. <!-- top -->
  4. <view class="container-top"><image src="http://static-b.caimei365.com/app/meibohui/meibo@_05.jpg" mode=""></image></view>
  5. <view class="container-activ" @click="LookMyCouponDetils"><image src="http://static-b.caimei365.com/app/meibohui/meibo@_03.jpg" mode=""></image></view>
  6. <!-- VIP品牌线上馆 -->
  7. <view class="container-page clearfix">
  8. <view class="tui-group-name">
  9. <view class="tui-group-title">
  10. <view class="tui-group-l">VIP品牌线上馆</view>
  11. </view>
  12. <view class="tui-sub__desc">VIP品牌线上馆描述词</view>
  13. </view>
  14. <view class="tui-group-list">
  15. <view class="floor-item-vip" v-for="(vips,index) in supplierList1" :key="index" @click="goSupplier(supps.id)">
  16. <image :src="vips.image" class="floor-item-image" mode=""></image>
  17. </view>
  18. </view>
  19. </view>
  20. <!-- 参展商 -->
  21. <view class="container-page clearfix">
  22. <view class="tui-group-name">
  23. <view class="tui-group-title">
  24. <view class="tui-group-l">参展商</view>
  25. <view class="tui-group-r" @click="NavToDetailPage('/h5/pages/activity/meobohui-supplier')">
  26. <text>更多</text>
  27. <text class="iconfont icon-xiayibu"></text>
  28. </view>
  29. </view>
  30. <view class="tui-sub__desc">参展商描述词</view>
  31. </view>
  32. <view class="tui-group-list">
  33. <view class="floor-item-sup" v-for="(supps,index) in supplierList2" :key="index" @click="goSupplier(supps.id)">
  34. <image :src="supps.image" class="floor-item-image" mode=""></image>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 现场直击 -->
  39. <view class="container-page clearfix">
  40. <view class="tui-group-name">
  41. <view class="tui-group-title">
  42. <view class="tui-group-l">现场直击</view>
  43. </view>
  44. <view class="tui-sub__desc">现场直击描述词</view>
  45. </view>
  46. <view class="tui-group-scroll clearfix">
  47. <scroll-view scroll-x>
  48. <view class="floor-item__list">
  49. <view class="floor-item__live" v-for="(lives,index) in liveList" :key="index" @click="LiveGoPathPros(lives)">
  50. <view class="floor-item__image">
  51. <image :src="lives.image" mode=""></image>
  52. </view>
  53. <view class="floor-item__text">{{lives.liveTitle}}</view>
  54. </view>
  55. </view>
  56. </scroll-view>
  57. </view>
  58. </view>
  59. <!-- 展位图 -->
  60. <view class="container-page clearfix">
  61. <view class="tui-group-name">
  62. <view class="tui-group-title">
  63. <view class="tui-group-l">展位图</view>
  64. <view class="tui-group-r" @click="NavToDetailPage('/h5/pages/activity/meobohui-booth')">
  65. <text>更多</text>
  66. <text class="iconfont icon-xiayibu"></text>
  67. </view>
  68. </view>
  69. <view class="tui-sub__desc">展位图描述词</view>
  70. </view>
  71. <view class="tui-group-list">
  72. <view class="floor-item-booth" v-for="(booths,index) in boothList" :key="index" @click="previewImg(index)">
  73. <view class="floor-item-booth-image">
  74. <image :src="booths.image" class="floor-item-image" mode=""></image>
  75. </view>
  76. <view class="floor-item-text">
  77. <view class="floor-item-p one">{{booths.name}}</view>
  78. <view class="floor-item-p two">展位号:{{booths.num}}</view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. <!-- 供应商商品楼层 -->
  84. <view class="container-page clearfix" v-for="(floors,index) in flootData" :key="index">
  85. <view class="tui-group-name">
  86. <view class="tui-group-title">
  87. <view class="tui-group-l">{{floors.shopName}}</view>
  88. <view class="tui-group-r" @click="goSupplier(floors.shopId)">
  89. <text>更多</text>
  90. <text class="iconfont icon-xiayibu"></text>
  91. </view>
  92. </view>
  93. <view class="tui-sub__desc">{{ floors.marke }}</view>
  94. </view>
  95. <view class="tui-group-good__scroll clearfix">
  96. <scroll-view scroll-x>
  97. <view class="floor-good__list">
  98. <view class="floor-item ad_04 clearfix" v-for="(product, idx) in floors.productSet" :key="idx" @click.stop="RouterDetailPage(product.productID)">
  99. <image class="item-img tui-skeleton-fillet" :src="product.mainImage" mode="aspectFill"></image>
  100. <view class="floor-item-content">
  101. <view class="title tui-skeleton-rect">
  102. <text class="mclap-tag">美博会</text>
  103. <text class="mclap">{{product.name}}</text>
  104. </view>
  105. <view class="floor-item-price">
  106. <view class="floor-item-act">
  107. <template v-if="userIdentity === 3">
  108. <template v-if="product.actStatus===1">
  109. <view class="floor-tags" v-if="PromotionsFormat(product.promotions)">
  110. {{product.promotions.name}}
  111. <text v-if="hasLogin && product.price1TextFlag != 1 && product.shopID == shopId">:¥{{product.retailPrice | NumFormat}}</text>
  112. </view>
  113. <view class="floor-tags" v-else>{{product.promotions.name}}</view>
  114. </template>
  115. <template v-if="product.actStatus ===0 && product.ladderPriceFlag===1">
  116. <view class="floor-tags">阶梯价格</view>
  117. </template>
  118. </template>
  119. <template v-else>
  120. <template v-if="product.actStatus===1">
  121. <view class="floor-tags" v-if="PromotionsFormat(product.promotions)">
  122. {{product.promotions.name}}
  123. <text v-if="hasLogin && product.price1TextFlag != 1">:¥{{product.retailPrice | NumFormat}}</text>
  124. </view>
  125. <view class="floor-tags" v-else>{{product.promotions.name}}</view>
  126. </template>
  127. <template v-if="product.actStatus ===0 && product.ladderPriceFlag===1">
  128. <view class="floor-tags">阶梯价格</view>
  129. </template>
  130. </template>
  131. </view>
  132. <view v-if="hasLogin">
  133. <template v-if="product.productCategory == 1">
  134. <template v-if="userIdentity == 3">
  135. <template v-if="product.shopID == shopId">
  136. <view class="title-none" v-if="product.price1TextFlag === '1'">
  137. <text class="p big">¥未公开价格</text>
  138. </view>
  139. <view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(product.promotions) ? 'none' : ''">
  140. <text class="p sm">¥</text>
  141. <text class="p big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice ) | NumFormat}}</text>
  142. </view>
  143. </template>
  144. <template v-else>
  145. <view class="no-price">
  146. <view class="p-stars">
  147. <text class="p-no">¥</text>
  148. <uni-grader :grade="Number(product.price1Grade)" :margin="14"></uni-grader>
  149. </view>
  150. </view>
  151. </template>
  152. </template>
  153. <template v-else-if="userIdentity ===4">
  154. <view class="title-none" v-if="product.price1TextFlag === '1'">
  155. <text class="p big">¥未公开价格</text>
  156. </view>
  157. <view class="title-none" v-if="product.price1TextFlag === '2'">
  158. <text class="p big">¥价格仅会员可见</text>
  159. </view>
  160. <view class="price tui-skeleton-rect" v-if="product.price1TextFlag === '0'" :class="PromotionsFormat(product.promotions) ? 'none' : ''">
  161. <text class="p sm">¥</text>
  162. <text class="p big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice ) | NumFormat}}</text>
  163. </view>
  164. </template>
  165. <template v-else>
  166. <view class="title-none" v-if="product.price1TextFlag === '1'">
  167. <text class="p big">¥未公开价格</text>
  168. </view>
  169. <view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(product.promotions) ? 'none' : ''">
  170. <text class="p sm">¥</text>
  171. <text class="p big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice ) | NumFormat}}</text>
  172. </view>
  173. </template>
  174. </template>
  175. <template v-else>
  176. <view class="price tui-skeleton-rect">
  177. <text class="p sm">¥</text>
  178. <text class="p big">{{ product.retailPrice | NumFormat }}</text>
  179. </view>
  180. </template>
  181. </view>
  182. <view v-else class="no-price">
  183. <template>
  184. <view class="p-stars">
  185. <text class="p-no">¥</text>
  186. <uni-grader :grade="Number(product.price1Grade)" :margin="14"></uni-grader>
  187. </view>
  188. </template>
  189. </view>
  190. </view>
  191. </view>
  192. </view>
  193. </view>
  194. </scroll-view>
  195. </view>
  196. </view>
  197. <!-- 侧边 -->
  198. <scroll-top :isScrollTop="isScrollTop" :bottom="50"></scroll-top>
  199. <!-- 透明模态层 -->
  200. <modal-layer v-if='isModallayer'></modal-layer>
  201. </view>
  202. </template>
  203. <script>
  204. import authorize from '@/common/config/authorize.js'
  205. import uniGrader from '@/components/uni-grade/uni-grade.vue'
  206. import modalLayer from "@/components/modal-layer"
  207. import { userInfoLogin } from "@/api/use.js"
  208. import { mapState,mapMutations} from 'vuex';
  209. var isPreviewImg;
  210. export default {
  211. components:{
  212. uniGrader,
  213. modalLayer
  214. },
  215. data() {
  216. return {
  217. userID:0,
  218. current:0,
  219. mode:'round',
  220. isModallayer:false,
  221. isLogin:false,
  222. skeletonShow: true,
  223. userIdentity:'',
  224. supplierList1:[
  225. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup@_01.png',id:23456},
  226. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup@_02.png',id:23456},
  227. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup@_03.png',id:23456},
  228. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup@_03.png',id:23456}
  229. ],
  230. supplierList2:[
  231. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  232. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  233. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  234. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  235. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  236. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  237. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456},
  238. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo@_01.png',id:23456}
  239. ],
  240. liveList:[
  241. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_01.png',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'},
  242. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_02.png',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'},
  243. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_01.png',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'},
  244. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_02.png',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'}
  245. ],
  246. boothList:[
  247. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img@_01.png',name:'采美信息技术有限公司',num:'21F'},
  248. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img@_02.png',name:'采美信息技术有限公司',num:'21F'},
  249. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img@_03.png',name:'采美信息技术有限公司',num:'21F'},
  250. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img@_04.png',name:'采美信息技术有限公司',num:'21F'}
  251. ],
  252. SuppierNoteList:[
  253. {shopId:1161,marke:'我的描述文件'}
  254. ],
  255. flootData:[],//楼层
  256. isScrollTop:false,
  257. isRequest:false,
  258. isNavRequest:false,
  259. isLiveRequest:false,
  260. productImage:[],
  261. }
  262. },
  263. onLoad() {
  264. this.modallayer = false
  265. this.$api.getComStorage('userInfo').then((resolve) =>{
  266. this.clubStatus = resolve.clubStatus
  267. this.userID = resolve.userID ? resolve.userID : 0;
  268. this.shopId = resolve.shopID ? resolve.shopID : 0;
  269. this.userIdentity = resolve.userIdentity
  270. this.GetActitityInit()
  271. }).catch(error =>{
  272. this.GetActitityInit()
  273. })
  274. },
  275. filters: {
  276. NumFormat:function(text) {//处理金额
  277. return Number(text).toFixed(2);
  278. }
  279. },
  280. computed: {
  281. ...mapState(['hasLogin','userInfo','identity','isActivity'])
  282. },
  283. methods: {
  284. ...mapMutations(['login','logout']),
  285. LookMyCouponDetils(){//点击优惠券 跳转处理
  286. if(this.login){
  287. if(this.userIdentity == 2 || this.userIdentity == 4){
  288. this.$api.navigateTo('/pages/user/coupon/coupon')
  289. }else if(this.userIdentity == 3){
  290. this.$api.navigateTo('/supplier/pages/index/index')
  291. }else{
  292. return;
  293. }
  294. }else{
  295. this.$api.navigateTo('/pages/login/login')
  296. }
  297. },
  298. GetActitityInit(){
  299. this.ActivityService.GetRepeatActivityFloorData({userId:this.userID}).then(response =>{
  300. this.flootData = this.ReturnNewFlootData(response.data,this.SuppierNoteList)
  301. console.log(this.flootData);
  302. //处理商品图片列表
  303. this.productImage =[]
  304. this.boothList.forEach(item =>{
  305. this.productImage.push(item.image);
  306. })
  307. }).catch(error =>{
  308. this.$util.msg(error.msg,2000)
  309. })
  310. },
  311. ReturnNewFlootData(listA,listB){
  312. let NewArray = []
  313. listA.map(item=>{
  314. for (let i = 0; i < listB.length; i++) {
  315. if( item.shopId == listB[i].shopId ){
  316. NewArray.push(Object.assign(item,listB[i]))
  317. }
  318. }
  319. });
  320. return NewArray
  321. },
  322. NavToDetailPage(path){
  323. this.$api.navigateTo(path)
  324. },
  325. RouterDetailPage(id) {
  326. this.isModallayer = true;
  327. this.$api.navigateTo(`/pages/goods/product?id=${id}`);
  328. this.isModallayer = false;
  329. },
  330. goSupplier(value){//跳供应商资料页
  331. this.$api.navigateTo('/supplier/pages/user/my-shop?shopId='+value)
  332. },
  333. LiveGoPathPros(live){
  334. this.$api.navigateTo(`/h5/pages/article/page-image?title=${live.optionTitle}&image=${live.image}`)
  335. },
  336. PromotionsFormat(promo){//促销活动类型数据处理
  337. if(promo!=null){
  338. if(promo.type == 1 && promo.mode == 1){
  339. return true
  340. }else{
  341. return false
  342. }
  343. }
  344. return false
  345. },
  346. previewImg (index) {//顶部商品图片预览
  347. // isPreviewImg = true
  348. let previewUrls = this.productImage
  349. uni.previewImage({
  350. current: index, //图片索引
  351. urls: previewUrls, //必须是http图片,本地图片无效
  352. longPressActions:''
  353. })
  354. },
  355. },
  356. onPageScroll(e){//实时获取到滚动的值
  357. if(e.scrollTop>400){
  358. this.isScrollTop = true
  359. }else{
  360. this.isScrollTop = false
  361. }
  362. },
  363. onPullDownRefresh() {//下拉刷新
  364. this.GetActitityInit()
  365. uni.stopPullDownRefresh()
  366. },
  367. onShareAppMessage(res){//分享转发
  368. if (res.from === 'button') {
  369. // 来自页面内转发按钮
  370. }
  371. return {
  372. title: '生美医美正品采购服务平台',
  373. path: '/h5/pages/activity/meobohui',
  374. imageUrl:'https://static.caimei365.com/app/img/bg/min-banner.jpg'
  375. }
  376. },
  377. onShow(){
  378. }
  379. }
  380. </script>
  381. <style lang="scss">
  382. page{
  383. background-color: #F7F7F7;
  384. }
  385. .container-top{
  386. width: 100%;
  387. height: 500rpx;
  388. float: left;
  389. image{
  390. width: 100%;
  391. height: 100%;
  392. display: block;
  393. }
  394. }
  395. .container-activ{
  396. width: 100%;
  397. height: 240rpx;
  398. box-sizing: border-box;
  399. padding: 0 24rpx;
  400. margin: 24rpx 0;
  401. float: left;
  402. image{
  403. width: 100%;
  404. height: 240rpx;
  405. display: block;
  406. }
  407. }
  408. .container-page{
  409. background-color: #F7F7F7;
  410. width: 100%;
  411. height: auto;
  412. box-sizing: border-box;
  413. padding: 0 24rpx;
  414. float: left;
  415. }
  416. .tui-group-name {
  417. width: 100%;
  418. height: 92rpx;
  419. padding: 20rpx 0;
  420. }
  421. .tui-group-title{
  422. width: 100%;
  423. float: left;
  424. .tui-group-l{
  425. float: left;
  426. font-size: 34rpx;
  427. font-weight: bold;
  428. text-align: left;
  429. line-height: 49rpx;
  430. color: #333;
  431. }
  432. .tui-group-r{
  433. float: right;
  434. font-size: $font-size-26;
  435. text-align: right;
  436. line-height: 49rpx;
  437. color: #999999;
  438. .icon-xiayibu{
  439. font-size: $font-size-30;
  440. color: #999999;
  441. }
  442. }
  443. }
  444. .tui-sub__desc {
  445. width: 100%;
  446. float: left;
  447. color: rgba(153,153,153,0.9);
  448. font-size: $font-size-26;
  449. }
  450. .tui-group-list{
  451. width: 100%;
  452. height: auto;
  453. .floor-item-vip{
  454. width: 339rpx;
  455. height: 240rpx;
  456. float: left;
  457. margin-right: 24rpx;
  458. margin-bottom: 24rpx;
  459. &:nth-child(2n){
  460. margin-right: 0;
  461. }
  462. .floor-item-image{
  463. width: 100%;
  464. height: 100%;
  465. display: block;
  466. }
  467. }
  468. .floor-item-sup{
  469. width: 162rpx;
  470. height: 162rpx;
  471. float: left;
  472. margin-right: 18rpx;
  473. margin-bottom: 24rpx;
  474. &:nth-child(4n){
  475. margin-right: 0;
  476. }
  477. .floor-item-image{
  478. width: 100%;
  479. height: 100%;
  480. display: block;
  481. }
  482. }
  483. .floor-item-booth{
  484. width: 339rpx;
  485. height: 382rpx;
  486. float: left;
  487. margin-right: 24rpx;
  488. margin-bottom: 24rpx;
  489. background-color: #FFFFFF;
  490. border-radius: 16rpx;
  491. &:nth-child(2n){
  492. margin-right: 0;
  493. }
  494. .floor-item-booth-image{
  495. width: 100%;
  496. height: 240rpx;
  497. .floor-item-image{
  498. width: 100%;
  499. height: 100%;
  500. display: block;
  501. }
  502. }
  503. .floor-item-text{
  504. width: 100%;
  505. height: 142rpx;
  506. box-sizing: border-box;
  507. padding: 31rpx 16rpx;
  508. .floor-item-p{
  509. width: 100%;
  510. line-height: 40rpx;
  511. text-align: left;
  512. font-size: $font-size-24;
  513. white-space: nowrap;
  514. text-overflow: ellipsis;
  515. overflow: hidden;
  516. &.one{
  517. color: #333333;
  518. }
  519. &.two{
  520. color: #999999;
  521. }
  522. }
  523. }
  524. }
  525. }
  526. .tui-group-scroll{
  527. width: 100%;
  528. height:392rpx;
  529. float: left;
  530. background-color: #F7F7F7;
  531. box-sizing: border-box;
  532. background-color: #F7F7F7;
  533. overflow: hidden;
  534. display: flex;
  535. align-items: center;
  536. .floor-item__list {
  537. display: flex;
  538. align-items: center;
  539. }
  540. .floor-item__live {
  541. background-color: #fff;
  542. width: 310rpx;
  543. height: 392rpx;
  544. border-radius: 16rpx;
  545. box-sizing: border-box;
  546. margin-right: 16rpx;
  547. .floor-item__image{
  548. width: 310rpx;
  549. height: 310rpx;
  550. float: left;
  551. image{
  552. width: 100%;
  553. height: 100%;
  554. display: block;
  555. }
  556. }
  557. .floor-item__text{
  558. width: 100%;
  559. height: 82rpx;
  560. line-height: 82rpx;
  561. box-sizing: border-box;
  562. padding: 0 24rpx;
  563. text-align: center;
  564. font-size: $font-size-24;
  565. color: #333333;
  566. white-space: nowrap;
  567. text-overflow: ellipsis;
  568. overflow: hidden;
  569. }
  570. }
  571. }
  572. .tui-group-good__scroll{
  573. .floor-good__list{
  574. display: flex;
  575. align-items: center;
  576. }
  577. .floor-item{
  578. width: 310rpx;
  579. height: 516rpx;
  580. margin-right: 20rpx;
  581. font-size: $font-size-24;
  582. color: $text-color;
  583. background: #FFFFFF;
  584. line-height: 36rpx;
  585. border-radius: 16rpx;
  586. margin-bottom: 20rpx;
  587. float: left;
  588. box-sizing: border-box;
  589. position: relative;
  590. .item-img{
  591. width: 310rpx;
  592. height: 310rpx;
  593. border-radius: 16rpx 16rpx 0 0;
  594. display: block;
  595. margin-bottom: 8rpx;
  596. }
  597. .floor-item_tag{
  598. width: 100%;
  599. height: 32rpx;
  600. float: left;
  601. margin: 20rpx 0;
  602. padding: 0 20rpx;
  603. box-sizing: border-box;
  604. text{
  605. display: inline-block;
  606. padding: 0 8rpx;
  607. border: 1px solid #e3ebf7;
  608. border-radius: 8rpx ;
  609. color: #9aa5b5;
  610. font-size: $font-size-22;
  611. line-height: 32rpx;
  612. text-align: center;
  613. float: left;
  614. }
  615. }
  616. .floor-item-content{
  617. width: 100%;
  618. padding: 0 20rpx;
  619. box-sizing: border-box;
  620. }
  621. .floor-item-act{
  622. display: block;
  623. width: 100%;
  624. height: 32rpx;
  625. text-align: center;
  626. box-sizing: border-box;
  627. }
  628. .floor-tags{
  629. height: 28rpx;
  630. border-radius: 6rpx;
  631. background-color: #FFFFFF;
  632. line-height: 28rpx;
  633. color: $color-system;
  634. text-align: center;
  635. display: inline-block;
  636. padding:0 16rpx;
  637. font-size: $font-size-20;
  638. border: 1px solid #E15616;
  639. float: left;
  640. }
  641. .title-none{
  642. font-size: $font-size-26;
  643. color: #FF2A2A;
  644. line-height: 54rpx;
  645. }
  646. .title{
  647. width: 100%;
  648. height: 70rpx;
  649. display: flex;
  650. line-height: 35rpx;
  651. flex-direction: column;
  652. margin: 20rpx 0 10rpx 0;
  653. padding: 0;
  654. position: relative;
  655. .mclap{
  656. width: 100%;
  657. line-height:35rpx;
  658. text-overflow:ellipsis;
  659. display: -webkit-box;
  660. word-break: break-all;
  661. -webkit-box-orient: vertical;
  662. -webkit-line-clamp: 2;
  663. overflow: hidden;
  664. font-size: 26rpx;
  665. text-indent: 95rpx;
  666. }
  667. .mclap-tag{
  668. display: block;
  669. width: 84rpx;
  670. height: 32rpx;
  671. background-image: linear-gradient(270deg, #f9c023 0%, #f83600 100%);
  672. border-radius: 4rpx 48rpx 4px 4px;
  673. line-height: 32rpx;
  674. font-size: $font-size-22;
  675. color: #FFFFFF;
  676. text-align: center;
  677. position: absolute;
  678. left: 0;
  679. top: 0;
  680. }
  681. }
  682. .no-price{
  683. height: 54rpx;
  684. line-height: 54rpx;
  685. display: flex;
  686. box-sizing: border-box;
  687. .p-no{
  688. font-size: $font-size-28;
  689. color: $text-color;
  690. display: block;
  691. float: left;
  692. }
  693. .p-stars{
  694. float: left;
  695. }
  696. }
  697. .price{
  698. color: #FF2A2A;
  699. line-height:54rpx;
  700. &.none{
  701. text-decoration: line-through;
  702. color: #999999;
  703. }
  704. .sm{
  705. font-size: $font-size-24;
  706. }
  707. .big{
  708. font-size: $font-size-28;
  709. }
  710. }
  711. }
  712. }
  713. .container-section{
  714. width: 100%;
  715. height: auto;
  716. background-color: #F7F7F7;
  717. }
  718. </style>