├── data.json ├── pages ├── auth │ ├── auth.json │ ├── auth.wxss │ ├── auth.wxml │ └── auth.js ├── detail │ ├── detail.json │ ├── detail.wxml │ └── detail.wxss ├── index │ ├── index.json │ ├── index.wxml │ └── index.js ├── myinfo │ ├── myinfo.json │ ├── myinfo.wxss │ ├── myinfo.wxml │ └── myinfo.js ├── search │ ├── search.json │ ├── search.wxml │ ├── search.wxss │ └── search.js ├── sport │ ├── sport.json │ ├── sport.wxml │ ├── sport.wxss │ └── sport.js ├── about_us │ ├── about_us.json │ ├── about_us.wxss │ ├── about_us.wxml │ └── about_us.js ├── contact_us │ ├── contact_us.json │ ├── contact_us.wxml │ ├── contact_us.wxss │ └── contact_us.js ├── phone_auth │ ├── phone_auth.json │ ├── phone_auth.wxss │ ├── phone_auth.wxml │ └── phone_auth.js ├── update_info │ ├── update_info.json │ ├── update_info.wxss │ ├── update_info.wxml │ └── update_info.js ├── quit_activity │ ├── quit_activity.json │ ├── quit_activity.wxml │ ├── quit_activity.wxss │ └── quit_activity.js ├── search_result │ ├── search_result.json │ ├── search_result.wxml │ ├── search_result.wxss │ └── search_result.js ├── trainee │ ├── trainee_my │ │ ├── trainee_my.json │ │ ├── trainee_my.wxml │ │ ├── trainee_my.wxss │ │ └── trainee_my.js │ ├── trainee_auth │ │ ├── trainee_auth.json │ │ ├── trainee_auth.wxss │ │ ├── trainee_auth.wxml │ │ └── trainee_auth.js │ ├── trainee_index │ │ ├── trainee_index.json │ │ ├── trainee_index.js │ │ ├── trainee_index.wxml │ │ └── trainee_index.wxss │ ├── trainee_detail │ │ ├── trainee_detail.json │ │ ├── trainee_detail.js │ │ ├── trainee_detail.wxss │ │ └── trainee_detail.wxml │ └── trainee_application │ │ ├── trainee_application.json │ │ ├── trainee_application.js │ │ ├── trainee_application.wxml │ │ └── trainee_application.wxss └── record2 │ ├── record2.json │ ├── record2.wxss │ ├── record2.js │ └── record2.wxml ├── template ├── rank_item │ ├── rank_item.json │ ├── rank_item.wxml │ ├── rank_item.js │ └── rank_item.wxss ├── activity_item │ ├── activity_item.json │ ├── activity_item.js │ ├── activity_item.wxml │ └── activity_item.wxss ├── trainee_item │ ├── trainee_item.json │ ├── trainee_item.js │ ├── trainee_item.wxml │ └── trainee_item.wxss └── user_info_act_item │ ├── user_info_act_item.json │ ├── user_info_act_item.wxml │ ├── user_info_act_item.wxss │ └── user_info_act_item.js ├── images ├── icon │ ├── cry.png │ ├── cup.png │ ├── icon_xueshu.png │ ├── icon_xinsheng.png │ ├── side_list.svg │ ├── success.svg │ ├── trainee-my.svg │ ├── album.svg │ ├── flat.svg │ ├── warn.svg │ ├── trainee-auth-result.svg │ ├── trainee-send.svg │ ├── trainee-send2.svg │ └── cry.svg ├── record │ ├── bg.jpg │ ├── suggest.svg │ ├── crown.svg │ ├── schedule.svg │ ├── medal.svg │ ├── basketball-1.svg │ └── athlete.svg ├── trainee │ ├── push.png │ ├── timg.jpg │ ├── cl_xb.png │ ├── trainee2.jpg │ ├── apply_image2.png │ ├── uncollection.svg │ ├── collection.svg │ └── baidu.svg ├── search │ └── search.png ├── toolbar │ ├── person.png │ ├── activity.png │ ├── activity2.png │ └── person2.png ├── userinfo │ ├── sign.PNG │ ├── signing.PNG │ ├── unsign.PNG │ ├── fav2.svg │ ├── join2.svg │ └── no_act.svg ├── sport │ └── titleback3.jpg └── detail │ ├── fav.svg │ ├── has_fav.svg │ ├── has_join.svg │ └── join.svg ├── app.wxss ├── utils └── util.js ├── trainee.js ├── app.json ├── project.config.json ├── font.wxss └── data.js /data.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/auth/auth.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/detail/detail.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/index/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/myinfo/myinfo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/search/search.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/sport/sport.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/about_us/about_us.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/contact_us/contact_us.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/phone_auth/phone_auth.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/update_info/update_info.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /template/rank_item/rank_item.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/quit_activity/quit_activity.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/search_result/search_result.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/trainee/trainee_my/trainee_my.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /template/activity_item/activity_item.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /template/trainee_item/trainee_item.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/trainee/trainee_auth/trainee_auth.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/trainee/trainee_index/trainee_index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/trainee/trainee_detail/trainee_detail.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /template/user_info_act_item/user_info_act_item.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/trainee/trainee_application/trainee_application.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pages/record2/record2.json: -------------------------------------------------------------------------------- 1 | { 2 | "enablePullDownRefresh": false} -------------------------------------------------------------------------------- /pages/phone_auth/phone_auth.wxss: -------------------------------------------------------------------------------- 1 | /* pages/phone_auth/phone_auth.wxss */ -------------------------------------------------------------------------------- /images/icon/cry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/icon/cry.png -------------------------------------------------------------------------------- /images/icon/cup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/icon/cup.png -------------------------------------------------------------------------------- /images/record/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/record/bg.jpg -------------------------------------------------------------------------------- /pages/trainee/trainee_auth/trainee_auth.wxss: -------------------------------------------------------------------------------- 1 | /* pages/trainee/trainee_auth/trainee_auth.wxss */ -------------------------------------------------------------------------------- /images/trainee/push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/trainee/push.png -------------------------------------------------------------------------------- /images/trainee/timg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/trainee/timg.jpg -------------------------------------------------------------------------------- /images/search/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/search/search.png -------------------------------------------------------------------------------- /images/toolbar/person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/toolbar/person.png -------------------------------------------------------------------------------- /images/trainee/cl_xb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/trainee/cl_xb.png -------------------------------------------------------------------------------- /images/userinfo/sign.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/userinfo/sign.PNG -------------------------------------------------------------------------------- /images/icon/icon_xueshu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/icon/icon_xueshu.png -------------------------------------------------------------------------------- /images/sport/titleback3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/sport/titleback3.jpg -------------------------------------------------------------------------------- /images/toolbar/activity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/toolbar/activity.png -------------------------------------------------------------------------------- /images/toolbar/activity2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/toolbar/activity2.png -------------------------------------------------------------------------------- /images/toolbar/person2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/toolbar/person2.png -------------------------------------------------------------------------------- /images/trainee/trainee2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/trainee/trainee2.jpg -------------------------------------------------------------------------------- /images/userinfo/signing.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/userinfo/signing.PNG -------------------------------------------------------------------------------- /images/userinfo/unsign.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/userinfo/unsign.PNG -------------------------------------------------------------------------------- /images/icon/icon_xinsheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/icon/icon_xinsheng.png -------------------------------------------------------------------------------- /images/trainee/apply_image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiangGeNB/bjut_online/HEAD/images/trainee/apply_image2.png -------------------------------------------------------------------------------- /pages/phone_auth/phone_auth.wxml: -------------------------------------------------------------------------------- 1 | 2 | pages/phone_auth/phone_auth.wxml 3 | -------------------------------------------------------------------------------- /pages/trainee/trainee_auth/trainee_auth.wxml: -------------------------------------------------------------------------------- 1 | 2 | pages/trainee/trainee_auth/trainee_auth.wxml 3 | -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | .container { 3 | height: 100%; 4 | display: flex; 5 | flex-direction: column; 6 | align-items: center; 7 | justify-content: space-between; 8 | padding: 200rpx 0; 9 | box-sizing: border-box; 10 | } 11 | 12 | view, input{ 13 | font-family: MicroSoft YaHei; 14 | } -------------------------------------------------------------------------------- /pages/contact_us/contact_us.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | @ 联系我们 6 | 7 | 8 | {{content}} 9 | 10 | 11 | 12 | 官方邮箱:{{email}} 13 | 14 | -------------------------------------------------------------------------------- /utils/util.js: -------------------------------------------------------------------------------- 1 | function formatTime(date) { 2 | var year = date.getFullYear() 3 | var month = date.getMonth() + 1 4 | var day = date.getDate() 5 | 6 | var hour = date.getHours() 7 | var minute = date.getMinutes() 8 | var second = date.getSeconds() 9 | 10 | return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':') 11 | } 12 | 13 | function formatNumber(n) { 14 | n = n.toString() 15 | return n[1] ? n : '0' + n 16 | } 17 | 18 | module.exports = { 19 | formatTime: formatTime 20 | } 21 | -------------------------------------------------------------------------------- /template/user_info_act_item/user_info_act_item.wxml: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /pages/contact_us/contact_us.wxss: -------------------------------------------------------------------------------- 1 | /* contact_us.wxss */ 2 | .all{ 3 | background-color: whitesmoke; 4 | border-radius: 3px; 5 | padding: 5vw; 6 | margin: 5vw; 7 | display: absolute; 8 | color: rgba(0, 0, 0, 0.7); 9 | } 10 | 11 | .title{ 12 | margin-bottom: 5vw; 13 | text-align: center; 14 | font-size: 8vw; 15 | color: #1296db; 16 | font-weight: bolder; 17 | } 18 | 19 | .content{ 20 | margin: 3vw; 21 | padding-left: 5px; 22 | margin-top: 1px; 23 | font-size: 16px; 24 | padding-bottom: 10px; 25 | } 26 | 27 | .email{ 28 | margin: 3vw; 29 | padding-left: 5px; 30 | font-size: 16px; 31 | text-indent: 8vw; 32 | } 33 | 34 | .email>text { 35 | color: #1296db; 36 | font-weight: bold; 37 | } -------------------------------------------------------------------------------- /template/rank_item/rank_item.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/search_result/search_result.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /images/icon/side_list.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/trainee/uncollection.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/trainee/collection.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/search_result/search_result.wxss: -------------------------------------------------------------------------------- 1 | /* pages/search_result/search_result.wxss */ 2 | @import '/font.wxss'; 3 | @import '/template/activity_item/activity_item.wxss'; 4 | 5 | 6 | .gap { 7 | width: 100%; 8 | height: 10px; 9 | border-top: 1px solid rgba(0, 0, 0, 0.1); 10 | border-bottom: 1px solid rgba(0, 0, 0, 0.1); 11 | background-color: ghostwhite; 12 | } 13 | 14 | .input-wrapper { 15 | margin: 5vw; 16 | } 17 | 18 | .search-icon { 19 | display: inline-block; 20 | width: 6vw; 21 | height: 6vw; 22 | margin-right: 2vw; 23 | margin-bottom: 1vw; 24 | } 25 | 26 | input { 27 | display: inline-block; 28 | width: 82vw; 29 | height: 8vw; 30 | border-bottom: 1px solid rgba(0, 0, 0, 0.1); 31 | font-family: MicroSoft YaHei; 32 | font-size: 4vw; 33 | } 34 | 35 | .input-placeholder { 36 | font-family: MicroSoft YaHei; 37 | font-size: 4vw; 38 | } -------------------------------------------------------------------------------- /template/user_info_act_item/user_info_act_item.wxss: -------------------------------------------------------------------------------- 1 | /* template/user_info_act_item/user_info_act_item.wxss */ 2 | .user-act-wrapper{ 3 | margin: 3vw 0; 4 | width: 86vw; 5 | padding: 2vw; 6 | border: 2px solid silver; 7 | border-radius: 5px; 8 | } 9 | .user-act-image{ 10 | display: inline-block; 11 | width: 15vw; 12 | height: 15vw; 13 | vertical-align: top; 14 | border-radius: 4px; 15 | } 16 | .user-act-info-wrapper{ 17 | display: inline-block; 18 | margin-left: 5vw; 19 | width:62vw; 20 | height: 15vw; 21 | } 22 | .user-title{ 23 | width:60vw; 24 | overflow: hidden; 25 | text-overflow:ellipsis; 26 | white-space: nowrap; 27 | font-size: 4vw; 28 | margin-bottom: 1vw; 29 | } 30 | .user-date{ 31 | font-size: 3vw; 32 | margin-bottom: .5vw; 33 | } 34 | .user-location{ 35 | font-size: 3vw; 36 | } 37 | .fire{ 38 | color: red; 39 | } -------------------------------------------------------------------------------- /images/icon/success.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/record/suggest.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/phone_auth/phone_auth.js: -------------------------------------------------------------------------------- 1 | // pages/phone_auth/phone_auth.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /template/rank_item/rank_item.js: -------------------------------------------------------------------------------- 1 | // template/rank_item/rank_item.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /template/trainee_item/trainee_item.js: -------------------------------------------------------------------------------- 1 | // template/trainee_item/trainee_item.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /pages/trainee/trainee_auth/trainee_auth.js: -------------------------------------------------------------------------------- 1 | // pages/trainee/trainee_auth/trainee_auth.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /template/user_info_act_item/user_info_act_item.js: -------------------------------------------------------------------------------- 1 | // template/user_info_act_item/user_info_act_item.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /template/trainee_item/trainee_item.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/trainee_item/trainee_item.wxss: -------------------------------------------------------------------------------- 1 | /* template/trainee_item/trainee_item.wxss */ 2 | .trainee-template-wrapper{ 3 | width: 100%; 4 | padding: 3vw 0; 5 | position: relative; 6 | } 7 | 8 | .logo-wrapper{ 9 | width: 25vw; 10 | display: inline-block; 11 | } 12 | 13 | .logo-image{ 14 | margin: 0 5vw; 15 | width: 15vw; 16 | height: 15vw; 17 | border-radius: 50%; 18 | } 19 | 20 | .info-wrapper{ 21 | display: inline-block; 22 | width: 70vw; 23 | padding-left: 3vw; 24 | vertical-align: top; 25 | } 26 | /*更新日期 */ 27 | .update-date{ 28 | position: absolute; 29 | top: 3.5vw; 30 | right: 1vw; 31 | width: 23vw; 32 | font-size: 3vw; 33 | text-align: right; 34 | color: gray 35 | } 36 | .position-wrapper{ 37 | font-size: 4vw; 38 | width: 47vw; 39 | } 40 | .company-wrapper{ 41 | margin-top: 1vw; 42 | font-size: 3vw; 43 | color: gray; 44 | } 45 | 46 | .sub-info-wrapper{ 47 | margin-top: 2vw; 48 | font-size: 3vw; 49 | } 50 | .chenlongnb{ 51 | display: inline-block; 52 | margin-right: 3vw; 53 | } 54 | -------------------------------------------------------------------------------- /images/icon/trainee-my.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/trainee/trainee_application/trainee_application.js: -------------------------------------------------------------------------------- 1 | // pages/trainee_application/trainee_application.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | info_come: ['我在这家公司实习','微信群','朋友介绍'] 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /template/activity_item/activity_item.js: -------------------------------------------------------------------------------- 1 | // template/activity_item/activity_item.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | imageUrl: 'http://www.i-exshare.cn/activity_images/chenlong13856.jpg' 9 | }, 10 | 11 | /** 12 | * 生命周期函数--监听页面加载 13 | */ 14 | onLoad: function (options) { 15 | 16 | }, 17 | 18 | /** 19 | * 生命周期函数--监听页面初次渲染完成 20 | */ 21 | onReady: function () { 22 | 23 | }, 24 | 25 | /** 26 | * 生命周期函数--监听页面显示 27 | */ 28 | onShow: function () { 29 | 30 | }, 31 | 32 | /** 33 | * 生命周期函数--监听页面隐藏 34 | */ 35 | onHide: function () { 36 | 37 | }, 38 | 39 | /** 40 | * 生命周期函数--监听页面卸载 41 | */ 42 | onUnload: function () { 43 | 44 | }, 45 | 46 | /** 47 | * 页面相关事件处理函数--监听用户下拉动作 48 | */ 49 | onPullDownRefresh: function () { 50 | 51 | }, 52 | 53 | /** 54 | * 页面上拉触底事件的处理函数 55 | */ 56 | onReachBottom: function () { 57 | 58 | }, 59 | 60 | /** 61 | * 用户点击右上角分享 62 | */ 63 | onShareAppMessage: function () { 64 | 65 | } 66 | }) -------------------------------------------------------------------------------- /pages/contact_us/contact_us.js: -------------------------------------------------------------------------------- 1 | // contact_us.js 2 | Page({ 3 | 4 | /** 5 | * 页面的初始数据 6 | */ 7 | data: { 8 | content: "北工大活动报名平台由北京工业大学研究生会宣传中心与北京工业大学信息学部研究生会运营,如果你想加入我们或者在使用过程中有任何问题,请联系我们!", 9 | email: "bjut_wy@163.com" 10 | }, 11 | 12 | /** 13 | * 生命周期函数--监听页面加载 14 | */ 15 | onLoad: function (options) { 16 | 17 | }, 18 | 19 | /** 20 | * 生命周期函数--监听页面初次渲染完成 21 | */ 22 | onReady: function () { 23 | 24 | }, 25 | 26 | /** 27 | * 生命周期函数--监听页面显示 28 | */ 29 | onShow: function () { 30 | 31 | }, 32 | 33 | /** 34 | * 生命周期函数--监听页面隐藏 35 | */ 36 | onHide: function () { 37 | 38 | }, 39 | 40 | /** 41 | * 生命周期函数--监听页面卸载 42 | */ 43 | onUnload: function () { 44 | 45 | }, 46 | 47 | /** 48 | * 页面相关事件处理函数--监听用户下拉动作 49 | */ 50 | onPullDownRefresh: function () { 51 | 52 | }, 53 | 54 | /** 55 | * 页面上拉触底事件的处理函数 56 | */ 57 | onReachBottom: function () { 58 | 59 | }, 60 | 61 | /** 62 | * 用户点击右上角分享 63 | */ 64 | onShareAppMessage: function () { 65 | 66 | } 67 | }) -------------------------------------------------------------------------------- /pages/trainee/trainee_detail/trainee_detail.js: -------------------------------------------------------------------------------- 1 | // pages/trainee_detail/trainee_detail.js 2 | var data = require('../../../trainee.js'); 3 | Page({ 4 | 5 | data: { 6 | trainee_data: data.trainee.trainee_data[0], 7 | // 地图上的marker 8 | marker: [], 9 | collection_mark: data.trainee.trainee_data[0].collection_mark 10 | }, 11 | 12 | onLoad: function (options) { 13 | console.log(options.trainee_id); 14 | console.log(data); 15 | this.setData({ 16 | marker: [{ 17 | id: 1, 18 | latitude: data.trainee.trainee_data[0].coordinate[0], 19 | longitude: data.trainee.trainee_data[0].coordinate[1], 20 | title: data.trainee.trainee_data[0].company 21 | }] 22 | }); 23 | }, 24 | 25 | onReady: function () { 26 | }, 27 | onShow: function () { 28 | }, 29 | onHide: function () { 30 | }, 31 | onUnload: function () { 32 | }, 33 | onPullDownRefresh: function () { 34 | }, 35 | onReachBottom: function () { 36 | 37 | }, 38 | onShareAppMessage: function () { 39 | }, 40 | click_collection: function(){ 41 | console.log('点击了收藏or取消收藏按钮'); 42 | this.setData({ 43 | collection_mark: !this.data.collection_mark 44 | }) 45 | } 46 | }) -------------------------------------------------------------------------------- /pages/search/search.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 热门搜索 8 | 9 | 10 | {{item.tag_content}} 11 | 12 | 13 | 14 | 15 | 16 | 历史记录 17 | 18 | 19 | 20 | {{item}} 21 | 22 | 23 | 24 | 25 | 26 | 清空历史记录 27 | 28 | 29 | -------------------------------------------------------------------------------- /pages/trainee/trainee_application/trainee_application.wxml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 发布我的招聘实习信息 11 | 12 | 您所知道的 正是大家所需要的 13 | 14 | 15 | 16 | 17 | 18 | 基本信息 19 | 20 | 21 | 公司名称: 22 | 23 | 24 | 25 | 需求职位: 26 | 27 | 28 | 29 | 信息来源: 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /images/icon/album.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/flat.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/update_info/update_info.wxss: -------------------------------------------------------------------------------- 1 | /* update_info.wxss */ 2 | @import '/font.wxss'; 3 | 4 | .title-wrapper { 5 | margin: 5vw; 6 | padding-bottom: 3vw; 7 | font-size: 7vw; 8 | border-bottom: 1.5px solid gainsboro; 9 | } 10 | 11 | .setting { 12 | font-size: 7vw; 13 | color: #1296db; 14 | font-weight: bold; 15 | } 16 | 17 | .content-wrapper { 18 | margin: 0 10vw; 19 | 20 | } 21 | 22 | .nick-name-wrapper { 23 | display: flex; 24 | width: 100%; 25 | font-size: 5vw; 26 | margin-bottom: 5vw; 27 | } 28 | 29 | .usual-text { 30 | display: inline-block; 31 | vertical-align: -4px; 32 | width: 25vw; 33 | text-align: right; 34 | } 35 | 36 | input { 37 | display: inline-block; 38 | margin-left: 2vw; 39 | height: 7vw; 40 | border: 1px solid gainsboro; 41 | border-radius: 4px; 42 | text-align: center; 43 | width: 50vw; 44 | } 45 | 46 | .phone-number-wrapper { 47 | display: flex; 48 | width: 100%; 49 | font-size: 5vw; 50 | margin-bottom: 5vw; 51 | } 52 | .rank-switch-wrapper > switch { 53 | margin-left: 3vw; 54 | } 55 | 56 | .remark { 57 | margin: 5vw 0; 58 | padding: 4vw; 59 | background-color: ghostwhite; 60 | color: gray; 61 | border-radius: 3vw; 62 | font-size: 3.2vw; 63 | line-height: 5vw; 64 | } 65 | 66 | .remark > text { 67 | line-height: 5vw; 68 | } 69 | 70 | .save-button { 71 | width: 80vw; 72 | margin: 5vw auto; 73 | } 74 | -------------------------------------------------------------------------------- /pages/quit_activity/quit_activity.wxml: -------------------------------------------------------------------------------- 1 | 2 | 取消活动报名 3 | 4 | 温馨提示: 5 | 1.本页面提交的内容是为了方便活动举办方统计参与人数,请您谅解 6 | 2.请您认真核对相关信息,认真填写取消活动原因 7 | 3.提交本页面后则可成功取消活动 8 | 9 | 10 | 相关信息: 11 | 12 | 退出活动名称: 13 | {{act_title}} 14 | 相关联系人: 15 | {{user_name}} 16 | 联系人学号: 17 | {{student_id}} 18 | 19 | 20 |
21 | 22 | 退出理由 23 | 24 | {{quit_reason[index_reason]}} 25 | 26 | 27 | 28 | * 其他原因: 29 |