Commit de979c22 by zhangxw

样式修改 访客字段取值修改

1 parent f6551082
...@@ -70,31 +70,32 @@ ...@@ -70,31 +70,32 @@
padding: 2rpx; padding: 2rpx;
.dataCon { .dataCon {
box-sizing: border-box;
display: flex;
width: 220rpx; width: 220rpx;
height: 52rpx; height: 52rpx;
background: #F7F8FA; background: #F7F8FA;
border-radius: 8rpx; border-radius: 8rpx;
display: flex;
align-items: center;
justify-content: center;
.item { .item {
// width: 33%; // width: 33%;
width: 72rpx;
height: 48rpx;
line-height: 48rpx;
text-align: center;
font-size: 24rpx; font-size: 24rpx;
color: #5A5E66; color: #5A5E66;
width: 72rpx;
height: 48rpx;
display: flex;
justify-content: center;
align-items: center;
} }
.active { .active {
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 0 8rpx 0 #0000000f; box-shadow: 0 0 4px 0 #0000000f;
border-radius: 6rpx; border-radius: 3px;
font-weight: 500;
font-size: 24rpx;
color: #181A1F; color: #181A1F;
font-weight: 500;
} }
} }
} }
......
...@@ -8,7 +8,7 @@ Component({ ...@@ -8,7 +8,7 @@ Component({
data: { data: {
IMG_URL, IMG_URL,
productionValueList: [ productionValueList: [
{title: '当日访客', num: '2', imgName: 'icon_5',valueName:'todayFansCount'}, {title: '当日访客', num: '2', imgName: 'icon_5',valueName:'todayfansCount'},
{title: '当日订单', num: '3', imgName: 'icon_4',valueName:'todayOrderCount'}, {title: '当日订单', num: '3', imgName: 'icon_4',valueName:'todayOrderCount'},
{title: '当日产值', num: '4', imgName: 'icon_3',valueName:'todayAmount'}, {title: '当日产值', num: '4', imgName: 'icon_3',valueName:'todayAmount'},
{title: '累计访客', num: '5', imgName: 'icon_10',valueName:'totalfansCount'}, {title: '累计访客', num: '5', imgName: 'icon_10',valueName:'totalfansCount'},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!