123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740 |
- <template>
- <view class="container home clearfix">
- <!-- top -->
- <view class="container-top"><image src="http://static.caimei365.com/app/meibohui/banner.jpg" mode=""></image></view>
- <view class="container-activ" @click="LookMyCouponDetils"><image src="http://static.caimei365.com/app/meibohui/meibo_coupon_02.png" mode=""></image></view>
- <!-- VIP品牌线上馆 -->
- <view class="container-page clearfix">
- <view class="tui-group-name">
- <view class="tui-group-title">
- <view class="tui-group-l">VIP品牌线上馆</view>
- </view>
- <view class="tui-sub__desc">高新科技品牌尽在采美</view>
- </view>
- <view class="tui-group-list">
- <view class="floor-item-vip" v-for="(vips,index) in supplierList1" :key="index">
- <image :src="vips.image" class="floor-item-image" mode=""></image>
- </view>
- </view>
- </view>
- <!-- 参展商 -->
- <view class="container-page clearfix">
- <view class="tui-group-name">
- <view class="tui-group-title">
- <view class="tui-group-l">参展商</view>
- <view class="tui-group-r" @click="NavToDetailPage('/h5/pages/activity/meobohui-supplier')">
- <text>更多</text>
- <text class="iconfont icon-xiayibu"></text>
- </view>
- </view>
- <view class="tui-sub__desc">美博会采美合作品牌</view>
- </view>
- <view class="tui-group-list">
- <view class="floor-item-sup" v-for="(supps,index) in supplierList2" :key="index" @click="goSupplierPath(supps.type,supps.id,supps.keyWord)">
- <image :src="supps.image" class="floor-item-image" mode=""></image>
- </view>
- </view>
- </view>
- <!-- 现场直击 -->
- <view class="container-page clearfix">
- <view class="tui-group-name">
- <view class="tui-group-title">
- <view class="tui-group-l">现场直击</view>
- </view>
- <view class="tui-sub__desc">采美云逛展带你体验另样平行世界</view>
- </view>
- <view class="tui-group-scroll clearfix">
- <scroll-view scroll-x>
- <view class="floor-item__list">
- <view class="floor-item__live" v-for="(lives,index) in liveList" :key="index" @click="LiveGoPathPros(lives)">
- <view class="floor-item__image">
- <image :src="lives.image" mode=""></image>
- </view>
- <view class="floor-item__text">{{lives.liveTitle}}</view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <!-- 展位图 -->
- <view class="container-page clearfix">
- <view class="tui-group-name">
- <view class="tui-group-title">
- <view class="tui-group-l">展位图</view>
- <view class="tui-group-r" @click="NavToDetailPage('/h5/pages/activity/meobohui-booth')">
- <text>更多</text>
- <text class="iconfont icon-xiayibu"></text>
- </view>
- </view>
- <view class="tui-sub__desc">广州美博会采美合作展位</view>
- </view>
- <view class="tui-group-list">
- <view class="floor-item-booth" v-for="(booths,index) in boothList" :key="index" @click="previewImg(index)">
- <view class="floor-item-booth-image">
- <image :src="booths.image" class="floor-item-image" mode=""></image>
- </view>
- <view class="floor-item-text">
- <view class="floor-item-p one">{{booths.name}}</view>
- <view class="floor-item-p two">展位号:{{booths.num}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 供应商商品楼层 -->
- <view class="container-page clearfix" v-for="(floors,index) in flootData" :key="index">
- <view class="tui-group-name">
- <view class="tui-group-title">
- <view class="tui-group-l">{{ floors.shopName }}</view>
- <view class="tui-group-r" v-if="floors.shopId != 1161" @click="goSupplierPath(floors.type,floors.shopId,floors.keyWord)">
- <text>更多</text>
- <text class="iconfont icon-xiayibu"></text>
- </view>
- </view>
- <view class="tui-sub__desc">{{ floors.marke }}</view>
- </view>
- <view class="tui-group-good__scroll clearfix">
- <scroll-view scroll-x>
- <view class="floor-good__list">
- <view class="floor-item ad_04 clearfix" v-for="(product, idx) in floors.productSet" :key="idx" @click.stop="RouterDetailPage(product.productID)">
- <image class="item-img tui-skeleton-fillet" :src="product.mainImage" mode="aspectFill"></image>
- <view class="floor-item-content">
- <view class="title tui-skeleton-rect">
- <text class="mclap-tag">美博会</text>
- <text class="mclap">{{product.name}}</text>
- </view>
- <view class="floor-item-price">
- <view class="floor-item-act">
- <template v-if="userIdentity === 3">
- <template v-if="product.actStatus===1">
- <view class="floor-tags" v-if="PromotionsFormat(product.promotions)">
- {{product.promotions.name}}
- <text v-if="hasLogin && product.price1TextFlag != 1 && product.shopID == shopId">:¥{{product.retailPrice | NumFormat}}</text>
- </view>
- <view class="floor-tags" v-else>{{product.promotions.name}}</view>
- </template>
- <template v-if="product.actStatus ===0 && product.ladderPriceFlag===1">
- <view class="floor-tags">阶梯价格</view>
- </template>
- </template>
- <template v-else>
- <template v-if="product.actStatus===1">
- <view class="floor-tags" v-if="PromotionsFormat(product.promotions)">
- {{product.promotions.name}}
- <text v-if="hasLogin && product.price1TextFlag != 1">:¥{{product.retailPrice | NumFormat}}</text>
- </view>
- <view class="floor-tags" v-else>{{product.promotions.name}}</view>
- </template>
- <template v-if="product.actStatus ===0 && product.ladderPriceFlag===1">
- <view class="floor-tags">阶梯价格</view>
- </template>
- </template>
- </view>
- <view v-if="hasLogin">
- <template v-if="product.productCategory == 1">
- <template v-if="userIdentity == 3">
- <template v-if="product.shopID == shopId">
- <view class="title-none" v-if="product.price1TextFlag === '1'">
- <text class="p big">¥未公开价格</text>
- </view>
- <view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(product.promotions) ? 'none' : ''">
- <text class="p sm">¥</text>
- <text class="p big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice ) | NumFormat}}</text>
- </view>
- </template>
- <template v-else>
- <view class="no-price">
- <view class="p-stars">
- <text class="p-no">¥</text>
- <uni-grader :grade="Number(product.price1Grade)" :margin="14"></uni-grader>
- </view>
- </view>
- </template>
- </template>
- <template v-else-if="userIdentity ===4">
- <view class="title-none" v-if="product.price1TextFlag === '1'">
- <text class="p big">¥未公开价格</text>
- </view>
- <view class="title-none" v-if="product.price1TextFlag === '2'">
- <text class="p big">¥价格仅会员可见</text>
- </view>
- <view class="price tui-skeleton-rect" v-if="product.price1TextFlag === '0'" :class="PromotionsFormat(product.promotions) ? 'none' : ''">
- <text class="p sm">¥</text>
- <text class="p big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice ) | NumFormat}}</text>
- </view>
- </template>
- <template v-else>
- <view class="title-none" v-if="product.price1TextFlag === '1'">
- <text class="p big">¥未公开价格</text>
- </view>
- <view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(product.promotions) ? 'none' : ''">
- <text class="p sm">¥</text>
- <text class="p big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice ) | NumFormat}}</text>
- </view>
- </template>
- </template>
- <template v-else>
- <view class="price tui-skeleton-rect">
- <text class="p sm">¥</text>
- <text class="p big">{{ product.retailPrice | NumFormat }}</text>
- </view>
- </template>
- </view>
- <view v-else class="no-price">
- <template>
- <view class="p-stars">
- <text class="p-no">¥</text>
- <uni-grader :grade="Number(product.price1Grade)" :margin="14"></uni-grader>
- </view>
- </template>
- </view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </view>
- <!-- 侧边 -->
- <scroll-top :isScrollTop="isScrollTop" :bottom="50"></scroll-top>
- <!-- 透明模态层 -->
- <modal-layer v-if='isModallayer'></modal-layer>
- </view>
- </template>
- <script>
- import authorize from '@/common/config/authorize.js'
- import uniGrader from '@/components/uni-grade/uni-grade.vue'
- import modalLayer from "@/components/modal-layer"
- import { userInfoLogin } from "@/api/use.js"
- import { mapState,mapMutations} from 'vuex';
- var isPreviewImg;
- export default {
- components:{
- uniGrader,
- modalLayer
- },
- data() {
- return {
- userID:0,
- current:0,
- mode:'round',
- isModallayer:false,
- isLogin:false,
- skeletonShow: true,
- userIdentity:'',
- supplierList1:[
- {image:'http://static.caimei365.com/app/meibohui/meibo_sup_01.jpg',id:1172,type:1,keyWord:''},
- {image:'http://static.caimei365.com/app/meibohui/meibo_sup_02.jpg',id:1172,type:1,keyWord:''},
- {image:'http://static.caimei365.com/app/meibohui/meibo_sup_03.jpg',id:1170,type:2,keyWord:'INDIBA'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_sup_04.jpg',id:1258,type:1,keyWord:''}
- ],
- supplierList2:[
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_01.jpg',id:1172,type:1,keyWord:''},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_02.jpg',id:8888,type:2,keyWord:'INDIBA'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_03.jpg',id:8888,type:2,keyWord:'维锶'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_04.jpg',id:8888,type:2,keyWord:'imperium'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_05.jpg',id:8888,type:2,keyWord:'易路达'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_06.jpg',id:8888,type:2,keyWord:'ACTIVE'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_07.jpg',id:1201,type:1,keyWord:''},
- {image:'http://static.caimei365.com/app/meibohui/meibo_logo_09.jpg',id:1285,type:1,keyWord:''},
- ],
- liveList:[
- {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'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_live@_02.jpg',liveTitle:'探访美博会采美合作展位上',optionTitle:'直播详情',liveImg:'http://static.caimei365.com/app/meibohui/meibo_live_02.jpg'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_live@_03.jpg',liveTitle:'探访美博会采美合作展位下',optionTitle:'直播详情',liveImg:'http://static.caimei365.com/app/meibohui/meibo_live_03.jpg'},
- {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'},
- {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'},
- ],
- boothList:[
- {image:'http://static.caimei365.com/app/meibohui/meibo_img_02.jpg',name:'GMS(可现场体验)',num:'B区 12.2馆C31'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_img_03.jpg',name:'优斐斯',num:'A区 4.2号馆A31'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_img_04.jpg',name:'唯美概念(可现场体验)',num:'B区 12.2馆B41'},
- {image:'http://static.caimei365.com/app/meibohui/meibo_img_05.jpg',name:'美生美(可现场体验)',num:'B区 12.2馆B39'},
- ],
- SuppierNoteList:[
- {shopId:1172,marke:'光子嫩肤的黄金标准——美国高端技术品牌',type:1,keyWord:''},
- {shopId:1161,marke:'专注于细胞治疗的西班牙高端技术品牌',type:2,keyWord:'INDIBA'},
- {shopId:1258,marke:'专注于进口医学美容仪器及产品',type:1,keyWord:''},
- {shopId:1193,marke:'坚持原装进口先进光电设备',type:1,keyWord:''},
- {shopId:1285,marke:'国货之光——专注医学美容术前术后修复',type:1,keyWord:''},
- {shopId:1184,marke:'专注于进口国际顶级医疗美容设备',type:1,keyWord:''},
- {shopId:1292,marke:'专注于进口国际品牌医疗美容设备和医用级护肤品',type:1,keyWord:''},
- {shopId:1205,marke:'致力于韩国原装进口高端美容仪器',type:1,keyWord:''},
- {shopId:1201,marke:'专注原装进口国际高端高科技美容设备',type:1,keyWord:''},
- {shopId:1206,marke:'致力于光学医疗美容设备的研发',type:1,keyWord:''},
- {shopId:1217,marke:'专注于原装进口国际医疗美容设备',type:1,keyWord:''},
- ],
- flootData:[],//楼层
- isScrollTop:false,
- isRequest:false,
- isNavRequest:false,
- isLiveRequest:false,
- productImage:[],
- }
- },
- onLoad() {
- this.modallayer = false
- this.$api.getComStorage('userInfo').then((resolve) =>{
- this.clubStatus = resolve.clubStatus
- this.userID = resolve.userID ? resolve.userID : 0;
- this.shopId = resolve.shopID ? resolve.shopID : 0;
- this.userIdentity = resolve.userIdentity
- this.GetActitityInit()
- }).catch(error =>{
- this.GetActitityInit()
- })
- },
- filters: {
- NumFormat:function(text) {//处理金额
- return Number(text).toFixed(2);
- }
- },
- computed: {
- ...mapState(['hasLogin','userInfo','identity','isActivity'])
- },
- methods: {
- ...mapMutations(['login','logout']),
- LookMyCouponDetils(){//点击优惠券 跳转处理
- if(this.hasLogin){
- if(this.userIdentity == 2 || this.userIdentity == 4){
- this.$api.navigateTo('/pages/user/coupon/coupon')
- }else if(this.userIdentity == 3){
- this.$api.navigateTo('/supplier/pages/index/index')
- }else{
- return;
- }
- }else{
- this.$api.navigateTo('/pages/login/login')
- }
- },
- GetActitityInit(){
- this.ActivityService.GetRepeatActivityFloorData({userId:this.userID}).then(response =>{
- this.flootData = this.ReturnNewFlootData(response.data,this.SuppierNoteList)
- console.log(this.flootData);
- //处理商品图片列表
- this.productImage =[]
- this.boothList.forEach(item =>{
- this.productImage.push(item.image);
- })
- }).catch(error =>{
- this.$util.msg(error.msg,2000)
- })
- },
- ReturnNewFlootData(listA,listB){
- let NewArray = []
- listA.map(item=>{
- for (let i = 0; i < listB.length; i++) {
- if( item.shopId == listB[i].shopId ){
- NewArray.push(Object.assign(item,listB[i]))
- }
- }
- });
- return NewArray
- },
- NavToDetailPage(path){
- this.$api.navigateTo(path)
- },
- RouterDetailPage(id) {
- this.isModallayer = true;
- this.$api.navigateTo(`/pages/goods/product?id=${id}`);
- this.isModallayer = false;
- },
- goSupplierPath(type,value,keyWord){
- if(type == 1){
- this.$api.navigateTo('/supplier/pages/user/my-shop?shopId='+value)
- }else if(type == 2){
- this.$api.navigateTo(`/search/pages/search/search?keyWord=${keyWord}`)
- }
- },
- LiveGoPathPros(live){
- this.$api.navigateTo(`/h5/pages/article/page-image?title=${live.optionTitle}&image=${live.liveImg}`)
- },
- PromotionsFormat(promo){//促销活动类型数据处理
- if(promo!=null){
- if(promo.type == 1 && promo.mode == 1){
- return true
- }else{
- return false
- }
- }
- return false
- },
- previewImg (index) {//顶部商品图片预览
- // isPreviewImg = true
- let previewUrls = this.productImage
- uni.previewImage({
- current: index, //图片索引
- urls: previewUrls, //必须是http图片,本地图片无效
- longPressActions:''
- })
- },
- },
- onPageScroll(e){//实时获取到滚动的值
- if(e.scrollTop>400){
- this.isScrollTop = true
- }else{
- this.isScrollTop = false
- }
- },
- onPullDownRefresh() {//下拉刷新
- this.GetActitityInit()
- uni.stopPullDownRefresh()
- },
- onShareAppMessage(res){//分享转发
- if (res.from === 'button') {
- // 来自页面内转发按钮
- }
- return {
- title: '美博会震撼开启,重磅优惠等你来领~',
- path: '/h5/pages/activity/meobohui',
- imageUrl:'http://static.caimei365.com/app/meibohui/meibo_share_01.jpg'
- }
- },
- onShow(){
-
- }
- }
- </script>
- <style lang="scss">
- page{
- background-color: #F7F7F7;
- }
- .container-top{
- width: 100%;
- height: 500rpx;
- float: left;
- image{
- width: 100%;
- height: 100%;
- display: block;
- }
- }
- .container-activ{
- width: 100%;
- height: 240rpx;
- box-sizing: border-box;
- padding: 0 24rpx;
- margin: 24rpx 0;
- float: left;
- image{
- width: 100%;
- height: 240rpx;
- display: block;
- }
- }
- .container-page{
- background-color: #F7F7F7;
- width: 100%;
- height: auto;
- box-sizing: border-box;
- padding: 0 24rpx;
- float: left;
- }
- .tui-group-name {
- width: 100%;
- height: 92rpx;
- padding: 20rpx 0;
- }
- .tui-group-title{
- width: 100%;
- float: left;
- .tui-group-l{
- float: left;
- font-size: 34rpx;
- font-weight: bold;
- text-align: left;
- line-height: 49rpx;
- color: #333;
- }
- .tui-group-r{
- float: right;
- font-size: $font-size-26;
- text-align: right;
- line-height: 49rpx;
- color: #999999;
- .icon-xiayibu{
- font-size: $font-size-30;
- color: #999999;
- }
- }
- }
- .tui-sub__desc {
- width: 100%;
- float: left;
- color: rgba(153,153,153,0.9);
- font-size: $font-size-26;
- }
- .tui-group-list{
- width: 100%;
- height: auto;
- .floor-item-vip{
- width: 339rpx;
- height: 240rpx;
- float: left;
- margin-right: 24rpx;
- margin-bottom: 24rpx;
- &:nth-child(2n){
- margin-right: 0;
- }
- .floor-item-image{
- width: 100%;
- height: 100%;
- display: block;
- border-radius: 16rpx;
- }
- }
- .floor-item-sup{
- width: 162rpx;
- height: 162rpx;
- float: left;
- margin-right: 18rpx;
- margin-bottom: 24rpx;
- &:nth-child(4n){
- margin-right: 0;
- }
- .floor-item-image{
- width: 100%;
- height: 100%;
- display: block;
- }
- }
- .floor-item-booth{
- width: 339rpx;
- height: 382rpx;
- float: left;
- margin-right: 24rpx;
- margin-bottom: 24rpx;
- background-color: #FFFFFF;
- border-radius: 16rpx;
- &:nth-child(2n){
- margin-right: 0;
- }
- .floor-item-booth-image{
- width: 100%;
- height: 240rpx;
- .floor-item-image{
- width: 100%;
- height: 100%;
- display: block;
- border-radius: 16rpx 16rpx 0 0;
- }
- }
- .floor-item-text{
- width: 100%;
- height: 142rpx;
- box-sizing: border-box;
- padding: 31rpx 16rpx;
- .floor-item-p{
- width: 100%;
- line-height: 40rpx;
- text-align: left;
- font-size: $font-size-24;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- &.one{
- color: #333333;
- }
- &.two{
- color: #999999;
- }
- }
- }
- }
-
- }
- .tui-group-scroll{
- width: 100%;
- height:392rpx;
- float: left;
- background-color: #F7F7F7;
- box-sizing: border-box;
- background-color: #F7F7F7;
- overflow: hidden;
- display: flex;
- align-items: center;
- .floor-item__list {
- display: flex;
- align-items: center;
- }
- .floor-item__live {
- background-color: #fff;
- width: 310rpx;
- height: 392rpx;
- border-radius: 16rpx;
- box-sizing: border-box;
- margin-right: 16rpx;
- .floor-item__image{
- width: 310rpx;
- height: 310rpx;
- float: left;
- image{
- width: 100%;
- height: 100%;
- display: block;
- border-radius: 16rpx 16rpx 0 0;
- }
- }
- .floor-item__text{
- width: 100%;
- height: 82rpx;
- line-height: 82rpx;
- box-sizing: border-box;
- padding: 0 24rpx;
- text-align: center;
- font-size: $font-size-24;
- color: #333333;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- }
- .tui-group-good__scroll{
- .floor-good__list{
- display: flex;
- align-items: center;
- }
- .floor-item{
- width: 310rpx;
- height: 516rpx;
- margin-right: 20rpx;
- font-size: $font-size-24;
- color: $text-color;
- background: #FFFFFF;
- line-height: 36rpx;
- border-radius: 16rpx;
- margin-bottom: 20rpx;
- float: left;
- box-sizing: border-box;
- position: relative;
- .item-img{
- width: 310rpx;
- height: 310rpx;
- border-radius: 16rpx 16rpx 0 0;
- display: block;
- margin-bottom: 8rpx;
- }
- .floor-item_tag{
- width: 100%;
- height: 32rpx;
- float: left;
- margin: 20rpx 0;
- padding: 0 20rpx;
- box-sizing: border-box;
- text{
- display: inline-block;
- padding: 0 8rpx;
- border: 1px solid #e3ebf7;
- border-radius: 8rpx ;
- color: #9aa5b5;
- font-size: $font-size-22;
- line-height: 32rpx;
- text-align: center;
- float: left;
- }
- }
- .floor-item-content{
- width: 100%;
- padding: 0 20rpx;
- box-sizing: border-box;
- }
- .floor-item-act{
- display: block;
- width: 100%;
- height: 32rpx;
- text-align: center;
- box-sizing: border-box;
- }
- .floor-tags{
- height: 28rpx;
- border-radius: 6rpx;
- background-color: #FFFFFF;
- line-height: 28rpx;
- color: $color-system;
- text-align: center;
- display: inline-block;
- padding:0 16rpx;
- font-size: $font-size-20;
- border: 1px solid #E15616;
- float: left;
- }
- .title-none{
- font-size: $font-size-26;
- color: #FF2A2A;
- line-height: 54rpx;
- }
- .title{
- width: 100%;
- height: 70rpx;
- display: flex;
- line-height: 35rpx;
- flex-direction: column;
- margin: 20rpx 0 10rpx 0;
- padding: 0;
- position: relative;
- .mclap{
- width: 100%;
- line-height:35rpx;
- text-overflow:ellipsis;
- display: -webkit-box;
- word-break: break-all;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- font-size: 26rpx;
- text-indent: 95rpx;
- }
- .mclap-tag{
- display: block;
- width: 84rpx;
- height: 32rpx;
- background-image: linear-gradient(270deg, #f9c023 0%, #f83600 100%);
- border-radius: 4rpx 48rpx 4px 4px;
- line-height: 32rpx;
- font-size: $font-size-22;
- color: #FFFFFF;
- text-align: center;
- position: absolute;
- left: 0;
- top: 0;
- }
- }
- .no-price{
- height: 54rpx;
- line-height: 54rpx;
- display: flex;
- box-sizing: border-box;
- .p-no{
- font-size: $font-size-28;
- color: $text-color;
- display: block;
- float: left;
- }
- .p-stars{
- float: left;
- }
- }
- .price{
- color: #FF2A2A;
- line-height:54rpx;
- &.none{
- text-decoration: line-through;
- color: #999999;
- }
- .sm{
- font-size: $font-size-24;
- }
- .big{
- font-size: $font-size-28;
- }
- }
- }
- }
- .container-section{
- width: 100%;
- height: auto;
- background-color: #F7F7F7;
- }
- </style>
|