Commit f1bf6d51 by 前端

fixed

1 parent 374b76ad
...@@ -240,6 +240,14 @@ class ActivityApi { ...@@ -240,6 +240,14 @@ class ActivityApi {
...data ...data
}) })
} }
/**看产值-车损权益升级-产值总览当日 */
merchantsOutputToday(data) {
return api.post({
method: `scrm.api.boutiquecoupon.store.assistant.merchants.total.output.value.statistics.today`,
...data
})
}
/**看产值-车损权益升级-产值报表 */ /**看产值-车损权益升级-产值报表 */
merchantsOutputReport(data) { merchantsOutputReport(data) {
return api.post({ return api.post({
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
// 配置预发布的小程序aapId // 配置预发布的小程序aapId
export const preReleaseAppId = 'wxc50d04ae5aa9984a' export const preReleaseAppId = '55555'
// 小程序id // 小程序id
export const appId = 'wxc50d04ae5aa9984a' export const appId = 'wxc50d04ae5aa9984a'
......
<view class='tips'> <view class='tips'>
<view class='choose-box' bindtap="choose"> <view class='choose-box' bindtap="choose">
<view class='icon'> <view class='icon'>
<image src="{{agree?'./images/ok.png':'./images/box.png'}}" class='check-img' /> <icon wx:if="{{agree}}" class="icon-small" type="success" size="14" color="#4466F0"></icon>
<icon wx:else class="icon-small" type="circle" size="14" color="#4466F0"></icon>
</view> </view>
</view> </view>
阅读并同意以下协议 阅读并同意以下协议
......
...@@ -129,7 +129,7 @@ Component({ ...@@ -129,7 +129,7 @@ Component({
let { userInfo } = wx.$storage.get() let { userInfo } = wx.$storage.get()
let params = { let params = {
...sortSearchData, ...sortSearchData,
merchantIds: [userInfo.subLoginUser.merchantId], merchantIds: userInfo.subLoginUser.permissionMerchantIds,
} }
outputApi.getBusiStatistics(params).then(res => { outputApi.getBusiStatistics(params).then(res => {
this.resetBusiData() this.resetBusiData()
......
/* pages/tab/output/components/client/client.wxss */ /* pages/tab/output/components/client/client.wxss */
.client { .client {
box-sizing: border-box; box-sizing: border-box;
height: calc(100% - 92rpx); height: calc(100% - 92rpx);
color: #323436; color: #323436;
} }
.client-box { .client-box {
margin: 0 16rpx; margin: 0 16rpx;
.input-box { .input-box {
width: 686rpx; 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; height: 64rpx;
line-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 {
flex: 1;
height: 64rpx;
line-height: 64rpx;
}
}
} }
.shadow { .shadow {
box-shadow: 0 2rpx 20rpx 0 #b4bacc52; box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
// box-shadow: 0 2rpx 20rpx 0 red; // box-shadow: 0 2rpx 20rpx 0 red;
} }
.output-box { .output-box {
margin: 16rpx 0; margin: 16rpx 0;
} }
.flex { .flex {
display: flex; display: flex;
} }
.flex-between { .flex-between {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
.profit-box { .profit-box {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
width: 100%; width: 100%;
height: 96rpx; height: 96rpx;
line-height: 96rpx; line-height: 96rpx;
color: #8A8C90; color: #8A8C90;
padding: 0 20rpx 0 32rpx; padding: 0 20rpx 0 32rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
margin-top: 16rpx; margin-top: 16rpx;
background-size: 100% 96rpx; background-size: 100% 96rpx;
.price-txt { .price-txt {
// font-family: 'test'; // font-family: 'test';
font-size: 40rpx; font-size: 40rpx;
margin-left: 16rpx; margin-left: 16rpx;
// font-weight: Bold; // font-weight: Bold;
// font-family: 'number'; // font-family: 'number';
// font-size: 26rpx; // font-size: 26rpx;
} }
} }
.sort-fix { .sort-fix {
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
top: 0; top: 0;
left: 16rpx; left: 16rpx;
} }
.price-txt { .price-txt {
// font-family: 'test'; // font-family: 'test';
font-weight: Bold; font-weight: Bold;
// font-weight: 600; // font-weight: 600;
font-size: 26rpx; font-size: 26rpx;
color: #F35251; color: #F35251;
} }
.box { .box {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
background: #FFFFFF; background: #FFFFFF;
border-radius: 8rpx; border-radius: 8rpx;
padding: 28rpx 0 32rpx; padding: 28rpx 0 32rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
.head { .head {
position: relative; position: relative;
// height: 40rpx; // height: 40rpx;
line-height: 40rpx; line-height: 40rpx;
font-size: 28rpx; font-size: 28rpx;
color: #323436; color: #323436;
padding-right: 20rpx; padding-right: 20rpx;
&::before { &::before {
position: absolute; position: absolute;
left: 0; left: 0;
top: 4rpx; top: 4rpx;
content: ''; content: '';
width: 6rpx; width: 6rpx;
height: 32rpx; height: 32rpx;
background: #3666FE; background: #3666FE;
border-radius: 0 4rpx 4rpx 0; border-radius: 0 4rpx 4rpx 0;
} }
.name { .name {
width: 70%; width: 70%;
margin-left: 32rpx; margin-left: 32rpx;
font-weight: bold; font-weight: bold;
} }
.price-txt { .price-txt {
font-size: 26rpx; font-size: 26rpx;
}
} }
}
&-content {
&-content { padding: 22rpx 10rpx 0;
padding: 22rpx 10rpx 0;
}
&-bottom {
margin-top: 20rpx;
padding: 0 22rpx;
.tip-blue {
width: 56rpx;
height: 28rpx;
font-weight: 400;
font-size: 20rpx;
color: #3E71FE;
padding: 4rpx 8rpx;
text-align: center;
background: rgba(62, 113, 254, 0.12);
border-radius: 4rpx;
} }
.bottom-content { &-bottom {
width: calc(100% - 56rpx); margin-top: 20rpx;
margin-left: 16rpx; padding: 0 22rpx;
.tip-blue {
width: 56rpx;
height: 28rpx;
font-weight: 400;
font-size: 20rpx;
color: #3E71FE;
padding: 4rpx 8rpx;
text-align: center;
background: rgba(62, 113, 254, 0.12);
border-radius: 4rpx;
}
.tip-row { .bottom-content {
font-size: 20rpx; width: calc(100% - 56rpx);
color: #323436; margin-left: 16rpx;
line-height: 32rpx;
.tip-link { .tip-row {
color: #3E71FE; font-size: 20rpx;
} color: #323436;
line-height: 32rpx;
.tip-link {
color: #3E71FE;
}
.time { .time {
color: #8A8C90; color: #8A8C90;
; ;
}
}
} }
}
} }
}
} }
.box.share { .box.share {
margin-bottom: 0; margin-bottom: 0;
} }
.box-share { .box-share {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
padding: 12rpx 20rpx; padding: 12rpx 20rpx;
background: #FFF9F2; background: #FFF9F2;
border-radius: 0 0 8rpx 8rpx; border-radius: 0 0 8rpx 8rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
.btn-share { .btn-share {
width: 112rpx; width: 112rpx;
height: 56rpx; height: 56rpx;
line-height: 56rpx; line-height: 56rpx;
background: #3666FE; background: #3666FE;
border-radius: 28rpx; border-radius: 28rpx;
font-size: 24rpx; font-size: 24rpx;
color: #FFFFFF; color: #FFFFFF;
text-align: center; text-align: center;
margin-left: 20rpx; margin-left: 20rpx;
} }
} }
.end-txt { .end-txt {
font-size: 24rpx; font-size: 24rpx;
text-align: center; text-align: center;
color: #CCCED1; color: #CCCED1;
padding-bottom: 60rpx; padding-bottom: 60rpx;
} }
@font-face { @font-face {
/* 是你封装的名字 */ /* 是你封装的名字 */
font-family: "test"; font-family: "test";
/* 你字体包的位置 */ /* 你字体包的位置 */
/* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */ /* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */
src: url('Gotham-Black.otf'); src: url('Gotham-Black.otf');
/* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */ /* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */
/* format('opentype'); */ /* format('opentype'); */
} }
.test { .test {
font-family: 'test'; font-family: 'test';
} }
\ 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!