chore: 添加静态资源文件和版本配置文件
添加大量图片、字体、音频等静态资源文件,包括用户界面图片、模板文件和安装界面素材 添加系统版本配置文件(.version)和常量定义文件(.constant) 更新供应商依赖文件,包括Symfony VarDumper组件和相关许可证文件 添加验证码配置文件(captcha.php)和.gitignore规则
This commit is contained in:
10
public/statics/mp_view/components/skeleton/index.js
Normal file
10
public/statics/mp_view/components/skeleton/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/skeleton/index"],{"43dc":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},c=[]},"4af0":function(t,e,n){"use strict";n.r(e);var i=n("6580"),c=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=c.a},"537b":function(t,e,n){"use strict";n.r(e);var i=n("43dc"),c=n("4af0");for(var o in c)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(o);n("7760");var s=n("828b"),a=Object(s["a"])(c["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},6580:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"skeleton",props:{bgcolor:{type:String,value:"#FFF"},selector:{type:String,value:"skeleton"},loading:{type:String,value:"spin"},show:{type:Boolean,value:!1},isNodes:{type:Number,value:!1}},data:function(){return{loadingAni:["spin","chiaroscuro"],systemInfo:{},skeletonRectLists:[],skeletonCircleLists:[]}},watch:{isNodes:function(t){this.readyAction()}},mounted:function(){this.attachedAction()},methods:{attachedAction:function(){var e=t.getWindowInfo();this.systemInfo={width:e.windowWidth,height:e.windowHeight},this.loading=this.loadingAni.includes(this.loading)?this.loading:"spin"},readyAction:function(){var e=this;t.createSelectorQuery().selectAll(".".concat(this.selector)).boundingClientRect().exec((function(t){t[0].length>0&&(e.systemInfo.height=t[0][0].height+t[0][0].top)})),this.rectHandle(),this.radiusHandle()},rectHandle:function(){var e=this;t.createSelectorQuery().selectAll(".".concat(this.selector,"-rect")).boundingClientRect().exec((function(t){var n=t[0];n.forEach((function(t,e){t.rect="rect"+e})),e.skeletonRectLists=n}))},radiusHandle:function(){var e=this;t.createSelectorQuery().selectAll(".".concat(this.selector,"-radius")).boundingClientRect().exec((function(t){var n=t[0];n.forEach((function(t,e){t.circle="circle"+e})),e.skeletonCircleLists=n}))}}};e.default=n}).call(this,n("df3c")["default"])},7760:function(t,e,n){"use strict";var i=n("9e20"),c=n.n(i);c.a},"9e20":function(t,e,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/skeleton/index-create-component',
|
||||
{
|
||||
'components/skeleton/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("537b"))
|
||||
})
|
||||
},
|
||||
[['components/skeleton/index-create-component']]
|
||||
]);
|
||||
4
public/statics/mp_view/components/skeleton/index.json
Normal file
4
public/statics/mp_view/components/skeleton/index.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
public/statics/mp_view/components/skeleton/index.wxml
Normal file
1
public/statics/mp_view/components/skeleton/index.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<block wx:if="{{show}}"><view style="{{'width:'+(systemInfo.width+'px')+';'+('height:'+(systemInfo.height+'px')+';')+('background-color:'+(bgcolor)+';')+('position:'+('absolute')+';')+('left:'+(0)+';')+('top:'+(0)+';')+('z-index:'+(9998)+';')}}"><block wx:for="{{skeletonRectLists}}" wx:for-item="item" wx:for-index="rect_idx" wx:key="rect"><view class="{{[loading=='chiaroscuro'?'chiaroscuro':'']}}" style="{{'width:'+(item.width+'px')+';'+('height:'+(item.height+'px')+';')+('background-color:'+('rgb(194, 207, 214,.3)')+';')+('position:'+('absolute')+';')+('left:'+(item.left+'px')+';')+('top:'+(item.top+'px')+';')}}"></view></block><block wx:for="{{skeletonCircleLists}}" wx:for-item="item" wx:for-index="circle_idx" wx:key="circle"><view class="{{[loading=='chiaroscuro'?'chiaroscuro':'']}}" style="{{'width:'+(item.width+'px')+';'+('height:'+(item.height+'px')+';')+('background-color:'+('rgb(194, 207, 214,.3)')+';')+('border-radius:'+(item.width+'px')+';')+('position:'+('absolute')+';')+('left:'+(item.left+'px')+';')+('top:'+(item.top+'px')+';')}}"></view></block><block wx:if="{{loading=='spin'}}"><view class="spinbox"><view class="spin"></view></view></block></view></block>
|
||||
1
public/statics/mp_view/components/skeleton/index.wxss
Normal file
1
public/statics/mp_view/components/skeleton/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
.spinbox{position:fixed;display:flex;justify-content:center;align-items:center;height:100%;width:100%;z-index:9999}.spin{display:inline-block;width:64rpx;height:64rpx}.spin:after{content:" ";display:block;width:46rpx;height:46rpx;margin:1rpx;border-radius:50%;border:5rpx solid #409eff;border-color:#409eff transparent #409eff transparent;-webkit-animation:spin 1.2s linear infinite;animation:spin 1.2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.chiaroscuro{width:100%;height:100%;background:#c2cfd6;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:blink;animation-name:blink;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes blink{0%{opacity:.4}50%{opacity:1}100%{opacity:.4}}@keyframes blink{0%{opacity:.4}50%{opacity:1}100%{opacity:.4}}@-webkit-keyframes flush{0%{left:-100%}50%{left:0}100%{left:100%}}@keyframes flush{0%{left:-100%}50%{left:0}100%{left:100%}}.shine{-webkit-animation:flush 2s linear infinite;animation:flush 2s linear infinite;position:absolute;top:0;bottom:0;width:100%;background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.85) 50%,hsla(0,0%,100%,0))}
|
||||
Reference in New Issue
Block a user