meobohui.vue 23 KB

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