-
16.hbuilderx/launch.json
-
18App.vue
-
97common/graceChecker.js
-
352common/html-parser.js
-
119common/iconfont.css
-
BINcommon/iconfont.ttf
-
258common/permission.js
-
120common/uni-nvue.css
-
1447common/uni.css
-
73common/util.js
-
388components/tanchuang/videoval.vue
-
1206components/tki-qrcode/qrcode.js
-
205components/tki-qrcode/tki-qrcode.vue
-
419components/uni-icons/uni-icons.vue
-
188components/uni-pagination/uni-pagination.vue
-
187components/uni-popup/uni-popup.vue
-
127components/uni-segmented-control/uni-segmented-control.vue
-
BINdoc/c31fd196071d405c9a4d5755ccce94cf.keystore
-
5doc/画屏客户端打包配置.txt
-
20index.html
-
23main.js
-
106manifest.json
-
BINnativeplugins/Fvv-AutoStart/android/autostart-release.aar
-
20nativeplugins/Fvv-AutoStart/package.json
-
222package.json
-
24pages.json
-
34pages/header.vue
-
52pages/index/index.vue
-
107pages/login/login.vue
-
119static/iconfont/iconfont.css
-
1static/iconfont/iconfont.js
-
191static/iconfont/iconfont.json
-
BINstatic/iconfont/iconfont.ttf
-
BINstatic/iconfont/iconfont.woff
-
BINstatic/iconfont/iconfont.woff2
-
BINstatic/images/an-wx.png
-
BINstatic/images/an-xz.png
-
BINstatic/images/an-yy.png
-
BINstatic/images/bg-bz.png
-
BINstatic/images/bg.png
-
BINstatic/images/bt.png
-
BINstatic/logo.png
-
43store/store.js
-
76uni.scss
-
BINunpackage/cache/apk/__UNI__487D0A3_cm.apk
-
1unpackage/cache/apk/apkurl
-
1unpackage/cache/apk/cmManifestCache.json
-
3unpackage/cache/certdata
-
BINunpackage/cache/wgt/__UNI__487D0A3/.manifest/google-keystore.keystore
-
BINunpackage/cache/wgt/__UNI__487D0A3/.manifest/icon-android-hdpi.png
-
BINunpackage/cache/wgt/__UNI__487D0A3/.manifest/icon-android-xhdpi.png
-
BINunpackage/cache/wgt/__UNI__487D0A3/.manifest/icon-android-xxhdpi.png
-
BINunpackage/cache/wgt/__UNI__487D0A3/.manifest/icon-android-xxxhdpi.png
-
1unpackage/cache/wgt/__UNI__487D0A3/__uniappchooselocation.js
-
BINunpackage/cache/wgt/__UNI__487D0A3/__uniapperror.png
-
1unpackage/cache/wgt/__UNI__487D0A3/__uniappes6.js
-
1unpackage/cache/wgt/__UNI__487D0A3/__uniappopenlocation.js
-
1unpackage/cache/wgt/__UNI__487D0A3/__uniapppicker.js
-
8unpackage/cache/wgt/__UNI__487D0A3/__uniappquill.js
-
1unpackage/cache/wgt/__UNI__487D0A3/__uniappquillimageresize.js
-
1unpackage/cache/wgt/__UNI__487D0A3/__uniappscan.js
-
BINunpackage/cache/wgt/__UNI__487D0A3/__uniappsuccess.png
-
25unpackage/cache/wgt/__UNI__487D0A3/__uniappview.html
-
8unpackage/cache/wgt/__UNI__487D0A3/app-config-service.js
-
1unpackage/cache/wgt/__UNI__487D0A3/app-config.js
-
1unpackage/cache/wgt/__UNI__487D0A3/app-service.js
-
1unpackage/cache/wgt/__UNI__487D0A3/app-view.js
-
1unpackage/cache/wgt/__UNI__487D0A3/manifest.json
-
BINunpackage/cache/wgt/__UNI__487D0A3/static/logo.png
-
1unpackage/cache/wgt/__UNI__487D0A3/view.css
-
6unpackage/cache/wgt/__UNI__487D0A3/view.umd.min.js
-
0unpackage/dist/build/.automator/app-plus/.automator.json
-
1unpackage/dist/build/app-plus/__uniappchooselocation.js
-
BINunpackage/dist/build/app-plus/__uniapperror.png
-
1unpackage/dist/build/app-plus/__uniappes6.js
-
1unpackage/dist/build/app-plus/__uniappopenlocation.js
-
1unpackage/dist/build/app-plus/__uniapppicker.js
-
8unpackage/dist/build/app-plus/__uniappquill.js
-
1unpackage/dist/build/app-plus/__uniappquillimageresize.js
-
1unpackage/dist/build/app-plus/__uniappscan.js
-
BINunpackage/dist/build/app-plus/__uniappsuccess.png
-
25unpackage/dist/build/app-plus/__uniappview.html
-
8unpackage/dist/build/app-plus/app-config-service.js
-
1unpackage/dist/build/app-plus/app-config.js
-
1unpackage/dist/build/app-plus/app-service.js
-
1unpackage/dist/build/app-plus/app-view.js
-
1unpackage/dist/build/app-plus/manifest.json
-
BINunpackage/dist/build/app-plus/static/logo.png
-
1unpackage/dist/build/app-plus/view.css
-
6unpackage/dist/build/app-plus/view.umd.min.js
-
0unpackage/dist/dev/.automator/app-plus/.automator.json
-
1unpackage/dist/dev/app-plus/__uniappchooselocation.js
-
BINunpackage/dist/dev/app-plus/__uniapperror.png
-
1unpackage/dist/dev/app-plus/__uniappes6.js
-
1unpackage/dist/dev/app-plus/__uniappopenlocation.js
-
1unpackage/dist/dev/app-plus/__uniapppicker.js
-
8unpackage/dist/dev/app-plus/__uniappquill.js
-
1unpackage/dist/dev/app-plus/__uniappquillimageresize.js
-
1unpackage/dist/dev/app-plus/__uniappscan.js
-
BINunpackage/dist/dev/app-plus/__uniappsuccess.png
@ -0,0 +1,16 @@ |
|||
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ |
|||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 |
|||
"version": "0.0", |
|||
"configurations": [{ |
|||
"app-plus" : |
|||
{ |
|||
"launchtype" : "local" |
|||
}, |
|||
"default" : |
|||
{ |
|||
"launchtype" : "local" |
|||
}, |
|||
"type" : "uniCloud" |
|||
} |
|||
] |
|||
} |
|||
@ -0,0 +1,18 @@ |
|||
<script> |
|||
export default { |
|||
onLaunch: function() { |
|||
console.log('App Launch') |
|||
}, |
|||
onShow: function() { |
|||
console.log('App Show') |
|||
}, |
|||
onHide: function() { |
|||
console.log('App Hide') |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
/*每个页面公共css */ |
|||
@import './static/iconfont/iconfont.css'; |
|||
</style> |
|||
@ -0,0 +1,97 @@ |
|||
/** |
|||
数据验证(表单验证) |
|||
来自 grace.hcoder.net |
|||
作者 hcoder 深海 |
|||
*/ |
|||
module.exports = { |
|||
error:'', |
|||
check : function (data, rule){ |
|||
for(var i = 0; i < rule.length; i++){ |
|||
if (!rule[i].checkType){return true;} |
|||
if (!rule[i].name) {return true;} |
|||
if (!rule[i].errorMsg) {return true;} |
|||
if (!data[rule[i].name]) {this.error = rule[i].errorMsg; return false;} |
|||
switch (rule[i].checkType){ |
|||
case 'string': |
|||
var reg = new RegExp('^.{' + rule[i].checkRule + '}$'); |
|||
if(!reg.test(data[rule[i].name])) {this.error = rule[i].errorMsg; return false;} |
|||
break; |
|||
case 'int': |
|||
var reg = new RegExp('^(-[1-9]|[1-9])[0-9]{' + rule[i].checkRule + '}$'); |
|||
if(!reg.test(data[rule[i].name])) {this.error = rule[i].errorMsg; return false;} |
|||
break; |
|||
break; |
|||
case 'between': |
|||
if (!this.isNumber(data[rule[i].name])){ |
|||
this.error = rule[i].errorMsg; |
|||
return false; |
|||
} |
|||
var minMax = rule[i].checkRule.split(','); |
|||
minMax[0] = Number(minMax[0]); |
|||
minMax[1] = Number(minMax[1]); |
|||
if (data[rule[i].name] > minMax[1] || data[rule[i].name] < minMax[0]) { |
|||
this.error = rule[i].errorMsg; |
|||
return false; |
|||
} |
|||
break; |
|||
case 'betweenD': |
|||
var reg = /^-?[1-9][0-9]?$/; |
|||
if (!reg.test(data[rule[i].name])) { this.error = rule[i].errorMsg; return false; } |
|||
var minMax = rule[i].checkRule.split(','); |
|||
minMax[0] = Number(minMax[0]); |
|||
minMax[1] = Number(minMax[1]); |
|||
if (data[rule[i].name] > minMax[1] || data[rule[i].name] < minMax[0]) { |
|||
this.error = rule[i].errorMsg; |
|||
return false; |
|||
} |
|||
break; |
|||
case 'betweenF': |
|||
var reg = /^-?[0-9][0-9]?.+[0-9]+$/; |
|||
if (!reg.test(data[rule[i].name])){this.error = rule[i].errorMsg; return false;} |
|||
var minMax = rule[i].checkRule.split(','); |
|||
minMax[0] = Number(minMax[0]); |
|||
minMax[1] = Number(minMax[1]); |
|||
if (data[rule[i].name] > minMax[1] || data[rule[i].name] < minMax[0]) { |
|||
this.error = rule[i].errorMsg; |
|||
return false; |
|||
} |
|||
break; |
|||
case 'same': |
|||
if (data[rule[i].name] != rule[i].checkRule) { this.error = rule[i].errorMsg; return false;} |
|||
break; |
|||
case 'notsame': |
|||
if (data[rule[i].name] == rule[i].checkRule) { this.error = rule[i].errorMsg; return false; } |
|||
break; |
|||
case 'email': |
|||
var reg = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/; |
|||
if (!reg.test(data[rule[i].name])) { this.error = rule[i].errorMsg; return false; } |
|||
break; |
|||
case 'phoneno': |
|||
var reg = /^1[0-9]{10,10}$/; |
|||
if (!reg.test(data[rule[i].name])) { this.error = rule[i].errorMsg; return false; } |
|||
break; |
|||
case 'zipcode': |
|||
var reg = /^[0-9]{6}$/; |
|||
if (!reg.test(data[rule[i].name])) { this.error = rule[i].errorMsg; return false; } |
|||
break; |
|||
case 'reg': |
|||
var reg = new RegExp(rule[i].checkRule); |
|||
if (!reg.test(data[rule[i].name])) { this.error = rule[i].errorMsg; return false; } |
|||
break; |
|||
case 'in': |
|||
if(rule[i].checkRule.indexOf(data[rule[i].name]) == -1){ |
|||
this.error = rule[i].errorMsg; return false; |
|||
} |
|||
break; |
|||
case 'notnull': |
|||
if(data[rule[i].name] == null || data[rule[i].name].length < 1){this.error = rule[i].errorMsg; return false;} |
|||
break; |
|||
} |
|||
} |
|||
return true; |
|||
}, |
|||
isNumber : function (checkVal){ |
|||
var reg = /^-?[1-9][0-9]?.?[0-9]*$/; |
|||
return reg.test(checkVal); |
|||
} |
|||
} |
|||
@ -0,0 +1,352 @@ |
|||
/* |
|||
* HTML5 Parser By Sam Blowes |
|||
* |
|||
* Designed for HTML5 documents |
|||
* |
|||
* Original code by John Resig (ejohn.org) |
|||
* http://ejohn.org/blog/pure-javascript-html-parser/
|
|||
* Original code by Erik Arvidsson, Mozilla Public License |
|||
* http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
|
|||
* |
|||
* ---------------------------------------------------------------------------- |
|||
* License |
|||
* ---------------------------------------------------------------------------- |
|||
* |
|||
* This code is triple licensed using Apache Software License 2.0, |
|||
* Mozilla Public License or GNU Public License |
|||
* |
|||
* ////////////////////////////////////////////////////////////////////////////
|
|||
* |
|||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
|||
* use this file except in compliance with the License. You may obtain a copy |
|||
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|||
* |
|||
* ////////////////////////////////////////////////////////////////////////////
|
|||
* |
|||
* The contents of this file are subject to the Mozilla Public License |
|||
* Version 1.1 (the "License"); you may not use this file except in |
|||
* compliance with the License. You may obtain a copy of the License at |
|||
* http://www.mozilla.org/MPL/
|
|||
* |
|||
* Software distributed under the License is distributed on an "AS IS" |
|||
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|||
* License for the specific language governing rights and limitations |
|||
* under the License. |
|||
* |
|||
* The Original Code is Simple HTML Parser. |
|||
* |
|||
* The Initial Developer of the Original Code is Erik Arvidsson. |
|||
* Portions created by Erik Arvidssson are Copyright (C) 2004. All Rights |
|||
* Reserved. |
|||
* |
|||
* ////////////////////////////////////////////////////////////////////////////
|
|||
* |
|||
* This program is free software; you can redistribute it and/or |
|||
* modify it under the terms of the GNU General Public License |
|||
* as published by the Free Software Foundation; either version 2 |
|||
* of the License, or (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, write to the Free Software |
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|||
* |
|||
* ---------------------------------------------------------------------------- |
|||
* Usage |
|||
* ---------------------------------------------------------------------------- |
|||
* |
|||
* // Use like so:
|
|||
* HTMLParser(htmlString, { |
|||
* start: function(tag, attrs, unary) {}, |
|||
* end: function(tag) {}, |
|||
* chars: function(text) {}, |
|||
* comment: function(text) {} |
|||
* }); |
|||
* |
|||
* // or to get an XML string:
|
|||
* HTMLtoXML(htmlString); |
|||
* |
|||
* // or to get an XML DOM Document
|
|||
* HTMLtoDOM(htmlString); |
|||
* |
|||
* // or to inject into an existing document/DOM node
|
|||
* HTMLtoDOM(htmlString, document); |
|||
* HTMLtoDOM(htmlString, document.body); |
|||
* |
|||
*/ |
|||
// Regular Expressions for parsing tags and attributes
|
|||
var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/; |
|||
var endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/; |
|||
var attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g; // Empty Elements - HTML 5
|
|||
|
|||
var empty = makeMap('area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr'); // Block Elements - HTML 5
|
|||
// fixed by xxx 将 ins 标签从块级名单中移除
|
|||
|
|||
var block = makeMap('a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video'); // Inline Elements - HTML 5
|
|||
|
|||
var inline = makeMap('abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var'); // Elements that you can, intentionally, leave open
|
|||
// (and which close themselves)
|
|||
|
|||
var closeSelf = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr'); // Attributes that have their values filled in disabled="disabled"
|
|||
|
|||
var fillAttrs = makeMap('checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected'); // Special Elements (can contain anything)
|
|||
|
|||
var special = makeMap('script,style'); |
|||
function HTMLParser(html, handler) { |
|||
var index; |
|||
var chars; |
|||
var match; |
|||
var stack = []; |
|||
var last = html; |
|||
|
|||
stack.last = function () { |
|||
return this[this.length - 1]; |
|||
}; |
|||
|
|||
while (html) { |
|||
chars = true; // Make sure we're not in a script or style element
|
|||
|
|||
if (!stack.last() || !special[stack.last()]) { |
|||
// Comment
|
|||
if (html.indexOf('<!--') == 0) { |
|||
index = html.indexOf('-->'); |
|||
|
|||
if (index >= 0) { |
|||
if (handler.comment) { |
|||
handler.comment(html.substring(4, index)); |
|||
} |
|||
|
|||
html = html.substring(index + 3); |
|||
chars = false; |
|||
} // end tag
|
|||
|
|||
} else if (html.indexOf('</') == 0) { |
|||
match = html.match(endTag); |
|||
|
|||
if (match) { |
|||
html = html.substring(match[0].length); |
|||
match[0].replace(endTag, parseEndTag); |
|||
chars = false; |
|||
} // start tag
|
|||
|
|||
} else if (html.indexOf('<') == 0) { |
|||
match = html.match(startTag); |
|||
|
|||
if (match) { |
|||
html = html.substring(match[0].length); |
|||
match[0].replace(startTag, parseStartTag); |
|||
chars = false; |
|||
} |
|||
} |
|||
|
|||
if (chars) { |
|||
index = html.indexOf('<'); |
|||
var text = index < 0 ? html : html.substring(0, index); |
|||
html = index < 0 ? '' : html.substring(index); |
|||
|
|||
if (handler.chars) { |
|||
handler.chars(text); |
|||
} |
|||
} |
|||
} else { |
|||
html = html.replace(new RegExp('([\\s\\S]*?)<\/' + stack.last() + '[^>]*>'), function (all, text) { |
|||
text = text.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g, '$1$2'); |
|||
|
|||
if (handler.chars) { |
|||
handler.chars(text); |
|||
} |
|||
|
|||
return ''; |
|||
}); |
|||
parseEndTag('', stack.last()); |
|||
} |
|||
|
|||
if (html == last) { |
|||
throw 'Parse Error: ' + html; |
|||
} |
|||
|
|||
last = html; |
|||
} // Clean up any remaining tags
|
|||
|
|||
|
|||
parseEndTag(); |
|||
|
|||
function parseStartTag(tag, tagName, rest, unary) { |
|||
tagName = tagName.toLowerCase(); |
|||
|
|||
if (block[tagName]) { |
|||
while (stack.last() && inline[stack.last()]) { |
|||
parseEndTag('', stack.last()); |
|||
} |
|||
} |
|||
|
|||
if (closeSelf[tagName] && stack.last() == tagName) { |
|||
parseEndTag('', tagName); |
|||
} |
|||
|
|||
unary = empty[tagName] || !!unary; |
|||
|
|||
if (!unary) { |
|||
stack.push(tagName); |
|||
} |
|||
|
|||
if (handler.start) { |
|||
var attrs = []; |
|||
rest.replace(attr, function (match, name) { |
|||
var value = arguments[2] ? arguments[2] : arguments[3] ? arguments[3] : arguments[4] ? arguments[4] : fillAttrs[name] ? name : ''; |
|||
attrs.push({ |
|||
name: name, |
|||
value: value, |
|||
escaped: value.replace(/(^|[^\\])"/g, '$1\\\"') // "
|
|||
|
|||
}); |
|||
}); |
|||
|
|||
if (handler.start) { |
|||
handler.start(tagName, attrs, unary); |
|||
} |
|||
} |
|||
} |
|||
|
|||
function parseEndTag(tag, tagName) { |
|||
// If no tag name is provided, clean shop
|
|||
if (!tagName) { |
|||
var pos = 0; |
|||
} // Find the closest opened tag of the same type
|
|||
else { |
|||
for (var pos = stack.length - 1; pos >= 0; pos--) { |
|||
if (stack[pos] == tagName) { |
|||
break; |
|||
} |
|||
} |
|||
} |
|||
|
|||
if (pos >= 0) { |
|||
// Close all the open elements, up the stack
|
|||
for (var i = stack.length - 1; i >= pos; i--) { |
|||
if (handler.end) { |
|||
handler.end(stack[i]); |
|||
} |
|||
} // Remove the open elements from the stack
|
|||
|
|||
|
|||
stack.length = pos; |
|||
} |
|||
} |
|||
} |
|||
|
|||
function makeMap(str) { |
|||
var obj = {}; |
|||
var items = str.split(','); |
|||
|
|||
for (var i = 0; i < items.length; i++) { |
|||
obj[items[i]] = true; |
|||
} |
|||
|
|||
return obj; |
|||
} |
|||
|
|||
function removeDOCTYPE(html) { |
|||
return html.replace(/<\?xml.*\?>\n/, '').replace(/<!doctype.*>\n/, '').replace(/<!DOCTYPE.*>\n/, ''); |
|||
} |
|||
|
|||
function parseAttrs(attrs) { |
|||
return attrs.reduce(function (pre, attr) { |
|||
var value = attr.value; |
|||
var name = attr.name; |
|||
|
|||
if (pre[name]) { |
|||
pre[name] = pre[name] + " " + value; |
|||
} else { |
|||
pre[name] = value; |
|||
} |
|||
|
|||
return pre; |
|||
}, {}); |
|||
} |
|||
|
|||
function parseHtml(html) { |
|||
html = removeDOCTYPE(html); |
|||
var stacks = []; |
|||
var results = { |
|||
node: 'root', |
|||
children: [] |
|||
}; |
|||
HTMLParser(html, { |
|||
start: function start(tag, attrs, unary) { |
|||
var node = { |
|||
name: tag |
|||
}; |
|||
|
|||
if (attrs.length !== 0) { |
|||
node.attrs = parseAttrs(attrs); |
|||
} |
|||
|
|||
if (unary) { |
|||
var parent = stacks[0] || results; |
|||
|
|||
if (!parent.children) { |
|||
parent.children = []; |
|||
} |
|||
|
|||
parent.children.push(node); |
|||
} else { |
|||
stacks.unshift(node); |
|||
} |
|||
}, |
|||
end: function end(tag) { |
|||
var node = stacks.shift(); |
|||
if (node.name !== tag) console.error('invalid state: mismatch end tag'); |
|||
|
|||
if (stacks.length === 0) { |
|||
results.children.push(node); |
|||
} else { |
|||
var parent = stacks[0]; |
|||
|
|||
if (!parent.children) { |
|||
parent.children = []; |
|||
} |
|||
|
|||
parent.children.push(node); |
|||
} |
|||
}, |
|||
chars: function chars(text) { |
|||
var node = { |
|||
type: 'text', |
|||
text: text |
|||
}; |
|||
|
|||
if (stacks.length === 0) { |
|||
results.children.push(node); |
|||
} else { |
|||
var parent = stacks[0]; |
|||
|
|||
if (!parent.children) { |
|||
parent.children = []; |
|||
} |
|||
|
|||
parent.children.push(node); |
|||
} |
|||
}, |
|||
comment: function comment(text) { |
|||
var node = { |
|||
node: 'comment', |
|||
text: text |
|||
}; |
|||
var parent = stacks[0]; |
|||
|
|||
if (!parent.children) { |
|||
parent.children = []; |
|||
} |
|||
|
|||
parent.children.push(node); |
|||
} |
|||
}); |
|||
return results.children; |
|||
} |
|||
|
|||
export default parseHtml; |
|||
@ -0,0 +1,119 @@ |
|||
@font-face { |
|||
font-family: "iconfont"; /* Project id 3202838 */ |
|||
src: url('iconfont.woff2?t=1649236110191') format('woff2'), |
|||
url('iconfont.woff?t=1649236110191') format('woff'), |
|||
url('iconfont.ttf?t=1649236110191') format('truetype'); |
|||
} |
|||
|
|||
.iconfont { |
|||
font-family: "iconfont" !important; |
|||
font-size: 16px; |
|||
font-style: normal; |
|||
-webkit-font-smoothing: antialiased; |
|||
-moz-osx-font-smoothing: grayscale; |
|||
} |
|||
|
|||
.icon-a-Group1:before { |
|||
content: "\e602"; |
|||
} |
|||
|
|||
.icon-a-xinzeng:before { |
|||
content: "\e601"; |
|||
} |
|||
|
|||
.icon-jigouxinxi:before { |
|||
content: "\e649"; |
|||
} |
|||
|
|||
.icon-quanxianguanli-fanbai:before { |
|||
content: "\e64a"; |
|||
} |
|||
|
|||
.icon-guanbi1:before { |
|||
content: "\e64b"; |
|||
} |
|||
|
|||
.icon-guanbi2:before { |
|||
content: "\e64c"; |
|||
} |
|||
|
|||
.icon-quanxianguanli:before { |
|||
content: "\e64d"; |
|||
} |
|||
|
|||
.icon-neirongguanli:before { |
|||
content: "\e64e"; |
|||
} |
|||
|
|||
.icon-xuanze-moren:before { |
|||
content: "\e64f"; |
|||
} |
|||
|
|||
.icon-wenjianjia:before { |
|||
content: "\e650"; |
|||
} |
|||
|
|||
.icon-xuanze:before { |
|||
content: "\e651"; |
|||
} |
|||
|
|||
.icon-shebeishuju:before { |
|||
content: "\e652"; |
|||
} |
|||
|
|||
.icon-fabuliucheng:before { |
|||
content: "\e653"; |
|||
} |
|||
|
|||
.icon-shouye:before { |
|||
content: "\e654"; |
|||
} |
|||
|
|||
.icon-xiala2:before { |
|||
content: "\e655"; |
|||
} |
|||
|
|||
.icon-bianji:before { |
|||
content: "\e656"; |
|||
} |
|||
|
|||
.icon-xuanzhong:before { |
|||
content: "\e657"; |
|||
} |
|||
|
|||
.icon-shouye-fanbai:before { |
|||
content: "\e658"; |
|||
} |
|||
|
|||
.icon-shebeiguanli:before { |
|||
content: "\e659"; |
|||
} |
|||
|
|||
.icon-xialaxuanze:before { |
|||
content: "\e65a"; |
|||
} |
|||
|
|||
.icon-xiala1:before { |
|||
content: "\e65b"; |
|||
} |
|||
|
|||
.icon-guanbi3:before { |
|||
content: "\e65c"; |
|||
} |
|||
|
|||
.icon-neirongguanli-fanbai:before { |
|||
content: "\e65d"; |
|||
} |
|||
|
|||
.icon-shebeiguanli-fanbai:before { |
|||
content: "\e65e"; |
|||
} |
|||
|
|||
.icon-bangzhu:before { |
|||
content: "\e647"; |
|||
} |
|||
|
|||
.icon-guanbi:before { |
|||
content: "\e648"; |
|||
} |
|||
|
|||
@ -0,0 +1,258 @@ |
|||
/// null = 未请求,1 = 已允许,0 = 拒绝|受限, 2 = 系统未开启
|
|||
|
|||
var isIOS |
|||
|
|||
function album() { |
|||
var result = 0; |
|||
var PHPhotoLibrary = plus.ios.import("PHPhotoLibrary"); |
|||
var authStatus = PHPhotoLibrary.authorizationStatus(); |
|||
if (authStatus === 0) { |
|||
result = null; |
|||
} else if (authStatus == 3) { |
|||
result = 1; |
|||
} else { |
|||
result = 0; |
|||
} |
|||
plus.ios.deleteObject(PHPhotoLibrary); |
|||
return result; |
|||
} |
|||
|
|||
function camera() { |
|||
var result = 0; |
|||
var AVCaptureDevice = plus.ios.import("AVCaptureDevice"); |
|||
var authStatus = AVCaptureDevice.authorizationStatusForMediaType('vide'); |
|||
if (authStatus === 0) { |
|||
result = null; |
|||
} else if (authStatus == 3) { |
|||
result = 1; |
|||
} else { |
|||
result = 0; |
|||
} |
|||
plus.ios.deleteObject(AVCaptureDevice); |
|||
return result; |
|||
} |
|||
|
|||
function location() { |
|||
var result = 0; |
|||
var cllocationManger = plus.ios.import("CLLocationManager"); |
|||
var enable = cllocationManger.locationServicesEnabled(); |
|||
var status = cllocationManger.authorizationStatus(); |
|||
if (!enable) { |
|||
result = 2; |
|||
} else if (status === 0) { |
|||
result = null; |
|||
} else if (status === 3 || status === 4) { |
|||
result = 1; |
|||
} else { |
|||
result = 0; |
|||
} |
|||
plus.ios.deleteObject(cllocationManger); |
|||
return result; |
|||
} |
|||
|
|||
function push() { |
|||
var result = 0; |
|||
var UIApplication = plus.ios.import("UIApplication"); |
|||
var app = UIApplication.sharedApplication(); |
|||
var enabledTypes = 0; |
|||
if (app.currentUserNotificationSettings) { |
|||
var settings = app.currentUserNotificationSettings(); |
|||
enabledTypes = settings.plusGetAttribute("types"); |
|||
if (enabledTypes == 0) { |
|||
result = 0; |
|||
console.log("推送权限没有开启"); |
|||
} else { |
|||
result = 1; |
|||
console.log("已经开启推送功能!") |
|||
} |
|||
plus.ios.deleteObject(settings); |
|||
} else { |
|||
enabledTypes = app.enabledRemoteNotificationTypes(); |
|||
if (enabledTypes == 0) { |
|||
result = 3; |
|||
console.log("推送权限没有开启!"); |
|||
} else { |
|||
result = 4; |
|||
console.log("已经开启推送功能!") |
|||
} |
|||
} |
|||
plus.ios.deleteObject(app); |
|||
plus.ios.deleteObject(UIApplication); |
|||
return result; |
|||
} |
|||
|
|||
function contact() { |
|||
var result = 0; |
|||
var CNContactStore = plus.ios.import("CNContactStore"); |
|||
var cnAuthStatus = CNContactStore.authorizationStatusForEntityType(0); |
|||
if (authStatus === 0) { |
|||
result = null; |
|||
} else if (authStatus == 3) { |
|||
result = 1; |
|||
} else { |
|||
result = 0; |
|||
} |
|||
plus.ios.deleteObject(CNContactStore); |
|||
return result; |
|||
} |
|||
|
|||
function record() { |
|||
var result = null; |
|||
var avaudiosession = plus.ios.import("AVAudioSession"); |
|||
var avaudio = avaudiosession.sharedInstance(); |
|||
var status = avaudio.recordPermission(); |
|||
console.log("permissionStatus:" + status); |
|||
if (status === 1970168948) { |
|||
result = null; |
|||
} else if (status === 1735552628) { |
|||
result = 1; |
|||
} else { |
|||
result = 0; |
|||
} |
|||
plus.ios.deleteObject(avaudiosession); |
|||
return result; |
|||
} |
|||
|
|||
function calendar() { |
|||
var result = null; |
|||
var EKEventStore = plus.ios.import("EKEventStore"); |
|||
var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(0); |
|||
if (ekAuthStatus == 3) { |
|||
result = 1; |
|||
console.log("日历权限已经开启"); |
|||
} else { |
|||
console.log("日历权限没有开启"); |
|||
} |
|||
plus.ios.deleteObject(EKEventStore); |
|||
return result; |
|||
} |
|||
|
|||
function memo() { |
|||
var result = null; |
|||
var EKEventStore = plus.ios.import("EKEventStore"); |
|||
var ekAuthStatus = EKEventStore.authorizationStatusForEntityType(1); |
|||
if (ekAuthStatus == 3) { |
|||
result = 1; |
|||
console.log("备忘录权限已经开启"); |
|||
} else { |
|||
console.log("备忘录权限没有开启"); |
|||
} |
|||
plus.ios.deleteObject(EKEventStore); |
|||
return result; |
|||
} |
|||
|
|||
|
|||
function requestIOS(permissionID) { |
|||
return new Promise((resolve, reject) => { |
|||
switch (permissionID) { |
|||
case "push": |
|||
resolve(push()); |
|||
break; |
|||
case "location": |
|||
resolve(location()); |
|||
break; |
|||
case "record": |
|||
resolve(record()); |
|||
break; |
|||
case "camera": |
|||
resolve(camera()); |
|||
break; |
|||
case "album": |
|||
resolve(album()); |
|||
break; |
|||
case "contact": |
|||
resolve(contact()); |
|||
break; |
|||
case "calendar": |
|||
resolve(calendar()); |
|||
break; |
|||
case "memo": |
|||
resolve(memo()); |
|||
break; |
|||
default: |
|||
resolve(0); |
|||
break; |
|||
} |
|||
}); |
|||
} |
|||
|
|||
function requestAndroid(permissionID) { |
|||
return new Promise((resolve, reject) => { |
|||
plus.android.requestPermissions( |
|||
[permissionID], |
|||
function(resultObj) { |
|||
var result = 0; |
|||
for (var i = 0; i < resultObj.granted.length; i++) { |
|||
var grantedPermission = resultObj.granted[i]; |
|||
console.log('已获取的权限:' + grantedPermission); |
|||
result = 1 |
|||
} |
|||
for (var i = 0; i < resultObj.deniedPresent.length; i++) { |
|||
var deniedPresentPermission = resultObj.deniedPresent[i]; |
|||
console.log('拒绝本次申请的权限:' + deniedPresentPermission); |
|||
result = 0 |
|||
} |
|||
for (var i = 0; i < resultObj.deniedAlways.length; i++) { |
|||
var deniedAlwaysPermission = resultObj.deniedAlways[i]; |
|||
console.log('永久拒绝申请的权限:' + deniedAlwaysPermission); |
|||
result = -1 |
|||
} |
|||
resolve(result); |
|||
}, |
|||
function(error) { |
|||
console.log('result error: ' + error.message) |
|||
resolve({ |
|||
code: error.code, |
|||
message: error.message |
|||
}); |
|||
} |
|||
); |
|||
}); |
|||
} |
|||
|
|||
function gotoAppPermissionSetting() { |
|||
if (permission.isIOS) { |
|||
var UIApplication = plus.ios.import("UIApplication"); |
|||
var application2 = UIApplication.sharedApplication(); |
|||
var NSURL2 = plus.ios.import("NSURL"); |
|||
var setting2 = NSURL2.URLWithString("app-settings:"); |
|||
application2.openURL(setting2); |
|||
plus.ios.deleteObject(setting2); |
|||
plus.ios.deleteObject(NSURL2); |
|||
plus.ios.deleteObject(application2); |
|||
} else { |
|||
var Intent = plus.android.importClass("android.content.Intent"); |
|||
var Settings = plus.android.importClass("android.provider.Settings"); |
|||
var Uri = plus.android.importClass("android.net.Uri"); |
|||
var mainActivity = plus.android.runtimeMainActivity(); |
|||
var intent = new Intent(); |
|||
intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); |
|||
var uri = Uri.fromParts("package", mainActivity.getPackageName(), null); |
|||
intent.setData(uri); |
|||
mainActivity.startActivity(intent); |
|||
} |
|||
} |
|||
|
|||
function gotoiOSPermissionSetting() { |
|||
var UIApplication = plus.ios.import("UIApplication"); |
|||
var application2 = UIApplication.sharedApplication(); |
|||
var NSURL2 = plus.ios.import("NSURL"); |
|||
var setting2 = NSURL2.URLWithString("App-prefs:root=General"); |
|||
application2.openURL(setting2); |
|||
|
|||
plus.ios.deleteObject(setting2); |
|||
plus.ios.deleteObject(NSURL2); |
|||
plus.ios.deleteObject(application2); |
|||
} |
|||
|
|||
const permission = { |
|||
get isIOS(){ |
|||
return typeof isIOS === 'boolean' ? isIOS : (isIOS = uni.getSystemInfoSync().platform === 'ios') |
|||
}, |
|||
requestIOS: requestIOS, |
|||
requestAndroid: requestAndroid, |
|||
gotoAppSetting: gotoAppPermissionSetting, |
|||
gotoiOSSetting: gotoiOSPermissionSetting |
|||
} |
|||
|
|||
module.exports = permission |
|||
@ -0,0 +1,120 @@ |
|||
/* #ifndef APP-PLUS-NVUE */ |
|||
page { |
|||
min-height: 100%; |
|||
height: auto; |
|||
} |
|||
/* #endif */ |
|||
|
|||
/* 解决头条小程序字体图标不显示问题,因为头条运行时自动插入了span标签,且有全局字体 */ |
|||
/* #ifdef MP-TOUTIAO */ |
|||
text :not(view) { |
|||
font-family: uniicons; |
|||
} |
|||
/* #endif */ |
|||
|
|||
.uni-icon { |
|||
font-family: uniicons; |
|||
font-weight: normal; |
|||
} |
|||
|
|||
.uni-container { |
|||
padding: 15px; |
|||
background-color: #f8f8f8; |
|||
} |
|||
|
|||
.uni-header-logo { |
|||
padding: 15px 15px; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
margin-top: 10upx; |
|||
} |
|||
|
|||
.uni-header-image { |
|||
width: 80px; |
|||
height: 80px; |
|||
} |
|||
|
|||
.uni-hello-text { |
|||
margin-bottom: 20px; |
|||
} |
|||
|
|||
.hello-text { |
|||
color: #7A7E83; |
|||
font-size: 14px; |
|||
line-height: 20px; |
|||
} |
|||
|
|||
.hello-link { |
|||
color: #7A7E83; |
|||
font-size: 14px; |
|||
line-height: 20px; |
|||
} |
|||
|
|||
.uni-panel { |
|||
margin-bottom: 12px; |
|||
} |
|||
|
|||
.uni-panel-h { |
|||
background-color: #ffffff; |
|||
flex-direction: row; |
|||
align-items: center; |
|||
padding: 12px; |
|||
} |
|||
/* |
|||
.uni-panel-h:active { |
|||
background-color: #f8f8f8; |
|||
} |
|||
*/ |
|||
.uni-panel-h-on { |
|||
background-color: #f0f0f0; |
|||
} |
|||
|
|||
.uni-panel-text { |
|||
flex: 1; |
|||
color: #000000; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
} |
|||
|
|||
.uni-panel-icon { |
|||
margin-left: 15px; |
|||
color: #999999; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
transform: rotate(0deg); |
|||
transition-duration: 0s; |
|||
transition-property: transform; |
|||
} |
|||
|
|||
.uni-panel-icon-on { |
|||
transform: rotate(180deg); |
|||
} |
|||
|
|||
.uni-navigate-item { |
|||
flex-direction: row; |
|||
align-items: center; |
|||
background-color: #FFFFFF; |
|||
border-top-style: solid; |
|||
border-top-color: #f0f0f0; |
|||
border-top-width: 1px; |
|||
padding: 12px; |
|||
} |
|||
|
|||
.uni-navigate-item:active { |
|||
background-color: #f8f8f8; |
|||
} |
|||
|
|||
.uni-navigate-text { |
|||
flex: 1; |
|||
color: #000000; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
} |
|||
|
|||
.uni-navigate-icon { |
|||
margin-left: 15px; |
|||
color: #999999; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
} |
|||
1447
common/uni.css
File diff suppressed because it is too large
View File
@ -0,0 +1,73 @@ |
|||
function formatTime(time) { |
|||
if (typeof time !== 'number' || time < 0) { |
|||
return time |
|||
} |
|||
|
|||
var hour = parseInt(time / 3600) |
|||
time = time % 3600 |
|||
var minute = parseInt(time / 60) |
|||
time = time % 60 |
|||
var second = time |
|||
|
|||
return ([hour, minute, second]).map(function (n) { |
|||
n = n.toString() |
|||
return n[1] ? n : '0' + n |
|||
}).join(':') |
|||
} |
|||
|
|||
function formatLocation(longitude, latitude) { |
|||
if (typeof longitude === 'string' && typeof latitude === 'string') { |
|||
longitude = parseFloat(longitude) |
|||
latitude = parseFloat(latitude) |
|||
} |
|||
|
|||
longitude = longitude.toFixed(2) |
|||
latitude = latitude.toFixed(2) |
|||
|
|||
return { |
|||
longitude: longitude.toString().split('.'), |
|||
latitude: latitude.toString().split('.') |
|||
} |
|||
} |
|||
var dateUtils = { |
|||
UNITS: { |
|||
'年': 31557600000, |
|||
'月': 2629800000, |
|||
'天': 86400000, |
|||
'小时': 3600000, |
|||
'分钟': 60000, |
|||
'秒': 1000 |
|||
}, |
|||
humanize: function (milliseconds) { |
|||
var humanize = ''; |
|||
for (var key in this.UNITS) { |
|||
if (milliseconds >= this.UNITS[key]) { |
|||
humanize = Math.floor(milliseconds / this.UNITS[key]) + key + '前'; |
|||
break; |
|||
} |
|||
} |
|||
return humanize || '刚刚'; |
|||
}, |
|||
format: function (dateStr) { |
|||
var date = this.parse(dateStr) |
|||
var diff = Date.now() - date.getTime(); |
|||
if (diff < this.UNITS['天']) { |
|||
return this.humanize(diff); |
|||
} |
|||
var _format = function (number) { |
|||
return (number < 10 ? ('0' + number) : number); |
|||
}; |
|||
return date.getFullYear() + '/' + _format(date.getMonth() + 1) + '/' + _format(date.getDate()) + '-' + |
|||
_format(date.getHours()) + ':' + _format(date.getMinutes()); |
|||
}, |
|||
parse: function (str) { //将"yyyy-mm-dd HH:MM:ss"格式的字符串,转化为一个Date对象
|
|||
var a = str.split(/[^0-9]/); |
|||
return new Date(a[0], a[1] - 1, a[2], a[3], a[4], a[5]); |
|||
} |
|||
}; |
|||
|
|||
module.exports = { |
|||
formatTime: formatTime, |
|||
formatLocation: formatLocation, |
|||
dateUtils: dateUtils |
|||
} |
|||
@ -0,0 +1,388 @@ |
|||
<template> |
|||
<view class="content"> |
|||
<!-- 列表 --> |
|||
<view class="artic"> |
|||
<view class="justy"> |
|||
<view class="rdlist" v-for="(item,ind) in readlists" :key="ind" |
|||
@click="togglePopup(item, 'image')"> |
|||
<view class="justy-type"> |
|||
<view class="rdlist-img"> |
|||
<image :src="item.localCover" |
|||
mode="scaleToFill" class="listimg"></image> |
|||
</view> |
|||
<view class="rdlist-name">{{item.name}}</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<!-- 插屏弹窗 --> |
|||
<uni-popup ref="image" :custom="true" :mask-click="true" > |
|||
<view class="tc-image"> |
|||
<view class="x"> |
|||
<image class="background" src="../../static/img/yuewen_03.png" mode="" /> |
|||
<view class="tcartic"> |
|||
<view class="tctitle">人工智能的终极探索</view> |
|||
<view class="container"> |
|||
<view class="" v-if="ifShow" > |
|||
<view class="qrimg-i"> |
|||
<tki-qrcode |
|||
ref="qrcode" |
|||
:val="val" |
|||
:size="size" |
|||
:unit="unit" |
|||
:background="background" |
|||
:foreground="foreground" |
|||
:pdground="pdground" |
|||
:icon="icon" |
|||
:iconSize="iconsize" |
|||
:lv="lv" |
|||
:onval="onval" |
|||
:loadMake="loadMake" |
|||
:usingComponents="true" |
|||
@result="qrR" /> |
|||
</view> |
|||
</view> |
|||
<view class="saoma">扫码免费阅读本文</view> |
|||
</view> |
|||
<view class="tcfoot"> |
|||
<view class="ewm"> |
|||
<view class="ewmimg"> |
|||
<image :src="listcont.localCover" mode="" class="ewmimage"></image> |
|||
</view> |
|||
<view class="cpgroup"> |
|||
<view class="cptit">标题:{{listcont.name}}</view> |
|||
<view class="cpauter">作者:{{listcont.creator}}</view> |
|||
</view> |
|||
</view> |
|||
<view class="tcjj">{{listcont.desc}}</view> |
|||
<view class="out" @click="cancel('image')" > |
|||
<image src="../../static/img/yuewen_06.png" class="outto"></image> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</uni-popup> |
|||
|
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import {LocalData, getStorage,serialNum} from '@/utils/global.js' |
|||
import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue' |
|||
import uniPopup from '@/components/uni-popup/uni-popup.vue' |
|||
import uniPagination from '@/components/uni-pagination/uni-pagination.vue' |
|||
export default { |
|||
components: { |
|||
uniPagination, |
|||
uniPopup, |
|||
tkiQrcode |
|||
}, |
|||
props:{ |
|||
readlists: { |
|||
type: Array, |
|||
default: () => { |
|||
return [] |
|||
} |
|||
} |
|||
}, |
|||
data() { |
|||
return { |
|||
// 弹窗 |
|||
ifShow: true, |
|||
val: '', // 要生成的二维码值 |
|||
size: 125, // 二维码大小 |
|||
unit: 'upx', // 单位 |
|||
background: '#ffffff', // 背景色 |
|||
foreground: '#000000', // 前景色 |
|||
pdground: '#000000', // 角标色 |
|||
icon: '', // 二维码图标 |
|||
iconsize: 40, // 二维码图标大小 |
|||
lv: 3, // 二维码容错级别 , 一般不用设置,默认就行 |
|||
onval: false, // val值变化时自动重新生成二维码 |
|||
loadMake: false, // 组件加载完成后自动生成二维码 |
|||
src: '' ,// 二维码生成后的图片地址或base64 |
|||
listcont:'' //简介 |
|||
} |
|||
}, |
|||
methods: { |
|||
qrR(res) { |
|||
this.src = res |
|||
// console.log(res) |
|||
}, |
|||
togglePopup(item,open) { |
|||
console.log(item) |
|||
this.listcont=item |
|||
this.ifShow = false |
|||
this.loadMake = false |
|||
this.$refs[open].open() |
|||
let that=this |
|||
this.$nextTick(function(){ |
|||
that.ifShow = true |
|||
that.loadMake = true |
|||
}) |
|||
let h5ReaderUrl=uni.getStorageSync('h5ReaderUrl') |
|||
this.val=h5ReaderUrl+"?name=read&sn="+serialNum+"&id="+item.resourceId |
|||
console.log("196-",this.val) |
|||
}, |
|||
cancel(type) { |
|||
this.$refs[type].close() |
|||
}, |
|||
}, |
|||
onLoad(e) { |
|||
getStorage() |
|||
this.togglePopup(this.readlists, 'image') |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
.content { |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: flex-start; |
|||
width: 100%; |
|||
/* height: 1335upx; */ |
|||
background: rgb(0,21,52); |
|||
color: white; |
|||
} |
|||
.unihead-title{ |
|||
width: 100%; |
|||
height: 120upx; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
box-sizing: border-box; |
|||
padding: 34upx 8%; |
|||
} |
|||
.title{ |
|||
width: 50%; |
|||
margin-top: 13upx; |
|||
font-size: 34upx; |
|||
font-weight: 600; |
|||
} |
|||
.unihead-right{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
} |
|||
.icon-item{ |
|||
width: 11%; |
|||
min-width: 102upx; |
|||
display: flex; |
|||
justify-content: flex-end; |
|||
} |
|||
.help{ |
|||
margin-left: 10upx; |
|||
line-height: 90upx; |
|||
font-size: 0.5rem; |
|||
} |
|||
.iconhelp{ |
|||
margin-top: 30upx; |
|||
width: 28upx; |
|||
height: 28upx; |
|||
} |
|||
.helps{ |
|||
background: url(../../static/img/help.png) no-repeat; |
|||
background-size: 100%; |
|||
} |
|||
.home{ |
|||
background: url(../../static/img/home.png) no-repeat; |
|||
background-size: 100%; |
|||
} |
|||
.back{ |
|||
background: url(../../static/img/back.png) no-repeat; |
|||
background-size: 100%; |
|||
} |
|||
.artic{ |
|||
width: 100%; |
|||
margin: 0 auto; |
|||
height: 1015upx; |
|||
margin-top: 10upx; |
|||
} |
|||
.justy{ |
|||
width: 100%; |
|||
box-sizing: border-box; |
|||
padding: 0 6%; |
|||
margin-top: 20upx; |
|||
display: flex; |
|||
flex-flow: row wrap; |
|||
justify-content: flex-start; |
|||
} |
|||
.justy-type{ |
|||
width: 83%; |
|||
height: 100%; |
|||
display: flex; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
box-sizing: border-box; |
|||
padding: 6upx 0; |
|||
background: url(../../static/img/yuewen2_03.png) no-repeat; |
|||
background-size:100% 100%; |
|||
|
|||
} |
|||
.rdlist{ |
|||
width: 25%; |
|||
height: 176upx; |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
margin-bottom: 28upx; |
|||
/* background-color: red; */ |
|||
} |
|||
.rdlist-img{ |
|||
width: 90%; |
|||
height: 80%; |
|||
border-radius: 2upx; |
|||
} |
|||
.listimg{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
.rdlist-name{ |
|||
width: 95%; |
|||
height: 50upx; |
|||
margin-left:5upx; |
|||
font-size: 0.5rem; |
|||
display: block; |
|||
white-space: nowrap; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
} |
|||
/* 分页 */ |
|||
.example-body{ |
|||
height: 200upx; |
|||
padding: 70upx 2%; |
|||
box-sizing: border-box; |
|||
} |
|||
/* 插屏广告 */ |
|||
uni-popup{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
.content>>>.uni-popup__wrapper.center{ |
|||
align-items: flex-start; |
|||
} |
|||
.tc-image { |
|||
position: relative; |
|||
text-align: left; |
|||
} |
|||
|
|||
.tc-image .background { |
|||
width: 600upx; |
|||
height: 800upx; |
|||
} |
|||
.x{ |
|||
position: relative; |
|||
} |
|||
.tcartic{ |
|||
position: absolute; |
|||
top: 12%; |
|||
left: 0; |
|||
padding: 0 70upx; |
|||
} |
|||
.tctitle{ |
|||
font-weight: 700; |
|||
font-size: 0.8rem; |
|||
padding-bottom: 4upx; |
|||
margin-bottom: 30upx; |
|||
border-bottom: 2px solid rgb(2,68,106); |
|||
} |
|||
.container{ |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
} |
|||
.tki-qrcode{ |
|||
display: inline-block; |
|||
padding: 5upx; |
|||
text-align: center; |
|||
background: white; |
|||
font-size: 0; |
|||
} |
|||
.saoma{ |
|||
font-size: 0.5rem; |
|||
} |
|||
.qrimg-i{ |
|||
padding: 4upx; |
|||
} |
|||
.uni-image-close { |
|||
position: absolute; |
|||
right: -30px; |
|||
top: -30px; |
|||
z-index: 2; |
|||
} |
|||
.tcfoot{ |
|||
margin-top: 30upx; |
|||
box-sizing: border-box; |
|||
padding: 30upx; |
|||
width: 100%; |
|||
display: flex; |
|||
flex-flow: column wrap; |
|||
border: 1px solid rgb(19,96,125) ; |
|||
} |
|||
.ewm{ |
|||
width: 100%; |
|||
display: flex; |
|||
} |
|||
.ewmimg{ |
|||
width: 132upx; |
|||
height: 132upx; |
|||
background: url(../../static/img/yuewen_10.png) no-repeat; |
|||
background-size:100% ; |
|||
margin-right: 16upx; |
|||
padding: 10upx; |
|||
} |
|||
.cpgroup{ |
|||
width: 70%; |
|||
display: flex; |
|||
flex-flow: column wrap; |
|||
} |
|||
.cptit,.cpauter{ |
|||
font-size: 0.5rem; |
|||
} |
|||
.ewmimage{ |
|||
width: 100%; |
|||
height: 91%; |
|||
} |
|||
.tcjj{ |
|||
font-size: 0.4rem; |
|||
height: 120upx; |
|||
overflow: hidden; |
|||
/* background: #007AFF; */ |
|||
} |
|||
.out{ |
|||
width: 30upx; |
|||
height: 30upx; |
|||
position: absolute; |
|||
top: -20upx; |
|||
right: 80upx; |
|||
} |
|||
.outto{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
|
|||
.leftbutton{ |
|||
width: 5%; |
|||
height: 200upx; |
|||
position: fixed; |
|||
top:40%; |
|||
left:0; |
|||
} |
|||
.leftbutton image{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
.rightbutton{ |
|||
width: 5%; |
|||
height: 200upx; |
|||
position: fixed; |
|||
top:40%; |
|||
right:0; |
|||
} |
|||
.rightbutton image{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
</style> |
|||
|
|||
1206
components/tki-qrcode/qrcode.js
File diff suppressed because it is too large
View File
@ -0,0 +1,205 @@ |
|||
<template xlang="wxml" minapp="mpvue"> |
|||
<view class="tki-qrcode"> |
|||
<canvas class="tki-qrcode-canvas" :canvas-id="cid" :style="{width:cpSize+'px',height:cpSize+'px'}" /> |
|||
<image v-show="show" :src="result" :style="{width:cpSize+'px',height:cpSize+'px'}" /> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import QRCode from "./qrcode.js" |
|||
let qrcode |
|||
export default { |
|||
name: "tki-qrcode", |
|||
props: { |
|||
cid: { |
|||
type: String, |
|||
default: 'tki-qrcode-canvas' |
|||
}, |
|||
size: { |
|||
type: Number, |
|||
default: 200 |
|||
}, |
|||
unit: { |
|||
type: String, |
|||
default: 'upx' |
|||
}, |
|||
show: { |
|||
type: Boolean, |
|||
default: true |
|||
}, |
|||
val: { |
|||
type: String, |
|||
default: '' |
|||
}, |
|||
background: { |
|||
type: String, |
|||
default: '#ffffff' |
|||
}, |
|||
foreground: { |
|||
type: String, |
|||
default: '#000000' |
|||
}, |
|||
pdground: { |
|||
type: String, |
|||
default: '#000000' |
|||
}, |
|||
icon: { |
|||
type: String, |
|||
default: '' |
|||
}, |
|||
iconSize: { |
|||
type: Number, |
|||
default: 40 |
|||
}, |
|||
lv: { |
|||
type: Number, |
|||
default: 3 |
|||
}, |
|||
onval: { |
|||
type: Boolean, |
|||
default: false |
|||
}, |
|||
loadMake: { |
|||
type: Boolean, |
|||
default: false |
|||
}, |
|||
usingComponents: { |
|||
type: Boolean, |
|||
default: true |
|||
}, |
|||
showLoading: { |
|||
type: Boolean, |
|||
default: true |
|||
}, |
|||
loadingText: { |
|||
type: String, |
|||
default: '二维码生成中' |
|||
}, |
|||
}, |
|||
data() { |
|||
return { |
|||
result: '', |
|||
} |
|||
}, |
|||
methods: { |
|||
_makeCode() { |
|||
let that = this |
|||
if (!this._empty(this.val)) { |
|||
qrcode = new QRCode({ |
|||
context: that, // 上下文环境 |
|||
canvasId:that.cid, // canvas-id |
|||
usingComponents: that.usingComponents, // 是否是自定义组件 |
|||
showLoading: that.showLoading, // 是否显示loading |
|||
loadingText: that.loadingText, // loading文字 |
|||
text: that.val, // 生成内容 |
|||
size: that.cpSize, // 二维码大小 |
|||
background: that.background, // 背景色 |
|||
foreground: that.foreground, // 前景色 |
|||
pdground: that.pdground, // 定位角点颜色 |
|||
correctLevel: that.lv, // 容错级别 |
|||
image: that.icon, // 二维码图标 |
|||
imageSize: that.iconSize,// 二维码图标大小 |
|||
cbResult: function (res) { // 生成二维码的回调 |
|||
that._result(res) |
|||
}, |
|||
}); |
|||
} else { |
|||
uni.showToast({ |
|||
title: '二维码内容不能为空', |
|||
icon: 'none', |
|||
duration: 2000 |
|||
}); |
|||
} |
|||
}, |
|||
_clearCode() { |
|||
this._result('') |
|||
qrcode.clear() |
|||
}, |
|||
_saveCode() { |
|||
let that = this; |
|||
if (this.result != "") { |
|||
uni.saveImageToPhotosAlbum({ |
|||
filePath: that.result, |
|||
success: function () { |
|||
uni.showToast({ |
|||
title: '二维码保存成功', |
|||
icon: 'success', |
|||
duration: 2000 |
|||
}); |
|||
} |
|||
}); |
|||
} |
|||
}, |
|||
_result(res) { |
|||
this.result = res; |
|||
this.$emit('result', res) |
|||
}, |
|||
_empty(v) { |
|||
let tp = typeof v, |
|||
rt = false; |
|||
if (tp == "number" && String(v) == "") { |
|||
rt = true |
|||
} else if (tp == "undefined") { |
|||
rt = true |
|||
} else if (tp == "object") { |
|||
if (JSON.stringify(v) == "{}" || JSON.stringify(v) == "[]" || v == null) rt = true |
|||
} else if (tp == "string") { |
|||
if (v == "" || v == "undefined" || v == "null" || v == "{}" || v == "[]") rt = true |
|||
} else if (tp == "function") { |
|||
rt = false |
|||
} |
|||
return rt |
|||
} |
|||
}, |
|||
watch: { |
|||
size: function (n, o) { |
|||
if (n != o && !this._empty(n)) { |
|||
this.cSize = n |
|||
if (!this._empty(this.val)) { |
|||
setTimeout(() => { |
|||
this._makeCode() |
|||
}, 100); |
|||
} |
|||
} |
|||
}, |
|||
val: function (n, o) { |
|||
if (this.onval) { |
|||
if (n != o && !this._empty(n)) { |
|||
setTimeout(() => { |
|||
this._makeCode() |
|||
}, 0); |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
computed: { |
|||
cpSize() { |
|||
if(this.unit == "upx"){ |
|||
return uni.upx2px(this.size) |
|||
}else{ |
|||
return this.size |
|||
} |
|||
} |
|||
}, |
|||
mounted: function () { |
|||
if (this.loadMake) { |
|||
if (!this._empty(this.val)) { |
|||
setTimeout(() => { |
|||
this._makeCode() |
|||
}, 0); |
|||
} |
|||
} |
|||
}, |
|||
} |
|||
</script> |
|||
<style> |
|||
.tki-qrcode { |
|||
position: relative; |
|||
} |
|||
.tki-qrcode-canvas { |
|||
position: fixed; |
|||
top: -99999upx; |
|||
left: -99999upx; |
|||
z-index: -99999; |
|||
} |
|||
</style> |
|||
419
components/uni-icons/uni-icons.vue
File diff suppressed because it is too large
View File
@ -0,0 +1,188 @@ |
|||
<template> |
|||
<view class="uni-pagination"> |
|||
<view class="uni-pagination__btns"> |
|||
<view :class="['uni-pagination__btn',{'uni-pagination--disabled':currentIndex === 1}]" :hover-class="currentIndex === 1 ? '' : 'uni-pagination--hover'" :hover-start-time="20" :hover-stay-time="70" @click="clickLeft"> |
|||
<template v-if="showIcon===true || showIcon === 'true'"> |
|||
<uni-icons color="#000" size="20" type="arrowleft" /> |
|||
</template> |
|||
<template v-else> |
|||
{{ prevText }} |
|||
</template> |
|||
</view> |
|||
<view :class="['uni-pagination__btn',{'uni-pagination--disabled':currentIndex === maxPage}]" :hover-class="currentIndex === maxPage ? '' : 'uni-pagination--hover'" :hover-start-time="20" :hover-stay-time="70" @click="clickRight"> |
|||
<template v-if="showIcon===true || showIcon === 'true'"> |
|||
<uni-icons color="#000" size="20" type="arrowright" /> |
|||
</template> |
|||
<template v-else> |
|||
{{ nextText }} |
|||
</template> |
|||
</view> |
|||
</view> |
|||
<view class="uni-pagination__num" v-if="total>0"> |
|||
<text class="uni-pagination__num-current">{{ currentIndex }}</text>/{{ maxPage }} |
|||
<text class="zongye" >(共:{{ total }})</text> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import uniIcons from '../uni-icons/uni-icons.vue' |
|||
export default { |
|||
name: 'UniPagination', |
|||
components: { |
|||
uniIcons |
|||
}, |
|||
props: { |
|||
prevText: { |
|||
type: String, |
|||
default: '上一页' |
|||
}, |
|||
nextText: { |
|||
type: String, |
|||
default: '下一页' |
|||
}, |
|||
current: { |
|||
type: [Number, String], |
|||
default: 1 |
|||
}, |
|||
total: { // 数据总量 |
|||
type: [Number, String], |
|||
default: 0 |
|||
}, |
|||
pageSize: { // 每页数据量 |
|||
type: [Number, String], |
|||
default: 10 |
|||
}, |
|||
showIcon: { // 是否以 icon 形式展示按钮 |
|||
type: [Boolean, String], |
|||
default: false |
|||
} |
|||
}, |
|||
data() { |
|||
return { |
|||
currentIndex: 1 |
|||
} |
|||
}, |
|||
computed: { |
|||
maxPage() { |
|||
let maxPage = 1 |
|||
let total = Number(this.total) |
|||
let pageSize = Number(this.pageSize) |
|||
if (total && pageSize) { |
|||
maxPage = Math.ceil(total / pageSize) |
|||
} |
|||
return maxPage |
|||
} |
|||
}, |
|||
watch: { |
|||
current(val) { |
|||
this.currentIndex = +val |
|||
} |
|||
}, |
|||
created() { |
|||
this.currentIndex = +this.current |
|||
}, |
|||
methods: { |
|||
clickLeft() { |
|||
if (Number(this.currentIndex) === 1) { |
|||
return |
|||
} |
|||
this.currentIndex -= 1 |
|||
this.change('prev') |
|||
}, |
|||
clickRight() { |
|||
if (Number(this.currentIndex) === this.maxPage) { |
|||
return |
|||
} |
|||
this.currentIndex += 1 |
|||
this.change('next') |
|||
}, |
|||
change(e) { |
|||
this.$emit('change', { |
|||
type: e, |
|||
current: this.currentIndex |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
@charset "UTF-8"; |
|||
|
|||
.uni-pagination { |
|||
width: 100%; |
|||
box-sizing: border-box; |
|||
padding: 0 40upx; |
|||
position: relative; |
|||
overflow: hidden; |
|||
display: flex; |
|||
flex-direction: row |
|||
} |
|||
|
|||
.uni-pagination__btns { |
|||
flex: 1; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
flex-direction: row |
|||
} |
|||
|
|||
.uni-pagination__btn { |
|||
width: 120upx; |
|||
height: 60upx; |
|||
padding: 0 16upx; |
|||
line-height: 60upx; |
|||
font-size: 28upx; |
|||
box-sizing: border-box; |
|||
position: relative; |
|||
/* background-color: #f8f8f8; */ |
|||
display: flex; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center |
|||
} |
|||
|
|||
.uni-pagination__btn:after { |
|||
content: ""; |
|||
width: 200%; |
|||
height: 200%; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
/* border: 1px solid #e5e5e5; */ |
|||
transform: scale(.5); |
|||
transform-origin: 0 0; |
|||
box-sizing: border-box; |
|||
border-radius: 12upx |
|||
} |
|||
|
|||
.uni-pagination__num { |
|||
width: 150upx; |
|||
/* width: 100upx; */ |
|||
height: 60upx; |
|||
line-height: 60upx; |
|||
font-size: 28upx; |
|||
color: rgb(171,178,191); |
|||
position: absolute; |
|||
left: 50%; |
|||
top: 0; |
|||
transform: translateX(-50%) |
|||
} |
|||
|
|||
.uni-pagination__num-current { |
|||
color: rgb(0,163,201) |
|||
} |
|||
|
|||
.uni-pagination--disabled { |
|||
opacity: .3 |
|||
} |
|||
|
|||
.uni-pagination--hover { |
|||
color: rgba(0, 0, 0, .6); |
|||
/* background-color: #f1f1f1 */ |
|||
} |
|||
.zongye{ |
|||
margin-left: 30upx; |
|||
} |
|||
</style> |
|||
@ -0,0 +1,187 @@ |
|||
<template> |
|||
<view v-if="showPopup" class="uni-popup"> |
|||
<view :class="[ani, animation ? 'ani' : '', !custom ? 'uni-custom' : '']" class="uni-popup__mask" @click="close(true)" /> |
|||
<view :class="[type, ani, animation ? 'ani' : '', !custom ? 'uni-custom' : '']" class="uni-popup__wrapper" @click="close(true)"> |
|||
<view class="uni-popup__wrapper-box" @click.stop="clear"> |
|||
<slot /> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'UniPopup', |
|||
props: { |
|||
// 开启动画 |
|||
animation: { |
|||
type: Boolean, |
|||
default: true |
|||
}, |
|||
// 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层 |
|||
type: { |
|||
type: String, |
|||
default: 'center' |
|||
}, |
|||
// 是否开启自定义 |
|||
custom: { |
|||
type: Boolean, |
|||
default: false |
|||
}, |
|||
// maskClick |
|||
maskClick: { |
|||
type: Boolean, |
|||
default: true |
|||
}, |
|||
show: { |
|||
type: Boolean, |
|||
default: true |
|||
} |
|||
}, |
|||
data() { |
|||
return { |
|||
ani: '', |
|||
showPopup: false |
|||
} |
|||
}, |
|||
watch: { |
|||
show(newValue) { |
|||
if (newValue) { |
|||
this.open() |
|||
} else { |
|||
this.close() |
|||
} |
|||
} |
|||
}, |
|||
created() {}, |
|||
methods: { |
|||
clear() {}, |
|||
open() { |
|||
this.$emit('change', { |
|||
show: true |
|||
}) |
|||
this.showPopup = true |
|||
this.$nextTick(() => { |
|||
setTimeout(() => { |
|||
this.ani = 'uni-' + this.type |
|||
}, 30) |
|||
}) |
|||
}, |
|||
close(type) { |
|||
if (!this.maskClick && type) return |
|||
this.$emit('change', { |
|||
show: false |
|||
}) |
|||
this.ani = '' |
|||
this.$nextTick(() => { |
|||
setTimeout(() => { |
|||
this.showPopup = false |
|||
}, 300) |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
<style> |
|||
@charset "UTF-8"; |
|||
|
|||
.uni-popup { |
|||
position: fixed; |
|||
top: 0; |
|||
top: 0; |
|||
bottom: 0; |
|||
left: 0; |
|||
right: 0; |
|||
z-index: 998; |
|||
overflow: hidden |
|||
} |
|||
|
|||
.uni-popup__mask { |
|||
position: absolute; |
|||
top: 0; |
|||
bottom: 0; |
|||
left: 0; |
|||
right: 0; |
|||
z-index: 998; |
|||
background: rgba(0, 0, 0, .4); |
|||
opacity: 0 |
|||
} |
|||
|
|||
.uni-popup__mask.ani { |
|||
transition: all .3s |
|||
} |
|||
|
|||
.uni-popup__mask.uni-bottom, |
|||
.uni-popup__mask.uni-center, |
|||
.uni-popup__mask.uni-top { |
|||
opacity: 1 |
|||
} |
|||
|
|||
.uni-popup__wrapper { |
|||
position: absolute; |
|||
z-index: 999; |
|||
box-sizing: border-box |
|||
} |
|||
|
|||
.uni-popup__wrapper.ani { |
|||
transition: all .3s |
|||
} |
|||
|
|||
.uni-popup__wrapper.top { |
|||
top: 0; |
|||
left: 0; |
|||
width: 100%; |
|||
transform: translateY(-100%) |
|||
} |
|||
|
|||
.uni-popup__wrapper.bottom { |
|||
bottom: 0; |
|||
left: 0; |
|||
width: 100%; |
|||
transform: translateY(100%) |
|||
} |
|||
|
|||
.uni-popup__wrapper.center { |
|||
width: 100%; |
|||
height: 100%; |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
transform: scale(1.2); |
|||
opacity: 0 |
|||
} |
|||
|
|||
.uni-popup__wrapper-box { |
|||
position: relative; |
|||
box-sizing: border-box |
|||
} |
|||
|
|||
.uni-popup__wrapper.uni-custom .uni-popup__wrapper-box { |
|||
padding: 30upx; |
|||
background: #fff |
|||
} |
|||
|
|||
.uni-popup__wrapper.uni-custom.center .uni-popup__wrapper-box { |
|||
position: relative; |
|||
max-width: 80%; |
|||
max-height: 80%; |
|||
overflow-y: scroll |
|||
} |
|||
|
|||
.uni-popup__wrapper.uni-custom.bottom .uni-popup__wrapper-box, |
|||
.uni-popup__wrapper.uni-custom.top .uni-popup__wrapper-box { |
|||
width: 100%; |
|||
max-height: 500px; |
|||
overflow-y: scroll |
|||
} |
|||
|
|||
.uni-popup__wrapper.uni-bottom, |
|||
.uni-popup__wrapper.uni-top { |
|||
transform: translateY(0) |
|||
} |
|||
|
|||
.uni-popup__wrapper.uni-center { |
|||
transform: scale(1); |
|||
opacity: 1 |
|||
} |
|||
</style> |
|||
@ -0,0 +1,127 @@ |
|||
<template> |
|||
<view :class="{ text: styleType === 'text' }" |
|||
:style="{ borderColor: styleType === 'text' ? '' : activeColor }" |
|||
class="segmented-control"> |
|||
<view v-for="(item, index) in values" |
|||
:class="[{ text: styleType === 'text' }, { active: index === currentIndex }]" |
|||
:key="index" :style="{ |
|||
color: |
|||
index === currentIndex |
|||
? styleType === 'text' |
|||
? activeColor |
|||
: 'rgb(255,255,255)' |
|||
: styleType === 'text' |
|||
? 'rgb(135,156,196)' |
|||
: activeColor, |
|||
backgroundColor: index === currentIndex && styleType === 'button' ? activeColor : '' |
|||
}" class="segmented-control-item" @click="_onClick(index)"> |
|||
{{ item }} |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'UniSegmentedControl', |
|||
props: { |
|||
current: { |
|||
type: Number, |
|||
default: 0 |
|||
}, |
|||
values: { |
|||
type: Array, |
|||
default () { |
|||
return [] |
|||
} |
|||
}, |
|||
activeColor: { |
|||
type: String, |
|||
default: 'rgb(255,255,255)' |
|||
}, |
|||
styleType: { |
|||
type: String, |
|||
default: 'button' |
|||
} |
|||
}, |
|||
data() { |
|||
return { |
|||
currentIndex: 0 |
|||
} |
|||
}, |
|||
watch: { |
|||
current(val) { |
|||
if (val !== this.currentIndex) { |
|||
this.currentIndex = val |
|||
} |
|||
} |
|||
}, |
|||
created() { |
|||
this.currentIndex = this.current |
|||
}, |
|||
methods: { |
|||
_onClick(index) { |
|||
if (this.currentIndex !== index) { |
|||
this.currentIndex = index |
|||
this.$emit('clickItem', index) |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
@charset "UTF-8"; |
|||
|
|||
.segmented-control { |
|||
display: flex; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
width: 75%; |
|||
font-size: 38upx; |
|||
box-sizing: border-box; |
|||
margin: 0 auto; |
|||
overflow: hidden; |
|||
border: 1px solid; |
|||
border-radius: 10upx |
|||
} |
|||
|
|||
.segmented-control.text { |
|||
border: 0; |
|||
border-radius: 0 |
|||
} |
|||
|
|||
.segmented-control-item { |
|||
flex: 1; |
|||
text-align: center; |
|||
line-height: 60upx; |
|||
box-sizing: border-box; |
|||
border-left: 1px solid |
|||
} |
|||
|
|||
.segmented-control-item.active { |
|||
color: white; |
|||
position: relative; |
|||
} |
|||
|
|||
.segmented-control-item.text { |
|||
border-left: 0; |
|||
font-size: 0.7rem; |
|||
padding-bottom:5upx; |
|||
} |
|||
|
|||
.segmented-control-item.text.active:after { |
|||
content:""; |
|||
display: block; |
|||
position: absolute; |
|||
left: 36%; |
|||
bottom: -4upx; |
|||
height: 10upx; |
|||
width: 27%; |
|||
background:url(../../static/img/caitubiao.png) no-repeat; |
|||
background-size:100%; |
|||
} |
|||
|
|||
.segmented-control-item:first-child { |
|||
border-left-width: 0 |
|||
} |
|||
</style> |
|||
@ -0,0 +1,5 @@ |
|||
证书名称:画屏客户端 |
|||
包名:com.aiyxcs.zhp |
|||
证书别名:aiyxcsclient |
|||
密钥库密码:aiyx2022 |
|||
密钥密码:aiyx2022 |
|||
@ -0,0 +1,20 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
<head> |
|||
<meta charset="UTF-8" /> |
|||
<script> |
|||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || |
|||
CSS.supports('top: constant(a)')) |
|||
document.write( |
|||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + |
|||
(coverSupport ? ', viewport-fit=cover' : '') + '" />') |
|||
</script> |
|||
<title></title> |
|||
<!--preload-links--> |
|||
<!--app-context--> |
|||
</head> |
|||
<body> |
|||
<div id="app"><!--app-html--></div> |
|||
<script type="module" src="/main.js"></script> |
|||
</body> |
|||
</html> |
|||
@ -0,0 +1,23 @@ |
|||
import App from './App' |
|||
|
|||
// #ifndef VUE3
|
|||
import Vue from 'vue' |
|||
Vue.config.productionTip = false |
|||
|
|||
|
|||
App.mpType = 'app' |
|||
const app = new Vue({ |
|||
...App |
|||
}) |
|||
app.$mount() |
|||
// #endif
|
|||
|
|||
// #ifdef VUE3
|
|||
import { createSSRApp } from 'vue' |
|||
export function createApp() { |
|||
const app = createSSRApp(App) |
|||
return { |
|||
app |
|||
} |
|||
} |
|||
// #endif
|
|||
@ -0,0 +1,106 @@ |
|||
{ |
|||
"name" : "画屏", |
|||
"appid" : "__UNI__487D0A3", |
|||
"description" : "", |
|||
"versionName" : "1.0.0", |
|||
"versionCode" : "100", |
|||
"transformPx" : false, |
|||
/* 5+App特有相关 */ |
|||
"app-plus" : { |
|||
"usingComponents" : true, |
|||
"nvueStyleCompiler" : "uni-app", |
|||
"compilerVersion" : 3, |
|||
"splashscreen" : { |
|||
"alwaysShowBeforeRender" : true, |
|||
"waiting" : true, |
|||
"autoclose" : true, |
|||
"delay" : 0 |
|||
}, |
|||
/* 模块配置 */ |
|||
"modules" : {}, |
|||
/* 应用发布信息 */ |
|||
"distribute" : { |
|||
/* android打包配置 */ |
|||
"android" : { |
|||
"permissions" : [ |
|||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", |
|||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", |
|||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", |
|||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>", |
|||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", |
|||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", |
|||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", |
|||
"<uses-permission android:name=\"android.permission.CAMERA\"/>", |
|||
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", |
|||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", |
|||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", |
|||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", |
|||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", |
|||
"<uses-feature android:name=\"android.hardware.camera\"/>", |
|||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" |
|||
] |
|||
}, |
|||
/* ios打包配置 */ |
|||
"ios" : {}, |
|||
/* SDK配置 */ |
|||
"sdkConfigs" : { |
|||
"ad" : {} |
|||
}, |
|||
"icons" : { |
|||
"android" : { |
|||
"hdpi" : "unpackage/res/icons/72x72.png", |
|||
"xhdpi" : "unpackage/res/icons/96x96.png", |
|||
"xxhdpi" : "unpackage/res/icons/144x144.png", |
|||
"xxxhdpi" : "unpackage/res/icons/192x192.png" |
|||
}, |
|||
"ios" : { |
|||
"appstore" : "unpackage/res/icons/1024x1024.png", |
|||
"ipad" : { |
|||
"app" : "unpackage/res/icons/76x76.png", |
|||
"app@2x" : "unpackage/res/icons/152x152.png", |
|||
"notification" : "unpackage/res/icons/20x20.png", |
|||
"notification@2x" : "unpackage/res/icons/40x40.png", |
|||
"proapp@2x" : "unpackage/res/icons/167x167.png", |
|||
"settings" : "unpackage/res/icons/29x29.png", |
|||
"settings@2x" : "unpackage/res/icons/58x58.png", |
|||
"spotlight" : "unpackage/res/icons/40x40.png", |
|||
"spotlight@2x" : "unpackage/res/icons/80x80.png" |
|||
}, |
|||
"iphone" : { |
|||
"app@2x" : "unpackage/res/icons/120x120.png", |
|||
"app@3x" : "unpackage/res/icons/180x180.png", |
|||
"notification@2x" : "unpackage/res/icons/40x40.png", |
|||
"notification@3x" : "unpackage/res/icons/60x60.png", |
|||
"settings@2x" : "unpackage/res/icons/58x58.png", |
|||
"settings@3x" : "unpackage/res/icons/87x87.png", |
|||
"spotlight@2x" : "unpackage/res/icons/80x80.png", |
|||
"spotlight@3x" : "unpackage/res/icons/120x120.png" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
/* 快应用特有相关 */ |
|||
"quickapp" : {}, |
|||
/* 小程序特有相关 */ |
|||
"mp-weixin" : { |
|||
"appid" : "", |
|||
"setting" : { |
|||
"urlCheck" : false |
|||
}, |
|||
"usingComponents" : true |
|||
}, |
|||
"mp-alipay" : { |
|||
"usingComponents" : true |
|||
}, |
|||
"mp-baidu" : { |
|||
"usingComponents" : true |
|||
}, |
|||
"mp-toutiao" : { |
|||
"usingComponents" : true |
|||
}, |
|||
"uniStatistics" : { |
|||
"enable" : false |
|||
}, |
|||
"vueVersion" : "2" |
|||
} |
|||
@ -0,0 +1,20 @@ |
|||
{ |
|||
"name": "AutoStart", |
|||
"id": "Fvv-AutoStart", |
|||
"version": "1.0.0", |
|||
"description": "安卓开机自启动", |
|||
"_dp_type":"nativeplugin", |
|||
"_dp_nativeplugin":{ |
|||
"android": { |
|||
"plugins": [ |
|||
{ |
|||
"type": "module", |
|||
"name": "Fvv-AutoStart", |
|||
"class": "uni.fvv.autostart" |
|||
} |
|||
], |
|||
"integrateType": "aar", |
|||
"minSdkVersion": "17" |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,222 @@ |
|||
{ |
|||
"requires": true, |
|||
"lockfileVersion": 1, |
|||
"dependencies": { |
|||
"@types/jszip": { |
|||
"integrity": "sha512-m8uFcI+O2EupCfbEVQWsBM/4nhbegjOHL7cQgBpM95FeF98kdFJXzy9/8yhx4b3lCRl/gMBhcvyh30Qt3X+XPQ==", |
|||
"requires": { |
|||
"@types/node": "*" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/@types/jszip/-/jszip-3.1.6.tgz", |
|||
"version": "3.1.6" |
|||
}, |
|||
"@types/localforage": { |
|||
"integrity": "sha1-XjHDLdh5HsS5/z70fJy1Wy0NlDg=", |
|||
"requires": { |
|||
"localforage": "*" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/@types/localforage/-/localforage-0.0.34.tgz", |
|||
"version": "0.0.34" |
|||
}, |
|||
"@types/node": { |
|||
"integrity": "sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg==", |
|||
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.2.tgz", |
|||
"version": "12.7.2" |
|||
}, |
|||
"core-util-is": { |
|||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", |
|||
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", |
|||
"version": "1.0.2" |
|||
}, |
|||
"d": { |
|||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
|||
"requires": { |
|||
"es5-ext": "^0.10.50", |
|||
"type": "^1.0.1" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
|||
"version": "1.0.1" |
|||
}, |
|||
"es5-ext": { |
|||
"integrity": "sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw==", |
|||
"requires": { |
|||
"es6-iterator": "~2.0.3", |
|||
"es6-symbol": "~3.1.1", |
|||
"next-tick": "^1.0.0" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.50.tgz", |
|||
"version": "0.10.50" |
|||
}, |
|||
"es6-iterator": { |
|||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
|||
"requires": { |
|||
"d": "1", |
|||
"es5-ext": "^0.10.35", |
|||
"es6-symbol": "^3.1.1" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
|||
"version": "2.0.3" |
|||
}, |
|||
"es6-symbol": { |
|||
"integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", |
|||
"requires": { |
|||
"d": "1", |
|||
"es5-ext": "~0.10.14" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", |
|||
"version": "3.1.1" |
|||
}, |
|||
"event-emitter": { |
|||
"integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", |
|||
"requires": { |
|||
"d": "1", |
|||
"es5-ext": "~0.10.14" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", |
|||
"version": "0.3.5" |
|||
}, |
|||
"immediate": { |
|||
"integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", |
|||
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", |
|||
"version": "3.0.6" |
|||
}, |
|||
"inherits": { |
|||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", |
|||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
|||
"version": "2.0.4" |
|||
}, |
|||
"isarray": { |
|||
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", |
|||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", |
|||
"version": "1.0.0" |
|||
}, |
|||
"jszip": { |
|||
"dependencies": { |
|||
"lie": { |
|||
"integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", |
|||
"requires": { |
|||
"immediate": "~3.0.5" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", |
|||
"version": "3.3.0" |
|||
} |
|||
}, |
|||
"integrity": "sha512-NmKajvAFQpbg3taXQXr/ccS2wcucR1AZ+NtyWp2Nq7HHVsXhcJFR8p0Baf32C2yVvBylFWVeKf+WI2AnvlPhpA==", |
|||
"requires": { |
|||
"lie": "~3.3.0", |
|||
"pako": "~1.0.2", |
|||
"readable-stream": "~2.3.6", |
|||
"set-immediate-shim": "~1.0.1" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.2.2.tgz", |
|||
"version": "3.2.2" |
|||
}, |
|||
"lie": { |
|||
"integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=", |
|||
"requires": { |
|||
"immediate": "~3.0.5" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", |
|||
"version": "3.1.1" |
|||
}, |
|||
"localforage": { |
|||
"integrity": "sha512-1TulyYfc4udS7ECSBT2vwJksWbkwwTX8BzeUIiq8Y07Riy7bDAAnxDaPU/tWyOVmQAcWJIEIFP9lPfBGqVoPgQ==", |
|||
"requires": { |
|||
"lie": "3.1.1" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.7.3.tgz", |
|||
"version": "1.7.3" |
|||
}, |
|||
"lodash": { |
|||
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", |
|||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", |
|||
"version": "4.17.15" |
|||
}, |
|||
"marks-pane": { |
|||
"integrity": "sha512-Ahs4oeG90tbdPWwAJkAAoHg2lRR8lAs9mZXETNPO9hYg3AkjUJBKi1NQ4aaIQZVGrig7c/3NUV1jANl8rFTeMg==", |
|||
"resolved": "https://registry.npmjs.org/marks-pane/-/marks-pane-1.0.9.tgz", |
|||
"version": "1.0.9" |
|||
}, |
|||
"next-tick": { |
|||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", |
|||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
|||
"version": "1.0.0" |
|||
}, |
|||
"pako": { |
|||
"integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==", |
|||
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz", |
|||
"version": "1.0.10" |
|||
}, |
|||
"path-webpack": { |
|||
"integrity": "sha1-/23sdJ7sWpRgXATV9j/FVgegOhY=", |
|||
"resolved": "https://registry.npmjs.org/path-webpack/-/path-webpack-0.0.3.tgz", |
|||
"version": "0.0.3" |
|||
}, |
|||
"process-nextick-args": { |
|||
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", |
|||
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", |
|||
"version": "2.0.1" |
|||
}, |
|||
"readable-stream": { |
|||
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", |
|||
"requires": { |
|||
"core-util-is": "~1.0.0", |
|||
"inherits": "~2.0.3", |
|||
"isarray": "~1.0.0", |
|||
"process-nextick-args": "~2.0.0", |
|||
"safe-buffer": "~5.1.1", |
|||
"string_decoder": "~1.1.1", |
|||
"util-deprecate": "~1.0.1" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", |
|||
"version": "2.3.6" |
|||
}, |
|||
"safe-buffer": { |
|||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", |
|||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", |
|||
"version": "5.1.2" |
|||
}, |
|||
"set-immediate-shim": { |
|||
"integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", |
|||
"resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", |
|||
"version": "1.0.1" |
|||
}, |
|||
"stream-browserify": { |
|||
"integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", |
|||
"requires": { |
|||
"inherits": "~2.0.1", |
|||
"readable-stream": "^2.0.2" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", |
|||
"version": "2.0.2" |
|||
}, |
|||
"string_decoder": { |
|||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", |
|||
"requires": { |
|||
"safe-buffer": "~5.1.0" |
|||
}, |
|||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", |
|||
"version": "1.1.1" |
|||
}, |
|||
"type": { |
|||
"integrity": "sha512-51IMtNfVcee8+9GJvj0spSuFcZHe9vSib6Xtgsny1Km9ugyz2mbS08I3rsUIRYgJohFRFU1160sgRodYz378Hg==", |
|||
"resolved": "https://registry.npmjs.org/type/-/type-1.0.3.tgz", |
|||
"version": "1.0.3" |
|||
}, |
|||
"url-polyfill": { |
|||
"integrity": "sha512-ZrAxYWCREjmMtL8gSbSiKKLZZticgihCvVBtrFbUVpyoETt8GQJeG2okMWA8XryDAaHMjJfhnc+rnhXRbI4DXA==", |
|||
"resolved": "https://registry.npmjs.org/url-polyfill/-/url-polyfill-1.1.7.tgz", |
|||
"version": "1.1.7" |
|||
}, |
|||
"util-deprecate": { |
|||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", |
|||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
|||
"version": "1.0.2" |
|||
}, |
|||
"xmldom": { |
|||
"integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk=", |
|||
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", |
|||
"version": "0.1.27" |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,24 @@ |
|||
{ |
|||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
|||
{ |
|||
"path": "pages/index/index", |
|||
"style": { |
|||
"navigationBarTitleText": "数字新视窗" |
|||
} |
|||
}, |
|||
{ |
|||
"path" : "pages/login/login", |
|||
"style" : {} |
|||
} |
|||
], |
|||
"globalStyle": { |
|||
// "navigationBarTextStyle": "black", |
|||
// "navigationBarTitleText": "数字新视窗", |
|||
// "navigationBarBackgroundColor": "#F8F8F8", |
|||
// "backgroundColor": "#F8F8F8" |
|||
"navigationStyle" : "custom", |
|||
"rpxCalcMaxDeviceWidth": 1080, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 |
|||
"rpxCalcBaseDeviceWidth": 375, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 |
|||
"rpxCalcIncludeWidth": 750 // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750 |
|||
} |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
<template> |
|||
<view class="header-content"> |
|||
<text class="iconfont icon-bangzhu" ></text> |
|||
帮助 |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name:'Header', |
|||
components: { |
|||
}, |
|||
data() { |
|||
return { |
|||
}; |
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style scoped> |
|||
.header-content{ |
|||
display: flex; |
|||
padding: 61.11rpx 41.66rpx 0 41.66rpx; |
|||
justify-content: flex-end; |
|||
font-size: 27.77rpx; |
|||
line-height: 27.77rpx; |
|||
color: #fff; |
|||
} |
|||
.icon-bangzhu{ |
|||
margin-top: 1.38rpx; |
|||
margin-right: 11.11rpx; |
|||
color: #fff; |
|||
} |
|||
</style> |
|||
@ -0,0 +1,52 @@ |
|||
<template> |
|||
<view class="content"> |
|||
<image class="logo" src="/static/logo.png"></image> |
|||
<view class="text-area"> |
|||
<text class="title">{{title}}</text> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
title: 'Hello' |
|||
} |
|||
}, |
|||
onLoad() { |
|||
|
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
.content { |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
|
|||
.logo { |
|||
height: 74rpx; |
|||
width: 400rpx; |
|||
margin-top: 200rpx; |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
margin-bottom: 50rpx; |
|||
} |
|||
|
|||
.text-area { |
|||
display: flex; |
|||
justify-content: center; |
|||
} |
|||
|
|||
.title { |
|||
font-size: 36rpx; |
|||
color: #8f8f94; |
|||
} |
|||
</style> |
|||
@ -0,0 +1,107 @@ |
|||
<template> |
|||
<view class="main_container"> |
|||
<Header></Header> |
|||
<view class="login"> |
|||
<image class="logo" src="/static/logo.png"></image> |
|||
<form @submit="formSubmit"> |
|||
<view class="uni-form-item uni-column"> |
|||
<input class="uni-input" name="phone" type="number" placeholder="登录账号" /> |
|||
</view> |
|||
<view class="uni-form-item uni-column"> |
|||
<input class="uni-input" name="password" placeholder="密码" password="true" /> |
|||
</view> |
|||
<view class="uni-btn-v"><button class="uni-login-btn" form-type="submit">登 录</button></view> |
|||
</form> |
|||
</view> |
|||
<view class="login_bg"></view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import Header from '@/pages/header.vue' |
|||
export default { |
|||
components: { |
|||
Header |
|||
}, |
|||
data() { |
|||
return { |
|||
}; |
|||
}, |
|||
methods: { |
|||
formSubmit: function(e) { |
|||
console.log('form发生了submit事件,携带数据为:' + JSON.stringify(e.detail.value)); |
|||
var formdata = e.detail.value; |
|||
// uni.showModal({ |
|||
// content: '表单数据内容:' + JSON.stringify(formdata), |
|||
// showCancel: false |
|||
// }); |
|||
} |
|||
} |
|||
}; |
|||
</script> |
|||
|
|||
<style scoped> |
|||
.main_container { |
|||
width: 100%; |
|||
height: 100vh; |
|||
background: url(../../static/images/bg.png) no-repeat left top; |
|||
background-size: cover; |
|||
} |
|||
.login_bg { |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
display: block; |
|||
width: 530rpx; |
|||
height: 648rpx; |
|||
margin: -423rpx 0 0 -265rpx; |
|||
background-color: #fcf4e8; |
|||
border-radius: 30rpx 30rpx 0 0; |
|||
box-shadow: 0 0 24rpx 2rpx rgba(0, 0, 0, 0.15); |
|||
z-index: 9; |
|||
} |
|||
.login { |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
width: 625rpx; |
|||
height: 764rpx; |
|||
margin: -382rpx 0 0 -312rpx; |
|||
background-color: #fff; |
|||
border-radius: 30rpx; |
|||
box-shadow: 0 0 24rpx 2rpx rgba(0, 0, 0, 0.15); |
|||
z-index: 99; |
|||
display: flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
.logo { |
|||
width: 278rpx; |
|||
height: 52rpx; |
|||
margin-bottom: 69.44rpx; |
|||
/* margin: 132rpx auto 70rpx auto; */ |
|||
} |
|||
.uni-input { |
|||
width: 520rpx; |
|||
height: 86rpx; |
|||
margin-bottom: 41.66rpx; |
|||
text-align: center; |
|||
border: 1px solid #cbcbcb; |
|||
border-radius: 86rpx; |
|||
background-color: #f6f6f6; |
|||
} |
|||
.fouce_txt{ |
|||
border-color: #363538; |
|||
} |
|||
.uni-login-btn { |
|||
width: 520rpx; |
|||
height: 86rpx; |
|||
margin-top: 69.44rpx; |
|||
font-size: 30.55rpx; |
|||
line-height: 86rpx; |
|||
background-color: #0096ff; |
|||
border-radius: 86rpx; |
|||
color: #fff; |
|||
} |
|||
</style> |
|||
@ -0,0 +1,119 @@ |
|||
@font-face { |
|||
font-family: "iconfont"; /* Project id 3202838 */ |
|||
src: url('~@/static/iconfont/iconfont.woff2?t=1649236110191') format('woff2'), |
|||
url('~@/static/iconfont/iconfont.woff?t=1649236110191') format('woff'), |
|||
url('~@/static/iconfont/iconfont.ttf?t=1649236110191') format('truetype'); |
|||
} |
|||
|
|||
.iconfont { |
|||
font-family: "iconfont" !important; |
|||
font-size: 16px; |
|||
font-style: normal; |
|||
-webkit-font-smoothing: antialiased; |
|||
-moz-osx-font-smoothing: grayscale; |
|||
} |
|||
|
|||
.icon-a-Group1:before { |
|||
content: "\e602"; |
|||
} |
|||
|
|||
.icon-a-xinzeng:before { |
|||
content: "\e601"; |
|||
} |
|||
|
|||
.icon-jigouxinxi:before { |
|||
content: "\e649"; |
|||
} |
|||
|
|||
.icon-quanxianguanli-fanbai:before { |
|||
content: "\e64a"; |
|||
} |
|||
|
|||
.icon-guanbi1:before { |
|||
content: "\e64b"; |
|||
} |
|||
|
|||
.icon-guanbi2:before { |
|||
content: "\e64c"; |
|||
} |
|||
|
|||
.icon-quanxianguanli:before { |
|||
content: "\e64d"; |
|||
} |
|||
|
|||
.icon-neirongguanli:before { |
|||
content: "\e64e"; |
|||
} |
|||
|
|||
.icon-xuanze-moren:before { |
|||
content: "\e64f"; |
|||
} |
|||
|
|||
.icon-wenjianjia:before { |
|||
content: "\e650"; |
|||
} |
|||
|
|||
.icon-xuanze:before { |
|||
content: "\e651"; |
|||
} |
|||
|
|||
.icon-shebeishuju:before { |
|||
content: "\e652"; |
|||
} |
|||
|
|||
.icon-fabuliucheng:before { |
|||
content: "\e653"; |
|||
} |
|||
|
|||
.icon-shouye:before { |
|||
content: "\e654"; |
|||
} |
|||
|
|||
.icon-xiala2:before { |
|||
content: "\e655"; |
|||
} |
|||
|
|||
.icon-bianji:before { |
|||
content: "\e656"; |
|||
} |
|||
|
|||
.icon-xuanzhong:before { |
|||
content: "\e657"; |
|||
} |
|||
|
|||
.icon-shouye-fanbai:before { |
|||
content: "\e658"; |
|||
} |
|||
|
|||
.icon-shebeiguanli:before { |
|||
content: "\e659"; |
|||
} |
|||
|
|||
.icon-xialaxuanze:before { |
|||
content: "\e65a"; |
|||
} |
|||
|
|||
.icon-xiala1:before { |
|||
content: "\e65b"; |
|||
} |
|||
|
|||
.icon-guanbi3:before { |
|||
content: "\e65c"; |
|||
} |
|||
|
|||
.icon-neirongguanli-fanbai:before { |
|||
content: "\e65d"; |
|||
} |
|||
|
|||
.icon-shebeiguanli-fanbai:before { |
|||
content: "\e65e"; |
|||
} |
|||
|
|||
.icon-bangzhu:before { |
|||
content: "\e647"; |
|||
} |
|||
|
|||
.icon-guanbi:before { |
|||
content: "\e648"; |
|||
} |
|||
|
|||
1
static/iconfont/iconfont.js
File diff suppressed because it is too large
View File
@ -0,0 +1,191 @@ |
|||
{ |
|||
"id": "3202838", |
|||
"name": "智慧画屏", |
|||
"font_family": "iconfont", |
|||
"css_prefix_text": "icon-", |
|||
"description": "", |
|||
"glyphs": [ |
|||
{ |
|||
"icon_id": "28297206", |
|||
"name": "音乐", |
|||
"font_class": "a-Group1", |
|||
"unicode": "e602", |
|||
"unicode_decimal": 58882 |
|||
}, |
|||
{ |
|||
"icon_id": "28246836", |
|||
"name": "新增+", |
|||
"font_class": "a-xinzeng", |
|||
"unicode": "e601", |
|||
"unicode_decimal": 58881 |
|||
}, |
|||
{ |
|||
"icon_id": "27827834", |
|||
"name": "机构信息", |
|||
"font_class": "jigouxinxi", |
|||
"unicode": "e649", |
|||
"unicode_decimal": 58953 |
|||
}, |
|||
{ |
|||
"icon_id": "27827835", |
|||
"name": "权限管理-反白", |
|||
"font_class": "quanxianguanli-fanbai", |
|||
"unicode": "e64a", |
|||
"unicode_decimal": 58954 |
|||
}, |
|||
{ |
|||
"icon_id": "27827836", |
|||
"name": "关闭", |
|||
"font_class": "guanbi1", |
|||
"unicode": "e64b", |
|||
"unicode_decimal": 58955 |
|||
}, |
|||
{ |
|||
"icon_id": "27827837", |
|||
"name": "关闭2", |
|||
"font_class": "guanbi2", |
|||
"unicode": "e64c", |
|||
"unicode_decimal": 58956 |
|||
}, |
|||
{ |
|||
"icon_id": "27827838", |
|||
"name": "权限管理", |
|||
"font_class": "quanxianguanli", |
|||
"unicode": "e64d", |
|||
"unicode_decimal": 58957 |
|||
}, |
|||
{ |
|||
"icon_id": "27827839", |
|||
"name": "内容管理", |
|||
"font_class": "neirongguanli", |
|||
"unicode": "e64e", |
|||
"unicode_decimal": 58958 |
|||
}, |
|||
{ |
|||
"icon_id": "27827840", |
|||
"name": "选择-默认", |
|||
"font_class": "xuanze-moren", |
|||
"unicode": "e64f", |
|||
"unicode_decimal": 58959 |
|||
}, |
|||
{ |
|||
"icon_id": "27827841", |
|||
"name": "文件夹", |
|||
"font_class": "wenjianjia", |
|||
"unicode": "e650", |
|||
"unicode_decimal": 58960 |
|||
}, |
|||
{ |
|||
"icon_id": "27827842", |
|||
"name": "选择", |
|||
"font_class": "xuanze", |
|||
"unicode": "e651", |
|||
"unicode_decimal": 58961 |
|||
}, |
|||
{ |
|||
"icon_id": "27827843", |
|||
"name": "设备数据", |
|||
"font_class": "shebeishuju", |
|||
"unicode": "e652", |
|||
"unicode_decimal": 58962 |
|||
}, |
|||
{ |
|||
"icon_id": "27827844", |
|||
"name": "发布流程", |
|||
"font_class": "fabuliucheng", |
|||
"unicode": "e653", |
|||
"unicode_decimal": 58963 |
|||
}, |
|||
{ |
|||
"icon_id": "27827845", |
|||
"name": "首页", |
|||
"font_class": "shouye", |
|||
"unicode": "e654", |
|||
"unicode_decimal": 58964 |
|||
}, |
|||
{ |
|||
"icon_id": "27827846", |
|||
"name": "下拉2", |
|||
"font_class": "xiala2", |
|||
"unicode": "e655", |
|||
"unicode_decimal": 58965 |
|||
}, |
|||
{ |
|||
"icon_id": "27827847", |
|||
"name": "编辑", |
|||
"font_class": "bianji", |
|||
"unicode": "e656", |
|||
"unicode_decimal": 58966 |
|||
}, |
|||
{ |
|||
"icon_id": "27827848", |
|||
"name": "选中", |
|||
"font_class": "xuanzhong", |
|||
"unicode": "e657", |
|||
"unicode_decimal": 58967 |
|||
}, |
|||
{ |
|||
"icon_id": "27827849", |
|||
"name": "首页-反白", |
|||
"font_class": "shouye-fanbai", |
|||
"unicode": "e658", |
|||
"unicode_decimal": 58968 |
|||
}, |
|||
{ |
|||
"icon_id": "27827850", |
|||
"name": "设备管理", |
|||
"font_class": "shebeiguanli", |
|||
"unicode": "e659", |
|||
"unicode_decimal": 58969 |
|||
}, |
|||
{ |
|||
"icon_id": "27827851", |
|||
"name": "下拉选择", |
|||
"font_class": "xialaxuanze", |
|||
"unicode": "e65a", |
|||
"unicode_decimal": 58970 |
|||
}, |
|||
{ |
|||
"icon_id": "27827852", |
|||
"name": "下拉1", |
|||
"font_class": "xiala1", |
|||
"unicode": "e65b", |
|||
"unicode_decimal": 58971 |
|||
}, |
|||
{ |
|||
"icon_id": "27827853", |
|||
"name": "关闭3", |
|||
"font_class": "guanbi3", |
|||
"unicode": "e65c", |
|||
"unicode_decimal": 58972 |
|||
}, |
|||
{ |
|||
"icon_id": "27827854", |
|||
"name": "内容管理-反白", |
|||
"font_class": "neirongguanli-fanbai", |
|||
"unicode": "e65d", |
|||
"unicode_decimal": 58973 |
|||
}, |
|||
{ |
|||
"icon_id": "27827855", |
|||
"name": "设备管理-反白", |
|||
"font_class": "shebeiguanli-fanbai", |
|||
"unicode": "e65e", |
|||
"unicode_decimal": 58974 |
|||
}, |
|||
{ |
|||
"icon_id": "27813824", |
|||
"name": "帮助", |
|||
"font_class": "bangzhu", |
|||
"unicode": "e647", |
|||
"unicode_decimal": 58951 |
|||
}, |
|||
{ |
|||
"icon_id": "27813825", |
|||
"name": "关闭", |
|||
"font_class": "guanbi", |
|||
"unicode": "e648", |
|||
"unicode_decimal": 58952 |
|||
} |
|||
] |
|||
} |
|||
|
After Width: 33 | Height: 33 | Size: 1.6 KiB |
|
After Width: 33 | Height: 33 | Size: 1.9 KiB |
|
After Width: 229 | Height: 219 | Size: 24 KiB |
|
After Width: 212 | Height: 564 | Size: 36 KiB |
|
After Width: 1080 | Height: 1920 | Size: 412 KiB |
|
After Width: 192 | Height: 77 | Size: 4.0 KiB |
|
After Width: 400 | Height: 74 | Size: 5.0 KiB |
@ -0,0 +1,43 @@ |
|||
import Vue from 'vue' |
|||
import Vuex from 'vuex' |
|||
Vue.use(Vuex) |
|||
|
|||
const store = new Vuex.Store({ |
|||
state: { |
|||
apifile:'http://museumcloudfile.aiyxlib.com', |
|||
resdownend:false,//下载更新提示弹框
|
|||
resfalsend:false, |
|||
//当前下载 成功 的个数
|
|||
videodown:0, |
|||
bookdown:0, |
|||
docdown:0, |
|||
themedown:0, |
|||
vrdown:0, |
|||
//当前下载 失败 的个数
|
|||
videofalse:0, |
|||
bookfalse:0, |
|||
docfalse:0, |
|||
themefalse:0, |
|||
vrfalse:0, |
|||
}, |
|||
mutations: { |
|||
downpop(state, info) {state.resdownend = info}, |
|||
falsepop(state, info) {state.resfalsend = info}, |
|||
// 书
|
|||
bookData(state, info) {state.bookdown = info}, |
|||
bookFalse(state, info) {state.bookfalse = info}, |
|||
// 阅文
|
|||
docData(state, info) {state.docdown = info}, |
|||
docFalse(state, info) {state.docfalse = info}, |
|||
// 视频
|
|||
videoData(state, info) {state.videodown = info}, |
|||
videoFalse(state, info) {state.videofalse = info}, |
|||
// vr
|
|||
vrData(state, info) {state.vrdown = info}, |
|||
vrFalse(state, info) {state.vrfalse = info}, |
|||
// 阅刊
|
|||
themeData(state, info) {state.themedown = info}, |
|||
themeFalse(state, info) {state.themefalse = info} |
|||
} |
|||
}) |
|||
export default store |
|||
@ -0,0 +1,76 @@ |
|||
/** |
|||
* 这里是uni-app内置的常用样式变量 |
|||
* |
|||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 |
|||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App |
|||
* |
|||
*/ |
|||
|
|||
/** |
|||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 |
|||
* |
|||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 |
|||
*/ |
|||
|
|||
/* 颜色变量 */ |
|||
|
|||
/* 行为相关颜色 */ |
|||
$uni-color-primary: #007aff; |
|||
$uni-color-success: #4cd964; |
|||
$uni-color-warning: #f0ad4e; |
|||
$uni-color-error: #dd524d; |
|||
|
|||
/* 文字基本颜色 */ |
|||
$uni-text-color:#333;//基本色 |
|||
$uni-text-color-inverse:#fff;//反色 |
|||
$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 |
|||
$uni-text-color-placeholder: #808080; |
|||
$uni-text-color-disable:#c0c0c0; |
|||
|
|||
/* 背景颜色 */ |
|||
$uni-bg-color:#ffffff; |
|||
$uni-bg-color-grey:#f8f8f8; |
|||
$uni-bg-color-hover:#f1f1f1;//点击状态颜色 |
|||
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 |
|||
|
|||
/* 边框颜色 */ |
|||
$uni-border-color:#c8c7cc; |
|||
|
|||
/* 尺寸变量 */ |
|||
|
|||
/* 文字尺寸 */ |
|||
$uni-font-size-sm:12px; |
|||
$uni-font-size-base:14px; |
|||
$uni-font-size-lg:16; |
|||
|
|||
/* 图片尺寸 */ |
|||
$uni-img-size-sm:20px; |
|||
$uni-img-size-base:26px; |
|||
$uni-img-size-lg:40px; |
|||
|
|||
/* Border Radius */ |
|||
$uni-border-radius-sm: 2px; |
|||
$uni-border-radius-base: 3px; |
|||
$uni-border-radius-lg: 6px; |
|||
$uni-border-radius-circle: 50%; |
|||
|
|||
/* 水平间距 */ |
|||
$uni-spacing-row-sm: 5px; |
|||
$uni-spacing-row-base: 10px; |
|||
$uni-spacing-row-lg: 15px; |
|||
|
|||
/* 垂直间距 */ |
|||
$uni-spacing-col-sm: 4px; |
|||
$uni-spacing-col-base: 8px; |
|||
$uni-spacing-col-lg: 12px; |
|||
|
|||
/* 透明度 */ |
|||
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 |
|||
|
|||
/* 文章场景相关 */ |
|||
$uni-color-title: #2C405A; // 文章标题颜色 |
|||
$uni-font-size-title:20px; |
|||
$uni-color-subtitle: #555555; // 二级标题颜色 |
|||
$uni-font-size-subtitle:26px; |
|||
$uni-color-paragraph: #3F536E; // 文章段落颜色 |
|||
$uni-font-size-paragraph:15px; |
|||
@ -0,0 +1 @@ |
|||
https://ide.dcloud.net.cn/build/download/84460900-a330-11ec-8ae5-1fdeb81905d8 |
|||
@ -0,0 +1 @@ |
|||
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 |
|||
@ -0,0 +1,3 @@ |
|||
andrCertfile=E:/yxk/canvasScreen/doc/c31fd196071d405c9a4d5755ccce94cf.keystore |
|||
andrCertAlias=aiyxcsclient |
|||
andrCertPass=2ZM9CIQuQU6XQBViUsrtNQ== |
|||
|
After Width: 72 | Height: 72 | Size: 3.3 KiB |
|
After Width: 96 | Height: 96 | Size: 4.4 KiB |
|
After Width: 144 | Height: 144 | Size: 7.9 KiB |
|
After Width: 192 | Height: 192 | Size: 12 KiB |
1
unpackage/cache/wgt/__UNI__487D0A3/__uniappchooselocation.js
File diff suppressed because it is too large
View File
|
After Width: 200 | Height: 200 | Size: 5.7 KiB |
1
unpackage/cache/wgt/__UNI__487D0A3/__uniappes6.js
File diff suppressed because it is too large
View File
1
unpackage/cache/wgt/__UNI__487D0A3/__uniappopenlocation.js
File diff suppressed because it is too large
View File
1
unpackage/cache/wgt/__UNI__487D0A3/__uniapppicker.js
File diff suppressed because it is too large
View File
8
unpackage/cache/wgt/__UNI__487D0A3/__uniappquill.js
File diff suppressed because it is too large
View File
1
unpackage/cache/wgt/__UNI__487D0A3/__uniappquillimageresize.js
File diff suppressed because it is too large
View File
1
unpackage/cache/wgt/__UNI__487D0A3/__uniappscan.js
File diff suppressed because it is too large
View File
|
After Width: 165 | Height: 165 | Size: 2.0 KiB |
@ -0,0 +1,25 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="zh-CN"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8" /> |
|||
<script> |
|||
var __UniViewStartTime__ = Date.now(); |
|||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || |
|||
CSS.supports('top: constant(a)')) |
|||
document.write( |
|||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + |
|||
(coverSupport ? ', viewport-fit=cover' : '') + '" />') |
|||
</script> |
|||
<title>View</title> |
|||
<link rel="stylesheet" href="view.css" /> |
|||
</head> |
|||
|
|||
<body> |
|||
<div id="app"></div> |
|||
<script src="__uniappes6.js"></script> |
|||
<script src="view.umd.min.js"></script> |
|||
<script src="app-view.js"></script> |
|||
</body> |
|||
|
|||
</html> |
|||
@ -0,0 +1,8 @@ |
|||
|
|||
var isReady=false;var onReadyCallbacks=[]; |
|||
var isServiceReady=false;var onServiceReadyCallbacks=[]; |
|||
var __uniConfig = {"pages":["pages/index/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"画屏","compilerVersion":"3.3.11","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
|||
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}}]; |
|||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
|||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
|||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); |
|||
@ -0,0 +1 @@ |
|||
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]); |
|||
1
unpackage/cache/wgt/__UNI__487D0A3/app-service.js
File diff suppressed because it is too large
View File
1
unpackage/cache/wgt/__UNI__487D0A3/app-view.js
File diff suppressed because it is too large
View File
@ -0,0 +1 @@ |
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__487D0A3","name":"画屏","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","proapp@2x":"unpackage/res/icons/167x167.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png"},"prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"com.aiyxcs.zhp","password":"2ZM9CIQuQU6XQBViUsrtNQ==","aliasname":"aiyxcsclient","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":["portrait-primary"],"splashscreen":{}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.3.11","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html","adid":"128739060101"}} |
|||
|
After Width: 72 | Height: 72 | Size: 3.9 KiB |
1
unpackage/cache/wgt/__UNI__487D0A3/view.css
File diff suppressed because it is too large
View File
6
unpackage/cache/wgt/__UNI__487D0A3/view.umd.min.js
File diff suppressed because it is too large
View File
1
unpackage/dist/build/app-plus/__uniappchooselocation.js
File diff suppressed because it is too large
View File
|
After Width: 200 | Height: 200 | Size: 5.7 KiB |
1
unpackage/dist/build/app-plus/__uniappes6.js
File diff suppressed because it is too large
View File
1
unpackage/dist/build/app-plus/__uniappopenlocation.js
File diff suppressed because it is too large
View File
1
unpackage/dist/build/app-plus/__uniapppicker.js
File diff suppressed because it is too large
View File
8
unpackage/dist/build/app-plus/__uniappquill.js
File diff suppressed because it is too large
View File
1
unpackage/dist/build/app-plus/__uniappquillimageresize.js
File diff suppressed because it is too large
View File
1
unpackage/dist/build/app-plus/__uniappscan.js
File diff suppressed because it is too large
View File
|
After Width: 165 | Height: 165 | Size: 2.0 KiB |
@ -0,0 +1,25 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="zh-CN"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8" /> |
|||
<script> |
|||
var __UniViewStartTime__ = Date.now(); |
|||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || |
|||
CSS.supports('top: constant(a)')) |
|||
document.write( |
|||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + |
|||
(coverSupport ? ', viewport-fit=cover' : '') + '" />') |
|||
</script> |
|||
<title>View</title> |
|||
<link rel="stylesheet" href="view.css" /> |
|||
</head> |
|||
|
|||
<body> |
|||
<div id="app"></div> |
|||
<script src="__uniappes6.js"></script> |
|||
<script src="view.umd.min.js"></script> |
|||
<script src="app-view.js"></script> |
|||
</body> |
|||
|
|||
</html> |
|||
@ -0,0 +1,8 @@ |
|||
|
|||
var isReady=false;var onReadyCallbacks=[]; |
|||
var isServiceReady=false;var onServiceReadyCallbacks=[]; |
|||
var __uniConfig = {"pages":["pages/index/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"画屏","compilerVersion":"3.3.11","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
|||
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}}]; |
|||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
|||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
|||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); |
|||
@ -0,0 +1 @@ |
|||
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]); |
|||
1
unpackage/dist/build/app-plus/app-service.js
File diff suppressed because it is too large
View File
1
unpackage/dist/build/app-plus/app-view.js
File diff suppressed because it is too large
View File
@ -0,0 +1 @@ |
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__487D0A3","name":"画屏","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.3.11","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}} |
|||
|
After Width: 72 | Height: 72 | Size: 3.9 KiB |
1
unpackage/dist/build/app-plus/view.css
File diff suppressed because it is too large
View File
6
unpackage/dist/build/app-plus/view.umd.min.js
File diff suppressed because it is too large
View File
1
unpackage/dist/dev/app-plus/__uniappchooselocation.js
File diff suppressed because it is too large
View File
|
After Width: 200 | Height: 200 | Size: 5.7 KiB |
1
unpackage/dist/dev/app-plus/__uniappes6.js
File diff suppressed because it is too large
View File
1
unpackage/dist/dev/app-plus/__uniappopenlocation.js
File diff suppressed because it is too large
View File
1
unpackage/dist/dev/app-plus/__uniapppicker.js
File diff suppressed because it is too large
View File
8
unpackage/dist/dev/app-plus/__uniappquill.js
File diff suppressed because it is too large
View File
1
unpackage/dist/dev/app-plus/__uniappquillimageresize.js
File diff suppressed because it is too large
View File
1
unpackage/dist/dev/app-plus/__uniappscan.js
File diff suppressed because it is too large
View File
|
After Width: 165 | Height: 165 | Size: 2.0 KiB |