Compare commits
No commits in common. 'master' and 'wyd_branch' have entirely different histories.
master
...
wyd_branch
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 49 KiB |
@ -0,0 +1,135 @@
|
||||
// const app = getApp()
|
||||
Page({
|
||||
data: {
|
||||
realName: '',
|
||||
number: '',
|
||||
isDisabled: true //表示页面加载完成时disabled为禁用状态
|
||||
},
|
||||
|
||||
onLoad: function(options) {
|
||||
let number = options.number
|
||||
let realName = options.realName
|
||||
this.setData({
|
||||
number,
|
||||
realName
|
||||
})
|
||||
},
|
||||
|
||||
save: function() {
|
||||
let realName = this.data.realName;
|
||||
let number=this.data.number
|
||||
let skey = wx.getStorageSync('skey')
|
||||
wx.request({
|
||||
url: 'http://192.168.58.210:81/save',
|
||||
method: 'GET',
|
||||
|
||||
data: {
|
||||
skey:skey,
|
||||
number:number,
|
||||
realName:realName
|
||||
},
|
||||
success: function(res :any) {
|
||||
if (res.data.error == true) {
|
||||
wx.showToast({
|
||||
title: res.data.message,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.data.message,
|
||||
icon: 'success',
|
||||
duration: 5000
|
||||
})
|
||||
wx.removeStorageSync('info')
|
||||
wx.navigateBack({
|
||||
delta: 2
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
inputRealName: function(e :any) {
|
||||
var realName = e.detail.value
|
||||
this.setData({
|
||||
realName
|
||||
})
|
||||
console.log(realName)
|
||||
if (realName !== '') {
|
||||
this.setData({
|
||||
isDisabled: false
|
||||
})
|
||||
} else {
|
||||
this.setData({
|
||||
isDisabled: true
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
inputNumber: function(e :any) {
|
||||
var number = e.detail.value
|
||||
this.setData({
|
||||
number
|
||||
})
|
||||
// console.log()
|
||||
if (number !== '') {
|
||||
this.setData({
|
||||
isDisabled: false
|
||||
})
|
||||
} else {
|
||||
this.setData({
|
||||
isDisabled: true
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
onReady: function() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function() {
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
@ -0,0 +1,15 @@
|
||||
<!--pages/bd/bd.wxml-->
|
||||
<view>
|
||||
<view class="btn-area" id="buttonContainer">
|
||||
<view class='binding-item'>
|
||||
<view>姓名</view>
|
||||
<input type="text" placeholder="请输入您的真实姓名" value="{{realName}}" bindinput="inputRealName"></input>
|
||||
</view>
|
||||
<view class='binding-item'>
|
||||
<view>学号</view>
|
||||
<input type="number" placeholder="请输入您的学号" value="{{number}}" bindinput="inputNumber"></input>
|
||||
</view>
|
||||
|
||||
<button type="submit" bindtap="save" class="save" disabled='{{isDisabled}}'>提交</button>
|
||||
</view>
|
||||
</view>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 217 B |
|
After Width: | Height: | Size: 870 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 186 B |
|
After Width: | Height: | Size: 428 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 430 B |
|
After Width: | Height: | Size: 430 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
@ -0,0 +1,35 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<br />
|
||||
<div style="width:100%; text-align:center; font-family:Arial; font-size:12px;" id=other></div>
|
||||
<br />
|
||||
<div style="width:100%; text-align:center; font-family:Arial; font-size:12px;">
|
||||
<button onclick="parent.window.close();">
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<SCRIPT src="axurerp_pagescript.js"></SCRIPT>
|
||||
|
||||
<script language=javascript>
|
||||
function getQueryVariable(variable) {
|
||||
var query = window.location.hash.substring(1);
|
||||
var vars = query.split("&&&");
|
||||
for (var i=0;i<vars.length;i++) {
|
||||
var pair = vars[i].split("=");
|
||||
if (pair[0] == variable) {
|
||||
return decodeURI(pair[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var other = document.getElementById('other');
|
||||
other.innerHTML = getQueryVariable('other');
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
@ -0,0 +1,187 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Install the Axure RP Chrome Extension</title>
|
||||
<style type="text/css">
|
||||
*
|
||||
{
|
||||
font-family: NunitoSans, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body
|
||||
{
|
||||
text-align: center;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
p
|
||||
{
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
div.container
|
||||
{
|
||||
width: 980px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
}
|
||||
a
|
||||
{
|
||||
text-decoration: none;
|
||||
color: #009dda;
|
||||
}
|
||||
.button
|
||||
{
|
||||
background: #A502B3;
|
||||
font: normal 16px Arial, sans-serif;
|
||||
color: #FFFFFF;
|
||||
padding: 10px 30px 10px 30px;
|
||||
border: 2px solid #A502B3;
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
a:hover.button
|
||||
{
|
||||
border: 2px solid #A502B3;
|
||||
color: #A502B3;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
div.left
|
||||
{
|
||||
width: 400px;
|
||||
float: left;
|
||||
margin-right: 80px;
|
||||
}
|
||||
div.right
|
||||
{
|
||||
width: 400px;
|
||||
float: left;
|
||||
}
|
||||
div.buttonContainer
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
h1
|
||||
{
|
||||
font-size: 36px;
|
||||
color: #333333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 20px;
|
||||
font-weight: normal;
|
||||
}
|
||||
h2
|
||||
{
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
color: #08639C;
|
||||
text-align: center;
|
||||
}
|
||||
h3
|
||||
{
|
||||
font-size: 16px;
|
||||
color: #333333;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.heading
|
||||
{
|
||||
border-bottom: 1px solid black;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
font-size: 22px;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
span.faq
|
||||
{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
color: #333333;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<br />
|
||||
<br />
|
||||
<img src="axure_logo.png" alt="axure" />
|
||||
<br />
|
||||
<br />
|
||||
<h1>
|
||||
AXURE RP EXTENSION FOR CHROME</h1>
|
||||
<p style="font-size: 14px; color: #666666; margin-top: 10px;">
|
||||
Google Chrome requires an extension to view locally stored projects. Alternatively,
|
||||
upload your RP file to <a href="https://www.axure.cloud">Axure Cloud</a> or use a different
|
||||
browser. You can also Preview from Axure RP.</p>
|
||||
<img src="preview-rp.png" alt="preview"/>
|
||||
<h3 class="heading">
|
||||
VIEW LOCAL PROJECTS IN CHROME</h3>
|
||||
<div class="left">
|
||||
<h3>
|
||||
1. Install Extension from Chrome Store</h3>
|
||||
<div class="buttonContainer">
|
||||
<a class="button" href="https://chrome.google.com/webstore/detail/dogkpdfcklifaemcdfbildhcofnopogp"
|
||||
target="_blank">Install Extension</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>
|
||||
2. Open "More Tools > Extensions"</h3>
|
||||
<img src="extensions.png" alt="extensions"/>
|
||||
</div>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
<div class="left">
|
||||
<h3>
|
||||
3. View Axure RP Extension Details</h3>
|
||||
<img src="details.png" alt="extension details"/>
|
||||
</div>
|
||||
<div class="right">
|
||||
<h3>
|
||||
4. Check "Allow access to file URLs"</h3>
|
||||
<img src="allow-access.png" alt="allow access"/>
|
||||
</div>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
<div class="left">
|
||||
<h3>
|
||||
5. Click the button below</h3>
|
||||
<div class="buttonContainer">
|
||||
<a class="button" href="../../start.html">View in Chrome</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
<h3 class="heading">
|
||||
EXTENSION FAQ</h3>
|
||||
<p>
|
||||
<span class="faq">What is a Chrome Extension?</span> Extensions are downloadable
|
||||
plug-ins for Google Chrome that modify the browser
|
||||
and allow you additional capabilities.
|
||||
</p>
|
||||
<p style="margin-top: 25px;">
|
||||
<span class="faq">Why do I need to install the extension?</span> Google requires
|
||||
this extension to be installed to allow the viewing of local files in
|
||||
Chrome
|
||||
</p>
|
||||
<p style="margin-top: 25px; margin-bottom: 25px;">
|
||||
<span class="faq">Why does this extension require a high access level?</span> This
|
||||
extension requires a high access level to allow the viewing of the file://
|
||||
protocol. Axure does not track or access any of your information.
|
||||
</p>
|
||||
<h3 class="heading">
|
||||
WE'RE HERE TO HELP</h3>
|
||||
<p>
|
||||
Need help or have any questions? Contact our support team at <a href="mailto:support@axure.com">
|
||||
support@axure.com</a>.
|
||||
</p>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 38 KiB |
@ -0,0 +1,130 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Axure RP - Firefox Local File Restrictions</title>
|
||||
<style type="text/css">
|
||||
*
|
||||
{
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body
|
||||
{
|
||||
text-align: center;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
p
|
||||
{
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
div.container
|
||||
{
|
||||
width: 980px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
}
|
||||
a
|
||||
{
|
||||
text-decoration: none;
|
||||
color: #009dda;
|
||||
}
|
||||
.button
|
||||
{
|
||||
background: #A502B3;
|
||||
font: normal 16px Arial, sans-serif;
|
||||
color: #FFFFFF;
|
||||
padding: 10px 30px 10px 30px;
|
||||
border: 2px solid #A502B3;
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
a:hover.button
|
||||
{
|
||||
border: 2px solid #A502B3;
|
||||
color: #A502B3;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
div.left
|
||||
{
|
||||
width: 400px;
|
||||
float: left;
|
||||
margin-right: 80px;
|
||||
}
|
||||
div.right
|
||||
{
|
||||
width: 400px;
|
||||
float: left;
|
||||
}
|
||||
div.buttonContainer
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
h1
|
||||
{
|
||||
font-size: 36px;
|
||||
color: #333333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 20px;
|
||||
font-weight: normal;
|
||||
}
|
||||
h2
|
||||
{
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
color: #08639C;
|
||||
text-align: center;
|
||||
}
|
||||
h3
|
||||
{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
color: #333333;
|
||||
font-weight: normal;
|
||||
}
|
||||
.heading
|
||||
{
|
||||
border-bottom: 1px solid black;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
font-size: 22px;
|
||||
color: #000000;
|
||||
}
|
||||
span.faq
|
||||
{
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
color: #333333;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<br />
|
||||
<br />
|
||||
<img src="axure_logo.png" alt="axure" />
|
||||
<br />
|
||||
<h1>
|
||||
FIREFOX LOCAL FILE RESTRICTIONS</h1>
|
||||
<p style="font-size: 16px; line-height: 24px; color: #666666; margin-top: 10px;">
|
||||
Firefox does not permit locally stored files to be viewed. Use Preview to view your projects in progress.
|
||||
<img src="preview-rp.png" alt="preview"/>
|
||||
</p>
|
||||
<p style="font-size: 16px; line-height: 24px; color: #666666; margin-top: 10px;">
|
||||
Alternatively, you can choose a different web browser, upload your RP file to <a href="https://app.axure.cloud">Axure Cloud</a> or publish the local files to a web server.</p>
|
||||
<h3 class="heading">
|
||||
We're Here to Help</h3>
|
||||
<p>
|
||||
Need help or have any questions? Drop us a line at <a href="mailto:support@axure.com">
|
||||
support@axure.com</a>.
|
||||
</p>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 21 KiB |
@ -0,0 +1,155 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Axure RP - Safari Local File Restrictions</title>
|
||||
<style type="text/css">
|
||||
*
|
||||
{
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body
|
||||
{
|
||||
text-align: center;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
p
|
||||
{
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
div.container
|
||||
{
|
||||
width: 980px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
}
|
||||
a
|
||||
{
|
||||
text-decoration: none;
|
||||
color: #009dda;
|
||||
}
|
||||
.button
|
||||
{
|
||||
background: #A502B3;
|
||||
font: normal 16px Arial, sans-serif;
|
||||
color: #FFFFFF;
|
||||
padding: 10px 30px 10px 30px;
|
||||
border: 2px solid #A502B3;
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
a:hover.button
|
||||
{
|
||||
border: 2px solid #A502B3;
|
||||
color: #A502B3;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
div.left
|
||||
{
|
||||
width: 400px;
|
||||
float: left;
|
||||
margin-right: 80px;
|
||||
}
|
||||
div.right
|
||||
{
|
||||
width: 400px;
|
||||
float: left;
|
||||
}
|
||||
div.buttonContainer
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
h1
|
||||
{
|
||||
font-size: 36px;
|
||||
color: #333333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 20px;
|
||||
font-weight: normal;
|
||||
}
|
||||
h2
|
||||
{
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
color: #08639C;
|
||||
text-align: center;
|
||||
}
|
||||
h3
|
||||
{
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
color: #333333;
|
||||
font-weight: normal;
|
||||
}
|
||||
.heading
|
||||
{
|
||||
border-bottom: 1px solid black;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
font-size: 22px;
|
||||
color: #000000;
|
||||
}
|
||||
span.faq
|
||||
{
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
color: #333333;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<br />
|
||||
<br />
|
||||
<img src="axure_logo.png" alt="axure" />
|
||||
<br />
|
||||
<h1>
|
||||
SAFARI LOCAL FILE RESTRICTIONS</h1>
|
||||
<p style="font-size: 16px; line-height: 24px; color: #666666; margin-top: 10px;">
|
||||
To view locally stored projects in Safari, you will need to "disable local file restrictions". Alternatively,
|
||||
you can upload your RP file to <a href="https://www.axure.cloud">Axure Cloud</a> or publish the local files to a web server. You can also Preview from Axure RP.</p>
|
||||
<img src="preview-rp.png" alt="preview"/>
|
||||
<h3 class="heading">
|
||||
VIEW LOCAL PROJECTS IN SAFARI</h3>
|
||||
<div class="">
|
||||
<h3>
|
||||
1. Open "Safari > Preferences > Advanced" from the top menu, and check the option to "Show Develop menu in menu bar"</h3>
|
||||
<img src="safari_advanced.png" alt="advanced" />
|
||||
</div>
|
||||
<div style="clear: both; height: 20px;">
|
||||
|
||||
</div>
|
||||
<div class="">
|
||||
<h3>
|
||||
2. In the Develop menu that appears in the menu bar, click "Develop > Disable Local File Restrictions" to un-select the menu option</h3>
|
||||
<img src="safari_restrictions.png" alt="extensions" />
|
||||
</div>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
<div class="left">
|
||||
<h3>
|
||||
3. Click the button below
|
||||
</h3>
|
||||
<div class="buttonContainer">
|
||||
<a class="button" href="../../start.html">View in Safari</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
<h3 class="heading">
|
||||
We're Here to Help</h3>
|
||||
<p>
|
||||
Need help or have any questions? Drop us a line at <a href="mailto:support@axure.com">
|
||||
support@axure.com</a>.
|
||||
</p>
|
||||
<div style="clear: both; height: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 251 B |
|
After Width: | Height: | Size: 112 B |
|
After Width: | Height: | Size: 98 B |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 180 B |
|
After Width: | Height: | Size: 120 B |
|
After Width: | Height: | Size: 105 B |
|
After Width: | Height: | Size: 111 B |
|
After Width: | Height: | Size: 110 B |
|
After Width: | Height: | Size: 107 B |
|
After Width: | Height: | Size: 101 B |