5.11 首页修改
This commit is contained in:
@@ -106,7 +106,17 @@
|
||||
this.countScrollTitle(e.scrollTop);
|
||||
},
|
||||
onLoad(e) {
|
||||
|
||||
// #ifdef APP-PLUS || H5
|
||||
uni.getSystemInfo({
|
||||
success: (res) => {
|
||||
console.log(res)
|
||||
this.menuInfo = res
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
this.menuInfo = uni.getMenuButtonBoundingClientRect()
|
||||
// #endif
|
||||
},
|
||||
onUnload() {
|
||||
|
||||
|
||||
@@ -53,7 +53,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="shop_contentlist flex-between">
|
||||
<view class="shop_contentlistitem flex-colum-start" @click="clickshopinfo(item)" v-for="(item,index) in 4" :key="index">
|
||||
<view class="shop_contentlistitem flex-colum-start" @click="clickshopinfo(item)"
|
||||
v-for="(item,index) in 4" :key="index">
|
||||
<image class="shop_contentlistitemimage" src="@/static/avatar.png" mode="aspectFill"></image>
|
||||
<view class="shop_contentlistitemone">
|
||||
澳洲高级洗发水
|
||||
@@ -86,7 +87,7 @@
|
||||
data() {
|
||||
return {
|
||||
keyword: '',
|
||||
menuInfo: uni.getMenuButtonBoundingClientRect(),
|
||||
menuInfo: {},
|
||||
paddingBtmSize: 6,
|
||||
isFixed: false,
|
||||
active: 0,
|
||||
@@ -134,16 +135,26 @@
|
||||
}
|
||||
this.countScrollTitle(e.scrollTop);
|
||||
},
|
||||
onLoad(e) {
|
||||
|
||||
onLoad() {
|
||||
// #ifdef APP-PLUS || H5
|
||||
uni.getSystemInfo({
|
||||
success: (e) => {
|
||||
console.log(e)
|
||||
this.menuInfo = e
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
this.menuInfo = uni.getMenuButtonBoundingClientRect()
|
||||
// #endif
|
||||
},
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
clickshopinfo(item){
|
||||
uni.pro.navigateTo('user/shop/shopinfo',{
|
||||
item:item
|
||||
clickshopinfo(item) {
|
||||
uni.pro.navigateTo('user/shop/shopinfo', {
|
||||
item: item
|
||||
})
|
||||
},
|
||||
// 导航栏点击
|
||||
@@ -180,9 +191,11 @@
|
||||
$tabLeft: 200upx;
|
||||
$itemH: 100upx;
|
||||
$cartH: 90upx;
|
||||
page{
|
||||
|
||||
page {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.nav-wrap {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
@@ -360,13 +373,16 @@
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
}
|
||||
.shop_contentlistitemtow{
|
||||
|
||||
.shop_contentlistitemtow {
|
||||
padding: 16rpx 16rpx 0 16rpx;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
}
|
||||
view{
|
||||
|
||||
view {
|
||||
margin-left: 6rpx;
|
||||
font-family: SourceHanSansCN-Medium, SourceHanSansCN-Medium;
|
||||
font-weight: normal;
|
||||
@@ -374,10 +390,12 @@
|
||||
color: #FF981E;
|
||||
}
|
||||
}
|
||||
.shop_contentlistitemthere{
|
||||
|
||||
.shop_contentlistitemthere {
|
||||
padding: 16rpx;
|
||||
width: 100%;
|
||||
view:nth-child(1){
|
||||
|
||||
view:nth-child(1) {
|
||||
font-family: SourceHanSansCN-Regular, SourceHanSansCN-Regular;
|
||||
font-weight: normal;
|
||||
font-size: 20rpx;
|
||||
@@ -387,7 +405,8 @@
|
||||
text-decoration-line: line-through;
|
||||
text-transform: none;
|
||||
}
|
||||
view:nth-child(2){
|
||||
|
||||
view:nth-child(2) {
|
||||
font-family: SourceHanSansCN-Regular, SourceHanSansCN-Regular;
|
||||
font-weight: normal;
|
||||
font-size: 20rpx;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<image class="contentimage" src="@/static/ewm.png" mode="aspectFill"></image>
|
||||
<image class="contentimage" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/ewm.png" mode="aspectFill"></image>
|
||||
<view class="contentbox">
|
||||
<view class="contentbox_one">
|
||||
111
|
||||
|
||||
Reference in New Issue
Block a user