@ -1,2 +1,2 @@
|
||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>迈柯唯访客在线核销</title><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><link rel=stylesheet href=/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.198b5f21.js></script><script src=/static/js/index.71cd8bb3.js></script></body></html>
|
||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>mkw-visit-wx</title><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><link rel=stylesheet href=/cancel/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/cancel/static/js/chunk-vendors.5250993a.js></script><script src=/cancel/static/js/index.03cfa42f.js></script></body></html>
|
||||
@ -0,0 +1,90 @@
|
||||
.db{
|
||||
|
||||
}
|
||||
.db>view:first-child{
|
||||
font-size:32rpx;
|
||||
padding:20rpx
|
||||
}
|
||||
.dblist{
|
||||
|
||||
}
|
||||
.dbitem{
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
padding:40rpx 30rpx;
|
||||
padding-top:0;
|
||||
margin-bottom:30rpx
|
||||
}
|
||||
.dbtype{
|
||||
position: absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
padding:20rpx 40rpx;
|
||||
background-color:#4f607e;
|
||||
border-radius:0 20rpx 0 20rpx;
|
||||
color:#fff
|
||||
}
|
||||
.dbstatus{
|
||||
color:#303639;
|
||||
}
|
||||
.dbstatus>view:first-child{
|
||||
font-size: 50rpx;
|
||||
margin-bottom:20rpx
|
||||
}
|
||||
.dbinfo{
|
||||
padding:30rpx 0
|
||||
}
|
||||
.dbinfo>view{
|
||||
/* padding-right:60rpx; */
|
||||
width: 50%;
|
||||
}
|
||||
.dbinfo>view:first-child{
|
||||
border-right: 1px solid #f0f4f7;
|
||||
}
|
||||
.dbinfo>view:last-child{
|
||||
padding-left:40rpx;
|
||||
padding-right:0
|
||||
}
|
||||
.dbinfo>view view{
|
||||
padding-bottom:20rpx
|
||||
}
|
||||
.dbinfo>view view:last-child{
|
||||
padding-bottom:0rpx
|
||||
}
|
||||
.dbinfo>view view text{
|
||||
color:#8f9596;
|
||||
}
|
||||
.dbinfo view.onechild:first-child{
|
||||
padding-left: 0;
|
||||
border-right: none;
|
||||
}
|
||||
.dblong{
|
||||
color:#8f9596;
|
||||
font-size: 30rpx;
|
||||
padding-top:30rpx;
|
||||
border-top: 1px solid #f0f4f7;
|
||||
}
|
||||
.bm{
|
||||
border-bottom: 1px solid #f0f4f7;
|
||||
padding:30rpx 0
|
||||
}
|
||||
.dbbtns{
|
||||
background: #fff;
|
||||
padding: 20rpx;
|
||||
padding-bottom: 0rpx;
|
||||
}
|
||||
.dbbtns text{
|
||||
padding: 20rpx 50rpx;
|
||||
background: #eceefe;
|
||||
border-radius: 20rpx;
|
||||
margin-bottom: 10px;
|
||||
width: 15%;
|
||||
text-align: center;
|
||||
}
|
||||
.dbbtns text.active{
|
||||
margin-bottom: 0;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
background-color: #4f607e;
|
||||
color:#fff
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
body {
|
||||
font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
|
||||
Arial, PingFang SC-Light, Microsoft YaHei;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.justify-end {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.justify-left {
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
}
|
||||
.align-start {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
@ -0,0 +1,223 @@
|
||||
@font-face {
|
||||
font-family: 'iconfont'; /* Project id 3356385 */
|
||||
src: url('https://at.alicdn.com/t/font_3356385_sqfmhev64k.woff2?t=1654076004192') format('woff2'),
|
||||
url('https://at.alicdn.com/t/font_3356385_sqfmhev64k.woff?t=1654076004192') format('woff'),
|
||||
url('https://at.alicdn.com/t/font_3356385_sqfmhev64k.ttf?t=1654076004192') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-checkboxweixuanzhongxiao:before {
|
||||
content: "\e933";
|
||||
}
|
||||
|
||||
.icon-ditu:before {
|
||||
content: "\e61a";
|
||||
}
|
||||
|
||||
.icon-icon_xuzhixiao:before {
|
||||
content: "\e639";
|
||||
}
|
||||
|
||||
.icon-ziyuan:before {
|
||||
content: "\e614";
|
||||
}
|
||||
|
||||
.icon-lianxiwomen:before {
|
||||
content: "\e608";
|
||||
}
|
||||
|
||||
.icon-changjianwenti:before {
|
||||
content: "\e61d";
|
||||
}
|
||||
|
||||
.icon-tousujianyi:before {
|
||||
content: "\e60b";
|
||||
}
|
||||
|
||||
.icon-xuzhixianxiao:before {
|
||||
content: "\e8fc";
|
||||
}
|
||||
|
||||
.icon-bus-alt:before {
|
||||
content: "\e609";
|
||||
}
|
||||
|
||||
.icon-tingchechang1:before {
|
||||
content: "\e6de";
|
||||
}
|
||||
|
||||
.icon-dangjianhuodong:before {
|
||||
content: "\e6bb";
|
||||
}
|
||||
|
||||
.icon-daohang1:before {
|
||||
content: "\e640";
|
||||
}
|
||||
|
||||
.icon-danwei:before {
|
||||
content: "\e610";
|
||||
}
|
||||
|
||||
.icon-tingchewei1:before {
|
||||
content: "\e7f0";
|
||||
}
|
||||
|
||||
.icon-xitongpeizhi:before {
|
||||
content: "\e684";
|
||||
}
|
||||
|
||||
.icon-xitongshezhi:before {
|
||||
content: "\e64f";
|
||||
}
|
||||
|
||||
.icon-fenxiang:before {
|
||||
content: "\e7cd";
|
||||
}
|
||||
|
||||
.icon-yijianfankui:before {
|
||||
content: "\e7d7";
|
||||
}
|
||||
|
||||
.icon-daohang:before {
|
||||
content: "\e651";
|
||||
}
|
||||
|
||||
.icon-iconfontgerenzhongxin:before {
|
||||
content: "\e646";
|
||||
}
|
||||
|
||||
.icon-gerenzhongxin:before {
|
||||
content: "\e652";
|
||||
}
|
||||
|
||||
.icon-fanwei:before {
|
||||
content: "\e643";
|
||||
}
|
||||
|
||||
.icon-xuzhi:before {
|
||||
content: "\e607";
|
||||
}
|
||||
|
||||
.icon-jiaoyujidi:before {
|
||||
content: "\e62b";
|
||||
}
|
||||
|
||||
.icon-gerenzhongxin1:before {
|
||||
content: "\e71d";
|
||||
}
|
||||
|
||||
.icon-ditu-dibiao:before {
|
||||
content: "\e602";
|
||||
}
|
||||
|
||||
.icon-huodongfangshi:before {
|
||||
content: "\e66b";
|
||||
}
|
||||
|
||||
.icon-shijian:before {
|
||||
content: "\e8c5";
|
||||
}
|
||||
|
||||
.icon-tingchechang:before {
|
||||
content: "\e70b";
|
||||
}
|
||||
|
||||
.icon-gerenzhongxin2:before {
|
||||
content: "\e72a";
|
||||
}
|
||||
|
||||
.icon-youkexuzhi:before {
|
||||
content: "\e606";
|
||||
}
|
||||
|
||||
.icon-canguanzhinan:before {
|
||||
content: "\e66c";
|
||||
}
|
||||
|
||||
.icon-shouye:before {
|
||||
content: "\e605";
|
||||
}
|
||||
|
||||
.icon-tongzhi:before {
|
||||
content: "\e816";
|
||||
}
|
||||
|
||||
.icon-fenbaodanwei:before {
|
||||
content: "\e6ea";
|
||||
}
|
||||
|
||||
.icon-huodong:before {
|
||||
content: "\e7bf";
|
||||
}
|
||||
|
||||
.icon-zhaijidi:before {
|
||||
content: "\e649";
|
||||
}
|
||||
|
||||
.icon-renshu:before {
|
||||
content: "\e708";
|
||||
}
|
||||
|
||||
.icon-gujian:before {
|
||||
content: "\e688";
|
||||
}
|
||||
|
||||
.icon-jidiguanlimian-01:before {
|
||||
content: "\e689";
|
||||
}
|
||||
|
||||
.icon-huodongyuyue:before {
|
||||
content: "\e620";
|
||||
}
|
||||
|
||||
.icon-shuzhuangtu:before {
|
||||
content: "\e600";
|
||||
}
|
||||
|
||||
.icon-zhinan:before {
|
||||
content: "\e8d0";
|
||||
}
|
||||
|
||||
.icon-dingdan:before {
|
||||
content: "\e645";
|
||||
}
|
||||
|
||||
.icon-mingxinghuodong:before {
|
||||
content: "\e8b3";
|
||||
}
|
||||
|
||||
.icon-yuyuezhongxin:before {
|
||||
content: "\e626";
|
||||
}
|
||||
|
||||
.icon-huodongzhongxin:before {
|
||||
content: "\e628";
|
||||
}
|
||||
|
||||
.icon-weizhixiangqing:before {
|
||||
content: "\e8ab";
|
||||
}
|
||||
|
||||
.icon-tingchewei:before {
|
||||
content: "\e655";
|
||||
}
|
||||
|
||||
.icon-ziyuanzhongxin:before {
|
||||
content: "\e604";
|
||||
}
|
||||
|
||||
.icon-tuijian:before {
|
||||
content: "\e627";
|
||||
}
|
||||
|
||||
.icon-icon-jiantou2:before {
|
||||
content: "\e603";
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 182 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 384 B |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 849 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 417 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-visit-successform"],{"07fc":function(t,i,n){"use strict";n("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={data:function(){return{succ:n("7f53"),iscall:!1}},onLoad:function(t){this.iscall=!!t.iscall},methods:{toHistory:function(){var t="/pages/visit/visithistory";this.iscall&&(t="/pages/bd/record?type=call"),uni.redirectTo({url:t})}}};i.default=e},2386:function(t,i,n){"use strict";var e=n("f3a2"),a=n.n(e);a.a},"7f53":function(t,i,n){t.exports=n.p+"static/img/success.png"},"97fb":function(t,i,n){var e=n("c86c");i=e(!1),i.push([t.i,".containers[data-v-689d762f]{background-color:#fff;min-height:80vh;padding:%?20?%;position:relative}.containers>uni-view[data-v-689d762f]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:70%;text-align:center}.containers>uni-view img[data-v-689d762f]{width:%?200?%;height:%?200?%}.containers>uni-view uni-view[data-v-689d762f]{margin-bottom:%?40?%}.containers>uni-view uni-view[data-v-689d762f]:first-child{font-size:%?40?%;color:#000}.containers>uni-view uni-button[data-v-689d762f]{background-color:#4f607e;color:#fff}",""]),t.exports=i},e490:function(t,i,n){"use strict";n.r(i);var e=n("f02f"),a=n("e936");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(o);n("2386");var c=n("828b"),r=Object(c["a"])(a["default"],e["b"],e["c"],!1,null,"689d762f",null,!1,e["a"],void 0);i["default"]=r.exports},e936:function(t,i,n){"use strict";n.r(i);var e=n("07fc"),a=n.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(o);i["default"]=a.a},f02f:function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{staticClass:"containers"},[n("v-uni-view",[n("img",{attrs:{src:t.succ,alt:""}}),n("v-uni-view",[t._v("提交成功"+t._s(t.iscall?"":",等待审核"))]),t.iscall?t._e():n("v-uni-view",[t._v("审核通过后,系统将在第一时间通知你")]),n("v-uni-view",[n("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toHistory.apply(void 0,arguments)}}},[t._v("我的拜访记录")])],1)],1)],1)},a=[]},f3a2:function(t,i,n){var e=n("97fb");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("967d").default;a("c11323b8",e,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 673 B |
@ -0,0 +1,122 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
html,
|
||||
body,
|
||||
canvas {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: hidden;
|
||||
background-color: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="lime-signature"></canvas>
|
||||
<script type="text/javascript" src="./uni.webview.1.5.3.js"></script>
|
||||
<script type="text/javascript" src="./signature.js"></script>
|
||||
<script>
|
||||
var signature = null;
|
||||
var timer = null;
|
||||
var isStart = false;
|
||||
var options = null
|
||||
console.log = function(...args) {
|
||||
postMessage(args);
|
||||
};
|
||||
// function stringify(key, value) {
|
||||
// if (typeof value === 'object' && value !== null) {
|
||||
// if (cache.indexOf(value) !== -1) {
|
||||
// return;
|
||||
// }
|
||||
// cache.push(value);
|
||||
// }
|
||||
// return value;
|
||||
// };
|
||||
function emit(event, data) {
|
||||
postMessage({
|
||||
event,
|
||||
data: typeof data !== "object" && data !== null ? data : JSON.stringify(data),
|
||||
});
|
||||
// cache = [];
|
||||
}
|
||||
|
||||
function postMessage(data) {
|
||||
uni.postMessage({
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
function update(v = {}) {
|
||||
if (signature) {
|
||||
options = v
|
||||
signature.pen.setOption(v);
|
||||
} else {
|
||||
signature = new Signature.Signature({el: "lime-signature"});
|
||||
canvasEl = signature.canvas.get("el");
|
||||
options = v
|
||||
signature.pen.setOption(v)
|
||||
const width = signature.canvas.get("width");
|
||||
const height = signature.canvas.get("height");
|
||||
|
||||
emit({changeSize: {width,height}})
|
||||
}
|
||||
}
|
||||
|
||||
function clear() {
|
||||
signature.clear()
|
||||
}
|
||||
|
||||
function undo() {
|
||||
signature.undo()
|
||||
}
|
||||
function isEmpty() {
|
||||
const isEmpty = signature.isEmpty()
|
||||
emit({isEmpty});
|
||||
}
|
||||
function save(args) {
|
||||
// delete args.success;
|
||||
// delete args.fail;
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(() => {
|
||||
let path = canvasEl.toDataURL()
|
||||
if(options.backgroundColor) {
|
||||
const canvas = document.createElement('canvas')
|
||||
const width = signature.canvas.get('width')
|
||||
const height = signature.canvas.get('height')
|
||||
const pixelRatio = signature.canvas.get('pixelRatio')
|
||||
canvas.width = width * pixelRatio
|
||||
canvas.height = height * pixelRatio
|
||||
const context = canvas.getContext('2d')
|
||||
context.scale(pixelRatio, pixelRatio)
|
||||
context.fillStyle = backgroundColor
|
||||
context.fillRect(0,0, width, height)
|
||||
context.drawImage(signature.canvas.get('el'), 0, 0, width, height)
|
||||
path = canvas.toDataURL()
|
||||
canvas.remove()
|
||||
}
|
||||
if (typeof path == "string") {
|
||||
const index = Math.ceil(path.length / 8);
|
||||
for (var i = 0; i < 8; i++) {
|
||||
if (i == 7) {
|
||||
emit({"success": path.substr(i * index, index)});
|
||||
} else {
|
||||
emit({"file": path.substr(i * index, index)});
|
||||
}
|
||||
}
|
||||
} else {
|
||||
console.error("canvas no data");
|
||||
emit({"fail": "canvas no data"});
|
||||
}
|
||||
}, 30);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||