[综法改版,个人中心新增数据模块]

This commit is contained in:
2023-06-21 17:07:43 +08:00
parent 47a057b35b
commit be6d4622bc
10 changed files with 828 additions and 115 deletions

View File

@@ -31,13 +31,13 @@
<view class="userTop-see" v-if="userLogin">
<view class="userTop-label" @click="$Router.push({name: 'sheetIndex'})">
<view class="userSee-name">
金法咨询单
协商调解类
</view>
<view class="userSee-number" v-if="userData.business_orders_count">
{{ userData.business_orders_count.all}}<text></text>
</view>
<view class="userSee-tips">
精选专业法规大全
信用卡贷款业务
</view>
<block v-if="userData.business_orders_count">
<view class="userSee-new" v-if="userData.business_orders_count.all">
@@ -47,21 +47,42 @@
<img class="userSee-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/2823f7c9ed144df424ca8ee6c47b0ff6.png">
</view>
<!-- @click="$Router.push({name: 'synthesisOrder'})" -->
<view class="userTop-label" @click="$Router.push({name: 'synthesisOrder'})">
<view class="userTop-label" @click="$Router.push({name: 'synthesisOrder', params: {type: 'legal'}})">
<view class="userSee-name">
法咨询
咨询
</view>
<!-- v-if="userData.business_orders_count" -->
<view class="userSee-number" v-if="userData.business_orders_count">
{{synthesisAll}}<text></text>
{{synthesisAll.legal_consulting}}<text></text>
</view>
<view class="userSee-tips">
支持精准匹配索引
个人企业法律
</view>
<img class="userSee-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/84e573c04d3dcb7fa1cccefbde9bf851.png">
</view>
<view class="userTop-label" @click="$Router.push({name: 'synthesisOrder', params: {type: 'lawsuit'}})">
<view class="userSee-name">
诉讼委托类
</view>
<view class="userSee-number">
{{synthesisAll.lawsuit}}<text></text>
</view>
<view class="userSee-tips">
案件委托拓展服务
</view>
<img class="userSee-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/19/08e5c39f136d84e9754d4ac4d16af181.png">
</view>
<view class="userTop-label">
<view class="userSee-name">
增收赋能类
</view>
<view class="userSee-number">
0<text></text>
</view>
<view class="userSee-tips">
增收赋能类
</view>
<img class="userSee-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/19/a1d7c2b05053dabfeb9ac03e639d3311.png">
</view>
</view>
</view>
</view>
@@ -199,7 +220,7 @@
// 综法订单数据数量
synthesisInfo() {
synthesisCount({channel: 'self'}).then(res => {
this.synthesisAll = res.all
this.synthesisAll = res
}).catch(err => {
uni.showToast({
title: err.message,
@@ -237,7 +258,7 @@
.userTop {
position: relative;
width: 100%;
padding-top: 50%;
height: 620rpx;
&.active {
padding-top: 22%;
}
@@ -310,12 +331,14 @@
}
.userTop-see {
margin: $margin -15rpx;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
.userTop-label {
flex: 2;
display: inline-block;
background-color: #ffffff;
border-radius: $radius-lg;
margin: 0 15rpx;
margin: 10rpx;
width: calc(50% - 20rpx);
padding: $padding - 10 $padding - 10 $padding - 5;
box-sizing: border-box;
position: relative;
@@ -338,13 +361,13 @@
padding-left: 5rpx;
}
}
&:last-child .userSee-tips {
&:nth-child(2) .userSee-tips, &:nth-child(3) .userSee-tips{
background-color: #fff2f2;
color: $mian-color;
}
.userSee-icon {
width: 130rpx;
height: 130rpx;
width: 110rpx;
height: 110rpx;
position: absolute;
right: -20rpx;
bottom: -10rpx;