Commit cfdff04b authored by 刘鑫鹏's avatar 刘鑫鹏

完善页面

parent 98bb75c4
......@@ -37,7 +37,7 @@
</view>
<view class="appoint-footer">
<button @click="submitForm">立即预约</button>
<button @click="submitForm" style="color: #FFFFFF;">立即预约</button>
</view>
<uni-popup ref="popup" background-color="#fff" :mask-click="false">
<view class="popup-content-text">
......
<template>
<view>
<view class="head_bg">
<view class="home">
<uni-icons type="back" size="26px" @click="gohome"></uni-icons>
</view>
<view>
<view class="avatar">
<image :src="userInfo.userPortrait"></image>
......@@ -37,7 +39,6 @@
</view>
<view style="line-height: 26px;height: 100%;width: 50%;">我的证书</view>
</view>
</navigator>
</li>
</ul>
......@@ -145,6 +146,11 @@
onLoad() {
this.login()
},
methods: {
...mapMutations('m_user', ['updateToken']),
...mapMutations('m_user', ['updateUserInfo']),
......@@ -160,6 +166,12 @@
this.getWXUserCode()
}
},
gohome(){
uni.navigateBack({
url:"/pages_home/tjty_home_page/tjty_home_page"
})
},
//退出登录
logout() {
// uni.clearStorageSync();
......@@ -206,8 +218,14 @@
width: 100%;
height: 299px;
position: relative;
overflow-x:hidden;
overflow-x: hidden;
.home{
position: absolute;
z-index: 2;
margin: 8% 0 0 3%;
}
.avatar {
position: absolute;
......
......@@ -56,7 +56,7 @@
</view>
<view style="display: flex;">
<button @click="goActivity(item.type,wechatId,item.activityId)" style="width: 50%;background-color: #3b7cde;border-radius:0 0 0 16px;">报名详情</button>
<button @tap="tapPopup" style="width: 50%;background-color: #3b7cde;border-radius:0 0 0 16px;">报名详情</button>
<button @click="goDetail(item.type,wechatId,item.activityId)"
style="width: 50%;background-color: #3b7cde;border-radius:0 0 16px 0;">活动详情</button>
......@@ -64,8 +64,20 @@
</view>
</view>
</view>
<view class="popup" v-show="show">
<view class="popup-info">
<view style="margin-bottom: 20px;margin-left: 45px;">学校&nbsp;:------</view>
<view style="margin-bottom: 20px; margin-left:15px;">家长姓名&nbsp;:------</view>
<view style="margin-bottom: 20px; margin-left:15px;">联系手机&nbsp;:------</view>
<view style="margin-bottom: 20px; margin-left:15px;">孩子姓名&nbsp;:------</view>
<view style="margin-bottom: 20px;">孩子证件号&nbsp;:------</view>
<view >
<view style="margin: 30% 30px 5% 20px;"><button style="width: 80px;height: 28px;line-height: 24px;" type="default" @tap="cancel"><text style="font-size: 15px;">关闭</text></button></view>
</view>
</view>
</view>
</view>
</template>
<script>
......@@ -85,6 +97,8 @@
export default {
data() {
return {
show:false,
wechatId: null,
status: 1,
myActivitylist: [],
......@@ -102,6 +116,16 @@
// this.getlista(this.wechatId,this.activityId)
},
methods: {
tapPopup() {
this.show = true;
},
// 点击弹窗取消
cancel() {
this.show = false;
},
getList(wechatId) {
getMyActivitySignupByWechatId(wechatId).then(response => {
console.log(response)
......@@ -164,6 +188,8 @@
width: 100%;
height: 100%;
background: #f5f5f5;
position: relative;
overflow-x: hidden;
}
.actions-card {
......@@ -259,6 +285,31 @@
// line-height: 38px;
}
//蒙层
.popup {
position: fixed;
left: 0;
right: 0;
top: 0;
height: 100vh;
background-color: rgba(0,0,0,0.6);
z-index: 9998;
}
//弹窗
.popup-info{
position: fixed;
width: 550upx;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
font-size: 30upx;
padding: 40upx;
border-radius: 20upx;
background-color: #fff;
z-index: 9999;
}
.none {
width: 90%;
......
......@@ -108,7 +108,8 @@ import { userInfo } from 'os'
width: 100%;
height: 100%;
background: #f5f5f5;
position: relative;
overflow-x: hidden;
}
.mycourse-card{
margin: 22rpx;
......
......@@ -14,16 +14,17 @@
</view>
<view v-else class="face_card" v-for="(item,index) in Facelist" :key="index">
<view class="info" >
<view class="item">咨询时间:{{item.createTime}}</view>
<view class="item">姓名:{{item.nickName}}</view>
<view class="item">手机:{{item.phone}}</view>
<view class="item">咨询时间&nbsp;:&nbsp;{{item.createTime}}</view>
<view class="item">姓名&nbsp;:&nbsp;{{item.nickName}}</view>
<view class="item">手机&nbsp;:&nbsp;{{item.phone}}</view>
<!-- <view class="item">咨询问题&nbsp;:&nbsp;</view> -->
</view>
<view class="question"></view>
<view class="question">{{item.consultContent}}</view>
<dividerface></dividerface>
<view class="info">
<view class="item">答复:</view>
</view>
<view class="question">{{item.dispose}}</view>
<view class="question">{{item.replyContent}}</view>
</view>
</view>
......@@ -107,6 +108,7 @@
margin-top: 5%;
margin: 4%;
height: auto;
line-height: 25px;
font-size: 16px;
font-family: Source Han Sans CN, Source Han Sans CN-Regular;
color: #666666;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment