public
This commit is contained in:
10
public/mp-weixin/components/invite-poster/invite-poster.js
Normal file
10
public/mp-weixin/components/invite-poster/invite-poster.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/invite-poster/invite-poster"],{"19eb":function(e,n,t){"use strict";t.r(n);var o=t("a438"),r=t("6672");for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);var c=t("828b"),a=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=a.exports},6672:function(e,n,t){"use strict";t.r(n);var o=t("87fd"),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},"87fd":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"share-poster",components:{lPainter:function(){Promise.all([t.e("common/vendor"),t.e("components/lime-painter/components/l-painter/l-painter")]).then(function(){return resolve(t("ead4"))}.bind(null,t)).catch(t.oe)},lPainterImage:function(){Promise.all([t.e("common/vendor"),t.e("components/lime-painter/components/l-painter-image/l-painter-image")]).then(function(){return resolve(t("c5a0"))}.bind(null,t)).catch(t.oe)},lPainterText:function(){Promise.all([t.e("common/vendor"),t.e("components/lime-painter/components/l-painter-text/l-painter-text")]).then(function(){return resolve(t("54d5"))}.bind(null,t)).catch(t.oe)},lPainterView:function(){Promise.all([t.e("common/vendor"),t.e("components/lime-painter/components/l-painter-view/l-painter-view")]).then(function(){return resolve(t("7198"))}.bind(null,t)).catch(t.oe)},lPainterQrcode:function(){Promise.all([t.e("common/vendor"),t.e("components/lime-painter/components/l-painter-qrcode/l-painter-qrcode")]).then(function(){return resolve(t("0a94"))}.bind(null,t)).catch(t.oe)}},props:{config:{type:Object,default:function(){return{}}},goodsId:{type:[Number,String],default:""},qrcode:{type:[String],default:""}},data:function(){return{}},methods:{handleSuccess:function(e){this.$emit("success",e)}}};n.default=o},a438:function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},r=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/invite-poster/invite-poster-create-component',
|
||||
{
|
||||
'components/invite-poster/invite-poster-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("19eb"))
|
||||
})
|
||||
},
|
||||
[['components/invite-poster/invite-poster-create-component']]
|
||||
]);
|
||||
10
public/mp-weixin/components/invite-poster/invite-poster.json
Normal file
10
public/mp-weixin/components/invite-poster/invite-poster.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"l-painter": "/components/lime-painter/components/l-painter/l-painter",
|
||||
"l-painter-image": "/components/lime-painter/components/l-painter-image/l-painter-image",
|
||||
"l-painter-text": "/components/lime-painter/components/l-painter-text/l-painter-text",
|
||||
"l-painter-view": "/components/lime-painter/components/l-painter-view/l-painter-view",
|
||||
"l-painter-qrcode": "/components/lime-painter/components/l-painter-qrcode/l-painter-qrcode"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><l-painter vue-id="66d92844-1" css="width: 600rpx;height: 960rpx;" isCanvasToTempFilePath="{{true}}" custom-style="position: fixed; left: 200%" data-event-opts="{{[['^success',[['handleSuccess']]]]}}" bind:success="__e" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-image vue-id="{{('66d92844-2')+','+('66d92844-1')}}" src="{{config.poster}}" css="position:absolute; width: 600rpx;height: 960rpx;object-fit: cover; border-radius: 20rpx;" bind:__l="__l"></l-painter-image><l-painter-view vue-id="{{('66d92844-3')+','+('66d92844-1')}}" css="position:absolute;background-color: #ffffff;width:100%;height: 240rpx;border-radius: 14rpx; bottom: 0;left: 0;padding-top: 30rpx;" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-view vue-id="{{('66d92844-4')+','+('66d92844-3')}}" css="width: 330rpx; display: inline-block;padding-left: 30rpx;" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-view vue-id="{{('66d92844-5')+','+('66d92844-4')}}" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-image vue-id="{{('66d92844-6')+','+('66d92844-5')}}" src="{{config.avatar}}" css="width: 80rpx; height: 80rpx; border-radius: 50%;" bind:__l="__l"></l-painter-image><l-painter-text vue-id="{{('66d92844-7')+','+('66d92844-5')}}" text="{{config.nickname}}" css="margin-top: 10rpx; margin-left: 20rpx; color: #333333; font-size: 34rpx;line-clamp:1;font-weight: bold; " bind:__l="__l"></l-painter-text></l-painter-view><l-painter-view vue-id="{{('66d92844-8')+','+('66d92844-4')}}" css="margin-top: 30rpx;line-height: 34rpx;" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-text vue-id="{{('66d92844-9')+','+('66d92844-8')}}" text="邀请你一起来赚大钱" css="color: #333333; font-size: 28rpx;" bind:__l="__l"></l-painter-text></l-painter-view><l-painter-view vue-id="{{('66d92844-10')+','+('66d92844-4')}}" css="margin-top: 20rpx;" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-text vue-id="{{('66d92844-11')+','+('66d92844-10')}}" text="{{'邀请码:'+config.code}}" css="color: #FF2C3C; font-size: 28rpx;" bind:__l="__l"></l-painter-text></l-painter-view></l-painter-view><l-painter-view vue-id="{{('66d92844-12')+','+('66d92844-3')}}" css="display: inline-block;margin-top:10rpx;" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-view vue-id="{{('66d92844-13')+','+('66d92844-12')}}" css="padding-left: 30rpx;" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-image vue-id="{{('66d92844-14')+','+('66d92844-13')}}" src="{{config.qrCode}}" css="width: 180rpx; height: 180rpx;" bind:__l="__l"></l-painter-image></l-painter-view></l-painter-view></l-painter-view></l-painter></view>
|
||||
Reference in New Issue
Block a user