first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1 @@
cf7b96dc-b437-406f-8546-b975f0638cc7

View File

@@ -0,0 +1 @@
"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent")),_classNames2=_interopRequireDefault(require("../helpers/classNames"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}(0,_baseComponent.default)({relations:{"../skeleton/index":{type:"ancestor"}},properties:{prefixCls:{type:String,value:"wux-skeleton-avatar"},size:{type:String,value:"default"},shape:{type:String,value:"circle"}},data:{active:!1},computed:{classes:["prefixCls, active, size, shape",function(e,t,a,r){var n;return{wrap:(0,_classNames2.default)(e,(_defineProperty(n={},"".concat(e,"--active"),t),_defineProperty(n,"".concat(e,"--").concat(a),a),_defineProperty(n,"".concat(e,"--").concat(r),r),n))}}]},methods:{updated:function(e){this.data.active!==e&&this.setData({active:e})}}});

View File

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

View File

@@ -0,0 +1 @@
<view class="wux-class {{ classes.wrap }}"></view>

View File

@@ -0,0 +1 @@
.wux-skeleton-avatar{display:inline-block;vertical-align:top;background:#f2f2f2;width:80rpx;height:80rpx;line-height:80rpx}.wux-skeleton-avatar--small{width:64rpx;height:64rpx;line-height:64rpx}.wux-skeleton-avatar--large{width:96rpx;height:96rpx;line-height:96rpx}.wux-skeleton-avatar--circle{border-radius:50%}.wux-skeleton-avatar--rounded{border-radius:8rpx}.wux-skeleton-avatar--square{border-radius:0}.wux-skeleton-avatar--active{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);animation:loading 1.4s ease infinite;background-size:400% 100%}@keyframes loading{0%{background-position:100% 50%}100%{background-position:0 50%}}