接口
This commit is contained in:
parent
84aef54964
commit
adf1e5b60b
@ -318,7 +318,7 @@
|
|||||||
userJson.userId = res.data.user.userId
|
userJson.userId = res.data.user.userId
|
||||||
uni.setStorageSync('userInfo', res.data.user)
|
uni.setStorageSync('userInfo', res.data.user)
|
||||||
uni.setStorageSync('userId', res.data.user.userId)
|
uni.setStorageSync('userId', res.data.user.userId)
|
||||||
uni.setStorageSync('role', res.data.role)
|
uni.setStorageSync('role', res.data.roles)
|
||||||
this.goselect()
|
this.goselect()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="centenr">
|
<view class="centenr">
|
||||||
|
<view style="background-color: rgb(49, 125, 250);">
|
||||||
|
|
||||||
|
|
||||||
<v-navigation-bar-vue title="数据统计"></v-navigation-bar-vue>
|
<v-navigation-bar-vue title="数据统计"></v-navigation-bar-vue>
|
||||||
<view class="queryDate">
|
<view class="queryDate">
|
||||||
<text>日期</text>
|
<text>日期</text>
|
||||||
@ -9,6 +12,7 @@
|
|||||||
<image class="dateFormIcon" src="../../static/icons/statisticsinfo/rili@2x.png" mode="aspectFit"></image>
|
<image class="dateFormIcon" src="../../static/icons/statisticsinfo/rili@2x.png" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
<view class="ail">
|
<view class="ail">
|
||||||
<view class="san_" v-for="(item,index) in dataList " :key="index">
|
<view class="san_" v-for="(item,index) in dataList " :key="index">
|
||||||
<view class="s_box">
|
<view class="s_box">
|
||||||
@ -109,7 +113,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.queryDate {
|
.queryDate {
|
||||||
padding: 26rpx 32rpx;
|
padding: 26rpx 32rpx;
|
||||||
background-color: #317DFA;
|
background-color: #317DFA;
|
||||||
@ -131,7 +135,7 @@
|
|||||||
color: #C0C4CD;
|
color: #C0C4CD;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dateFormIcon {
|
.dateFormIcon {
|
||||||
width: 36rpx;
|
width: 36rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
@ -201,4 +205,4 @@
|
|||||||
background: #003bbc !important;
|
background: #003bbc !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
<view class="c-title" v-if="!userinfo" @click="gologin">立即登录</view>
|
<view class="c-title" v-if="!userinfo" @click="gologin">立即登录</view>
|
||||||
<view class="c-title" v-else>
|
<view class="c-title" v-else>
|
||||||
<view style="display: flex; align-items: center;">
|
<view style="display: flex; align-items: center;">
|
||||||
<text>{{userinfo.realName || '用户昵称'}}</text>
|
<text>{{userinfo.info.nickname || '用户昵称'}}</text>
|
||||||
</view>
|
</view>
|
||||||
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.phonenumber || '未填写手机号码'}}</text>
|
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.info.phonenumber || '未填写手机号码'}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user