diff --git a/public/weigets.js b/public/weigets.js index 42cad14..d780887 100644 --- a/public/weigets.js +++ b/public/weigets.js @@ -176,52 +176,27 @@ export function UploadMusic(options) { zIndex: '-1', boxShadow: '0 0 6px 2px rgba(0,0,0,0.1)', borderRadius: '50%' + }), + createElement({ + textContent: '♫', + style: { + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + fontSize: '3rem', + fontWeight: 'bold', + position: 'relative', + top: '-1.5rem', + color: '#e7f4fd', + textShadow: '0 1px 1px #fff' + //textShadow: '0 0 5px #000, 0 0 10px #000, 0 0 15px #000, 0 0 20px #000, 0 0 25px #000, 0 0 30px #000, 0 0 35px #000, 0 0 40px #000, 0 0 45px #000, 0 0 50px #000, 0 0 55px #000, 0 0 60px #000, 0 0 65px #000, 0 0 70px #000, 0 0 75px #000' + } }) ] }), drop - //createElement({ - // style: { - // position: 'absolute', - // top: '50%', - // left: '50%', - // transform: 'translate(-50%, -50%)', - // width: '4rem', - // height: '4rem', - // backgroundColor: '#ff1414', - // borderRadius: '50%', - // opacity: 0.2, - // boxShadow: '-35px 10px 0 -10px, 33px 15px 0 -15px, 0 0 0 6px #fff, -35px 10px 0 -5px #fff, 33px 15px 0 -10px #fff;', - // background: 'currentColor', - // }, - // children: [ - // createElement({ - // style: { - // position: 'absolute', - // top: '50%', - // left: '50%', - // transform: 'translate(-50%, -50%)', - // width: '2rem', - // height: '2rem', - // backgroundColor: '#fff', - // borderRadius: '50%', - // boxShadow: '0 0 0 6px #fff, -35px 10px 0 -5px #fff, 33px 15px 0 -10px #fff;', - // } - // }) - // ], - //}) ] }) - //Input({ - // ...options, - // type: 'file', - // multiple: true, - // accept: 'audio/*', - // style: { - // display: 'none', - // ...options.style - // } - //}) } // 弹出窗口, 高斯模糊背景, 进入离开动画过渡