From 73c93c8a238caf76c6b61026b96fcdde04ddaa61 Mon Sep 17 00:00:00 2001 From: zxy19971014 <1094127243@qq.com> Date: Fri, 11 Jan 2019 17:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=95=8C=E9=9D=A2=E5=92=8C=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E6=AD=A4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gerenxinxi/gerenxinxi.js | 67 ++++++++++++++++++++++++++++++++++ gerenxinxi/gerenxinxi.json | 3 ++ gerenxinxi/gerenxinxi.wxml | 4 +++ gerenxinxi/gerenxinxi.wxss | 73 ++++++++++++++++++++++++++++++++++++++ wode/wode.js | 7 +++- 5 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 gerenxinxi/gerenxinxi.js create mode 100644 gerenxinxi/gerenxinxi.json create mode 100644 gerenxinxi/gerenxinxi.wxml create mode 100644 gerenxinxi/gerenxinxi.wxss diff --git a/gerenxinxi/gerenxinxi.js b/gerenxinxi/gerenxinxi.js new file mode 100644 index 0000000..33b061f --- /dev/null +++ b/gerenxinxi/gerenxinxi.js @@ -0,0 +1,67 @@ + + +// 获取全局应用程序实例对象 +const app = getApp(); + +// 创建页面实例对象 +Page({ + /** + * 页面名称 + */ + name: "index", + /** + * 页面的初始数据 + */ + + data: { + + + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad() { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + + //以下为自定义点击事件 + +}) + diff --git a/gerenxinxi/gerenxinxi.json b/gerenxinxi/gerenxinxi.json new file mode 100644 index 0000000..6f5247b --- /dev/null +++ b/gerenxinxi/gerenxinxi.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/gerenxinxi/gerenxinxi.wxml b/gerenxinxi/gerenxinxi.wxml new file mode 100644 index 0000000..5254d96 --- /dev/null +++ b/gerenxinxi/gerenxinxi.wxml @@ -0,0 +1,4 @@ + + 姓名: + 学号: + 密码: \ No newline at end of file diff --git a/gerenxinxi/gerenxinxi.wxss b/gerenxinxi/gerenxinxi.wxss new file mode 100644 index 0000000..47c5f21 --- /dev/null +++ b/gerenxinxi/gerenxinxi.wxss @@ -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; } + + + + diff --git a/wode/wode.js b/wode/wode.js index 2984ccb..6938a08 100644 --- a/wode/wode.js +++ b/wode/wode.js @@ -62,5 +62,10 @@ Page({ } } }) - } + }, + gerenxinxisubmit: function (e) { + wx.navigateTo({ + url: '../gerenxinxi/gerenxinxi', + }) + } }) \ No newline at end of file