优化页面
This commit is contained in:
parent
708b2452b4
commit
4fed6d2f9e
@ -1,15 +1,39 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="">
|
<view class="">
|
||||||
<button class="btn" @click="navTo('/subpkg/withdrawDeposit/withdrawDeposit')">提现余额</button>
|
<view class="task_panel">
|
||||||
|
<block v-for="(item,index) in assessData" :key="index">
|
||||||
|
<view class="task_item">
|
||||||
|
<view class="plan">{{ item.num }}</view>
|
||||||
|
<view class="">{{ item.name }}</view>
|
||||||
|
</view>
|
||||||
|
</block>
|
||||||
|
</view>
|
||||||
|
<!-- <button class="btn" @click="navTo('/subpkg/withdrawDeposit/withdrawDeposit')">提现余额</button> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Toast } from '@/libs/uniApi.js'
|
import { Toast } from '@/libs/uniApi.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
assessData: [{
|
||||||
|
num: '0',
|
||||||
|
name: '任务'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
num: '0',
|
||||||
|
name: '已完成'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
num: '0',
|
||||||
|
name: '未完成'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
num: '0%',
|
||||||
|
name: '完成率'
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {},
|
onLoad() {},
|
||||||
@ -34,7 +58,31 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.btn{
|
.task_panel {
|
||||||
|
background-color: $theme-oa-color;
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-content: space-between;
|
||||||
|
text-align: center;
|
||||||
|
// padding-bottom: 110rpx;
|
||||||
|
padding-bottom: 40rpx;
|
||||||
|
border-radius: 0 0 28rpx 28rpx;
|
||||||
|
|
||||||
|
.task_item {
|
||||||
|
margin-top: 42.11rpx;
|
||||||
|
|
||||||
|
.plan {
|
||||||
|
width: 173.68rpx;
|
||||||
|
font-size: 38.6rpx;
|
||||||
|
margin-bottom: 21.05rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.btn {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
<u-loadmore status="nomore" nomore-text="仅展示一年数据" />
|
<u-loadmore status="nomore" nomore-text="仅展示一年数据" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<button class="btn" @click="naviTo('/subpkg/withdrawDeposit/withdrawDeposit')">提现余额</button>
|
<!-- <button class="btn" @click="naviTo('/subpkg/withdrawDeposit/withdrawDeposit')">提现余额</button> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -41,10 +41,10 @@
|
|||||||
<view><image :src="item.qualification&&item.qualification.bank_account?'../../static/icons/ok.png':'../../static/icons/err.png'"></image>银行卡</view>
|
<view><image :src="item.qualification&&item.qualification.bank_account?'../../static/icons/ok.png':'../../static/icons/err.png'"></image>银行卡</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <u-line color="#999999FF"></u-line>
|
<u-line color="#999999FF"></u-line>
|
||||||
<view class="bottom" style="margin-top: 28rpx;">
|
<view class="bottom" style="margin-top: 28rpx;">
|
||||||
<button class="look" @click="navTo('/subpkg/personnelDetails/personnelDetails?id='+item.id)">查看</button>
|
<button class="look" @click="navTo('/subpkg/personnelDetails/personnelDetails?id='+item.id)">查看</button>
|
||||||
</view> -->
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
<u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText" :loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" />
|
<u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText" :loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user