增加个人信息界面和跳转到此页面

master
zxy19971014 6 years ago
parent b5b6002b8f
commit 73c93c8a23

@ -0,0 +1,67 @@
// 获取全局应用程序实例对象
const app = getApp();
// 创建页面实例对象
Page({
/**
* 页面名称
*/
name: "index",
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad() {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
//以下为自定义点击事件
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,4 @@
<image class="wx-image_TCMtbw" mode="scaleToFill" src="//o3bnyc.creatby.com/diazo/images/image-placeholder.svg" style="background-size: 100% 100%; background-position: 0% 0%; background-repeat: no-repeat; background-image: url(http://o3bnyc.creatby.com/diazo/images/image-placeholder.svg);"/>
<text class="c-block wx-text_3ayXhS" > 姓名:</text>
<text class="c-block wx-text_cEEG0A" > 学号:</text>
<text class="c-block wx-text_lkXRAs" > 密码:</text>

@ -0,0 +1,73 @@
/* 基础样式 */
view,scroll-view,swiper,swiper-item,icon,text,progress,button,checkbox-group,checkbox,form,input,label,picker,radio-group,radio,slider,switch,action-sheet,action-sheet-item,action-sheet-cancel,modal,toast,loading,navigator,audio,image,video,map,canvas {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
page {
height: 100%;
font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif;
}
checkbox-group,
radio-group{
display:block;
}
:before,
:after ,
::before,
::after{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.c-minheight {
min-height: 80px;
}
.c-full {
width: 100%;
height: 100%;
}
.c-block {
display: block;
}
.c-autosize {
width: auto;
height: auto;
}
.c-fullwidth {
width: 100%;
}
.c-fullheight {
height: 100%;
}
.c-initHide{
opacity:0 !important;
}
.c-ellipse{
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow:hidden;
}
/* 自定义样式 */
.wx-image_TCMtbw{transition: All 0s ease; transform: rotate(0deg) scale(0.5) translate(22%,0%); -ms-transform: rotate(0deg) scale(0.5) translate(22%,0%); -o-transform: rotate(0deg) scale(0.5) translate(22%,0%); -moz-transform: rotate(0deg) scale(0.5) translate(22%,0%); -webkit-transform: rotate(0deg) scale(0.5) translate(22%,0%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
.wx-text_3ayXhS{border-radius: 15px; transition: all; margin-right: 80px; margin-left: 100px; background-repeat: repeat; transform: rotate(0deg) scale(1.2) translate(0%, 0%); background-color: rgba(255,175,105,1); }
.wx-text_cEEG0A{border-radius: 15px; transition: all; margin-right: 80px; margin-left: 100px; transform: rotate(0deg) scale(1.2) translate(0%, 152%); background-color: rgba(255, 175, 105, 1); border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; border-top-right-radius: 15px; border-top-left-radius: 15px; }
.wx-text_lkXRAs{border-radius: 15px; transition: all; margin-right: 80px; margin-left: 100px; transform: rotate(0deg) scale(1.2) translate(0%, 304%); background-color: rgba(255, 175, 105, 1); border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; border-top-right-radius: 15px; border-top-left-radius: 15px; }

@ -62,5 +62,10 @@ Page({
} }
} }
}) })
},
gerenxinxisubmit: function (e) {
wx.navigateTo({
url: '../gerenxinxi/gerenxinxi',
})
} }
}) })
Loading…
Cancel
Save