|
|
@ -1,12 +1,18 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view class="productSort"> |
|
|
|
<view class="productSort"> |
|
|
|
<!-- 顶部主页 --> |
|
|
|
<!-- 顶部主页 --> |
|
|
|
<skeleton v-if="showSkeleton" ref="<strong>skeleton</strong>" loading="chiaroscuro" selector="skeleton" bgcolor="#FFF"></skeleton> |
|
|
|
<skeleton v-if="showSkeleton" ref="<strong>skeleton</strong>" loading="chiaroscuro" selector="skeleton" |
|
|
|
<view class="pageTitle-box" :class="isFixed ? 'showPageTitle' : ''" :style="{'padding-top':navTopHeight + 'px',height:navHeight*2+ 'px'}"> |
|
|
|
bgcolor="#FFF"></skeleton> |
|
|
|
<view class="top-logo acea-row row-center" :style="'top:' + menuTop + 'px;height:' + menuHeight + 'px;line-height: ' + menuHeight + 'px;'">禪易生态云</view> |
|
|
|
<view class="pageTitle-box" :class="isFixed ? 'showPageTitle' : ''" |
|
|
|
|
|
|
|
:style="{'padding-top':navTopHeight + 'px',height:navHeight*2+ 'px'}"> |
|
|
|
|
|
|
|
<view class="top-logo acea-row row-center" |
|
|
|
|
|
|
|
:style="'top:' + menuTop + 'px;height:' + menuHeight + 'px;line-height: ' + menuHeight + 'px;'">禪易生态云 |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="main-box skeleton-rect"> |
|
|
|
<view class="main-box skeleton-rect"> |
|
|
|
<view class="back-bg"><image src="https://download.cyjyyjy.com/life-bg.png" mode=""></image></view> |
|
|
|
<view class="back-bg"> |
|
|
|
|
|
|
|
<image src="https://download.cyjyyjy.com/life-bg.png" mode=""></image> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="details-btn skeleton-rect" @click="tolearnMore">了解详情</view> |
|
|
|
<view class="details-btn skeleton-rect" @click="tolearnMore">了解详情</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 云快讯 --> |
|
|
|
<!-- 云快讯 --> |
|
|
@ -24,20 +30,28 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 最新活动 --> |
|
|
|
<!-- 最新活动 --> |
|
|
|
<view class="act-box skeleton-rect"> |
|
|
|
<view class="act-box skeleton-rect"> |
|
|
|
<view class="headline"><image src="../../static/images/new-act.png" mode="" skeleton-rect></image></view> |
|
|
|
<view class="headline acea-row row-between-wrapper"> |
|
|
|
|
|
|
|
<image src="../../static/images/new-act.png" mode="" skeleton-rect class="headline-img"></image> |
|
|
|
|
|
|
|
<view class="more-r skeleton-rect" @click="toNewActivity"> |
|
|
|
|
|
|
|
<text>查看更多</text> |
|
|
|
|
|
|
|
<image src="../../static/images/home/arrow-r.png"></image> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<scroll-view class="scroll-view_H" scroll-x="true"> |
|
|
|
<scroll-view class="scroll-view_H" scroll-x="true"> |
|
|
|
<view class="slide-left skeleton-rect" v-for="(item,index) in activity" :key="index" @tap="toActiveDetail" :data-id="item.id"> |
|
|
|
<view class="slide-left skeleton-rect" v-for="(item,index) in activity" :key="index" |
|
|
|
|
|
|
|
@tap="toActiveDetail" :data-id="item.id"> |
|
|
|
<view class="act-title">{{item.name}}</view> |
|
|
|
<view class="act-title">{{item.name}}</view> |
|
|
|
<view class="resource-list acea-row-nowrap"> |
|
|
|
<view class="resource-list acea-row-nowrap"> |
|
|
|
<image :src="item.images" class="act-img" mode="aspectFill"></image> |
|
|
|
<image :src="item.images" class="act-img" mode="aspectFill"></image> |
|
|
|
<view class="act-con acea-row row-middle"> |
|
|
|
<view class="act-con acea-row row-middle"> |
|
|
|
<view class="act-time acea-row row-middle line1"> |
|
|
|
<view class="act-time acea-row row-middle line1"> |
|
|
|
<image src="../../static/images/act-time.png" mode=""></image> |
|
|
|
<image src="../../static/images/act-time.png" mode=""></image> |
|
|
|
<view>{{item.activityStartTime.split(' ')[0]}}至{{item.activityEndTime.split(' ')[0]}}</view> |
|
|
|
<view>{{item.activityStartTime.split(' ')[0]}}至{{item.activityEndTime.split(' ')[0]}} |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="act-adress acea-row line1"> |
|
|
|
<view class="act-adress acea-row line1"> |
|
|
|
<image src="../../static/images/act-address.png" mode=""></image> |
|
|
|
<image src="../../static/images/act-address.png" mode=""></image> |
|
|
|
<view class="title-line">{{item.address}}</view> |
|
|
|
<view class="title-line line2">{{item.address}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="acea-row row-between-wrapper act-price"> |
|
|
|
<view class="acea-row row-between-wrapper act-price"> |
|
|
|
<text class="act-i">进行中</text> |
|
|
|
<text class="act-i">进行中</text> |
|
|
@ -57,9 +71,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 最新活动 --> |
|
|
|
<!-- 推荐供需 --> |
|
|
|
<view class="rec-box"> |
|
|
|
<view class="rec-box"> |
|
|
|
<view class="headline skeleton-rect"><image src="../../static/images/rec-headline.png" mode=""></image></view> |
|
|
|
<image src="../../static/images/rec-headline.png" mode="" class="headline-img" skeleton-rect></image> |
|
|
|
<view class="rec-switch"> |
|
|
|
<view class="rec-switch"> |
|
|
|
<view class="rec-title acea-row"> |
|
|
|
<view class="rec-title acea-row"> |
|
|
|
<view class="rec-l " @click="tabClick(1)"> |
|
|
|
<view class="rec-l " @click="tabClick(1)"> |
|
|
@ -79,7 +93,8 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="rec-switch-a"> |
|
|
|
<view class="rec-switch-a"> |
|
|
|
<view class="list-box" v-if="active == 1"> |
|
|
|
<view class="list-box" v-if="active == 1"> |
|
|
|
<view class="rec-list acea-row row-column-between" v-for="(item,index) in demandList" :key="index" @click="toNeedDetail(item.id)"> |
|
|
|
<view class="rec-list acea-row row-column-between" v-for="(item,index) in demandList" |
|
|
|
|
|
|
|
:key="index" @click="toNeedDetail(item.id)"> |
|
|
|
<view class="acea-row row-middle"> |
|
|
|
<view class="acea-row row-middle"> |
|
|
|
<image src="../../static/images/rec-icon1.png" mode="aspectFill"></image> |
|
|
|
<image src="../../static/images/rec-icon1.png" mode="aspectFill"></image> |
|
|
|
<view class="rec-name line1">{{item.title}}</view> |
|
|
|
<view class="rec-name line1">{{item.title}}</view> |
|
|
@ -90,7 +105,8 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="list-box" v-if="active == 2"> |
|
|
|
<view class="list-box" v-if="active == 2"> |
|
|
|
<view class="rec-list" v-for="(item,index) in resourcesList" :key="index" @click="toResourcesDetail(item.id)"> |
|
|
|
<view class="rec-list acea-row row-column-between" v-for="(item,index) in resourcesList" |
|
|
|
|
|
|
|
:key="index" @click="toResourcesDetail(item.id)"> |
|
|
|
<view class="acea-row row-middle"> |
|
|
|
<view class="acea-row row-middle"> |
|
|
|
<image src="../../static/images/rec-icon2.png" mode=""></image> |
|
|
|
<image src="../../static/images/rec-icon2.png" mode=""></image> |
|
|
|
<view class="rec-name line1">{{item.title}}</view> |
|
|
|
<view class="rec-name line1">{{item.title}}</view> |
|
|
@ -105,9 +121,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 为您推荐 --> |
|
|
|
<!-- 为您推荐 --> |
|
|
|
<view class="warter-box"> |
|
|
|
<view class="warter-box"> |
|
|
|
<view class="headline"> |
|
|
|
<image src="../../static/images/rec-headline.png" mode="" class="headline-img" skeleton-rect></image> |
|
|
|
<image src="../../static/images/rec-title.png" mode=""></image> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<u-waterfall v-model="productDtos" ref="uWaterfall"> |
|
|
|
<u-waterfall v-model="productDtos" ref="uWaterfall"> |
|
|
|
<template v-slot:left="{leftList}"> |
|
|
|
<template v-slot:left="{leftList}"> |
|
|
|
<view class="warter" v-for="(item, index) in leftList" :key="index" @tap="toGoodsDetail(item.id)"> |
|
|
|
<view class="warter" v-for="(item, index) in leftList" :key="index" @tap="toGoodsDetail(item.id)"> |
|
|
@ -140,9 +154,15 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { getIndexData } from "@/api/home"; |
|
|
|
import { |
|
|
|
import { trim } from "@/utils"; |
|
|
|
getIndexData |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
} from "@/api/home"; |
|
|
|
|
|
|
|
import { |
|
|
|
|
|
|
|
trim |
|
|
|
|
|
|
|
} from "@/utils"; |
|
|
|
|
|
|
|
import { |
|
|
|
|
|
|
|
mapGetters |
|
|
|
|
|
|
|
} from 'vuex' |
|
|
|
import tabbar from "../../tabbarComponent/tabbar"; |
|
|
|
import tabbar from "../../tabbarComponent/tabbar"; |
|
|
|
import vSwiper from '@/components/vSwiper.vue' |
|
|
|
import vSwiper from '@/components/vSwiper.vue' |
|
|
|
import skeleton from '@/components/quick-skeleton/quick-skeleton' |
|
|
|
import skeleton from '@/components/quick-skeleton/quick-skeleton' |
|
|
@ -204,7 +224,7 @@ export default { |
|
|
|
onReady: function() { |
|
|
|
onReady: function() { |
|
|
|
const that = this; |
|
|
|
const that = this; |
|
|
|
|
|
|
|
|
|
|
|
that.$refs.skeleton.attachedAction(); |
|
|
|
// that.$refs.skeleton.attachedAction(); |
|
|
|
|
|
|
|
|
|
|
|
that.$refs.skeleton.readyAction(); |
|
|
|
that.$refs.skeleton.readyAction(); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -237,7 +257,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
getIndexData() { |
|
|
|
getIndexData() { |
|
|
|
uni.showLoading({ title: '正在加载...' }) |
|
|
|
uni.showLoading({ |
|
|
|
|
|
|
|
title: '正在加载...' |
|
|
|
|
|
|
|
}) |
|
|
|
uni.showNavigationBarLoading(); |
|
|
|
uni.showNavigationBarLoading(); |
|
|
|
getIndexData().then(res => { |
|
|
|
getIndexData().then(res => { |
|
|
|
this.articleList = res.data.articleList.reverse() |
|
|
|
this.articleList = res.data.articleList.reverse() |
|
|
@ -257,6 +279,9 @@ export default { |
|
|
|
toAritcleList() { |
|
|
|
toAritcleList() { |
|
|
|
this.$yrouter.push("/pages/life/articleList/index") |
|
|
|
this.$yrouter.push("/pages/life/articleList/index") |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
toNewActivity() { |
|
|
|
|
|
|
|
this.$yrouter.push("/pages/home/activityCenter/index") |
|
|
|
|
|
|
|
}, |
|
|
|
tabBarClick(index) { |
|
|
|
tabBarClick(index) { |
|
|
|
this.currentTabIndex = index |
|
|
|
this.currentTabIndex = index |
|
|
|
}, |
|
|
|
}, |
|
|
@ -288,12 +313,17 @@ export default { |
|
|
|
toGoodsDetail(id) { |
|
|
|
toGoodsDetail(id) { |
|
|
|
this.$yrouter.push({ |
|
|
|
this.$yrouter.push({ |
|
|
|
path: "/pages/shop/GoodsCon/index", |
|
|
|
path: "/pages/shop/GoodsCon/index", |
|
|
|
query: { id: id } |
|
|
|
query: { |
|
|
|
|
|
|
|
id: id |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
getProducts() { |
|
|
|
getProducts() { |
|
|
|
this.loadStatus = 'loading'; |
|
|
|
this.loadStatus = 'loading'; |
|
|
|
getProducts({page:this.page,limit:this.limit}).then((res)=>{ |
|
|
|
getProducts({ |
|
|
|
|
|
|
|
page: this.page, |
|
|
|
|
|
|
|
limit: this.limit |
|
|
|
|
|
|
|
}).then((res) => { |
|
|
|
if (this.page > 1) { |
|
|
|
if (this.page > 1) { |
|
|
|
this.flowList = this.flowList.concat(res.data) |
|
|
|
this.flowList = this.flowList.concat(res.data) |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -315,7 +345,9 @@ export default { |
|
|
|
if (val) { |
|
|
|
if (val) { |
|
|
|
this.$yrouter.push({ |
|
|
|
this.$yrouter.push({ |
|
|
|
path: "/pages/shop/GoodsList/index", |
|
|
|
path: "/pages/shop/GoodsList/index", |
|
|
|
query: { s: val } |
|
|
|
query: { |
|
|
|
|
|
|
|
s: val |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
setTimeout(() => (this.search = ""), 500); |
|
|
|
setTimeout(() => (this.search = ""), 500); |
|
|
|
} |
|
|
|
} |
|
|
@ -340,6 +372,7 @@ export default { |
|
|
|
background: #EEEEEE !important; |
|
|
|
background: #EEEEEE !important; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pageTitle-box { |
|
|
|
.pageTitle-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
position: fixed; |
|
|
|
position: fixed; |
|
|
@ -347,14 +380,17 @@ export default { |
|
|
|
z-index: 99; |
|
|
|
z-index: 99; |
|
|
|
transition: all .5s; |
|
|
|
transition: all .5s; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.showPageTitle { |
|
|
|
.showPageTitle { |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
|
color: #000000 !important; |
|
|
|
color: #000000 !important; |
|
|
|
opacity: 1; |
|
|
|
opacity: 1; |
|
|
|
|
|
|
|
|
|
|
|
.top-logo { |
|
|
|
.top-logo { |
|
|
|
color: #000; |
|
|
|
color: #000; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.page-top-box { |
|
|
|
.page-top-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
position: fixed; |
|
|
|
position: fixed; |
|
|
@ -364,11 +400,13 @@ export default { |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
|
padding: 0 30rpx 20rpx; |
|
|
|
padding: 0 30rpx 20rpx; |
|
|
|
box-shadow: 0px -6px 20px rgba(0, 0, 0, 0.11); |
|
|
|
box-shadow: 0px -6px 20px rgba(0, 0, 0, 0.11); |
|
|
|
|
|
|
|
|
|
|
|
.top-box { |
|
|
|
.top-box { |
|
|
|
.top-box-l { |
|
|
|
.top-box-l { |
|
|
|
font-size: 32rpx; |
|
|
|
font-size: 32rpx; |
|
|
|
color: #000; |
|
|
|
color: #000; |
|
|
|
font-weight: 500; |
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 26rpx; |
|
|
|
width: 26rpx; |
|
|
|
height: 30rpx; |
|
|
|
height: 30rpx; |
|
|
@ -376,22 +414,27 @@ export default { |
|
|
|
margin-right: 10rpx; |
|
|
|
margin-right: 10rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.cart-btn-box { |
|
|
|
.cart-btn-box { |
|
|
|
width: 50rpx; |
|
|
|
width: 50rpx; |
|
|
|
height: 50rpx; |
|
|
|
height: 50rpx; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.index { |
|
|
|
.index { |
|
|
|
height: 96rpx; |
|
|
|
height: 96rpx; |
|
|
|
|
|
|
|
|
|
|
|
.header { |
|
|
|
.header { |
|
|
|
height: 68rpx; |
|
|
|
height: 68rpx; |
|
|
|
position: static; |
|
|
|
position: static; |
|
|
|
padding: 0; |
|
|
|
padding: 0; |
|
|
|
margin-top: 34rpx; |
|
|
|
margin-top: 34rpx; |
|
|
|
|
|
|
|
|
|
|
|
.search { |
|
|
|
.search { |
|
|
|
background-color: #EEEEEE; |
|
|
|
background-color: #EEEEEE; |
|
|
|
border-radius: 8rpx; |
|
|
|
border-radius: 8rpx; |
|
|
@ -405,15 +448,18 @@ export default { |
|
|
|
height: 522rpx; |
|
|
|
height: 522rpx; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.back-bg image { |
|
|
|
.back-bg image { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 522rpx; |
|
|
|
height: 522rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.logo-title image { |
|
|
|
.logo-title image { |
|
|
|
margin-left: 20rpx; |
|
|
|
margin-left: 20rpx; |
|
|
|
width: 80rpx; |
|
|
|
width: 80rpx; |
|
|
|
height: 50rpx; |
|
|
|
height: 50rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.top-logo { |
|
|
|
.top-logo { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
@ -422,6 +468,7 @@ export default { |
|
|
|
font-size: 32rpx; |
|
|
|
font-size: 32rpx; |
|
|
|
transition: all .5s cubic-bezier(.25, .5, .5, .9); |
|
|
|
transition: all .5s cubic-bezier(.25, .5, .5, .9); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.details-btn { |
|
|
|
.details-btn { |
|
|
|
width: 196rpx; |
|
|
|
width: 196rpx; |
|
|
|
height: 52rpx; |
|
|
|
height: 52rpx; |
|
|
@ -441,33 +488,40 @@ export default { |
|
|
|
.yun-box { |
|
|
|
.yun-box { |
|
|
|
margin: 8rpx 40rpx 28rpx 40rpx; |
|
|
|
margin: 8rpx 40rpx 28rpx 40rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.headline-yun { |
|
|
|
.headline-yun { |
|
|
|
width: 112rpx; |
|
|
|
width: 112rpx; |
|
|
|
height: 52rpx; |
|
|
|
height: 52rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.more-r { |
|
|
|
.more-r { |
|
|
|
font-size: 24rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #8B8B8B; |
|
|
|
color: #8B8B8B; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.more-r image { |
|
|
|
.more-r image { |
|
|
|
width: 12rpx; |
|
|
|
width: 12rpx; |
|
|
|
height: 18rpx; |
|
|
|
height: 18rpx; |
|
|
|
margin-left: 8rpx; |
|
|
|
margin-left: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rotaion { |
|
|
|
.rotaion { |
|
|
|
width: 670rpx; |
|
|
|
width: 670rpx; |
|
|
|
margin-top: 24rpx; |
|
|
|
margin-top: 24rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 最新活动 |
|
|
|
// 最新活动 |
|
|
|
.act-box { |
|
|
|
.act-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 400rpx; |
|
|
|
height: 400rpx; |
|
|
|
padding-left: 40rpx; |
|
|
|
padding-left: 40rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.scroll-view_H { |
|
|
|
.scroll-view_H { |
|
|
|
white-space: nowrap; |
|
|
|
white-space: nowrap; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.slide-left { |
|
|
|
.slide-left { |
|
|
|
width: 584rpx; |
|
|
|
width: 584rpx; |
|
|
|
height: 344rpx; |
|
|
|
height: 344rpx; |
|
|
@ -477,40 +531,49 @@ export default { |
|
|
|
padding: 20rpx 32rpx 0 20rpx; |
|
|
|
padding: 20rpx 32rpx 0 20rpx; |
|
|
|
margin-right: 32rpx; |
|
|
|
margin-right: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-title { |
|
|
|
.act-title { |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #191919; |
|
|
|
color: #191919; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.resource-list { |
|
|
|
.resource-list { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 190rpx; |
|
|
|
height: 190rpx; |
|
|
|
margin: 18rpx 0 14rpx 0; |
|
|
|
margin: 18rpx 0 14rpx 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-img { |
|
|
|
.act-img { |
|
|
|
width: 162rpx; |
|
|
|
width: 162rpx; |
|
|
|
height: 190rpx; |
|
|
|
height: 190rpx; |
|
|
|
margin-right: 28rpx; |
|
|
|
margin-right: 28rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-con { |
|
|
|
.act-con { |
|
|
|
width: 338rpx; |
|
|
|
width: 338rpx; |
|
|
|
height: 190rpx; |
|
|
|
height: 190rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.act-adress view,.act-time view{ |
|
|
|
|
|
|
|
|
|
|
|
.act-adress view, |
|
|
|
|
|
|
|
.act-time view { |
|
|
|
width: 300rpx; |
|
|
|
width: 300rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #191919; |
|
|
|
color: #191919; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-time image { |
|
|
|
.act-time image { |
|
|
|
width: 18rpx; |
|
|
|
width: 18rpx; |
|
|
|
height: 22rpx; |
|
|
|
height: 22rpx; |
|
|
|
margin-right: 16rpx; |
|
|
|
margin-right: 16rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-adress image { |
|
|
|
.act-adress image { |
|
|
|
width: 19rpx; |
|
|
|
width: 19rpx; |
|
|
|
height: 23rpx; |
|
|
|
height: 23rpx; |
|
|
|
margin: 7rpx 14rpx 0 0; |
|
|
|
margin: 7rpx 14rpx 0 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.title-line { |
|
|
|
.title-line { |
|
|
|
width: 308rpx; |
|
|
|
width: 308rpx; |
|
|
|
height: 68rpx; |
|
|
|
height: 68rpx; |
|
|
@ -519,13 +582,16 @@ export default { |
|
|
|
color: #191919; |
|
|
|
color: #191919; |
|
|
|
white-space: pre-wrap; |
|
|
|
white-space: pre-wrap; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-price { |
|
|
|
.act-price { |
|
|
|
width: 335rpx; |
|
|
|
width: 335rpx; |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
|
|
|
|
.act-i { |
|
|
|
.act-i { |
|
|
|
font-size: 24rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #FF5A0E; |
|
|
|
color: #FF5A0E; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-p { |
|
|
|
.act-p { |
|
|
|
font-size: 32rpx; |
|
|
|
font-size: 32rpx; |
|
|
|
color: #2A2B2B; |
|
|
|
color: #2A2B2B; |
|
|
@ -538,19 +604,23 @@ export default { |
|
|
|
height: 62rpx; |
|
|
|
height: 62rpx; |
|
|
|
border-top: 1rpx solid #ECECEC; |
|
|
|
border-top: 1rpx solid #ECECEC; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-num image { |
|
|
|
.act-num image { |
|
|
|
width: 36rpx; |
|
|
|
width: 36rpx; |
|
|
|
height: 36rpx; |
|
|
|
height: 36rpx; |
|
|
|
border-radius: 50%; |
|
|
|
border-radius: 50%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-num { |
|
|
|
.act-num { |
|
|
|
min-width: 154rpx; |
|
|
|
min-width: 154rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.act-num text { |
|
|
|
.act-num text { |
|
|
|
font-size: 20rpx; |
|
|
|
font-size: 20rpx; |
|
|
|
color: #191919; |
|
|
|
color: #191919; |
|
|
|
margin-left: 8rpx; |
|
|
|
margin-left: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.enter-btn { |
|
|
|
.enter-btn { |
|
|
|
width: 138rpx; |
|
|
|
width: 138rpx; |
|
|
|
height: 40rpx; |
|
|
|
height: 40rpx; |
|
|
@ -561,6 +631,7 @@ export default { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
right: 38rpx; |
|
|
|
right: 38rpx; |
|
|
|
|
|
|
|
font-size: 24rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -572,25 +643,28 @@ export default { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-switch { |
|
|
|
.rec-switch { |
|
|
|
width: 670srpx; |
|
|
|
width: 670srpx; |
|
|
|
height: 423rpx; |
|
|
|
height: 423rpx; |
|
|
|
margin-top: 18rpx; |
|
|
|
|
|
|
|
background: #FFFFFF; |
|
|
|
background: #FFFFFF; |
|
|
|
box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.16); |
|
|
|
box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.16); |
|
|
|
border-radius: 20rpx; |
|
|
|
border-radius: 20rpx; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-bg { |
|
|
|
.rec-bg { |
|
|
|
width: 706rpx; |
|
|
|
width: 706rpx; |
|
|
|
height: 423rpx; |
|
|
|
height: 423rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-title { |
|
|
|
.rec-title { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 80rpx; |
|
|
|
height: 80rpx; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rev-bg { |
|
|
|
.rev-bg { |
|
|
|
width: 376rpx; |
|
|
|
width: 376rpx; |
|
|
|
height: 80rpx; |
|
|
|
height: 80rpx; |
|
|
@ -605,21 +679,27 @@ export default { |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
|
background-image: url(../../static/images/rec-bg.png); |
|
|
|
background-image: url(../../static/images/rec-bg.png); |
|
|
|
} |
|
|
|
} |
|
|
|
.rec-l,.rec-r{ |
|
|
|
|
|
|
|
|
|
|
|
.rec-l, |
|
|
|
|
|
|
|
.rec-r { |
|
|
|
width: 50%; |
|
|
|
width: 50%; |
|
|
|
z-index: 2; |
|
|
|
z-index: 2; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
} |
|
|
|
.rec-l .rec-bg, .rec-r .rec-bg{ |
|
|
|
|
|
|
|
|
|
|
|
.rec-l .rec-bg, |
|
|
|
|
|
|
|
.rec-r .rec-bg { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-r .rec-bg { |
|
|
|
.rec-r .rec-bg { |
|
|
|
transform: rotate(180deg); |
|
|
|
transform: rotateY(180deg); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-t { |
|
|
|
.rec-t { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
@ -627,39 +707,47 @@ export default { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
z-index: 3; |
|
|
|
z-index: 3; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-l image { |
|
|
|
.rec-l image { |
|
|
|
width: 37rpx; |
|
|
|
width: 37rpx; |
|
|
|
height: 37rpx; |
|
|
|
height: 37rpx; |
|
|
|
margin-right: 8rpx; |
|
|
|
margin-right: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-r image { |
|
|
|
.rec-r image { |
|
|
|
width: 42rpx; |
|
|
|
width: 42rpx; |
|
|
|
height: 43rpx; |
|
|
|
height: 43rpx; |
|
|
|
margin-right: 8rpx; |
|
|
|
margin-right: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-switch-a { |
|
|
|
.rec-switch-a { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 330rpx; |
|
|
|
height: 330rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.list-box { |
|
|
|
.list-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 330rpx; |
|
|
|
height: 330rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-list { |
|
|
|
.rec-list { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
height: 165rpx; |
|
|
|
height: 165rpx; |
|
|
|
padding: 30rpx 30rpx 15rpx 30rpx; |
|
|
|
padding: 30rpx 30rpx 15rpx 30rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-list image { |
|
|
|
.rec-list image { |
|
|
|
width: 64rpx; |
|
|
|
width: 64rpx; |
|
|
|
height: 64rpx; |
|
|
|
height: 64rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-name { |
|
|
|
.rec-name { |
|
|
|
width: 130rpx; |
|
|
|
width: 130rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #1D1D1D; |
|
|
|
color: #1D1D1D; |
|
|
|
margin-left: 16rpx; |
|
|
|
margin-left: 16rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-address { |
|
|
|
.rec-address { |
|
|
|
width: 80rpx; |
|
|
|
width: 80rpx; |
|
|
|
height: 34rpx; |
|
|
|
height: 34rpx; |
|
|
@ -670,11 +758,13 @@ export default { |
|
|
|
border-radius: 16px; |
|
|
|
border-radius: 16px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-end { |
|
|
|
.rec-end { |
|
|
|
font-size: 24rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #707070; |
|
|
|
color: #707070; |
|
|
|
margin-left: auto; |
|
|
|
margin-left: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rec-message { |
|
|
|
.rec-message { |
|
|
|
width: 582rpx; |
|
|
|
width: 582rpx; |
|
|
|
height: 40rpx; |
|
|
|
height: 40rpx; |
|
|
@ -721,17 +811,23 @@ export default { |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
.headline image{ |
|
|
|
.headline{ |
|
|
|
|
|
|
|
padding-right: 40rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.headline-img{ |
|
|
|
width: 148rpx; |
|
|
|
width: 148rpx; |
|
|
|
height: 52rpx; |
|
|
|
height: 52rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.warter-box { |
|
|
|
.warter-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
padding: 24rpx 0 190rpx 24rpx; |
|
|
|
padding: 24rpx 0 190rpx 24rpx; |
|
|
|
|
|
|
|
|
|
|
|
.u-waterfall { |
|
|
|
.u-waterfall { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
|
|
.u-column { |
|
|
|
.u-column { |
|
|
|
|
|
|
|
|
|
|
|
.warter { |
|
|
|
.warter { |
|
|
@ -742,13 +838,16 @@ export default { |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.06); |
|
|
|
box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.06); |
|
|
|
margin-bottom: 20rpx; |
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.goodsinfo-box { |
|
|
|
.goodsinfo-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
padding: 12rpx 16rpx; |
|
|
|
padding: 12rpx 16rpx; |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
.title { |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
font-weight: 500; |
|
|
|
font-weight: 500; |
|
|
@ -756,12 +855,14 @@ export default { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 80rpx; |
|
|
|
height: 80rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.price { |
|
|
|
.price { |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
font-weight: bold; |
|
|
|
font-weight: bold; |
|
|
|
line-height: 40rpx; |
|
|
|
line-height: 40rpx; |
|
|
|
color: #FF7942; |
|
|
|
color: #FF7942; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.old-price { |
|
|
|
.old-price { |
|
|
|
font-size: 20rpx; |
|
|
|
font-size: 20rpx; |
|
|
|
line-height: 28rpx; |
|
|
|
line-height: 28rpx; |
|
|
@ -773,48 +874,59 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.banner-img-box { |
|
|
|
.banner-img-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
padding: 220rpx 40rpx 32rpx; |
|
|
|
padding: 220rpx 40rpx 32rpx; |
|
|
|
|
|
|
|
|
|
|
|
.img-box-l { |
|
|
|
.img-box-l { |
|
|
|
width: 324rpx; |
|
|
|
width: 324rpx; |
|
|
|
height: 400rpx; |
|
|
|
height: 400rpx; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.img-box-r { |
|
|
|
.img-box-r { |
|
|
|
width: 324rpx; |
|
|
|
width: 324rpx; |
|
|
|
height: 400rpx; |
|
|
|
height: 400rpx; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: ; |
|
|
|
// align-items: ; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 324rpx; |
|
|
|
width: 324rpx; |
|
|
|
height: 190rpx; |
|
|
|
height: 190rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.goods-list-box { |
|
|
|
.goods-list-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
padding: 0 30rpx; |
|
|
|
padding: 0 30rpx; |
|
|
|
|
|
|
|
|
|
|
|
.goods-list-item { |
|
|
|
.goods-list-item { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
|
|
.goods-type-box { |
|
|
|
.goods-type-box { |
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 94rpx; |
|
|
|
width: 94rpx; |
|
|
|
height: 94rpx; |
|
|
|
height: 94rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.t-word { |
|
|
|
.t-word { |
|
|
|
font-size: 36rpx; |
|
|
|
font-size: 36rpx; |
|
|
|
color: #222; |
|
|
|
color: #222; |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.goods-list { |
|
|
|
.goods-list { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
|
|
.goods-item { |
|
|
|
.goods-item { |
|
|
|
width: 335rpx; |
|
|
|
width: 335rpx; |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
@ -823,21 +935,26 @@ export default { |
|
|
|
border-radius: 10rpx; |
|
|
|
border-radius: 10rpx; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.06); |
|
|
|
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.06); |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
image { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 278rpx; |
|
|
|
height: 278rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.goods-item:nth-child(2n) { |
|
|
|
.goods-item:nth-child(2n) { |
|
|
|
margin-right: 0; |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.goods-desc-box { |
|
|
|
.goods-desc-box { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
padding: 16rpx; |
|
|
|
padding: 16rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
|
|
|
|
|
|
|
|
.goods-name { |
|
|
|
.goods-name { |
|
|
|
line-height: 34rpx; |
|
|
|
line-height: 34rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.price { |
|
|
|
.price { |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #E5270F; |
|
|
|
color: #E5270F; |
|
|
|