fix a small bug.

main
PeterAlbus 11 months ago
parent 8c686dfe2f
commit 23ba8fd71d

@ -2631,12 +2631,12 @@ src_button.install = function (app) {
};
/* harmony default export */ var packages_button = (src_button);
// CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!./node_modules/.pnpm/babel-loader@8.2.3_2ca4133eaad1ede48c0159d2a9c3555f/node_modules/babel-loader/lib!./node_modules/.pnpm/ts-loader@6.2.2_typescript@4.1.6/node_modules/ts-loader??ref--14-3!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/templateLoader.js??ref--7!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist??ref--1-1!./packages/Share/src/Share.vue?vue&type=template&id=de3f7d56&ts=true
// CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!./node_modules/.pnpm/babel-loader@8.2.3_2ca4133eaad1ede48c0159d2a9c3555f/node_modules/babel-loader/lib!./node_modules/.pnpm/ts-loader@6.2.2_typescript@4.1.6/node_modules/ts-loader??ref--14-3!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/templateLoader.js??ref--7!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist??ref--1-1!./packages/Share/src/Share.vue?vue&type=template&id=657a1948&ts=true
var Sharevue_type_template_id_de3f7d56_ts_true_hoisted_1 = {
var Sharevue_type_template_id_657a1948_ts_true_hoisted_1 = {
class: "social-share"
};
var Sharevue_type_template_id_de3f7d56_ts_true_hoisted_2 = {
var Sharevue_type_template_id_657a1948_ts_true_hoisted_2 = {
class: "wechat-qrcode"
};
@ -2646,10 +2646,10 @@ var _hoisted_4 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vu
class: "help"
}, "扫描二维码,点击右上角分享", -1);
function Sharevue_type_template_id_de3f7d56_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
function Sharevue_type_template_id_657a1948_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
var _component_qrcode_vue = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("qrcode-vue");
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Sharevue_type_template_id_de3f7d56_ts_true_hoisted_1, [_ctx.weibo ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Sharevue_type_template_id_657a1948_ts_true_hoisted_1, [_ctx.weibo ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", {
key: 0,
class: "social-share-icon icon-weibo",
style: {
@ -2679,7 +2679,7 @@ function Sharevue_type_template_id_de3f7d56_ts_true_render(_ctx, _cache, $props,
function () {
return _ctx.shareWeChat && _ctx.shareWeChat.apply(_ctx, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Sharevue_type_template_id_de3f7d56_ts_true_hoisted_2, [_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_qrcode_vue, {
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Sharevue_type_template_id_657a1948_ts_true_hoisted_2, [_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_qrcode_vue, {
value: _ctx.url,
size: 120,
level: "H",
@ -2758,7 +2758,7 @@ function Sharevue_type_template_id_de3f7d56_ts_true_render(_ctx, _cache, $props,
})
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]);
}
// CONCATENATED MODULE: ./packages/Share/src/Share.vue?vue&type=template&id=de3f7d56&ts=true
// CONCATENATED MODULE: ./packages/Share/src/Share.vue?vue&type=template&id=657a1948&ts=true
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.20.3/node_modules/core-js/modules/es.symbol.js
var es_symbol = __webpack_require__("a815");
@ -2864,7 +2864,7 @@ var qrcode_vue_browser_default = /*#__PURE__*/__webpack_require__.n(qrcode_vue_b
};
var shareQZone = function shareQZone() {
window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + encodeURIComponent(props.url) + "&title=" + encodeURIComponent(props.title) + "&desc" + encodeURIComponent(props.description) + "&summary=" + encodeURIComponent(props.description) + "&site=" + encodeURIComponent(props.source) + "&pics=" + encodeURIComponent(props.image));
window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + encodeURIComponent(props.url) + "&title=" + encodeURIComponent(props.title) + "&desc=" + encodeURIComponent(props.description) + "&summary=" + encodeURIComponent(props.description) + "&site=" + encodeURIComponent(props.source) + "&pics=" + encodeURIComponent(props.image));
};
var shareLinkedin = function shareLinkedin() {
@ -2918,7 +2918,7 @@ var qrcode_vue_browser_default = /*#__PURE__*/__webpack_require__.n(qrcode_vue_b
const Share_exports_ = /*#__PURE__*/exportHelper_default()(Sharevue_type_script_lang_ts, [['render',Sharevue_type_template_id_de3f7d56_ts_true_render]])
const Share_exports_ = /*#__PURE__*/exportHelper_default()(Sharevue_type_script_lang_ts, [['render',Sharevue_type_template_id_657a1948_ts_true_render]])
/* harmony default export */ var Share = (Share_exports_);
// EXTERNAL MODULE: ./packages/Share/src/assets/css/share.min.css

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -2640,12 +2640,12 @@ src_button.install = function (app) {
};
/* harmony default export */ var packages_button = (src_button);
// CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!./node_modules/.pnpm/babel-loader@8.2.3_2ca4133eaad1ede48c0159d2a9c3555f/node_modules/babel-loader/lib!./node_modules/.pnpm/ts-loader@6.2.2_typescript@4.1.6/node_modules/ts-loader??ref--14-3!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/templateLoader.js??ref--7!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist??ref--1-1!./packages/Share/src/Share.vue?vue&type=template&id=de3f7d56&ts=true
// CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!./node_modules/.pnpm/babel-loader@8.2.3_2ca4133eaad1ede48c0159d2a9c3555f/node_modules/babel-loader/lib!./node_modules/.pnpm/ts-loader@6.2.2_typescript@4.1.6/node_modules/ts-loader??ref--14-3!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist/templateLoader.js??ref--7!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/.pnpm/vue-loader@16.8.3_webpack@4.46.0/node_modules/vue-loader/dist??ref--1-1!./packages/Share/src/Share.vue?vue&type=template&id=657a1948&ts=true
var Sharevue_type_template_id_de3f7d56_ts_true_hoisted_1 = {
var Sharevue_type_template_id_657a1948_ts_true_hoisted_1 = {
class: "social-share"
};
var Sharevue_type_template_id_de3f7d56_ts_true_hoisted_2 = {
var Sharevue_type_template_id_657a1948_ts_true_hoisted_2 = {
class: "wechat-qrcode"
};
@ -2655,10 +2655,10 @@ var _hoisted_4 = /*#__PURE__*/Object(external_commonjs_vue_commonjs2_vue_root_Vu
class: "help"
}, "扫描二维码,点击右上角分享", -1);
function Sharevue_type_template_id_de3f7d56_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
function Sharevue_type_template_id_657a1948_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
var _component_qrcode_vue = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("qrcode-vue");
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Sharevue_type_template_id_de3f7d56_ts_true_hoisted_1, [_ctx.weibo ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", {
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", Sharevue_type_template_id_657a1948_ts_true_hoisted_1, [_ctx.weibo ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("a", {
key: 0,
class: "social-share-icon icon-weibo",
style: {
@ -2688,7 +2688,7 @@ function Sharevue_type_template_id_de3f7d56_ts_true_render(_ctx, _cache, $props,
function () {
return _ctx.shareWeChat && _ctx.shareWeChat.apply(_ctx, arguments);
})
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Sharevue_type_template_id_de3f7d56_ts_true_hoisted_2, [_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_qrcode_vue, {
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Sharevue_type_template_id_657a1948_ts_true_hoisted_2, [_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_qrcode_vue, {
value: _ctx.url,
size: 120,
level: "H",
@ -2767,7 +2767,7 @@ function Sharevue_type_template_id_de3f7d56_ts_true_render(_ctx, _cache, $props,
})
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]);
}
// CONCATENATED MODULE: ./packages/Share/src/Share.vue?vue&type=template&id=de3f7d56&ts=true
// CONCATENATED MODULE: ./packages/Share/src/Share.vue?vue&type=template&id=657a1948&ts=true
// EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.20.3/node_modules/core-js/modules/es.symbol.js
var es_symbol = __webpack_require__("a815");
@ -2873,7 +2873,7 @@ var qrcode_vue_browser_default = /*#__PURE__*/__webpack_require__.n(qrcode_vue_b
};
var shareQZone = function shareQZone() {
window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + encodeURIComponent(props.url) + "&title=" + encodeURIComponent(props.title) + "&desc" + encodeURIComponent(props.description) + "&summary=" + encodeURIComponent(props.description) + "&site=" + encodeURIComponent(props.source) + "&pics=" + encodeURIComponent(props.image));
window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + encodeURIComponent(props.url) + "&title=" + encodeURIComponent(props.title) + "&desc=" + encodeURIComponent(props.description) + "&summary=" + encodeURIComponent(props.description) + "&site=" + encodeURIComponent(props.source) + "&pics=" + encodeURIComponent(props.image));
};
var shareLinkedin = function shareLinkedin() {
@ -2927,7 +2927,7 @@ var qrcode_vue_browser_default = /*#__PURE__*/__webpack_require__.n(qrcode_vue_b
const Share_exports_ = /*#__PURE__*/exportHelper_default()(Sharevue_type_script_lang_ts, [['render',Sharevue_type_template_id_de3f7d56_ts_true_render]])
const Share_exports_ = /*#__PURE__*/exportHelper_default()(Sharevue_type_script_lang_ts, [['render',Sharevue_type_template_id_657a1948_ts_true_render]])
/* harmony default export */ var Share = (Share_exports_);
// EXTERNAL MODULE: ./packages/Share/src/assets/css/share.min.css

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{
"name": "vue3-social-share",
"version": "0.1.7",
"version": "0.1.8",
"private": false,
"description": "vue3的快捷分享组件",
"main": "dist/index.main.js",

@ -65,7 +65,7 @@ export default defineComponent({
}
const shareQZone = () => {
window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(props.url)+"&title="+encodeURIComponent(props.title)+"&desc"+encodeURIComponent(props.description)+"&summary="+encodeURIComponent(props.description)+"&site="+encodeURIComponent(props.source)+"&pics="+encodeURIComponent(props.image))
window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(props.url)+"&title="+encodeURIComponent(props.title)+"&desc="+encodeURIComponent(props.description)+"&summary="+encodeURIComponent(props.description)+"&site="+encodeURIComponent(props.source)+"&pics="+encodeURIComponent(props.image))
}
const shareLinkedin = () => {

Loading…
Cancel
Save