unknown
10 months ago
10 changed files with 216 additions and 15 deletions
-
6components/searchRow/searchRow.vue
-
19pages.json
-
2pages/indexEntry/enroll/enroll.vue
-
11pages/indexEntry/enroll/registInfo/registInfo.vue
-
103pages/mineEntry/myForecastName/myForecastName.vue
-
47pages/mineEntry/personaInfo/myInfo.vue
-
25pages/mineEntry/personaInfo/personaInfo.vue
-
1pages/tabbar/index/index.vue
-
17pages/tabbar/mine/index.vue
-
BINstatic/images/userCenter/yubaoming.png
@ -0,0 +1,103 @@ |
|||||
|
<template> |
||||
|
<view class="pageBgImg "> |
||||
|
<topNavbar title="我的预报名"></topNavbar> |
||||
|
<view class="bg" v-if="list.length"> |
||||
|
<view class="ul"> |
||||
|
<view class="card" v-for="(item,index) in list" :key="index" @click="itemClickFn(item)"> |
||||
|
<!-- 状态:0-预报名,1-已报名(待支付)2-已支付,3-已学完 --> |
||||
|
<view class="tps">{{ item.applyStatus==0?'点击进入报名':'预报名成功,待支付'}}</view> |
||||
|
<view class="name">{{item.schoolName}}</view> |
||||
|
<view class="className">班型:{{item.className}}</view> |
||||
|
<view class="flexB"> |
||||
|
<view class="date"> |
||||
|
{{$u.timeFormat(item.createDate, 'yyyy-mm-dd hh:MM:ss')}} |
||||
|
</view> |
||||
|
<view class="deleteBtn" @click.stop="deleteFn(item)"> |
||||
|
删除 |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
<nodata v-else></nodata> |
||||
|
<u-loadmore :status="status" style="margin-top: 32rpx;" v-if="list.length>5" icon-type="circle" /> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
params: { |
||||
|
pageIndex: 1, |
||||
|
pageSize: 20, |
||||
|
}, |
||||
|
list: [ |
||||
|
{applyStatus: 0, schoolName: '翔力驾校'} |
||||
|
], |
||||
|
status: 'loadmore', |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.pageBgImg { |
||||
|
width: 100%; |
||||
|
|
||||
|
.tps { |
||||
|
width: 100%; |
||||
|
// height: 56rpx; |
||||
|
// line-height: 56rpx; |
||||
|
color: $themC; |
||||
|
padding: 0 20rpx; |
||||
|
text-align: right; |
||||
|
// background-color: #f7f7fb; |
||||
|
font-size: 26rpx; |
||||
|
} |
||||
|
|
||||
|
.ul { |
||||
|
width: 100%; |
||||
|
padding: 0 30rpx; |
||||
|
.card{ |
||||
|
width: 100%; |
||||
|
padding: 20rpx; |
||||
|
border-bottom: 1px solid #ededed; |
||||
|
|
||||
|
&:last-child { |
||||
|
border: none; |
||||
|
} |
||||
|
|
||||
|
.name { |
||||
|
font-size: 32rpx; |
||||
|
font-weight: 700; |
||||
|
padding-top: 20rpx; |
||||
|
} |
||||
|
.className { |
||||
|
font-size: 28rpx; |
||||
|
color: #666; |
||||
|
padding: 10rpx 0; |
||||
|
} |
||||
|
.flexB { |
||||
|
display: flex; |
||||
|
justify-content: space-between; |
||||
|
.date { |
||||
|
font-size: 24rpx; |
||||
|
color: #999; |
||||
|
} |
||||
|
|
||||
|
.deleteBtn { |
||||
|
color: $themC; |
||||
|
border-radius: 8rpx; |
||||
|
width: 120rpx; |
||||
|
height: 50rpx; |
||||
|
line-height: 50rpx; |
||||
|
text-align: center; |
||||
|
border: 1px solid $themC |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</style> |
@ -0,0 +1,47 @@ |
|||||
|
<template> |
||||
|
<view class="pageBgImg"> |
||||
|
<topNavbar title="我的信息"></topNavbar> |
||||
|
<view class="pad"> |
||||
|
<view class="card"> |
||||
|
<view class="row border"> |
||||
|
<view class="lab">真实姓名</view> |
||||
|
<view class="val">{{ vuex_userInfo.name }}</view> |
||||
|
</view> |
||||
|
<view class="row border"> |
||||
|
<view class="lab">证件号</view> |
||||
|
<view class="val">{{ vuex_userInfo.idcard }}</view> |
||||
|
</view> |
||||
|
<view class="row border"> |
||||
|
<view class="lab">性别</view> |
||||
|
<view class="val">{{ vuex_userInfo.sex==1?'男':'女' }}</view> |
||||
|
</view> |
||||
|
<view class="row "> |
||||
|
<view class="lab">地址</view> |
||||
|
<view class="val">{{ vuex_userInfo.address }}</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
|
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.card { |
||||
|
padding: 6rpx; |
||||
|
margin-bottom: 20rpx; |
||||
|
} |
||||
|
|
||||
|
.row { |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: space-between; |
||||
|
height: 98rpx; |
||||
|
font-size: 28rpx; |
||||
|
padding: 0 30rpx; |
||||
|
&.border { |
||||
|
border-bottom: 2rpx solid #E8E9EC; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</style> |
After Width: 128 | Height: 128 | Size: 7.9 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue