Browse Source

新增定时任务

master
王泽彦 9 months ago
parent
commit
598ba0e24e
  1. 35
      uniapp/pages/coach/my/index.vue

35
uniapp/pages/coach/my/index.vue

@ -88,9 +88,14 @@
<view></view>
</view>
<view class="item" @click="openServiceDetail()">
<!-- <view class="item" @click="openServiceDetail()">
<view>服务详情</view>
<view></view>
</view> -->
<view class="item" @click="my_contract()">
<view>我的合同</view>
<view></view>
</view>
</view>
@ -138,7 +143,11 @@ export default {
async init() {
this.getStatistics()
},
my_contract(){
this.$navigateTo({
url: '/pages/common/contract/my_contract'
})
},
//()
async getMemberInfo() {
let res = await apiRoute.getPersonnelInfo({})
@ -250,7 +259,6 @@ export default {
</script>
<style lang="less" scoped>
.main_box {
background: #292929;
min-height: 28vh;
@ -263,6 +271,7 @@ export default {
justify-content: center;
align-items: center;
background: #29D3B4;
.title {
padding: 40rpx 0rpx;
@ -283,6 +292,7 @@ export default {
padding-bottom: 42rpx;
color: #fff;
font-size: 28rpx;
.box {
padding-left: 19rpx;
padding-right: 29rpx;
@ -290,23 +300,28 @@ export default {
justify-content: space-between;
align-items: center;
gap: 15rpx;
.left {
display: flex;
align-items: center;
gap: 20rpx;
.pic {
width: 144rpx;
height: 144rpx;
border-radius: 50%;
}
.name {
font-size: 28rpx;
}
}
.right {
display: flex;
flex-direction: column;
gap: 20rpx;
.btn {
min-height: 28rpx;
font-size: 28rpx;
@ -318,12 +333,14 @@ export default {
//
.count_section {
position: relative;
.main {
position: relative;
z-index: 2;
padding: 0rpx 24rpx;
display: flex;
justify-content: center;
.course_box {
padding: 42rpx 28rpx;
width: 692rpx;
@ -332,28 +349,34 @@ export default {
display: flex;
flex-direction: column;
gap: 32rpx;
.top {
display: flex;
justify-content: space-between;
align-items: center;
.item {
display: flex;
flex-direction: column;
align-items: center;
gap: 12rpx;
.num {
color: #29D3B4;
font-size: 56rpx;
}
.intro {
color: #AAAAAA;
font-size: 24rpx;
}
}
}
.bottom {
font-size: 24rpx;
color: #333333;
text {
color: #29D3B4;
}
@ -361,6 +384,7 @@ export default {
}
}
.bg_box {
z-index: 1;
width: 100%;
@ -372,6 +396,7 @@ export default {
top: 0;
background-color: #29D3B4;
}
.bg_bottom {
top: 50%;
position: absolute;
@ -396,6 +421,7 @@ export default {
padding: 6rpx 24rpx;
display: flex;
flex-direction: column;
.item {
padding: 24rpx 78rpx;
border-top: 1px solid #F2F2F2;
@ -403,6 +429,7 @@ export default {
display: flex;
justify-content: space-between;
}
.item:nth-child(1) {
border-top: 0;
}
@ -411,6 +438,4 @@ export default {
}
}
</style>
Loading…
Cancel
Save