meobohui.vue 23 KB

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