|
|
@ -5,7 +5,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="intimate-hd" @click="openPage(1)"> |
|
|
|
<view class="intimate-hd" @click="openPage(1)"> |
|
|
|
<image :src="storeInfo.imageList?storeInfo.imageList[0]:''"></image> |
|
|
|
<image :src="storeInfo.imageList?storeInfo.imageList[0]:''"></image> |
|
|
|
<view class="a">{{storeInfo.shop_name}}<u-icon style="margin-left: 10rpx;" name="arrow-right"></u-icon></view> |
|
|
|
<view class="a">{{storeInfo.shop_name}} |
|
|
|
|
|
|
|
<u-icon style="margin-left: 10rpx;" name="arrow-right"></u-icon> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="b">{{storeInfo.summary}}</view> |
|
|
|
<view class="b">{{storeInfo.summary}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <scroll-view scroll-x class="intimate-menu"> |
|
|
|
<!-- <scroll-view scroll-x class="intimate-menu"> |
|
|
@ -17,7 +19,8 @@ |
|
|
|
<view class="intimate-bd"> |
|
|
|
<view class="intimate-bd"> |
|
|
|
<scroll-view scroll-y class="a"> |
|
|
|
<scroll-view scroll-y class="a"> |
|
|
|
<view class="item" @click="tabItem(-1)" :class="tabIndex==-1?'item-on':''">全部商品</view> |
|
|
|
<view class="item" @click="tabItem(-1)" :class="tabIndex==-1?'item-on':''">全部商品</view> |
|
|
|
<view class="item" @click="tabItem(i)" v-for="(a,i) in list" :key="i" :class="tabIndex==i?'item-on':''">{{a.name}}</view> |
|
|
|
<view class="item" @click="tabItem(i)" v-for="(a,i) in list" :key="i" :class="tabIndex==i?'item-on':''"> |
|
|
|
|
|
|
|
{{a.name}}</view> |
|
|
|
</scroll-view> |
|
|
|
</scroll-view> |
|
|
|
<view class="b"> |
|
|
|
<view class="b"> |
|
|
|
<view class="t"> |
|
|
|
<view class="t"> |
|
|
@ -49,7 +52,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import * as newFunApi from '@/api/newFun' |
|
|
|
import * as newFunApi from '@/api/newFun' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
@ -73,14 +76,14 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(o) { |
|
|
|
onLoad(o) { |
|
|
|
this.tabIndex = o.index?(o.index): -1 |
|
|
|
this.tabIndex = o.index ? (o.index) : -1 |
|
|
|
this.getList(); |
|
|
|
this.getList(); |
|
|
|
this.storeInfo = uni.getStorageSync("cityInfo") |
|
|
|
this.storeInfo = uni.getStorageSync("cityInfo") |
|
|
|
}, |
|
|
|
}, |
|
|
|
onPageScroll(e){ |
|
|
|
onPageScroll(e) { |
|
|
|
if(e.scrollTop <= 44){ |
|
|
|
if (e.scrollTop <= 44) { |
|
|
|
this.isScroll = true; |
|
|
|
this.isScroll = true; |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
this.isScroll = false; |
|
|
|
this.isScroll = false; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -89,8 +92,12 @@ |
|
|
|
* 获取列表 |
|
|
|
* 获取列表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
async getList() { |
|
|
|
async getList() { |
|
|
|
let {status, message, data} = await newFunApi.serverCategoryList({}); |
|
|
|
let { |
|
|
|
if(status == 200){ |
|
|
|
status, |
|
|
|
|
|
|
|
message, |
|
|
|
|
|
|
|
data |
|
|
|
|
|
|
|
} = await newFunApi.serverCategoryList({}); |
|
|
|
|
|
|
|
if (status == 200) { |
|
|
|
this.list = data.list |
|
|
|
this.list = data.list |
|
|
|
this.getGoodsList(); |
|
|
|
this.getGoodsList(); |
|
|
|
} |
|
|
|
} |
|
|
@ -99,42 +106,50 @@ |
|
|
|
* 获取商品列表 |
|
|
|
* 获取商品列表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
async getGoodsList() { |
|
|
|
async getGoodsList() { |
|
|
|
let {status, message, data} = await newFunApi.serverList({ |
|
|
|
let { |
|
|
|
|
|
|
|
status, |
|
|
|
|
|
|
|
message, |
|
|
|
|
|
|
|
data |
|
|
|
|
|
|
|
} = await newFunApi.serverList({ |
|
|
|
server_name: "", |
|
|
|
server_name: "", |
|
|
|
category_id: this.tabIndex == -1?"":(this.list.length > 0?this.list[this.tabIndex].category_id:""), |
|
|
|
category_id: this.tabIndex == -1 ? "" : (this.list.length > 0 ? this.list[this.tabIndex] |
|
|
|
order_field: this.filterIndex == 0?"server_price":this.filterIndex == 1?"line_price":this.filterIndex == 2?"sold":"", |
|
|
|
.category_id : ""), |
|
|
|
order_sort: this.filterFlag?"desc":"asc" |
|
|
|
order_field: this.filterIndex == 0 ? "server_price" : this.filterIndex == 1 ? |
|
|
|
|
|
|
|
"line_price" : this.filterIndex == 2 ? "sold" : "", |
|
|
|
|
|
|
|
order_sort: this.filterFlag ? "desc" : "asc" |
|
|
|
}); |
|
|
|
}); |
|
|
|
if(status == 200){ |
|
|
|
if (status == 200) { |
|
|
|
data.list.map(a => { |
|
|
|
if (data.list.length > 0) { |
|
|
|
a.server_price = Number(a.server_price); |
|
|
|
data.list.map(a => { |
|
|
|
a.line_price = Number(a.line_price) |
|
|
|
a.server_price = Number(a.server_price); |
|
|
|
}) |
|
|
|
a.line_price = Number(a.line_price) |
|
|
|
this.list1 = data.list |
|
|
|
}) |
|
|
|
this.isShow = data.total == 0?true:false |
|
|
|
this.list1 = data.list |
|
|
|
|
|
|
|
this.isShow = data.total == 0 ? true : false |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
openPage(index,a){ |
|
|
|
openPage(index, a) { |
|
|
|
if(index == 1){ |
|
|
|
if (index == 1) { |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/user/vip/goods" |
|
|
|
url: "/pages/user/vip/goods" |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else if(index == 2){ |
|
|
|
} else if (index == 2) { |
|
|
|
uni.setStorageSync("getInfo",a) |
|
|
|
uni.setStorageSync("getInfo", a) |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/news/recycling/detail?type=1" |
|
|
|
url: "/pages/news/recycling/detail?type=1" |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
tabItem(index){ |
|
|
|
tabItem(index) { |
|
|
|
this.tabIndex = index; |
|
|
|
this.tabIndex = index; |
|
|
|
this.filterIndex = 0; |
|
|
|
this.filterIndex = 0; |
|
|
|
this.getGoodsList(); |
|
|
|
this.getGoodsList(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
tabFilter(index){ |
|
|
|
tabFilter(index) { |
|
|
|
if(index == this.filterIndex){ |
|
|
|
if (index == this.filterIndex) { |
|
|
|
this.filterFlag = !this.filterFlag |
|
|
|
this.filterFlag = !this.filterFlag |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
this.filterFlag = true |
|
|
|
this.filterFlag = true |
|
|
|
} |
|
|
|
} |
|
|
|
this.filterIndex = index; |
|
|
|
this.filterIndex = index; |
|
|
@ -145,322 +160,367 @@ |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.intimate{ |
|
|
|
.intimate { |
|
|
|
background: url(https://www.royaum.com.cn/static/news/refund-bg1.png) center top no-repeat; |
|
|
|
background: url(https://www.royaum.com.cn/static/news/refund-bg1.png) center top no-repeat; |
|
|
|
background-size: 100% auto; |
|
|
|
background-size: 100% auto; |
|
|
|
&-hd{ |
|
|
|
|
|
|
|
width: 686rpx; |
|
|
|
&-hd { |
|
|
|
height: 170rpx; |
|
|
|
width: 686rpx; |
|
|
|
background: rgba(255,255,255,0.86); |
|
|
|
height: 170rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
background: rgba(255, 255, 255, 0.86); |
|
|
|
margin: 0 auto; |
|
|
|
border-radius: 12rpx; |
|
|
|
padding-top: 30rpx; |
|
|
|
margin: 0 auto; |
|
|
|
box-sizing: border-box; |
|
|
|
padding-top: 30rpx; |
|
|
|
margin-top: 30rpx; |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
image{ |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
width: 162rpx; |
|
|
|
|
|
|
|
height: 162rpx; |
|
|
|
|
|
|
|
border-radius: 162rpx; |
|
|
|
|
|
|
|
left: 18rpx; |
|
|
|
|
|
|
|
top: -20rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.a{ |
|
|
|
|
|
|
|
font-size: 32rpx; |
|
|
|
|
|
|
|
color: #212121; |
|
|
|
|
|
|
|
margin-left: 220rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.b{ |
|
|
|
|
|
|
|
margin-left: 220rpx; |
|
|
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
color: #646464; |
|
|
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&-menu{ |
|
|
|
|
|
|
|
height: 180rpx; |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
margin-top: 30rpx; |
|
|
|
|
|
|
|
padding: 0 20rpx; |
|
|
|
|
|
|
|
.item{ |
|
|
|
|
|
|
|
width: 150rpx; |
|
|
|
|
|
|
|
height: 180rpx; |
|
|
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
padding: 16rpx; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
box-sizing: border-box; |
|
|
|
border: 1px solid #FFFFFF; |
|
|
|
margin-top: 30rpx; |
|
|
|
text-align: center; |
|
|
|
position: relative; |
|
|
|
margin-left: 12rpx; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
image { |
|
|
|
image{ |
|
|
|
position: absolute; |
|
|
|
width: 112rpx; |
|
|
|
width: 162rpx; |
|
|
|
height: 112rpx; |
|
|
|
height: 162rpx; |
|
|
|
|
|
|
|
border-radius: 162rpx; |
|
|
|
|
|
|
|
left: 18rpx; |
|
|
|
|
|
|
|
top: -20rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.p{ |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
.a { |
|
|
|
overflow: hidden; |
|
|
|
font-size: 32rpx; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #212121; |
|
|
|
font-weight: 400; |
|
|
|
margin-left: 220rpx; |
|
|
|
color: #3F3F3F; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
&-on{ |
|
|
|
|
|
|
|
border: 1px solid #F21A1C; |
|
|
|
.b { |
|
|
|
|
|
|
|
margin-left: 220rpx; |
|
|
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
color: #646464; |
|
|
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-bd{ |
|
|
|
&-menu { |
|
|
|
padding: 30rpx 0 0; |
|
|
|
height: 180rpx; |
|
|
|
display: flex; |
|
|
|
white-space: nowrap; |
|
|
|
height: calc(100vh - 340rpx); |
|
|
|
margin-top: 30rpx; |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 0 20rpx; |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
.a{ |
|
|
|
.item { |
|
|
|
width: 150rpx; |
|
|
|
width: 150rpx; |
|
|
|
height: 100%; |
|
|
|
height: 180rpx; |
|
|
|
.item{ |
|
|
|
background: #FFFFFF; |
|
|
|
padding: 20rpx 35rpx; |
|
|
|
display: inline-block; |
|
|
|
border-left: 3px solid #FFFFFF; |
|
|
|
padding: 16rpx; |
|
|
|
line-height: 50rpx; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
color: #3F3F3F; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
box-sizing: border-box; |
|
|
|
&-on{ |
|
|
|
border: 1px solid #FFFFFF; |
|
|
|
background-color: #FFFFFF; |
|
|
|
text-align: center; |
|
|
|
border-left-color: #F34A40; |
|
|
|
margin-left: 12rpx; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
|
|
width: 112rpx; |
|
|
|
|
|
|
|
height: 112rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.p { |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
color: #3F3F3F; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&-on { |
|
|
|
|
|
|
|
border: 1px solid #F21A1C; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.b{ |
|
|
|
|
|
|
|
width: 600rpx; |
|
|
|
&-bd { |
|
|
|
height: 100%; |
|
|
|
padding: 30rpx 0 0; |
|
|
|
background-color: #FFFFFF; |
|
|
|
display: flex; |
|
|
|
.t{ |
|
|
|
height: calc(100vh - 340rpx); |
|
|
|
display: flex; |
|
|
|
box-sizing: border-box; |
|
|
|
align-items: center; |
|
|
|
overflow: hidden; |
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
.a { |
|
|
|
color: #3F3F3F; |
|
|
|
width: 150rpx; |
|
|
|
line-height: 100rpx; |
|
|
|
height: 100%; |
|
|
|
.item{ |
|
|
|
|
|
|
|
flex: 1; |
|
|
|
.item { |
|
|
|
|
|
|
|
padding: 20rpx 35rpx; |
|
|
|
|
|
|
|
border-left: 3px solid #FFFFFF; |
|
|
|
|
|
|
|
line-height: 50rpx; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
&-on{ |
|
|
|
font-size: 28rpx; |
|
|
|
color: #F34A40; |
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
color: #3F3F3F; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&-on { |
|
|
|
|
|
|
|
background-color: #FFFFFF; |
|
|
|
|
|
|
|
border-left-color: #F34A40; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.l{ |
|
|
|
|
|
|
|
height: calc(100% - 120rpx); |
|
|
|
.b { |
|
|
|
box-sizing: border-box; |
|
|
|
width: 600rpx; |
|
|
|
overflow: hidden; |
|
|
|
height: 100%; |
|
|
|
.item{ |
|
|
|
background-color: #FFFFFF; |
|
|
|
width: 270rpx; |
|
|
|
|
|
|
|
height: 389rpx; |
|
|
|
.t { |
|
|
|
background: #FFFFFF; |
|
|
|
display: flex; |
|
|
|
border-radius: 7rpx; |
|
|
|
align-items: center; |
|
|
|
opacity: 1; |
|
|
|
font-size: 28rpx; |
|
|
|
border: 1px solid #ECECEC; |
|
|
|
font-weight: 400; |
|
|
|
padding: 10rpx 15rpx; |
|
|
|
color: #3F3F3F; |
|
|
|
box-sizing: border-box; |
|
|
|
line-height: 100rpx; |
|
|
|
float: left; |
|
|
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
.item { |
|
|
|
margin-bottom: 20rpx; |
|
|
|
flex: 1; |
|
|
|
image{ |
|
|
|
text-align: center; |
|
|
|
width: 230rpx; |
|
|
|
|
|
|
|
height: 230rpx; |
|
|
|
&-on { |
|
|
|
display: block; |
|
|
|
color: #F34A40; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.title{ |
|
|
|
} |
|
|
|
padding: 10rpx 0; |
|
|
|
|
|
|
|
line-height: 40rpx; |
|
|
|
.l { |
|
|
|
font-size: 20rpx; |
|
|
|
height: calc(100% - 120rpx); |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|
box-sizing: border-box; |
|
|
|
font-weight: 400; |
|
|
|
overflow: hidden; |
|
|
|
color: #1E1E1E; |
|
|
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
.item { |
|
|
|
white-space: nowrap; |
|
|
|
width: 270rpx; |
|
|
|
overflow: hidden; |
|
|
|
height: 389rpx; |
|
|
|
text{ |
|
|
|
background: #FFFFFF; |
|
|
|
background-color: #F34A40; |
|
|
|
border-radius: 7rpx; |
|
|
|
font-size: 20rpx; |
|
|
|
opacity: 1; |
|
|
|
padding: 0 10rpx; |
|
|
|
border: 1px solid #ECECEC; |
|
|
|
height: 40rpx; |
|
|
|
padding: 10rpx 15rpx; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
float: left; |
|
|
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
|
|
width: 230rpx; |
|
|
|
|
|
|
|
height: 230rpx; |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
|
|
padding: 10rpx 0; |
|
|
|
line-height: 40rpx; |
|
|
|
line-height: 40rpx; |
|
|
|
text-align: center; |
|
|
|
font-size: 20rpx; |
|
|
|
border-radius: 4rpx; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|
font-weight: 400; |
|
|
|
font-weight: 400; |
|
|
|
color: #FFFFFF; |
|
|
|
color: #1E1E1E; |
|
|
|
margin-right: 5rpx; |
|
|
|
text-overflow: ellipsis; |
|
|
|
display: inline-block; |
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
|
|
|
|
background-color: #F34A40; |
|
|
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
|
|
padding: 0 10rpx; |
|
|
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
|
|
line-height: 40rpx; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
border-radius: 4rpx; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
margin-right: 5rpx; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.price{ |
|
|
|
.price { |
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
.n{ |
|
|
|
|
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: baseline; |
|
|
|
align-items: center; |
|
|
|
font-size: 11px; |
|
|
|
white-space: nowrap; |
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #F21A1C; |
|
|
|
.n { |
|
|
|
text{ |
|
|
|
display: flex; |
|
|
|
font-size: 29rpx; |
|
|
|
align-items: baseline; |
|
|
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #F21A1C; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
|
|
|
|
font-size: 29rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.o { |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
color: #949494; |
|
|
|
|
|
|
|
text-decoration: line-through; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.o{ |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
.desc { |
|
|
|
|
|
|
|
font-size: 10px; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
color: #949494; |
|
|
|
color: #949494; |
|
|
|
text-decoration: line-through; |
|
|
|
white-space: nowrap; |
|
|
|
} |
|
|
|
margin-top: 10rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.desc{ |
|
|
|
|
|
|
|
font-size: 10px; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
color: #949494; |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&-share{ |
|
|
|
&-share { |
|
|
|
width: 548rpx; |
|
|
|
|
|
|
|
height: 810rpx; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
.l{ |
|
|
|
|
|
|
|
width: 548rpx; |
|
|
|
width: 548rpx; |
|
|
|
background: #FFFFFF; |
|
|
|
height: 810rpx; |
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
.a{ |
|
|
|
.l { |
|
|
|
width: 490rpx; |
|
|
|
width: 548rpx; |
|
|
|
height: 243rpx; |
|
|
|
background: #FFFFFF; |
|
|
|
margin: 0 auto; |
|
|
|
margin: 0 auto; |
|
|
|
padding-top: 24rpx; |
|
|
|
|
|
|
|
image{ |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.b{ |
|
|
|
|
|
|
|
padding: 20rpx 20rpx; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
.item{ |
|
|
|
position: relative; |
|
|
|
width: 220rpx; |
|
|
|
|
|
|
|
height: 369rpx; |
|
|
|
.a { |
|
|
|
background: #FFFFFF; |
|
|
|
width: 490rpx; |
|
|
|
border-radius: 7rpx; |
|
|
|
height: 243rpx; |
|
|
|
opacity: 1; |
|
|
|
margin: 0 auto; |
|
|
|
border: 1px solid #ECECEC; |
|
|
|
padding-top: 24rpx; |
|
|
|
padding: 10rpx 0; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
image { |
|
|
|
float: left; |
|
|
|
width: 100%; |
|
|
|
margin-left: 20rpx; |
|
|
|
height: 100%; |
|
|
|
margin-bottom: 10rpx; |
|
|
|
|
|
|
|
image{ |
|
|
|
|
|
|
|
width: 180rpx; |
|
|
|
|
|
|
|
height: 180rpx; |
|
|
|
|
|
|
|
display: block; |
|
|
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.title{ |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.b { |
|
|
|
|
|
|
|
padding: 20rpx 20rpx; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.item { |
|
|
|
|
|
|
|
width: 220rpx; |
|
|
|
|
|
|
|
height: 369rpx; |
|
|
|
|
|
|
|
background: #FFFFFF; |
|
|
|
|
|
|
|
border-radius: 7rpx; |
|
|
|
|
|
|
|
opacity: 1; |
|
|
|
|
|
|
|
border: 1px solid #ECECEC; |
|
|
|
padding: 10rpx 0; |
|
|
|
padding: 10rpx 0; |
|
|
|
line-height: 40rpx; |
|
|
|
box-sizing: border-box; |
|
|
|
font-size: 20rpx; |
|
|
|
float: left; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|
margin-left: 20rpx; |
|
|
|
font-weight: 400; |
|
|
|
margin-bottom: 10rpx; |
|
|
|
color: #1E1E1E; |
|
|
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
image { |
|
|
|
white-space: nowrap; |
|
|
|
width: 180rpx; |
|
|
|
overflow: hidden; |
|
|
|
height: 180rpx; |
|
|
|
text{ |
|
|
|
display: block; |
|
|
|
background-color: #F34A40; |
|
|
|
margin: 0 auto; |
|
|
|
font-size: 20rpx; |
|
|
|
} |
|
|
|
padding: 0 10rpx; |
|
|
|
|
|
|
|
height: 40rpx; |
|
|
|
.title { |
|
|
|
|
|
|
|
padding: 10rpx 0; |
|
|
|
line-height: 40rpx; |
|
|
|
line-height: 40rpx; |
|
|
|
text-align: center; |
|
|
|
font-size: 20rpx; |
|
|
|
border-radius: 4rpx; |
|
|
|
font-family: PingFang SC, PingFang SC; |
|
|
|
font-weight: 400; |
|
|
|
font-weight: 400; |
|
|
|
color: #FFFFFF; |
|
|
|
color: #1E1E1E; |
|
|
|
margin-right: 5rpx; |
|
|
|
text-overflow: ellipsis; |
|
|
|
display: inline-block; |
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
|
|
|
|
background-color: #F34A40; |
|
|
|
|
|
|
|
font-size: 20rpx; |
|
|
|
|
|
|
|
padding: 0 10rpx; |
|
|
|
|
|
|
|
height: 40rpx; |
|
|
|
|
|
|
|
line-height: 40rpx; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
border-radius: 4rpx; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
margin-right: 5rpx; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.price{ |
|
|
|
.price { |
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
padding: 0 5rpx; |
|
|
|
|
|
|
|
.n{ |
|
|
|
|
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: baseline; |
|
|
|
align-items: center; |
|
|
|
font-size: 11px; |
|
|
|
white-space: nowrap; |
|
|
|
font-weight: 500; |
|
|
|
padding: 0 5rpx; |
|
|
|
color: #F21A1C; |
|
|
|
|
|
|
|
text{ |
|
|
|
.n { |
|
|
|
font-size: 29rpx; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
align-items: baseline; |
|
|
|
|
|
|
|
font-size: 11px; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #F21A1C; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text { |
|
|
|
|
|
|
|
font-size: 29rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.o { |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
color: #949494; |
|
|
|
|
|
|
|
text-decoration: line-through; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.o{ |
|
|
|
|
|
|
|
font-size: 12px; |
|
|
|
.desc { |
|
|
|
|
|
|
|
padding: 0 5rpx; |
|
|
|
|
|
|
|
font-size: 10px; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
color: #949494; |
|
|
|
color: #949494; |
|
|
|
text-decoration: line-through; |
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.desc{ |
|
|
|
|
|
|
|
padding: 0 5rpx; |
|
|
|
} |
|
|
|
font-size: 10px; |
|
|
|
|
|
|
|
font-weight: 400; |
|
|
|
.c { |
|
|
|
color: #949494; |
|
|
|
background-color: #F1F1F1; |
|
|
|
white-space: nowrap; |
|
|
|
height: 150rpx; |
|
|
|
margin-top: 10rpx;overflow: hidden; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
justify-content: flex-end; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
|
|
width: 140rpx; |
|
|
|
|
|
|
|
height: 122rpx; |
|
|
|
|
|
|
|
margin-right: 30rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.c{ |
|
|
|
|
|
|
|
background-color: #F1F1F1; |
|
|
|
.btn { |
|
|
|
height: 150rpx; |
|
|
|
width: 640rpx; |
|
|
|
display: flex; |
|
|
|
line-height: 80rpx; |
|
|
|
justify-content: flex-end; |
|
|
|
text-align: center; |
|
|
|
align-items: center; |
|
|
|
background: #F34A40; |
|
|
|
image{ |
|
|
|
position: fixed; |
|
|
|
width: 140rpx; |
|
|
|
left: 50%; |
|
|
|
height: 122rpx; |
|
|
|
margin-left: -320rpx; |
|
|
|
margin-right: 30rpx; |
|
|
|
top: 50%; |
|
|
|
} |
|
|
|
z-index: 2; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
margin-top: 450rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.btn{ |
|
|
|
|
|
|
|
width: 640rpx; |
|
|
|
|
|
|
|
line-height: 80rpx; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
background: #F34A40; |
|
|
|
|
|
|
|
position: fixed; |
|
|
|
|
|
|
|
left: 50%; |
|
|
|
|
|
|
|
margin-left: -320rpx; |
|
|
|
|
|
|
|
top: 50%; |
|
|
|
|
|
|
|
z-index: 2; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
|
|
|
font-size: 28rpx; |
|
|
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
margin-top: 450rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|
</style> |
|
|
|
<style> |
|
|
|
<style> |
|
|
|
.goods .uni-scroll-view .uni-scroll-view{ |
|
|
|
.goods .uni-scroll-view .uni-scroll-view { |
|
|
|
overflow: auto!important; |
|
|
|
overflow: auto !important; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|