miniprogram

kongweiyu_branch
温雍敬 2 years ago
parent 31e0335543
commit a37ea6826e

@ -5,6 +5,7 @@
"pages/profile/profile",
"pages/msg 1/msg 1",
"pages/msg 2/msg 2"
],
"window": {
"backgroundColor": "#FFF",

@ -1,22 +0,0 @@
Page({
data:{
date:"",
region:"",
},
submit:function(e){
console.log(e);
},
dateChange:function(e){
this.setData({
date:e.detail.value,
});
},
regionChange:function(e){
this.setData({
region:e.detail.value,
});
},
});

@ -1,5 +0,0 @@
{
"usingComponents": {
"cloud-tip-modal": "/components/cloudTipModal/index"
}
}

@ -1,31 +0,0 @@
.body{
margin: 40rpx;
}
.section{
margin: 40rpx 0 80rpx;
}
.title{
font-weight: 36rpx;
}
.input{
margin:30rpx 0;
border-bottom: 1px solid #666;
padding: 20rpx 0;
width:100%
}
.mg{
margin: 30rpx 0;
}
.area{
margin:100rpx auto;
display:flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.desc{
font-weight: 500;
color: #000;
font-size: 44rpx;
margin: 50rpx 32rpx;
}

@ -1,22 +0,0 @@
Page({
data:{
date:"",
region:"",
},
submit:function(e){
console.log(e);
},
dateChange:function(e){
this.setData({
date:e.detail.value,
});
},
regionChange:function(e){
this.setData({
region:e.detail.value,
});
},
});

@ -1,5 +0,0 @@
{
"usingComponents": {
"cloud-tip-modal": "/components/cloudTipModal/index"
}
}

@ -1,57 +0,0 @@
<view class="body">
<view class="cover">
<image src="/images/user.png"class="user"/>
</view>
<form bindsubmit="submit">
<view class="section">
<view class="title">昵称:</view>
<input type="nickname" class="input"name="nickname"placeholder="昵称" />
</view>
<view class="section">
<view class="title">性别:</view>
<radio-group class="mg" name="gender">
<label >
<radio value="nan" />
</label>
<label >
<radio value="nv" />
</label>
</radio-group>
</view>
<view class="section">
<view class="title">年龄:</view>
<picker bindchange="dateChange" fields="year" value="{{date}}"mode="date"class="input"name="date">
<view class="picker">出生年:{{date}}</view>
</picker>
</view>
<view class="section">
<view class="title">地区:</view>
<picker bindchange="regionChange" value="{{region}}" value="{{region}}"mode="region"class="input"name="region">
<view class="picker">当前选择:{{region}}</view>
</picker>
</view>
<view class="section">
<view class="title">可以添加到你的联系方式:</view>
<input type="input" class="input"name="code"placeholder="昵称" />
</view>
<view class="section">
<view class="title">你的基本情况:</view>
<input type="input" class="input"name="code"placeholder="昵称" />
</view>
<view class="area">
<button style="margin:30rpx 0"type="primary"
form-type="submit">提交</button>
<button style="margin:30rpx 0"type="reset"
form-type="submit">重置</button>
</view>
</form>
</view>

@ -1,37 +0,0 @@
.cover{
background-color: #f1f1f1;
width: 10%;
height: 10%;
padding: 1rpx;
}
.body{
margin: 40rpx;
}
.section{
margin: 40rpx 0 80rpx;
}
.title{
font-weight: 36rpx;
}
.input{
margin:30rpx 0;
border-bottom: 1px solid #666;
padding: 20rpx 0;
width:100%
}
.mg{
margin: 30rpx 0;
}
.area{
margin:100rpx auto;
display:flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.desc{
font-weight: 500;
color: #000;
font-size: 44rpx;
margin: 50rpx 32rpx;
}

@ -1,15 +1,12 @@
<view class="body">
<view class="button-container" style="position: fixed; top: 20px; right: 20px;">
<button bindtap="goToPageA">Be a teacher</button>
</view>
<view class="image-container" >
<img src="/images/user.png" class="user-image" alt="User Image" style="width: 10px; height: 80px;" />
<button bindtap="goToPageA">Be a teacher</button>
</view>
<view class="cover">
<image src="/images/user.png"class="user"/>
</view>
<form bindsubmit="submit">
@ -39,6 +36,7 @@
<view class="picker">出生年:{{date}}</view>
</picker>
</view>
<view class="section">
<view class="title">地区:</view>
<picker bindchange="regionChange" value="{{region}}" value="{{region}}"mode="region"class="input"name="region">

Loading…
Cancel
Save