This commit is contained in:
左哥 2025-07-05 15:44:00 +08:00
parent c43b52fbba
commit 06d1892f9d
2 changed files with 28 additions and 22 deletions

View File

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4945922 */
src: url('//at.alicdn.com/t/c/font_4945922_182jbfyzero.woff2?t=1750774471454') format('woff2'),
url('//at.alicdn.com/t/c/font_4945922_182jbfyzero.woff?t=1750774471454') format('woff'),
url('//at.alicdn.com/t/c/font_4945922_182jbfyzero.ttf?t=1750774471454') format('truetype');
src: url('//at.alicdn.com/t/c/font_4945922_kpwkq30jaqp.woff2?t=1751700930968') format('woff2'),
url('//at.alicdn.com/t/c/font_4945922_kpwkq30jaqp.woff?t=1751700930968') format('woff'),
url('//at.alicdn.com/t/c/font_4945922_kpwkq30jaqp.ttf?t=1751700930968') format('truetype');
}
.iconfont {
@ -13,6 +13,26 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-jiantouxia:before {
content: "\e66b";
}
.icon-jiantoushang:before {
content: "\e6ff";
}
.icon-xiaoxi1:before {
content: "\e61c";
}
.icon-gouxuan1:before {
content: "\e61b";
}
.icon-x:before {
content: "\e602";
}
.icon-yanjing_yincang:before {
content: "\e6cc";
}
@ -25,14 +45,6 @@
content: "\e608";
}
.icon-yisheng1:before {
content: "\e60d";
}
.icon-yisheng3:before {
content: "\e603";
}
.icon-mima:before {
content: "\e630";
}
@ -49,14 +61,6 @@
content: "\e733";
}
.icon-riqi:before {
content: "\e675";
}
.icon-nanbaobao:before {
content: "\e60a";
}
.icon-jiahao2:before {
content: "\e660";
}

View File

@ -29,19 +29,21 @@
<view class="hot" wx:if="{{userInfo.risk_type == 3}}">高危/PELD {{userInfo.risk_value}}</view>
<view class="hot wargin" wx:if="{{userInfo.risk_type == 2}}">中危/PELD {{userInfo.risk_value}}</view>
<view class="hot success" wx:if="{{userInfo.risk_type == 1}}">低危/PELD {{userInfo.risk_value}}</view>
<view class="hot success" wx:if="{{userInfo.risk_type == 0}}">未知 {{userInfo.risk_value}}</view>
<view class="hot success" wx:if="{{userInfo.risk_type == 0}}">-- {{userInfo.risk_value}}</view>
<view class="text">当前风险</view>
</view>
</t-col>
<t-col span="12" t-class="dark">
<view class="box_3_item">
<view class="hot">40%</view>
<view class="hot" wx:if="{{userInfo.ggt_compared > 0}}">{{userInfo.ggt_compared}}% <text class="iconfont icon-jiantoushang"></text></view>
<view class="hot success" wx:if="{{userInfo.ggt_compared < 0}}">{{userInfo.ggt_compared}}% <text class="iconfont icon-jiantouxia"></text></view>
<view class="info" wx:if="{{userInfo.ggt_compared == 0}}">--</view>
<view class="text">GGT指数/较上次</view>
</view>
</t-col>
<t-col span="12" t-class="dark">
<view class="box_3_item border-left">
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 0}}">未知</view>
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 0}}">--</view>
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 1}}">轻度偏离</view>
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 2}}">正常</view>
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 3}}">重度偏离</view>