Commit 829af35a by 前端

fixed

1 parent be4d77b4
...@@ -2,46 +2,55 @@ ...@@ -2,46 +2,55 @@
.layout { .layout {
position: relative; position: relative;
.bg-box {
width: 100%; .bg-box {
overflow: hidden; width: 100%;
position: absolute; overflow: hidden;
left: 0; position: absolute;
z-index: -1; left: 0;
.bg { z-index: -1;
width: 100%;
height: 100%; .bg {
position: absolute; width: 100%;
z-index: -1; height: 100%;
top: 0; position: absolute;
left: 0; z-index: -1;
} top: 0;
} left: 0;
.store-box { }
margin: 32rpx; }
.store-item {
display: flex; .store-box {
.store-logo { margin: 32rpx;
.store-item {
display: flex;
.store-logo {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
} }
.store-content {
margin-left: 12rpx; .store-content {
margin-bottom: 24rpx; margin-left: 12rpx;
.store-name { margin-bottom: 24rpx;
.store-name {
font-weight: 600; font-weight: 600;
font-size: 28rpx; font-size: 28rpx;
color: #1B233D; color: #1B233D;
line-height: 32rpx; line-height: 32rpx;
} }
.store-desc {
.store-desc {
font-size: 24rpx; font-size: 24rpx;
color: #1b233da8; color: #1b233da8;
line-height: 32rpx; line-height: 32rpx;
} }
} }
} }
.date-input {
.date-input {
width: 686rpx; width: 686rpx;
height: 64rpx; height: 64rpx;
background: #ffffff7d; background: #ffffff7d;
...@@ -52,28 +61,33 @@ ...@@ -52,28 +61,33 @@
padding: 0rpx 24rpx; padding: 0rpx 24rpx;
box-sizing: border-box; box-sizing: border-box;
justify-content: space-between; justify-content: space-between;
.date-value { .date-value {
font-size: 24rpx; font-size: 24rpx;
color: #666666; color: #666666;
} }
.date-icon { .date-icon {
width: 32rpx; width: 32rpx;
height: 31rpx; height: 31rpx;
} }
} }
} }
.output-box {
background: #F4F8FE; .output-box {
border-radius: 32rpx; background: #F4F8FE;
margin: 0 16rpx; border-radius: 32rpx;
padding: 24rpx; margin: 0 16rpx;
.output-title { padding: 24rpx;
.output-title {
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
color: #1B233D; color: #1B233D;
line-height: 48rpx; line-height: 48rpx;
margin-bottom: 22rpx; margin-bottom: 22rpx;
} }
.output-value { .output-value {
display: grid; display: grid;
grid-template-columns: repeat(3, 33.33%); grid-template-columns: repeat(3, 33.33%);
...@@ -81,17 +95,17 @@ ...@@ -81,17 +95,17 @@
padding: 32rpx; padding: 32rpx;
background-image: linear-gradient(180deg, #FFFFFF 72%, #EBF1FF 100%); background-image: linear-gradient(180deg, #FFFFFF 72%, #EBF1FF 100%);
border-radius: 16rpx; border-radius: 16rpx;
.output-item { .output-item {
text-align: center; text-align: center;
.output-num { .output-num {
font-weight: 600; font-weight: 600;
font-size: 44rpx; font-size: 44rpx;
color: #1B233D; color: #1B233D;
line-height: 64rpx; line-height: 64rpx;
} }
.output-label { .output-label {
font-size: 24rpx; font-size: 24rpx;
color: #6E6E7A; color: #6E6E7A;
...@@ -100,52 +114,62 @@ ...@@ -100,52 +114,62 @@
} }
} }
} }
} }
.billboard-box {
.billboard-box {
background: #F4F8FE; background: #F4F8FE;
border-radius: 32rpx; border-radius: 32rpx;
margin: 16rpx; margin: 16rpx;
padding: 24rpx; padding: 24rpx;
.billboard-title { .billboard-title {
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
color: #1B233D; color: #1B233D;
line-height: 48rpx; line-height: 48rpx;
margin-bottom: 22rpx; margin-bottom: 22rpx;
} }
} }
.billboard-border {
.billboard-border {
width: 670rpx; width: 670rpx;
height: 512rpx; height: 512rpx;
background-image: linear-gradient(180deg, #FFFFFF 72%, #EBF1FF 100%); background-image: linear-gradient(180deg, #FFFFFF 72%, #EBF1FF 100%);
border-radius: 16rpx; border-radius: 16rpx;
position: relative; position: relative;
.billboard-item {
.billboard-item {
width: 209.54rpx; width: 209.54rpx;
height: 321.3rpx; height: 321.3rpx;
position: absolute; position: absolute;
&:first-child { &:first-child {
top: 97rpx; top: 97rpx;
left:207rpx; left: 207rpx;
z-index: 10; z-index: 10;
.bill-bg { .bill-bg {
width: 233.52rpx!important; width: 233.52rpx !important;
height: 358.06rpx!important; height: 358.06rpx !important;
} }
} }
&:nth-child(2) { &:nth-child(2) {
left: 37rpx; left: 37rpx;
top: 167rpx; top: 167rpx;
width: 233.52rpx; width: 233.52rpx;
height: 358.06rpx; height: 358.06rpx;
} }
&:nth-child(3) { &:nth-child(3) {
z-index: 20; z-index: 20;
top: 220rpx; top: 220rpx;
right: 37rpx; right: 37rpx;
} }
.billboard-item-bar { .billboard-item-bar {
position: relative; position: relative;
.bill-bg { .bill-bg {
width: 209.54rpx; width: 209.54rpx;
height: 321.3rpx; height: 321.3rpx;
...@@ -153,15 +177,17 @@ ...@@ -153,15 +177,17 @@
top: 0; top: 0;
left: 0; left: 0;
} }
.bill-num { .bill-num {
position: absolute; position: absolute;
top: -40rpx; top: -40rpx;
width: 100%; width: 100%;
text-align: center; text-align: center;
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
color: #FE5662; color: #FE5662;
} }
.bill-name { .bill-name {
position: absolute; position: absolute;
top: 10rpx; top: 10rpx;
...@@ -169,13 +195,14 @@ color: #FE5662; ...@@ -169,13 +195,14 @@ color: #FE5662;
text-align: center; text-align: center;
z-index: 100; z-index: 100;
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #1B233D; color: #1B233D;
} }
} }
} }
}
} }
.van-picker__toolbar {
display: none!important;
}
\ No newline at end of file \ No newline at end of file
}
.van-picker__toolbar {
display: none !important;
}
\ No newline at end of file \ No newline at end of file
...@@ -3,13 +3,28 @@ ...@@ -3,13 +3,28 @@
box-sizing: border-box; box-sizing: border-box;
height: calc(100% - 92rpx); height: calc(100% - 92rpx);
color: #323436; color: #323436;
// padding-top: 16rpx;
// background-color: #F2F3F7;
background-color: #FFFFFF;
} }
.client-box { .client-box {
margin: 0 16rpx; margin: 0 16rpx;
.input-box {
width: 686rpx;
height: 64rpx;
background: #ffffff7d;
border: 2rpx solid #EEEEEE;
border-radius: 12rpx;
margin: 24rpx auto;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 0rpx 24rpx 0rpx 40rpx;
input {
height: 64rpx;
line-height: 64rpx;
}
}
} }
.shadow { .shadow {
...@@ -40,7 +55,6 @@ ...@@ -40,7 +55,6 @@
padding: 0 20rpx 0 32rpx; padding: 0 20rpx 0 32rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
margin-top: 16rpx; margin-top: 16rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg-profit.png') no-repeat;
background-size: 100% 96rpx; background-size: 100% 96rpx;
.price-txt { .price-txt {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<text>总产值</text> <text>总产值</text>
<text class="price-txt">¥{{filter.money_three_for_two_thousands(totalProfit || 0.00)}}</text> <text class="price-txt">¥{{filter.money_three_for_two_thousands(totalProfit || 0.00)}}</text>
</view> </view>
<view><input type="text" placeholder="输入门店"/></view> <view class="input-box"><input type="text" placeholder="输入门店"/><icon class="icon-small" type="search" size="14"></icon></view>
<view> <view>
<sort-tab id="sortTab" class="{{stickyScrollTop > 74 ? 'sort-fix' : ''}}" style="top: {{stickyScrollTop - 16 + 'px'}}" sceneCode="{{formData.sceneCode}}" bindhandleSort="handleSort"></sort-tab> <sort-tab id="sortTab" class="{{stickyScrollTop > 74 ? 'sort-fix' : ''}}" style="top: {{stickyScrollTop - 16 + 'px'}}" sceneCode="{{formData.sceneCode}}" bindhandleSort="handleSort"></sort-tab>
</view> </view>
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
background-color: #FFFFFF; background-color: #FFFFFF;
padding: 0 20rpx; padding: 0 20rpx;
margin-bottom: 4rpx; margin-bottom: 4rpx;
border-top-left-radius: 32rpx;
border-top-right-radius: 32rpx;
.title { .title {
width: 196rpx; width: 196rpx;
flex-shrink: 0; flex-shrink: 0;
......
...@@ -10,32 +10,25 @@ ...@@ -10,32 +10,25 @@
} }
.layout { .layout {
box-sizing: border-box;
position: relative; position: relative;
// padding: 400rpx 16rpx 0; .bg-box {
padding-top: 400rpx;
font-size: 24rpx;
color: #8A8C90;
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
#client {
height: 100%;
}
&::after {
content: '';
width: 100%; width: 100%;
// height: 486rpx; overflow: hidden;
height: 350rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg.png') no-repeat;
background-size: 100% 264rpx;
background-color: #fff;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0;
z-index: -1; z-index: -1;
.bg {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
top: 0;
left: 0;
}
}
#client {
height: 100%;
} }
.tabContainer { .tabContainer {
......
<!-- pages/tab/output/output.wxml --> <!-- pages/tab/output/output.wxml -->
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady"> <navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">看产值</navigation-bar>
<!-- <picker <!-- <view class="layout" style="padding-top:{{tabBarStyle}}px;">
range="{{merchantRange}}"
value="{{subIndex}}"
range-key="merchantName"
bindchange="changePicker"
bindtap="tapPicker"
bindcancel="tapPicker"
disabled="{{merchantRange.length < 2}}"> -->
<view class="navigation-title" bindtap="tapPicker">
<view class="navigation-title-text text-hide">
{{merchantRange[subIndex].merchantName||userInfo.merchantName}}
</view>
<view class="arrow {{moveArrow?'move':''}}" wx:if="{{merchantRange.length > 1}}">
<image src="{{IMG_URL}}/output/arrow.png" />
</view>
</view>
<!-- </picker> height:calc(100vh - {{tabBarStyle}}px) -->
</navigation-bar>
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
<client id="client" /> <client id="client" />
<!-- 我的门店 --> </view> -->
<!-- <view class="comCom" hidden="{{tabIndx != 1}}"> <view class="layout" id="layout" style="top:{{navHeight}}px; height: calc(100vh - 150rpx)">
<merchant id="merchant" /> <!-- 背景图 -->
</view> --> <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
</view> <view class="bg">
<accountSwitchingPop wx:if="{{popupShow}}" bind:hidePopup="tapPicker" bind:changeAccount="getMerchantRange" popShow="{{popupShow}}" merchantRange="{{merchantRange}}" /> <glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
</view>
</view>
<client id="client" />
</view>
<!-- 加微 --> <!-- 加微 -->
<service wx:if="{{isShowService}}"></service> <service wx:if="{{isShowService}}"></service>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!