Skip to content

Commit

Permalink
Merge pull request #1118 from HZUHJ/master
Browse files Browse the repository at this point in the history
update WeChat mini program #1097 #4 #6 #7
  • Loading branch information
zengsn authored Dec 3, 2018
2 parents 6cae54b + c93007c commit 7e5ab0a
Show file tree
Hide file tree
Showing 18 changed files with 1,083 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1614080902213/1614080902213-实验1-#1.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Soft1614080902213马宏杰</title>
<title>Soft1614080902213</title>
</head>
<body>
Soft1614080902213马宏杰
Soft1614080902213
</body>
</html>
179 changes: 179 additions & 0 deletions 1614080902213/resume-weui.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@

<!-- saved from url=(0046)http://localhost/jQuery_war_exploded/index.jsp -->
<html class="gr__localhost"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Title</title>
<link rel="stylesheet" href="./Title_files/weui.min.css"><style>html, * {-webkit-user-select:text!important; -moz-user-select:text!important;}</style>
<style type="text/css">
.weui-cells__title {
font-weight: bold;
}

.black {
background-color: #262626;
}
</style>
</head>
<div class="gr-top-z-index gr-top-zero" tabindex="-1"><div class="_30JeG _2_2SE" style="transform: translate(1819px, 2118.17px);"><div class="_2A3ER"><div class="_1y1wn _2R8DE undefined"></div><div class="_24Em3"><div style="display: initial;"><div class="_21QaI _1L80j" tabindex="-1"></div></div></div><div class="_2-7o4"></div><div class="_24Em3"><div style="display: initial;"><div class="_21QaI _1pbTT" data-action="editor" tabindex="-1"></div></div></div></div></div></div><div style="visibility: hidden; top: -9999px; position: absolute; opacity: 0;"><div class="_30JeG _2_2SE" style="transform: translate(1884px, 2133.17px);"><div class="_2A3ER"><div class="_1y1wn _2R8DE undefined"></div><div class="_24Em3"><div style="display: initial;"><div class="_21QaI _1L80j" tabindex="-1"></div></div></div><div class="_2-7o4"></div><div class="_24Em3"><div style="display: initial;"><div class="_21QaI _1pbTT" data-action="editor" tabindex="-1"></div></div></div></div></div></div><div style="visibility: hidden; top: -9999px; position: absolute; opacity: 0;"></div><body data-gr-c-s-loaded="true" class="vsc-initialized">

<div class="page navbar js_show">
<div class="page__bd" style="height: 100%;">
<div class="weui-tab">
<div class="weui-navbar">
<div class="weui-navbar__item weui-bar__item_on">
返回
</div>
<div class="weui-navbar__item">
我的简历
</div>
<div class="weui-navbar__item">
关注
</div>
</div>
<div class="weui-tab__panel">

</div>
</div>
</div>
</div>
<div class="weui-cells">
<div align="center"><img src="u=1969146263,1611878605&fm=27&gp=0.jpg" width="10%"></div>
<div class="weui-cells__title"> 姓名:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 哈利波特 </p>
</div>
<div class="weui-cell__ft">Harry Potter</div>
</div>
<div class="weui-cells__title"> 性别:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p></p>
</div>
<div class="weui-cell__ft">Male</div>
</div>
<div class="weui-cells__title"> 年龄:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p>18 岁 </p>
</div>
</div>
<div class="weui-cells__title"> 毕业学校:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 霍格沃茨魔法学校 </p>
</div>
<div class="weui-cell__ft">Hogwarts School of Witchcraft and Wizardry</div>
</div>
<div class="weui-cells__title"> 专业:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 魔法学 </p>
</div>
<div class="weui-cell__ft">Witchcraft</div>
</div>
<div class="weui-cells__title"> 求职意向:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 魔法教师 </p>
</div>
<div class="weui-cell__ft">Witchcraft teacher</div>
</div>
<div class="weui-cells__title"> 目标薪水:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p>7k~10k</p>
</div>
</div>

<div class="weui-cells__title"> 联系方式:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 手机号码:</p>
</div>
<div class="weui-cell__ft">1380123456</div>
</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p>Email</p>
</div>
<div class="weui-cell__ft">[email protected]</div>
</div>

<div class="weui-cell">
<div class="weui-cell__bd">
<p> 住址 </p>
</div>
<div class="weui-cell__ft"> 霍格沃茨,格兰芬多学院</div>
</div>

<div class="weui-cells__title"> 其他个人信息:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 国籍:</p>
</div>
<div class="weui-cell__ft"> 英国</div>
</div>

<div class="weui-cell">
<div class="weui-cell__bd">
<p> 籍贯:</p>
</div>
<div class="weui-cell__ft"> 戈德里克山谷</div>
</div>

<div class="weui-cell">
<div class="weui-cell__bd">
<p> 所在地:</p>
</div>
<div class="weui-cell__ft"> 英国</div>
</div>

<div class="weui-cells__title"> 求职意向:</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p> 魔法教师 </p>
</div>
<div class="weui-cell__ft">Witchcraft teacher</div>
</div>
</div>
<div class="weui-cells__title"> 如有疑问可留言</div>
<div class="weui-cells weui-cells_form">
<div class="weui-cell">
<div class="weui-cell__bd">
<grammarly-ghost spellcheck="false"><div data-id="a1d554a2-5870-91c2-1a1d-20bc47a8381e" data-gramm_id="a1d554a2-5870-91c2-1a1d-20bc47a8381e" data-gramm="gramm" data-gramm_editor="true" class="gr_ver_2" gramm="true" contenteditable="true" style="position: absolute; color: transparent; overflow: hidden; white-space: pre-wrap; border-radius: 0px; box-sizing: border-box; height: 75px; width: 1873px; margin: 10px 0px 0px 15px; padding: 0px; z-index: 0; border-width: 0px; border-style: none; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); top: 0px; left: 0px;"><span style="display: inline-block; font: 400 17px/25px monospace; color: transparent; overflow: hidden; text-align: left; float: initial; clear: none; box-sizing: border-box; vertical-align: baseline; white-space: pre-wrap; width: 100%; margin: 0px; padding: 0px; border: 0px; letter-spacing: normal; text-shadow: none; height: 75px;"></span><br></div></grammarly-ghost><textarea class="weui-textarea" placeholder=" 请输入文本 " rows="3" name="text" id="text" data-gramm="true" data-txt_gramm_id="a1d554a2-5870-91c2-1a1d-20bc47a8381e" data-gramm_id="a1d554a2-5870-91c2-1a1d-20bc47a8381e" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 25px; font-size: 17px; transition: none 0s ease 0s; background: transparent !important;"></textarea><grammarly-btn><div class="_1BN1N Kzi1t MoE_1 _2DJZN" style="z-index: 2; transform: translate(1858px, 55px);"><div class="_1HjH7"><div title="Protected by Grammarly" class="_3qe6h">&nbsp;</div></div></div></grammarly-btn>
<div class="weui-textarea-counter"><span>0</span>/200</div>
<a href="javascript:void(0);" onclick="submitInfo()" class="weui-btn weui-btn_mini weui-btn_primary" id="submit">提交</a>
<a href="javascript:void(0);" class="weui-btn weui-btn_mini weui-btn_primary" id="charge">换色</a>
</div>
</div>
</div>
<div class="weui-footer">
<p class="weui-footer__links">
<a href="https://github.com/HZUHJ" class="weui-footer__link"> 访问 Github 主页 </a>
</p>
<p class="weui-footer__text">Copyright © 2008-2018 HJ.io</p>
</div>

<script>
function submitInfo() {
var textlength = document.getElementById("text").value.trim().length;
if (textlength > 0) {
alert(" 提交成功 ");
} else {
alert(" 内容为空, 提交失败 ");
}
}
</script>

<script src="./Title_files/jquery-latest.js.下载"></script>
<script>
$(function () {
$("#charge").click(function () {
$("body").toggleClass("black");
});
});
</script>



</body><span class="gr__tooltip"><span class="gr__tooltip-content"></span><i class="gr__tooltip-logo"></i><span class="gr__triangle"></span></span><div><div class="gr_-editor gr-iframe-first-load" style="display: none;"><div class="gr_-editor_back"></div><iframe class="gr_-ifr gr-_dialog-content" src="./Title_files/saved_resource.html"></iframe></div></div><grammarly-card><div></div></grammarly-card></html>
30 changes: 30 additions & 0 deletions 1614080902213/weather/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//app.js
App({
onLaunch: function () {
//调用API从本地缓存中获取数据
var logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
},
getUserInfo:function(cb){
var that = this
if(this.globalData.userInfo){
typeof cb == "function" && cb(this.globalData.userInfo)
}else{
//调用登录接口
wx.login({
success: function () {
wx.getUserInfo({
success: function (res) {
that.globalData.userInfo = res.userInfo
typeof cb == "function" && cb(that.globalData.userInfo)
}
})
}
})
}
},
globalData:{
userInfo:null
}
})
13 changes: 13 additions & 0 deletions 1614080902213/weather/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"pages": [
"pages/air_quality/air_quality",
"pages/result/result",
"pages/detail/detal"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#000000",
"navigationBarTitleText": "空气质量查询",
"navigationBarTextStyle": "white"
}
}
50 changes: 50 additions & 0 deletions 1614080902213/weather/app.wxss
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/**app.wxss**/
page {
background-color: #f8f8f9;
height: 100%;
}
/**容器 flex-direction: column 表示元素垂直排列*/
.container {
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 200rpx 0rpx;
}

/**page 用于页面根标签 overflow超出范围的裁剪**/
.page {
min-height: 100%;
flex: 1;
background-color: #FBF9FE;
font-size: 32rpx;
font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif;
overflow: hidden;
}
/**页面中的input的组件**/
.page input{
padding: 20rpx 30rpx;
background-color: #fff;
}

/**段落*/
.section{
margin-bottom: 80rpx;
}
/**段落标题*/
.section__title{
margin-bottom: 16rpx;
padding-left: 30rpx;
padding-right: 30rpx;
}

/**button范围*/
.btn-area{
padding: 0 30rpx;
}
/**button*/
.btn-area button{
margin-top: 20rpx;
margin-bottom: 20rpx;
}

Loading

0 comments on commit 7e5ab0a

Please sign in to comment.