fix:学习分析页面样式调整

This commit is contained in:
杨航
2025-11-28 16:53:35 +08:00
parent 0e3baa12cf
commit 35a3839f87
9 changed files with 47 additions and 18 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ ENV = 'development'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_API_Url = 'http://192.168.247.200'
# VITE_APP_BASE_API_Url = 'http://aitscdn.jlbank.com.cn:7001'
@@ -16,7 +16,7 @@ ENV = 'development'
# dev
# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# sit
# VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
# UAT
# VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786'
+43 -14
View File
@@ -108,7 +108,7 @@
</view>
<view class="evaluation-box dens" v-if="!loading">
<view class="dens-item" v-for="(item, index) in dimesionList">
<view class="item-title">{{item.title}}</view>
<view :class="['item-title', index%2===0?'study1-tip': 'study2-tip']">{{item.title}}</view>
<view :class="['item-cont ', index%2===0?'study1-bg': 'study2-bg']">{{item.content}}</view>
</view>
</view>
@@ -117,7 +117,7 @@
</view>
<view class="evaluation-box study" v-if="!loading">
<view class="study-item" v-for="(item, index) in studyList">
<view class="item-title">{{item.title}}</view>
<view :class="['item-title', index%2===0?'study1-tip': 'study2-tip']">{{item.title}}</view>
<view :class="['item-cont ', index%2===0?'study1-bg': 'study2-bg']">{{item.content}}</view>
</view>
</view>
@@ -405,6 +405,9 @@
&-value {
font-size: 54rpx;
font-weight: 600;
&-v {
font-family: DINAlternate, DINAlternate;
}
&-unit {
font-size: 28rpx;
@@ -420,7 +423,7 @@
background-repeat: no-repeat;
background-size: auto 78rpx;
background-position: 26rpx 26rpx;
padding: 100rpx 26rpx 24rpx;
padding: 80rpx 26rpx 24rpx;
border-radius: 15rpx;
margin-bottom: 24rpx;
position: relative;
@@ -431,20 +434,39 @@
left: 50%;
transform: translateX(-50%);
}
&::before{
content: '';
display: block;
position: absolute;
width: 208rpx;
height: 76rpx;
position: absolute;
left: -7rpx;
top: -12rpx;
background-size: cover;
}
&.dens {
background-image: url(@/static/images/analytics/weidu.png);
&::before{
background-image: url(@/static/images/analytics/weidu-1.png);
}
}
&.study {
background-image: url(@/static/images/analytics/study1.png)
&::before{
background-image: url(@/static/images/analytics/study1-1.png)
}
}
&.study1 {
background-image: url(@/static/images/analytics/study.png);
&::before{
background-image: url(@/static/images/analytics/study-1.png);
}
}
&.course {
background-image: url(@/static/images/analytics/course.png);
&::before{
background-image: url(@/static/images/analytics/course-1.png);
}
}
// .dens-item {
@@ -483,7 +505,7 @@
.item-title {
line-height: 40rpx;
position: relative;
padding: 8rpx 46rpx 8rpx 26rpx;
padding: 8rpx 46rpx 8rpx 40rpx;
line-height: 42rpx;
font-size: 29rpx;
margin-bottom: 16rpx;
@@ -491,15 +513,22 @@
&::before {
content: '';
display: block;
background-color: #000;
width: 12rpx;
height: 12rpx;
border-radius: 50%;
// background-color: #000;
width: 28rpx;
height: 28rpx;
// border-radius: 50%;
position: absolute;
left: 0rpx;
top: 22rpx;
top: 14rpx;
background-image: url(@/static/images/analytics/den-tips.png);
background-repeat: no-repeat;
background-size: cover;
}
&.study2-tip{
&::before {
background-image: url(@/static/images/analytics/den-tips2.png);
}
}
&.bg-tm {
padding-left: 54rpx;
background-image: url(@/static/images/analytics/time-icon.png);
+2 -2
View File
@@ -62,7 +62,7 @@ export default {
wv = currentWebview.children()[0]
if(!wv) return
wv.setStyle({
top: 80
top: 100
})
uni.onKeyboardHeightChange(this.setHeight)
}, 1000)
@@ -73,7 +73,7 @@ export default {
//#ifdef APP-PLUS
if(!wv) return
wv.setStyle({
top: res.height + 20
top: res.height + 40
})
// #endif
},
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB