This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0
sonist/src/mini-win.html

48 lines
1.6 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<link href="lib/css/reset-basic.css" rel="stylesheet">
<link href="/css/common.css" rel="stylesheet">
<link href="/css/mini-win.css" rel="stylesheet">
<script>window.LIBS_BASE_URL = location.origin + '/lib';</script>
<script type="module" src="js/mini-win.js"></script>
</head>
<body class="do-fn-noselect" anot="mini">
<div class="app">
2019-01-26 23:26:49 +08:00
<span class="cover do-fn-drag">
<img :attr-src="curr.cover || '/images/album.png'" />
</span>
<div class="ctrl">
2019-01-26 23:26:49 +08:00
<h3 class="title do-fn-ell do-fn-drag" :text="curr.title ? '正在播放: ' + curr.title : '已经停止播放...'"></h3>
<div class="btns" :click="handleCtrl">
<span class="s-icon-prev" data-key="prev"></span>
<span
class="play"
2019-01-26 23:26:49 +08:00
data-key="play"
:class="{'s-icon-play': !isPlaying, 's-icon-pause': isPlaying}" >
</span>
2019-01-26 23:26:49 +08:00
<span class="s-icon-next" data-key="next"></span>
</div>
</div>
2019-01-26 23:26:49 +08:00
<div class="tools do-fn-nodrag" :click="handleTool">
<span data-key="pin" class="do-icon-pin" :class="{active: pinned}"></span>
<span data-key="quit" class="do-icon-maximized"></span>
</div>
<div class="actions" :click="handleAction">
<span data-key="lrc"></span>
<span data-key="mode"
:class="{
's-icon-all': playMode === 0,
's-icon-single': playMode === 1,
's-icon-random': playMode === 2
}">
</span>
</div>
</div>
</body>
</html>