Commit 829af35a by 前端

fixed

1 parent be4d77b4
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
.layout { .layout {
position: relative; position: relative;
.bg-box { .bg-box {
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
left: 0; left: 0;
z-index: -1; z-index: -1;
.bg { .bg {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -17,23 +19,29 @@ ...@@ -17,23 +19,29 @@
left: 0; left: 0;
} }
} }
.store-box { .store-box {
margin: 32rpx; margin: 32rpx;
.store-item { .store-item {
display: flex; display: flex;
.store-logo { .store-logo {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
} }
.store-content { .store-content {
margin-left: 12rpx; margin-left: 12rpx;
margin-bottom: 24rpx; margin-bottom: 24rpx;
.store-name { .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;
...@@ -41,6 +49,7 @@ ...@@ -41,6 +49,7 @@
} }
} }
} }
.date-input { .date-input {
width: 686rpx; width: 686rpx;
height: 64rpx; height: 64rpx;
...@@ -52,21 +61,25 @@ ...@@ -52,21 +61,25 @@
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 { .output-box {
background: #F4F8FE; background: #F4F8FE;
border-radius: 32rpx; border-radius: 32rpx;
margin: 0 16rpx; margin: 0 16rpx;
padding: 24rpx; padding: 24rpx;
.output-title { .output-title {
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
...@@ -74,6 +87,7 @@ ...@@ -74,6 +87,7 @@
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%);
...@@ -101,11 +115,13 @@ ...@@ -101,11 +115,13 @@
} }
} }
} }
.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;
...@@ -114,38 +130,46 @@ ...@@ -114,38 +130,46 @@
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;
} }
}
.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; width: 100%;
font-size: 24rpx;
color: #8A8C90;
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden; overflow: hidden;
#client { position: absolute;
height: 100%; left: 0;
} z-index: -1;
&::after { .bg {
content: '';
width: 100%; width: 100%;
// height: 486rpx; height: 100%;
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;
top: 0;
z-index: -1; 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}}" <client id="client" />
value="{{subIndex}}" </view> -->
range-key="merchantName" <view class="layout" id="layout" style="top:{{navHeight}}px; height: calc(100vh - 150rpx)">
bindchange="changePicker" <!-- 背景图 -->
bindtap="tapPicker" <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
bindcancel="tapPicker" <view class="bg">
disabled="{{merchantRange.length < 2}}"> --> <glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
<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>
</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}}">
<merchant id="merchant" />
</view> -->
</view>
<accountSwitchingPop wx:if="{{popupShow}}" bind:hidePopup="tapPicker" bind:changeAccount="getMerchantRange" popShow="{{popupShow}}" merchantRange="{{merchantRange}}" />
<!-- 加微 --> <!-- 加微 -->
<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!