This commit is contained in:
2025-12-27 09:01:32 +08:00
commit 24647b844e
712 changed files with 2718 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/pengpai-fadein-out/pengpai-fadein-out"],{"1abb":function(t,i,n){"use strict";n.r(i);var e=n("c818"),a=n("2979");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(o);n("d6a1");var u=n("828b"),r=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,"cec10280",null,!1,e["a"],void 0);i["default"]=r.exports},2979:function(t,i,n){"use strict";n.r(i);var e=n("854e"),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},"854e":function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={name:"pengpai-fadein-out",props:{duration:{type:Number,default:3e3},wait:{type:Number,default:3500},top:{type:Number,default:350},left:{type:Number,default:10},radius:{type:Number,default:30},info:{type:[Array,Object],default:function(){return[]}}},data:function(){return{animationData:{},animationNumber:{},show:!0,index:0,penpaiData:{},timeIndex:0}},computed:{isShow:function(){return this.penpaiData&&Object.keys(this.penpaiData).length}},mounted:function(){this.initData()},methods:{initData:function(){var t=this;this.penpaiData=this.info[this.index],this.donghua(),clearInterval(this.timeIndex),this.timeIndex=setInterval((function(){t.index==t.info.length-1?t.index=0:t.index++,t.penpaiData=t.info[t.index],t.donghua()}),this.duration+this.wait)},donghua:function(){var i=this;this.animationData=t.createAnimation({duration:this.duration/2,timingFunction:"ease"}).top(this.top-this.radius).opacity(.9).step().export(),setTimeout((function(){i.animationData=t.createAnimation({duration:i.duration/2,timingFunction:"ease"}).top(i.top-2*i.radius).opacity(0).step().export()}),this.wait),setTimeout((function(){i.animationData=t.createAnimation({duration:i.duration/2,timingFunction:"ease"}).top(i.top).opacity(0).step().export()}),2800)},closeTimer:function(){clearInterval(this.timeIndex)}}};i.default=n}).call(this,n("df3c")["default"])},c818: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.$createElement,i=(this._self._c,this.isShow&&this.show?this.$util.img(this.penpaiData.img):null);this.$mp.data=Object.assign({},{$root:{g0:i}})},a=[]},d6a1:function(t,i,n){"use strict";var e=n("dd77"),a=n.n(e);a.a},dd77:function(t,i,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/pengpai-fadein-out/pengpai-fadein-out-create-component',
{
'components/pengpai-fadein-out/pengpai-fadein-out-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1abb"))
})
},
[['components/pengpai-fadein-out/pengpai-fadein-out-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{isShow}}"><view class="data-v-cec10280"><block wx:if="{{show}}"><view class="message data-v-cec10280 vue-ref" style="{{'top:'+(top+'px')+';'+('left:'+(left+'px')+';')}}" animation="{{animationData}}" data-ref="ani"><view class="round bg-gradual-orange flex justify-start shadow data-v-cec10280" style="padding:3px;"><view class="cu-avatar cu-a-sm round data-v-cec10280" style="{{'background-image:'+('url('+$root.g0+')')+';'}}"></view><view class="padding-lr-sm flex align-center data-v-cec10280"><text class="text-sm data-v-cec10280">{{penpaiData.title}}</text></view></view></view></block></view></block>

View File

@@ -0,0 +1 @@
.message.data-v-cec10280{position:absolute;z-index:8;opacity:0}.round.data-v-cec10280{border-radius:50px}.bg-gradual-orange.data-v-cec10280{background-color:rgba(0,0,0,.4);color:#fff}.shadow.data-v-cec10280{box-shadow:40rpx 40rpx 50rpx rgba(217,109,26,.2)}.flex.data-v-cec10280{display:flex;flex-direction:row}.justify-start.data-v-cec10280{justify-content:flex-start}.cu-avatar.data-v-cec10280{font-variant:small-caps;display:inline-flex;white-space:nowrap;background-size:cover;background-position:50%;vertical-align:middle;margin:0;padding:0;text-align:center;justify-content:center;align-items:center;background-color:#ccc;color:#fff;position:relative;width:300rpx;height:300rpx;font-size:300rpx}.cu-a-sm.data-v-cec10280{width:60rpx;height:60rpx;font-size:20rpx}.padding-lr-sm.data-v-cec10280{padding-left:20rpx;padding-right:20rpx}.align-center.data-v-cec10280{align-items:center}.margin-left-xs.data-v-cec10280{margin-left:10rpx}.text-bold.data-v-cec10280{font-weight:700}.margin-lr-sm.data-v-cec10280{margin-left:20rpx;margin-right:20rpx}.text-sm.data-v-cec10280{font-size:24rpx;color:#fff}