Commit 80cf9e2e by tangjinlin

05-12

parent 17be7a3e
...@@ -43,6 +43,12 @@ Page({ ...@@ -43,6 +43,12 @@ Page({
}, },
back: function () {
wx.navigateBack({
delta: 1
})
},
//选择年龄段 //选择年龄段
selectAge(e) { selectAge(e) {
let age = e.currentTarget.dataset['index'] let age = e.currentTarget.dataset['index']
......
<!--pages/ageChange/ageChange.wxml--> <!--pages/ageChange/ageChange.wxml-->
<custom-navi text="年龄选择" back="{{true}}" home="{{false}}"></custom-navi> <!-- <custom-navi text="年龄选择" back="{{true}}" home="{{false}}"></custom-navi> -->
<view class='ageChange'> <image class='background-image' src='/img/registerBg.jpg' mode="aspectFill"></image>
<image src='../../img/2.jpg'></image> <view class="title" bindtap='back'>
<text>请选择您的孩子的年龄段</text> <image src="/img/left1.png" style="width:40px;height:40px;margin-right:5px"></image>年龄选择
<view style="background:{{age==1?'#3AAB69':'#fff'}}" bindtap='selectAge' data-index="1">3~6岁</view>
<view style="background:{{age==2?'#3AAB69':'#fff'}}" bindtap='selectAge' data-index="2">7岁以上</view>
<view style="background:{{age==0?'#3AAB69':'#fff'}}" bindtap='selectAge' data-index="0">暂不选择</view>
<view class='button' style='border:none'>
<view style="width:100%;height:100%;background:#0D76ED;color:#fff" bindtap="updateAge">提交</view>
</view>
</view> </view>
<view class='ageChange'>
<image src='/img/logo1.png' mode="widthFix"></image>
<text>请选择您的孩子的年龄段</text>
<view style="background:{{age==1?'#d8477f':'transparent'}};color:{{age==1?'#fff':'#d8477f'}}" bindtap='selectAge' data-index="1">3~6 岁</view>
<view style="background:{{age==2?'#d8477f':'transparent'}};color:{{age==2?'#fff':'#d8477f'}}" bindtap='selectAge' data-index="2">7 岁以上</view>
<view style="background:{{age==0?'#d8477f':'transparent'}};color:{{age==0?'#fff':'#d8477f'}}" bindtap='selectAge' data-index="0">暂不选择</view>
<view class='button' style='border:none;margin-top:10%;color:#fff;'>
<view style="width:100%;height:100%;background:linear-gradient(to right, #e85c6d, #fb689b);border-radius: 20px;font-size: 18px;" bindtap="updateAge">提交</view>
</view>
</view>
\ No newline at end of file
/* pages/ageChange/ageChange.wxss */ /* pages/ageChange/ageChange.wxss */
.ageChange>image{ .background-image {
height: 100%;
position: fixed;
width: 100%;
left: 0px;
top: 0px;
}
.title {
position: fixed;
top: 4%;
left: 5%;
display: flex;
align-items: center;
font-size: 18px;
color: #fff;
}
.ageChange {
width: 100%;
height: 100%;
position: absolute;
left: 0px;
}
.ageChange>image {
display: block; display: block;
width: 100px; width: 30%;
height: 100px; margin: 30% auto 0;
border-radius: 50%;
margin: 0 auto;
} }
.ageChange>text{
.ageChange>text {
display: block; display: block;
color: #fff;
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
margin: 30px 0 40px; margin: 30px 0 40px;
} }
.ageChange>view{
width: 200px; .ageChange>view {
width: 50%;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
text-align: center; text-align: center;
font-size: 16px; font-size: 18px;
margin: 15px auto; margin: 20px auto;
border: 1px solid #ccc; border: 1rpx solid #d8477f;
border-radius: 20px;
} }
\ No newline at end of file
<!--pages/leaderRegistered/leaderRegistered.wxml--> <!--pages/leaderRegistered/leaderRegistered.wxml-->
<custom-navi text="注册" back="{{false}}" home="{{false}}"></custom-navi> <image class='background-image' src='/img/registerBg.jpg' mode="aspectFill"></image>
<view class="title">注册</view>
<view class='leaderRegistered'> <view class='leaderRegistered'>
<image src='../../img/2.jpg'></image> <image src='/img/logo1.png' mode="widthFix"></image>
<view class='title_leaderRegistered'><text>{{leaderTitle}}领导:</text>欢迎来到志愿者平台!</view> <view class='title_leaderRegistered'>
<view class='con_leaderRegistered'> <text>{{leaderTitle}}领导</text>
</view> <view>欢迎来到志愿者平台</view>
<view style='display:flex;justify-content: center;margin-top:100px;' class='button'> </view>
<van-button type="default" open-type="getUserInfo" bind:getuserinfo="regist">注册</van-button></view> <view style='display:flex;justify-content: center;margin-top:80px;' class='button'>
</view> <van-button type="default" open-type="getUserInfo" bind:getuserinfo="regist">注册</van-button>
</view>
</view>
\ No newline at end of file
/* pages/leaderRegistered/leaderRegistered.wxss */ /* pages/leaderRegistered/leaderRegistered.wxss */
.leaderRegistered>image{ .background-image {
width: 100px; height: 100%;
height: 100px; position: absolute;
width: 100%;
left: 0px;
top: 0px;
}
.title {
position: absolute;
top: 5%;
left: 5%;
font-size: 16px;
color: #fff;
}
.leaderRegistered {
width: 100%;
height: 100%;
position: absolute;
left: 0px;
}
.leaderRegistered>image {
display: block; display: block;
border-radius: 50%; width: 40%;
margin: 0 auto; margin: 40% auto 0;
} }
.title_leaderRegistered{
.title_leaderRegistered {
color: #fff;
width: 75%; width: 75%;
font-size: 18px; font-size: 18px;
margin: 30px auto 10px; margin: 60px auto 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
} }
.title_leaderRegistered>text{
color: red; .title_leaderRegistered>text {
font-size: 14px;
font-weight: 300;
padding-bottom: 15px;
} }
.con_leaderRegistered{ .title_leaderRegistered>view {
width: 80%; font-size: 18px;
margin: 0 auto;
} }
.con_leaderRegistered>view{
display: flex; .leaderRegistered button {
align-items: center; padding: 20px 130px;
width: 100%;
height: 60px;
line-height: 60px;
border-radius: 30px;
border: 0px;
background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff;
} }
.con_leaderRegistered>view input{
border: 1px solid #ccc; button>view {
height: 40px; font-size: 18px;
padding-left: 10px;
} }
.leaderRegistered button{
padding: 0 80px;
}
\ No newline at end of file
<!--pages/memberChange/memberChange.wxml--> <!--pages/memberChange/memberChange.wxml-->
<custom-navi text="会员" back="{{true}}" home="{{true}}"></custom-navi> <custom-navi text="返回" back="{{true}}" home="{{true}}" bg1="#fff" bg2="#fff" bg3="#fff"></custom-navi>
<view class='memberChange'> <view class='memberChange'>
<view class='con_memberChange'> <view class='con_memberChange'>
<view class='top_memberChange'> <view class='top_memberChange'>
{{entity.title}} {{entity.title}}
</view> </view>
<view class='money_memberChange'> <view class='money_memberChange'>
金额:<text>{{entity.money}}元</text> 金额<text>{{entity.money}}元</text>
</view> </view>
<view class='huiyuan'>{{entity.comment}}</view> <view class='huiyuan'>{{entity.comment}}</view>
<view class='btn'> <view class='btn'>
<view bindtap="buy">购买</view> <view class="buy" bindtap="buy">购买</view>
<view bindtap="cancel">放弃</view> <view class="cancel" bindtap="cancel">放弃</view>
</view> </view>
</view> </view>
</view> </view>
......
/* pages/memberChange/memberChange.wxss */ /* pages/memberChange/memberChange.wxss */
.con_memberChange{ .con_memberChange {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
...@@ -8,38 +8,72 @@ ...@@ -8,38 +8,72 @@
margin: auto; margin: auto;
width: 260px; width: 260px;
height: 280px; height: 280px;
display: flex;
flex-direction: column;
align-items: center;
} }
.top_memberChange{
.top_memberChange {
width: 100%; width: 100%;
text-align: left; text-align: center;
font-size: 14px; font-size: 14px;
color: #333333;
font-weight: 500;
} }
.money_memberChange{
.money_memberChange {
width: 100%; width: 100%;
font-size: 14px; font-size: 18px;
margin: 20px 0;
color: #eb5e76;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
} }
.money_memberChange>text{
margin-left: 20px; .money_memberChange text {
font-size: 18px;
margin: 20px 0;
} }
.huiyuan{
font-size: 12px; .huiyuan {
color: #a8a8a8;
font-size: 14px;
margin-bottom: 10px;
} }
.btn{
.btn {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; flex-direction: column;
margin-top: 20px!important; align-items: center;
justify-content: center;
} }
.btn>view{
width: 120px; .btn>view {
margin: 10px 0;
}
.btn>.buy {
width: 80%;
height: 30px; height: 30px;
text-align: center; text-align: center;
line-height: 30px; line-height: 30px;
border-radius: 5px; border-radius: 15px;
background: rgb(91,155,213); background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff; color: #fff;
font-size: 14px; font-size: 14px;
} }
.con_memberChange>view{
margin-top: 15px; .btn>.cancel {
width: 80%;
height: 30px;
text-align: center;
line-height: 30px;
border-radius: 15px;
background: transparent;
border: 1rpx solid #fd66a1;
color: #e85b93;
font-size: 14px;
} }
\ No newline at end of file
<!--pages/familyUser/familyUser.wxml--> <!--pages/familyUser/familyUser.wxml-->
<custom-navi text="用户注册" back="{{false}}" home="{{false}}"></custom-navi> <image class='background-image' src='/img/registerBg.jpg' mode="aspectFill"></image>
<view class="title">注册</view>
<view class='familyUser'> <view class='familyUser'>
<image src='../../img/2.jpg'></image> <image src='/img/logo1.png' mode="widthFix"></image>
<text>欢迎来到志愿者平台!</text> <text>欢迎来到志愿者平台!</text>
<view style='display:flex;justify-content: center;margin-top:100px;' class='button'> <view style='display:flex;justify-content: center;margin-top:100px;' class='button'>
<van-button type="default" open-type="getUserInfo" bind:getuserinfo="regist">进入首页</van-button> <van-button type="default" open-type="getUserInfo" bind:getuserinfo="regist">进入首页</van-button>
</view> </view>
</view> </view>
\ No newline at end of file
/* pages/familyUser/familyUser.wxss */ /* pages/familyUser/familyUser.wxss */
.familyUser>image{ .background-image {
height: 100%;
position: absolute;
width: 100%;
left: 0px;
top: 0px;
}
.title {
position: absolute;
top: 5%;
left: 5%;
font-size: 16px;
color: #fff;
}
.familyUser {
width: 100%;
height: 100%;
position: absolute;
left: 0px;
}
.familyUser>image {
display: block; display: block;
margin-top: 20px; width: 40%;
width: 100px; margin: 40% auto 0;
height: 100px;
border-radius: 50%;
margin: 0 auto;
} }
.familyUser>text{
.familyUser>text {
display: block; display: block;
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
margin-top: 30px; margin-top: 30px;
color: #fff;
}
.button button {
padding: 20px 110px;
width: 100%;
height: 60px;
line-height: 60px;
border-radius: 30px;
border: 0px;
background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff;
} }
\ No newline at end of file
/* pages/socialUserRegister/socialUserRegister.wxss */ /* pages/socialUserRegister/socialUserRegister.wxss */
.jigouRegistered{ .background-image {
height: 100%;
position: absolute;
width: 100%; width: 100%;
left: 0px;
top: 0px;
}
.title {
position: absolute;
top: 5%;
left: 5%;
font-size: 16px;
color: #fff;
}
.jigouRegistered {
width: 100%;
height: 100%;
position: relative; position: relative;
} }
.jigouRegistered>image{
.jigouRegistered>view>image {
display: block; display: block;
width: 100px; width: 40%;
height: 100px; margin: 20% auto 70px;
border-radius: 50%;
margin: 20px auto 70px;
} }
.formtable>view{
.formtable>view {
width: 280px; width: 280px;
margin: 40px auto; margin: 40px auto;
} }
.surejigou{
.surejigou {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
...@@ -22,7 +40,8 @@ ...@@ -22,7 +40,8 @@
height: 100%; height: 100%;
z-index: 200; z-index: 200;
} }
.conSurejigou{
.conSurejigou {
position: absolute; position: absolute;
top: 100px; top: 100px;
left: 0; left: 0;
...@@ -35,14 +54,16 @@ ...@@ -35,14 +54,16 @@
border-radius: 10px; border-radius: 10px;
border: 1px solid #ccc; border: 1px solid #ccc;
} }
.conSurejigou>text{
.conSurejigou>text {
display: block; display: block;
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
margin-top: 30px margin-top: 30px
} }
.btnagreen{
.btnagreen {
position: absolute; position: absolute;
bottom: 20px; bottom: 20px;
left: 0; left: 0;
...@@ -50,69 +71,115 @@ ...@@ -50,69 +71,115 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.van-button{
height: 30px!important; .van-button {
height: 30px !important;
} }
.content{
.content {
width: 90%; width: 90%;
margin: 40px auto; margin: 40px auto;
} }
.upload{
position: absolute; .upload {
position: relative;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: #fff; background: #fff;
z-index: 200;
} }
.upload>text{
.upload>view {
position: fixed;
display: block; display: block;
top: 0;
left: 0;
width: 100%; width: 100%;
height: 30px; height: 8%;
line-height: 30px; background: #fff;
text-align: center; z-index: 200;
}
.upload>view>text {
position: fixed;
display: block;
top: 5%;
left: 5%;
font-size: 16px; font-size: 16px;
border: 1px solid #ccc;
} }
.mainUpload{
width: 90%; .mainUpload {
margin: 20px auto 0; position: absolute;
top: 0;
width: 100%;
height: 100%;
background: #fff;
margin: 20% auto 0;
} }
.mainUpload>view{
.mainUpload .upload_info {
display: flex; display: flex;
flex-direction: column;
margin-bottom: 40px;
} }
.mainUpload>view>text{
display: block; .mainUpload .upload_info text {
width: 100px; font-weight: 600;
text-align: right; padding-left: 5%;
font-size: 14px;
}
.mainUpload>view>view{
width: 90px;
} }
.mainUpload>view>view>text{
display: block; .mainUpload .upload_info view {
font-size: 14px; display: flex;
color: #4F4F4F; flex-direction: row;
height: 120px; justify-content: space-between;
} }
.uploadPic>view{
width: 100%; .upload_info view .a_b {
display: flex; display: flex;
width: 50%;
flex-direction: column;
align-items: center; align-items: center;
height: 40px; justify-content: center;
flex-wrap: wrap;
margin-bottom: 10px;
} }
.uploadPic>view>text{
width: 100px; .upload_info view .a_b button {
text-align: right; padding: 50px 60px;
font-size: 16px; font-size: 35px;
margin-right: 5px box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.1);
margin: 15px;
} }
.uploadPic>view>image{
width: 60px; .upload_info view .a_b .van-uploader__preview {
height: 34px; width: 100%;
margin-left: 20px; margin: 0;
}
.button button {
padding: 20px 110px;
width: 100%;
height: 60px;
line-height: 60px;
border-radius: 30px;
border: 0px;
background: linear-gradient(to right, #e85c6d, #fb689b);
color: #fff;
}
.scroll {
position: absolute;
top: 0;
width: 100%;
height: 100%;
}
.scroll .button {
width: 80%;
padding-left: 10%;
}
.formtable view text {
color: #fff;
font-weight: 300;
font-size: 16px;
} }
\ No newline at end of file
...@@ -87,13 +87,6 @@ ...@@ -87,13 +87,6 @@
"pathName": "pages/circle/circle", "pathName": "pages/circle/circle",
"query": "圈子", "query": "圈子",
"scene": null "scene": null
},
{
"id": -1,
"name": "pages/circleDetails/circleDetails",
"pathName": "pages/circleDetails/circleDetails",
"query": "circleId=5",
"scene": null
} }
] ]
} }
......
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