Commit edeef15e by 张立顺

Merge branch 'SAAS+V5.5.0' of http://192.168.3.233:8090/saas_plus/dj-car-boutiqu…

…e-work-wechat into SAAS+V5.5.0
2 parents 4fefdd18 1aaa18f0
...@@ -48,6 +48,9 @@ Page({ ...@@ -48,6 +48,9 @@ Page({
getList() { getList() {
const userInfo = wx.$util.getUserInfo() const userInfo = wx.$util.getUserInfo()
let { tabIndex } = this.data let { tabIndex } = this.data
this.setData({
rankList: []
})
api.getStaffStudyRank({periodType: tabIndex, staffPhone: userInfo?.phone}).then(res => { api.getStaffStudyRank({periodType: tabIndex, staffPhone: userInfo?.phone}).then(res => {
let { code, data, message } = res let { code, data, message } = res
if (code == 0) { if (code == 0) {
......
...@@ -57,6 +57,7 @@ page { ...@@ -57,6 +57,7 @@ page {
} }
.list { .list {
width: 100%; width: 100%;
height: calc(100vh - var(--fontSize426));
.item { .item {
height: var(--fontSize128); height: var(--fontSize128);
opacity: 1; opacity: 1;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</view> </view>
<view class="num">{{currentUserRank.duration != null ? currentUserRank.duration : '-'}}小时</view> <view class="num">{{currentUserRank.duration != null ? currentUserRank.duration : '-'}}小时</view>
</view> </view>
<view class="list"> <scroll-view scroll-y class="list" enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{rankList}}" wx:key="index"> <block wx:for="{{rankList}}" wx:key="index">
<view class="item"> <view class="item">
<view class="left"> <view class="left">
...@@ -30,6 +30,6 @@ ...@@ -30,6 +30,6 @@
<view class="num">{{item.duration != null ? item.duration : '-'}}小时</view> <view class="num">{{item.duration != null ? item.duration : '-'}}小时</view>
</view> </view>
</block> </block>
</view> </scroll-view>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -154,6 +154,8 @@ Page({ ...@@ -154,6 +154,8 @@ Page({
this.setData({examSubmitText: ''}) this.setData({examSubmitText: ''})
// 查询是否有下一个考试 // 查询是否有下一个考试
this.getExamInfo() this.getExamInfo()
this.getStaticData(true)
this.getList()
} else { } else {
this.setData({ this.setData({
examSubmitText: '未查询到结果,请稍后再试' examSubmitText: '未查询到结果,请稍后再试'
......
...@@ -153,6 +153,7 @@ Page({ ...@@ -153,6 +153,7 @@ Page({
configPayTypeList: [], // 园区店配置支持的支付方式 configPayTypeList: [], // 园区店配置支持的支付方式
recordOrderFlag: true, // 补录订单入口标识 recordOrderFlag: true, // 补录订单入口标识
skuGoodsData: {}, //多规格商品数据 skuGoodsData: {}, //多规格商品数据
vinValid:true
}, },
closeTips() { closeTips() {
this.setData({ this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!