var t, e = require("../../@babel/runtime/helpers/typeof");
t = function() {
var t = void 0, n = [ "touchstarted", "touchmoved", "touchended" ];
function o(t) {
for (var e = [], o = arguments.length - 1; o-- > 0; ) e[o] = arguments[o + 1];
n.forEach(function(n, o) {
void 0 !== e[o] && (t[n] = e[o]);
});
}
function r() {
return t || (t = wx.getSystemInfoSync()), t;
}
var i = {}, a = {
id: {
default: "cropper",
get: function() {
return i.id;
},
set: function(t) {
"string" != typeof t && console.error("id:" + t + " is invalid"), i.id = t;
}
},
width: {
default: 750,
get: function() {
return i.width;
},
set: function(t) {
"number" != typeof t && console.error("width:" + t + " is invalid"), i.width = t;
}
},
height: {
default: 750,
get: function() {
return i.height;
},
set: function(t) {
"number" != typeof t && console.error("height:" + t + " is invalid"), i.height = t;
}
},
pixelRatio: {
default: r().pixelRatio,
get: function() {
return i.pixelRatio;
},
set: function(t) {
"number" != typeof t && console.error("pixelRatio:" + t + " is invalid"), i.pixelRatio = t;
}
},
scale: {
default: 2.5,
get: function() {
return i.scale;
},
set: function(t) {
"number" != typeof t && console.error("scale:" + t + " is invalid"), i.scale = t;
}
},
zoom: {
default: 5,
get: function() {
return i.zoom;
},
set: function(t) {
"number" != typeof t ? console.error("zoom:" + t + " is invalid") : (t < 0 || t > 10) && console.error("zoom should be ranged in 0 ~ 10"),
i.zoom = t;
}
},
src: {
default: "",
get: function() {
return i.src;
},
set: function(t) {
"string" != typeof t && console.error("src:" + t + " is invalid"), i.src = t;
}
},
cut: {
default: {},
get: function() {
return i.cut;
},
set: function(t) {
"object" !== e(t) && console.error("cut:" + t + " is invalid"), i.cut = t;
}
},
boundStyle: {
default: {},
get: function() {
return i.boundStyle;
},
set: function(t) {
"object" !== e(t) && console.error("boundStyle:" + t + " is invalid"), i.boundStyle = t;
}
},
onReady: {
default: null,
get: function() {
return i.ready;
},
set: function(t) {
i.ready = t;
}
},
onBeforeImageLoad: {
default: null,
get: function() {
return i.beforeImageLoad;
},
set: function(t) {
i.beforeImageLoad = t;
}
},
onImageLoad: {
default: null,
get: function() {
return i.imageLoad;
},
set: function(t) {
i.imageLoad = t;
}
},
onBeforeDraw: {
default: null,
get: function() {
return i.beforeDraw;
},
set: function(t) {
i.beforeDraw = t;
}
}
}, c = r().windowWidth, u = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
function s(t, e) {
return t(e = {
exports: {}
}, e.exports), e.exports;
}
var h = s(function(t, n) {
n.isStr = function(t) {
return "string" == typeof t;
}, n.isNum = function(t) {
return "number" == typeof t;
}, n.isArr = Array.isArray, n.isUndef = function(t) {
return void 0 === t;
}, n.isTrue = function(t) {
return !0 === t;
}, n.isFalse = function(t) {
return !1 === t;
}, n.isFunc = function(t) {
return "function" == typeof t;
}, n.isObj = n.isObject = function(t) {
return null !== t && "object" === e(t);
};
var o = Object.prototype.toString;
n.isPlainObject = function(t) {
return "[object Object]" === o.call(t);
};
var r = Object.prototype.hasOwnProperty;
n.hasOwn = function(t, e) {
return r.call(t, e);
}, n.noop = function(t, e, n) {}, n.isValidArrayIndex = function(t) {
var e = parseFloat(String(t));
return e >= 0 && Math.floor(e) === e && isFinite(t);
};
}), d = h.isFunc, f = h.isPlainObject, l = [ "ready", "beforeImageLoad", "beforeDraw", "imageLoad" ];
function g(t) {
return function(e) {
for (var n = [], o = arguments.length - 1; o-- > 0; ) n[o] = arguments[o + 1];
return void 0 === e && (e = {}), new Promise(function(o, r) {
e.success = function(t) {
o(t);
}, e.fail = function(t) {
r(t);
}, t.apply(void 0, [ e ].concat(n));
});
};
}
function p(t, e) {
return void 0 === e && (e = !1), new Promise(function(n) {
t.draw(e, n);
});
}
var v = g(wx.getImageInfo), x = g(wx.canvasToTempFilePath), y = s(function(t, n) {
!function(o) {
var r = n, i = t && t.exports == r && t, a = "object" == e(u) && u;
a.global !== a && a.window !== a || (o = a);
var c = function(t) {
this.message = t;
};
(c.prototype = new Error()).name = "InvalidCharacterError";
var s = function(t) {
throw new c(t);
}, h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = /[\t\n\f\r ]/g, f = {
encode: function(t) {
t = String(t), /[^\0-\xFF]/.test(t) && s("The string to be encoded contains characters outside of the Latin1 range.");
for (var e, n, o, r, i = t.length % 3, a = "", c = -1, u = t.length - i; ++c < u; ) e = t.charCodeAt(c) << 16,
n = t.charCodeAt(++c) << 8, o = t.charCodeAt(++c), a += h.charAt((r = e + n + o) >> 18 & 63) + h.charAt(r >> 12 & 63) + h.charAt(r >> 6 & 63) + h.charAt(63 & r);
return 2 == i ? (e = t.charCodeAt(c) << 8, n = t.charCodeAt(++c), a += h.charAt((r = e + n) >> 10) + h.charAt(r >> 4 & 63) + h.charAt(r << 2 & 63) + "=") : 1 == i && (r = t.charCodeAt(c),
a += h.charAt(r >> 2) + h.charAt(r << 4 & 63) + "=="), a;
},
decode: function(t) {
var e = (t = String(t).replace(d, "")).length;
e % 4 == 0 && (e = (t = t.replace(/==?$/, "")).length), (e % 4 == 1 || /[^+a-zA-Z0-9/]/.test(t)) && s("Invalid character: the string to be decoded is not correctly encoded.");
for (var n, o, r = 0, i = "", a = -1; ++a < e; ) o = h.indexOf(t.charAt(a)), n = r % 4 ? 64 * n + o : o,
r++ % 4 && (i += String.fromCharCode(255 & n >> (-2 * r & 6)));
return i;
},
version: "0.1.0"
};
if (r && !r.nodeType) if (i) i.exports = f; else for (var l in f) f.hasOwnP
没有合适的资源?快使用搜索试试~ 我知道了~
姓氏头像框多模板制作微信小程序源码下载,复古等等超多模板支持流量主
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共129个文件
js:36个
json:27个
wxss:26个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
需积分: 0 0 下载量 72 浏览量
2023-05-04
14:12:10
上传
评论
收藏 185KB ZIP 举报
温馨提示
该源码免服务器和域名,操作简单 内包含了多种模板制作,风格多样 比如最近比较热门的姓氏头像,虽然该主题是以姓氏为主 但是姓氏主题也分很多种模板,并以复古,酷炫,清纯等等为模板 另外在制作的时候还支持短语选择哟,离职短语,姓氏短语等等 至于具体的就 不多说了 对了其实该款源码在刀客拿到手的时候是有一点问题的就是最后生成的时候会卡在验证这里 不过后来经过一位热心的网友的修复,目前已经解决该问题了,直接绕过验证生成 安装方法还是老样子,微信开发者工具打开源码然后设置一下合法域名即可上传审核
资源推荐
资源详情
资源评论
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
共 129 条
- 1
- 2
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/3d1636c38bc941e4aa7c94c418076c8a_lmrylll.jpg!1)
lmr廖
- 粉丝: 287
- 资源: 158
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)