meobohui.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  1. <template>
  2. <view class="container home clearfix">
  3. <!-- top -->
  4. <view class="container-top"><image src="http://static-b.caimei365.com/app/meibohui/banner.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">高新科技品牌尽在采美</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.jpg',id:23456},
  226. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup_02.jpg',id:23456},
  227. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup_03.jpg',id:23456},
  228. {image:'http://static-b.caimei365.com/app/meibohui/meibo_sup_04.jpg',id:23456}
  229. ],
  230. supplierList2:[
  231. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_01.jpg',id:23456},
  232. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_02.jpg',id:23456},
  233. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_03.jpg',id:23456},
  234. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_04.jpg',id:23456},
  235. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_05.jpg',id:23456},
  236. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_06.jpg',id:23456},
  237. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_07.jpg',id:23456},
  238. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_08.jpg',id:23456},
  239. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_09.jpg',id:23456},
  240. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_10.jpg',id:23456},
  241. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_11.jpg',id:23456},
  242. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_12.jpg',id:23456},
  243. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_13.jpg',id:23456},
  244. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_14.jpg',id:23456},
  245. {image:'http://static-b.caimei365.com/app/meibohui/meibo_logo_15.jpg',id:23456},
  246. ],
  247. liveList:[
  248. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_01.jpg',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'},
  249. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_02.jpg',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'},
  250. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_01.jpg',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'},
  251. {image:'http://static-b.caimei365.com/app/meibohui/meibo_live@_02.jpg',liveTitle:'不同阶段的痘重磅上由...',optionTitle:'直播详情'}
  252. ],
  253. boothList:[
  254. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_01.jpg',name:'采美信息技术有限公司',num:'21F'},
  255. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_02.jpg',name:'采美信息技术有限公司',num:'21F'},
  256. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_03.jpg',name:'采美信息技术有限公司',num:'21F'},
  257. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_04.jpg',name:'采美信息技术有限公司',num:'21F'},
  258. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_05.jpg',name:'采美信息技术有限公司',num:'21F'},
  259. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_06.jpg',name:'采美信息技术有限公司',num:'21F'},
  260. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_07.jpg',name:'采美信息技术有限公司',num:'21F'},
  261. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_08.jpg',name:'采美信息技术有限公司',num:'21F'},
  262. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_09.jpg',name:'采美信息技术有限公司',num:'21F'},
  263. {image:'http://static-b.caimei365.com/app/meibohui/meibo_img_10.jpg',name:'采美信息技术有限公司',num:'21F'},
  264. ],
  265. SuppierNoteList:[
  266. {shopId:1161,marke:'我的描述文件'}
  267. ],
  268. flootData:[],//楼层
  269. isScrollTop:false,
  270. isRequest:false,
  271. isNavRequest:false,
  272. isLiveRequest:false,
  273. productImage:[],
  274. }
  275. },
  276. onLoad() {
  277. this.modallayer = false
  278. this.$api.getComStorage('userInfo').then((resolve) =>{
  279. this.clubStatus = resolve.clubStatus
  280. this.userID = resolve.userID ? resolve.userID : 0;
  281. this.shopId = resolve.shopID ? resolve.shopID : 0;
  282. this.userIdentity = resolve.userIdentity
  283. this.GetActitityInit()
  284. }).catch(error =>{
  285. this.GetActitityInit()
  286. })
  287. },
  288. filters: {
  289. NumFormat:function(text) {//处理金额
  290. return Number(text).toFixed(2);
  291. }
  292. },
  293. computed: {
  294. ...mapState(['hasLogin','userInfo','identity','isActivity'])
  295. },
  296. methods: {
  297. ...mapMutations(['login','logout']),
  298. LookMyCouponDetils(){//点击优惠券 跳转处理
  299. if(this.login){
  300. if(this.userIdentity == 2 || this.userIdentity == 4){
  301. this.$api.navigateTo('/pages/user/coupon/coupon')
  302. }else if(this.userIdentity == 3){
  303. this.$api.navigateTo('/supplier/pages/index/index')
  304. }else{
  305. return;
  306. }
  307. }else{
  308. this.$api.navigateTo('/pages/login/login')
  309. }
  310. },
  311. GetActitityInit(){
  312. this.ActivityService.GetRepeatActivityFloorData({userId:this.userID}).then(response =>{
  313. this.flootData = this.ReturnNewFlootData(response.data,this.SuppierNoteList)
  314. console.log(this.flootData);
  315. //处理商品图片列表
  316. this.productImage =[]
  317. this.boothList.forEach(item =>{
  318. this.productImage.push(item.image);
  319. })
  320. }).catch(error =>{
  321. this.$util.msg(error.msg,2000)
  322. })
  323. },
  324. ReturnNewFlootData(listA,listB){
  325. let NewArray = []
  326. listA.map(item=>{
  327. for (let i = 0; i < listB.length; i++) {
  328. if( item.shopId == listB[i].shopId ){
  329. NewArray.push(Object.assign(item,listB[i]))
  330. }
  331. }
  332. });
  333. return NewArray
  334. },
  335. NavToDetailPage(path){
  336. this.$api.navigateTo(path)
  337. },
  338. RouterDetailPage(id) {
  339. this.isModallayer = true;
  340. this.$api.navigateTo(`/pages/goods/product?id=${id}`);
  341. this.isModallayer = false;
  342. },
  343. goSupplier(value){//跳供应商资料页
  344. this.$api.navigateTo('/supplier/pages/user/my-shop?shopId='+value)
  345. },
  346. LiveGoPathPros(live){
  347. this.$api.navigateTo(`/h5/pages/article/page-image?title=${live.optionTitle}&image=${live.image}`)
  348. },
  349. PromotionsFormat(promo){//促销活动类型数据处理
  350. if(promo!=null){
  351. if(promo.type == 1 && promo.mode == 1){
  352. return true
  353. }else{
  354. return false
  355. }
  356. }
  357. return false
  358. },
  359. previewImg (index) {//顶部商品图片预览
  360. // isPreviewImg = true
  361. let previewUrls = this.productImage
  362. uni.previewImage({
  363. current: index, //图片索引
  364. urls: previewUrls, //必须是http图片,本地图片无效
  365. longPressActions:''
  366. })
  367. },
  368. },
  369. onPageScroll(e){//实时获取到滚动的值
  370. if(e.scrollTop>400){
  371. this.isScrollTop = true
  372. }else{
  373. this.isScrollTop = false
  374. }
  375. },
  376. onPullDownRefresh() {//下拉刷新
  377. this.GetActitityInit()
  378. uni.stopPullDownRefresh()
  379. },
  380. onShareAppMessage(res){//分享转发
  381. if (res.from === 'button') {
  382. // 来自页面内转发按钮
  383. }
  384. return {
  385. title: '生美医美正品采购服务平台',
  386. path: '/h5/pages/activity/meobohui',
  387. imageUrl:'https://static.caimei365.com/app/img/bg/min-banner.jpg'
  388. }
  389. },
  390. onShow(){
  391. }
  392. }
  393. </script>
  394. <style lang="scss">
  395. page{
  396. background-color: #F7F7F7;
  397. }
  398. .container-top{
  399. width: 100%;
  400. height: 500rpx;
  401. float: left;
  402. image{
  403. width: 100%;
  404. height: 100%;
  405. display: block;
  406. }
  407. }
  408. .container-activ{
  409. width: 100%;
  410. height: 240rpx;
  411. box-sizing: border-box;
  412. padding: 0 24rpx;
  413. margin: 24rpx 0;
  414. float: left;
  415. image{
  416. width: 100%;
  417. height: 240rpx;
  418. display: block;
  419. }
  420. }
  421. .container-page{
  422. background-color: #F7F7F7;
  423. width: 100%;
  424. height: auto;
  425. box-sizing: border-box;
  426. padding: 0 24rpx;
  427. float: left;
  428. }
  429. .tui-group-name {
  430. width: 100%;
  431. height: 92rpx;
  432. padding: 20rpx 0;
  433. }
  434. .tui-group-title{
  435. width: 100%;
  436. float: left;
  437. .tui-group-l{
  438. float: left;
  439. font-size: 34rpx;
  440. font-weight: bold;
  441. text-align: left;
  442. line-height: 49rpx;
  443. color: #333;
  444. }
  445. .tui-group-r{
  446. float: right;
  447. font-size: $font-size-26;
  448. text-align: right;
  449. line-height: 49rpx;
  450. color: #999999;
  451. .icon-xiayibu{
  452. font-size: $font-size-30;
  453. color: #999999;
  454. }
  455. }
  456. }
  457. .tui-sub__desc {
  458. width: 100%;
  459. float: left;
  460. color: rgba(153,153,153,0.9);
  461. font-size: $font-size-26;
  462. }
  463. .tui-group-list{
  464. width: 100%;
  465. height: auto;
  466. .floor-item-vip{
  467. width: 339rpx;
  468. height: 240rpx;
  469. float: left;
  470. margin-right: 24rpx;
  471. margin-bottom: 24rpx;
  472. &:nth-child(2n){
  473. margin-right: 0;
  474. }
  475. .floor-item-image{
  476. width: 100%;
  477. height: 100%;
  478. display: block;
  479. }
  480. }
  481. .floor-item-sup{
  482. width: 162rpx;
  483. height: 162rpx;
  484. float: left;
  485. margin-right: 18rpx;
  486. margin-bottom: 24rpx;
  487. &:nth-child(4n){
  488. margin-right: 0;
  489. }
  490. .floor-item-image{
  491. width: 100%;
  492. height: 100%;
  493. display: block;
  494. }
  495. }
  496. .floor-item-booth{
  497. width: 339rpx;
  498. height: 382rpx;
  499. float: left;
  500. margin-right: 24rpx;
  501. margin-bottom: 24rpx;
  502. background-color: #FFFFFF;
  503. border-radius: 16rpx;
  504. &:nth-child(2n){
  505. margin-right: 0;
  506. }
  507. .floor-item-booth-image{
  508. width: 100%;
  509. height: 240rpx;
  510. .floor-item-image{
  511. width: 100%;
  512. height: 100%;
  513. display: block;
  514. }
  515. }
  516. .floor-item-text{
  517. width: 100%;
  518. height: 142rpx;
  519. box-sizing: border-box;
  520. padding: 31rpx 16rpx;
  521. .floor-item-p{
  522. width: 100%;
  523. line-height: 40rpx;
  524. text-align: left;
  525. font-size: $font-size-24;
  526. white-space: nowrap;
  527. text-overflow: ellipsis;
  528. overflow: hidden;
  529. &.one{
  530. color: #333333;
  531. }
  532. &.two{
  533. color: #999999;
  534. }
  535. }
  536. }
  537. }
  538. }
  539. .tui-group-scroll{
  540. width: 100%;
  541. height:392rpx;
  542. float: left;
  543. background-color: #F7F7F7;
  544. box-sizing: border-box;
  545. background-color: #F7F7F7;
  546. overflow: hidden;
  547. display: flex;
  548. align-items: center;
  549. .floor-item__list {
  550. display: flex;
  551. align-items: center;
  552. }
  553. .floor-item__live {
  554. background-color: #fff;
  555. width: 310rpx;
  556. height: 392rpx;
  557. border-radius: 16rpx;
  558. box-sizing: border-box;
  559. margin-right: 16rpx;
  560. .floor-item__image{
  561. width: 310rpx;
  562. height: 310rpx;
  563. float: left;
  564. image{
  565. width: 100%;
  566. height: 100%;
  567. display: block;
  568. }
  569. }
  570. .floor-item__text{
  571. width: 100%;
  572. height: 82rpx;
  573. line-height: 82rpx;
  574. box-sizing: border-box;
  575. padding: 0 24rpx;
  576. text-align: center;
  577. font-size: $font-size-24;
  578. color: #333333;
  579. white-space: nowrap;
  580. text-overflow: ellipsis;
  581. overflow: hidden;
  582. }
  583. }
  584. }
  585. .tui-group-good__scroll{
  586. .floor-good__list{
  587. display: flex;
  588. align-items: center;
  589. }
  590. .floor-item{
  591. width: 310rpx;
  592. height: 516rpx;
  593. margin-right: 20rpx;
  594. font-size: $font-size-24;
  595. color: $text-color;
  596. background: #FFFFFF;
  597. line-height: 36rpx;
  598. border-radius: 16rpx;
  599. margin-bottom: 20rpx;
  600. float: left;
  601. box-sizing: border-box;
  602. position: relative;
  603. .item-img{
  604. width: 310rpx;
  605. height: 310rpx;
  606. border-radius: 16rpx 16rpx 0 0;
  607. display: block;
  608. margin-bottom: 8rpx;
  609. }
  610. .floor-item_tag{
  611. width: 100%;
  612. height: 32rpx;
  613. float: left;
  614. margin: 20rpx 0;
  615. padding: 0 20rpx;
  616. box-sizing: border-box;
  617. text{
  618. display: inline-block;
  619. padding: 0 8rpx;
  620. border: 1px solid #e3ebf7;
  621. border-radius: 8rpx ;
  622. color: #9aa5b5;
  623. font-size: $font-size-22;
  624. line-height: 32rpx;
  625. text-align: center;
  626. float: left;
  627. }
  628. }
  629. .floor-item-content{
  630. width: 100%;
  631. padding: 0 20rpx;
  632. box-sizing: border-box;
  633. }
  634. .floor-item-act{
  635. display: block;
  636. width: 100%;
  637. height: 32rpx;
  638. text-align: center;
  639. box-sizing: border-box;
  640. }
  641. .floor-tags{
  642. height: 28rpx;
  643. border-radius: 6rpx;
  644. background-color: #FFFFFF;
  645. line-height: 28rpx;
  646. color: $color-system;
  647. text-align: center;
  648. display: inline-block;
  649. padding:0 16rpx;
  650. font-size: $font-size-20;
  651. border: 1px solid #E15616;
  652. float: left;
  653. }
  654. .title-none{
  655. font-size: $font-size-26;
  656. color: #FF2A2A;
  657. line-height: 54rpx;
  658. }
  659. .title{
  660. width: 100%;
  661. height: 70rpx;
  662. display: flex;
  663. line-height: 35rpx;
  664. flex-direction: column;
  665. margin: 20rpx 0 10rpx 0;
  666. padding: 0;
  667. position: relative;
  668. .mclap{
  669. width: 100%;
  670. line-height:35rpx;
  671. text-overflow:ellipsis;
  672. display: -webkit-box;
  673. word-break: break-all;
  674. -webkit-box-orient: vertical;
  675. -webkit-line-clamp: 2;
  676. overflow: hidden;
  677. font-size: 26rpx;
  678. text-indent: 95rpx;
  679. }
  680. .mclap-tag{
  681. display: block;
  682. width: 84rpx;
  683. height: 32rpx;
  684. background-image: linear-gradient(270deg, #f9c023 0%, #f83600 100%);
  685. border-radius: 4rpx 48rpx 4px 4px;
  686. line-height: 32rpx;
  687. font-size: $font-size-22;
  688. color: #FFFFFF;
  689. text-align: center;
  690. position: absolute;
  691. left: 0;
  692. top: 0;
  693. }
  694. }
  695. .no-price{
  696. height: 54rpx;
  697. line-height: 54rpx;
  698. display: flex;
  699. box-sizing: border-box;
  700. .p-no{
  701. font-size: $font-size-28;
  702. color: $text-color;
  703. display: block;
  704. float: left;
  705. }
  706. .p-stars{
  707. float: left;
  708. }
  709. }
  710. .price{
  711. color: #FF2A2A;
  712. line-height:54rpx;
  713. &.none{
  714. text-decoration: line-through;
  715. color: #999999;
  716. }
  717. .sm{
  718. font-size: $font-size-24;
  719. }
  720. .big{
  721. font-size: $font-size-28;
  722. }
  723. }
  724. }
  725. }
  726. .container-section{
  727. width: 100%;
  728. height: auto;
  729. background-color: #F7F7F7;
  730. }
  731. </style>