-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3183a5d5.html
1 lines (1 loc) · 38.1 KB
/
3183a5d5.html
1
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><title>微信小程序项目之网易云音乐,云音乐 | 梦洁小站-属于你我的小天地</title><meta name="author" content="梦洁"><meta name="copyright" content="梦洁"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="微信小程序之网易云音乐的实现-云音乐基本介绍 基本功能都实现了,音乐的上一首下一首播放等,顺便把进度条的拖动播放写了下 主页的每日推荐界面写了 ,登录通过账号密码登录(你也可以自己加一个验证码或者邮箱登录) 基于iPhone6(375*667分辨率)开发,后面一些计算都是通过获取当前屏幕下的尺寸来计算的,但是不保证在其他分辨率下是否完好(我已经尽力了~) 下载地址 github地址: ht"><meta property="og:type" content="article"><meta property="og:title" content="微信小程序项目之网易云音乐,云音乐"><meta property="og:url" content="https://www.dreamlove.top/3183a5d5.html"><meta property="og:site_name" content="梦洁小站-属于你我的小天地"><meta property="og:description" content="微信小程序之网易云音乐的实现-云音乐基本介绍 基本功能都实现了,音乐的上一首下一首播放等,顺便把进度条的拖动播放写了下 主页的每日推荐界面写了 ,登录通过账号密码登录(你也可以自己加一个验证码或者邮箱登录) 基于iPhone6(375*667分辨率)开发,后面一些计算都是通过获取当前屏幕下的尺寸来计算的,但是不保证在其他分辨率下是否完好(我已经尽力了~) 下载地址 github地址: ht"><meta property="og:locale" content="zh_CN"><meta property="og:image" content="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141612584.jpg"><meta property="article:published_time" content="2022-07-13T08:09:20.000Z"><meta property="article:modified_time" content="2022-07-13T09:09:52.000Z"><meta property="article:author" content="梦洁"><meta property="article:tag" content="小程序"><meta property="article:tag" content="移动端"><meta property="article:tag" content="微信小程序"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141612584.jpg"><link rel="shortcut icon" href="https://oss.dreamlove.top/i/2024/02/02/nw24wu.png"><link rel="canonical" href="https://www.dreamlove.top/3183a5d5.html"><link rel="preconnect" href="https://lib.baomitu.com"><link rel="preconnect" href="//busuanzi.ibruce.info"><link rel="stylesheet" href="/css/index.css?v=4.13.0"><link rel="stylesheet" href="https://lib.baomitu.com/font-awesome/6.5.1/css/all.min.css"><link rel="stylesheet" href="https://lib.baomitu.com/fancyapps-ui/5.0.33/fancybox/fancybox.min.css" media="print" onload='this.media="all"'><script>const GLOBAL_CONFIG={root:"/",algolia:{appId:"G7A2D1SYPY",apiKey:"49056313a9be02852c7dbedfcb772831",indexName:"blog",hits:{per_page:20},languages:{input_placeholder:"搜索文章",hits_empty:"找不到您查询的内容:${query}",hits_stats:"找到 ${hits} 条结果,用时 ${time} 毫秒"}},localSearch:void 0,translate:void 0,noticeOutdate:void 0,highlight:{plugin:"highlight.js",highlightCopy:!0,highlightLang:!0,highlightHeightLimit:!1},copy:{success:"复制成功",error:"复制错误",noSupport:"浏览器不支持"},relativeDate:{homepage:!1,post:!1},runtime:"天",dateSuffix:{just:"刚刚",min:"分钟前",hour:"小时前",day:"天前",month:"个月前"},copyright:void 0,lightbox:"fancybox",Snackbar:void 0,infinitegrid:{js:"https://lib.baomitu.com/egjs-infinitegrid/4.11.1/infinitegrid.min.js",buttonText:"加载更多"},isPhotoFigcaption:!1,islazyload:!1,isAnchor:!1,percent:{toc:!0,rightside:!1},autoDarkmode:!1}</script><script id="config-diff">var GLOBAL_CONFIG_SITE={title:"微信小程序项目之网易云音乐,云音乐",isPost:!0,isHome:!1,isHighlightShrink:!1,isToc:!0,postUpdate:"2022-07-13 09:09:52"}</script><script>(e=>{e.saveToLocal={set:(e,t,o)=>{if(0===o)return;const a={value:t,expiry:Date.now()+864e5*o};localStorage.setItem(e,JSON.stringify(a))},get:e=>{const t=localStorage.getItem(e);if(!t)return;const o=JSON.parse(t);if(!(Date.now()>o.expiry))return o.value;localStorage.removeItem(e)}},e.getScript=(e,t={})=>new Promise((o,a)=>{const n=document.createElement("script");n.src=e,n.async=!0,n.onerror=a,n.onload=n.onreadystatechange=function(){const e=this.readyState;e&&"loaded"!==e&&"complete"!==e||(n.onload=n.onreadystatechange=null,o())},Object.keys(t).forEach(e=>{n.setAttribute(e,t[e])}),document.head.appendChild(n)}),e.getCSS=(e,t=!1)=>new Promise((o,a)=>{const n=document.createElement("link");n.rel="stylesheet",n.href=e,t&&(n.id=t),n.onerror=a,n.onload=n.onreadystatechange=function(){const e=this.readyState;e&&"loaded"!==e&&"complete"!==e||(n.onload=n.onreadystatechange=null,o())},document.head.appendChild(n)}),e.activateDarkMode=()=>{document.documentElement.setAttribute("data-theme","dark"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#0d0d0d")},e.activateLightMode=()=>{document.documentElement.setAttribute("data-theme","light"),null!==document.querySelector('meta[name="theme-color"]')&&document.querySelector('meta[name="theme-color"]').setAttribute("content","#ffffff")};const t=saveToLocal.get("theme");"dark"===t?activateDarkMode():"light"===t&&activateLightMode();const o=saveToLocal.get("aside-status");void 0!==o&&("hide"===o?document.documentElement.classList.add("hide-aside"):document.documentElement.classList.remove("hide-aside"));/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)&&document.documentElement.classList.add("apple")})(window)</script><meta name="generator" content="Hexo 7.1.1"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://oss.dreamlove.top/i/2024/02/02/nw24wu.png" onerror='onerror=null,src="/img/404.png"' alt="avatar"></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">176</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">101</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">73</div></a></div><hr class="custom-hr"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情和链接</span></a></div><div class="menus_item"><a class="site-page" href="/navigation/"><i class="fa-fw fas fa-link"></i><span> 链接导航</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 私有化导航</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://mark.123916.xyz/"><i class="fa-fw fas fa-database"></i><span> 导航</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://cloud.reassurehome.com/"><i class="fa-fw fas fa-hippo"></i><span> Alist(私有)</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 工具</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://short.123916.xyz/027a2"><i class="fa-fw fas fa-paperclip"></i><span> clash免费订阅地址</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://short.123916.xyz/admin/"><i class="fa-fw fas fa-paperclip"></i><span> 短链接生成</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 好玩的</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://make.girls.moe/#/"><i class="fa-fw fas fa-database"></i><span> 动漫头像制作</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="http://dfqshy.ysepan.com/"><i class="fa-fw fas fa-database"></i><span> FC游戏大全网盘</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.yikm.net/"><i class="fa-fw fas fa-database"></i><span> 小霸王</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.return8090.com/"><i class="fa-fw fas fa-database"></i><span> 小霸王(广告多)</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="http://farm.dreamlove.top"><i class="fa-fw fas fa-database"></i><span> QQ农场经典版</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://codepip.com/"><i class="fa-fw fas fa-database"></i><span> CssGame</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://photo.123916.xyz/"><i class="fa-fw fas fa-database"></i><span> 有趣的照片</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 其他</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://buy.dreamlove.top/"><i class="fa-fw fas fa-heart"></i><span> 购物</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image:url(https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141612584.jpg)"><nav id="nav"><span id="blog-info"><a href="/" title="梦洁小站-属于你我的小天地"><span class="site-name">梦洁小站-属于你我的小天地</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情和链接</span></a></div><div class="menus_item"><a class="site-page" href="/navigation/"><i class="fa-fw fas fa-link"></i><span> 链接导航</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 私有化导航</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://mark.123916.xyz/"><i class="fa-fw fas fa-database"></i><span> 导航</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://cloud.reassurehome.com/"><i class="fa-fw fas fa-hippo"></i><span> Alist(私有)</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 工具</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://short.123916.xyz/027a2"><i class="fa-fw fas fa-paperclip"></i><span> clash免费订阅地址</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://short.123916.xyz/admin/"><i class="fa-fw fas fa-paperclip"></i><span> 短链接生成</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 好玩的</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://make.girls.moe/#/"><i class="fa-fw fas fa-database"></i><span> 动漫头像制作</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="http://dfqshy.ysepan.com/"><i class="fa-fw fas fa-database"></i><span> FC游戏大全网盘</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.yikm.net/"><i class="fa-fw fas fa-database"></i><span> 小霸王</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://www.return8090.com/"><i class="fa-fw fas fa-database"></i><span> 小霸王(广告多)</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="http://farm.dreamlove.top"><i class="fa-fw fas fa-database"></i><span> QQ农场经典版</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://codepip.com/"><i class="fa-fw fas fa-database"></i><span> CssGame</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://photo.123916.xyz/"><i class="fa-fw fas fa-database"></i><span> 有趣的照片</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 其他</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://buy.dreamlove.top/"><i class="fa-fw fas fa-heart"></i><span> 购物</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">微信小程序项目之网易云音乐,云音乐</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2022-07-13T08:09:20.000Z" title="发表于 2022-07-13 08:09:20">2022-07-13</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-07-13T09:09:52.000Z" title="更新于 2022-07-13 09:09:52">2022-07-13</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/HTML/">HTML</a><i class="fas fa-angle-right post-meta-separator"></i><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/HTML/javscript/">javscript</a><i class="fas fa-angle-right post-meta-separator"></i><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/HTML/javscript/wechat/">wechat</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">400</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>1分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" data-flag-title="微信小程序项目之网易云音乐,云音乐"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h2 id="微信小程序之网易云音乐的实现-云音乐"><a href="#微信小程序之网易云音乐的实现-云音乐" class="headerlink" title="微信小程序之网易云音乐的实现-云音乐"></a>微信小程序之网易云音乐的实现-云音乐</h2><h3 id="基本介绍"><a href="#基本介绍" class="headerlink" title="基本介绍"></a>基本介绍</h3><ul><li><p>基本功能都实现了,音乐的上一首下一首播放等,顺便把进度条的拖动播放写了下</p></li><li><p>主页的<strong>每日推荐界面</strong>写了 ,登录通过账号密码登录<del>(你也可以自己加一个验证码或者邮箱登录</del>)</p></li><li><p>基于iPhone6(375*667分辨率)开发,后面一些计算都是通过获取当前屏幕下的尺寸来计算的,但是不保证在其他分辨率下是否完好(我已经尽力了~)</p></li><li><p>下载地址</p><ul><li>github地址: <a target="_blank" rel="noopener" href="https://github.com/superBiuBiuMan/Wechat_NetEase_CloudMusic">https://github.com/superBiuBiuMan/Wechat_NetEase_CloudMusic</a></li><li>gitee地址: <a target="_blank" rel="noopener" href="https://gitee.com/superBiuBiu/Wechat_NetEase_CloudMusic">https://gitee.com/superBiuBiu/Wechat_NetEase_CloudMusic</a></li></ul></li><li><p>遇到的问题和解决办法</p><ul><li><a href="https://www.dreamlove.top/393ca5ba.html">单击我跳转</a></li></ul></li><li><p>API地址(自己服务器的~)</p><ul><li><a target="_blank" rel="noopener" href="https://cloudmusic.dreamlove.top/">https://cloudmusic.dreamlove.top/</a></li></ul></li><li><p>更改自己的API地址</p><ul><li><p>虽然目前我这服务器的可以用,但是服务器会有过期的一天</p></li><li><p>项目使用 <a target="_blank" rel="noopener" href="https://neteasecloudmusicapi.vercel.app/#/">@网易云音乐 NodeJS 版 API</a></p></li><li><p>可以去<a target="_blank" rel="noopener" href="https://github.com/Binaryify/NeteaseCloudMusicApi">github地址</a>下载后台,然后安装依赖包并修改<code>/utils/config.js</code>文件</p></li><li><p>如果是自己电脑搭建API服务器,将<code>host</code>配置项修改为如下,因为此API服务器默认使用3000端口(但需要注意的是,如果自己电脑不是公网ip,在手机上调试可能需要内网穿透)</p><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">export</span> <span class="keyword">default</span> {</span><br><span class="line"> <span class="attr">host</span>: <span class="string">'http://localhost:3000'</span>,</span><br><span class="line">}</span><br></pre></td></tr></table></figure></li></ul></li></ul><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207122116971.png" alt="修改如下"></p><h3 id="云音乐网易音乐发布订阅添加订阅关系图"><a href="#云音乐网易音乐发布订阅添加订阅关系图" class="headerlink" title="云音乐网易音乐发布订阅添加订阅关系图"></a>云音乐网易音乐发布订阅添加订阅关系图</h3><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207181520749.png"></p><h3 id="项目预览"><a href="#项目预览" class="headerlink" title="项目预览"></a>项目预览</h3><h4 id="首页"><a href="#首页" class="headerlink" title="首页"></a>首页</h4><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207122121528.png" alt="首页"></p><h4 id="视频"><a href="#视频" class="headerlink" title="视频"></a>视频</h4><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130945090.png"></p><h4 id="搜索界面"><a href="#搜索界面" class="headerlink" title="搜索界面"></a>搜索界面</h4><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130944036.png" alt="搜索界面"></p><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130945602.png"></p><h4 id="每日推荐"><a href="#每日推荐" class="headerlink" title="每日推荐"></a>每日推荐</h4><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207122122553.png" alt="每日推荐"></p><h4 id="个人中心"><a href="#个人中心" class="headerlink" title="个人中心"></a>个人中心</h4><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130945056.png" alt="个人中心"></p><h4 id="登录界面"><a href="#登录界面" class="headerlink" title="登录界面"></a>登录界面</h4><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130946748.png" alt="登录界面"></p><h4 id="播放音乐界面"><a href="#播放音乐界面" class="headerlink" title="播放音乐界面"></a>播放音乐界面</h4><ul><li>动态图</li></ul><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202406121033866.gif"></p><ul><li>静态图</li></ul><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130959508.png" alt="静态图1"></p><p><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207130958551.png" alt="静态图2"></p></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta"><i class="fas fa-circle-user fa-fw"></i>文章作者: </span><span class="post-copyright-info"><a href="https://www.dreamlove.top">梦洁</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta"><i class="fas fa-square-arrow-up-right fa-fw"></i>文章链接: </span><span class="post-copyright-info"><a href="https://www.dreamlove.top/3183a5d5.html">https://www.dreamlove.top/3183a5d5.html</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta"><i class="fas fa-circle-exclamation fa-fw"></i>版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://www.dreamlove.top" target="_blank">梦洁小站-属于你我的小天地</a>!</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/%E5%B0%8F%E7%A8%8B%E5%BA%8F/">小程序</a><a class="post-meta__tags" href="/tags/%E7%A7%BB%E5%8A%A8%E7%AB%AF/">移动端</a><a class="post-meta__tags" href="/tags/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F/">微信小程序</a></div><div class="post_share"><div class="social-share" data-image="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141612584.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://lib.baomitu.com/butterfly-extsrc/1.1.3/sharejs/dist/css/share.min.css" media="print" onload='this.media="all"'><script src="https://lib.baomitu.com/butterfly-extsrc/1.1.3/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/393ca5ba.html" title="微信小程序相关知识点和云音乐项目制作遇到的问题及解决"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141615249.jpg" onerror='onerror=null,src="/img/404.png"' alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">微信小程序相关知识点和云音乐项目制作遇到的问题及解决</div></div></a></div><div class="next-post pull-right"><a href="/d054e8a4.html" title="影视节前端网站,,以前东拼西凑的,前端课程设计应该可以吧"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202406121021381.png" onerror='onerror=null,src="/img/404.png"' alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">影视节前端网站,,以前东拼西凑的,前端课程设计应该可以吧</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/e39b897f.html" title="uni-app知识点和项目上遇到的问题和解决办法的记录"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207221127744.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-07-22</div><div class="title">uni-app知识点和项目上遇到的问题和解决办法的记录</div></div></a></div><div><a href="/fa4383.html" title="微信小程序模块化、组件传值、添加data,menthods类型等-持续更新"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202304091840130.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-02-06</div><div class="title">微信小程序模块化、组件传值、添加data,menthods类型等-持续更新</div></div></a></div><div><a href="/393ca5ba.html" title="微信小程序相关知识点和云音乐项目制作遇到的问题及解决"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141615249.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-07-14</div><div class="title">微信小程序相关知识点和云音乐项目制作遇到的问题及解决</div></div></a></div><div><a href="/54e18b38.html" title="网易严选,使用uni-app实现,包含后台数据文件"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207200938664.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-07-18</div><div class="title">网易严选,使用uni-app实现,包含后台数据文件</div></div></a></div><div><a href="/92310ed8.html" title="微信小程序渐进式骨架屏的写法"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202304091725162.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-03-27</div><div class="title">微信小程序渐进式骨架屏的写法</div></div></a></div><div><a href="/3a777744.html" title="微信小程序抓包-夜神模拟器结合BurpSuite抓包(可用于现在最新版本微信)"><img class="cover" src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202406121024897.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-09-04</div><div class="title">微信小程序抓包-夜神模拟器结合BurpSuite抓包(可用于现在最新版本微信)</div></div></a></div></div></div><hr class="custom-hr"><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="artalk-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://oss.dreamlove.top/i/2024/02/02/nw24wu.png" onerror='this.onerror=null,this.src="/img/404.png"' alt="avatar"></div><div class="author-info__name">梦洁</div><div class="author-info__description">小小的字,有大大的梦想~分享我的前端学习过程,经历,错误,和一些其他折腾过程</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">176</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">101</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">73</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/superBiuBiuMan"><i class="fab fa-github"></i><span>关注下我(* ̄▽ ̄*)</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="mailto:[email protected]" target="_blank" title="Email"><i class="fas fa-envelope" style="color:#4a7dbe"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">不断更新中,有问题请留言回复(会通过邮箱提醒~)</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B9%8B%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90%E7%9A%84%E5%AE%9E%E7%8E%B0-%E4%BA%91%E9%9F%B3%E4%B9%90"><span class="toc-number">1.</span> <span class="toc-text">微信小程序之网易云音乐的实现-云音乐</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%9F%BA%E6%9C%AC%E4%BB%8B%E7%BB%8D"><span class="toc-number">1.1.</span> <span class="toc-text">基本介绍</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%BA%91%E9%9F%B3%E4%B9%90%E7%BD%91%E6%98%93%E9%9F%B3%E4%B9%90%E5%8F%91%E5%B8%83%E8%AE%A2%E9%98%85%E6%B7%BB%E5%8A%A0%E8%AE%A2%E9%98%85%E5%85%B3%E7%B3%BB%E5%9B%BE"><span class="toc-number">1.2.</span> <span class="toc-text">云音乐网易音乐发布订阅添加订阅关系图</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%A1%B9%E7%9B%AE%E9%A2%84%E8%A7%88"><span class="toc-number">1.3.</span> <span class="toc-text">项目预览</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%A6%96%E9%A1%B5"><span class="toc-number">1.3.1.</span> <span class="toc-text">首页</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E8%A7%86%E9%A2%91"><span class="toc-number">1.3.2.</span> <span class="toc-text">视频</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E6%90%9C%E7%B4%A2%E7%95%8C%E9%9D%A2"><span class="toc-number">1.3.3.</span> <span class="toc-text">搜索界面</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E6%AF%8F%E6%97%A5%E6%8E%A8%E8%8D%90"><span class="toc-number">1.3.4.</span> <span class="toc-text">每日推荐</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E4%B8%AA%E4%BA%BA%E4%B8%AD%E5%BF%83"><span class="toc-number">1.3.5.</span> <span class="toc-text">个人中心</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E7%99%BB%E5%BD%95%E7%95%8C%E9%9D%A2"><span class="toc-number">1.3.6.</span> <span class="toc-text">登录界面</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E6%92%AD%E6%94%BE%E9%9F%B3%E4%B9%90%E7%95%8C%E9%9D%A2"><span class="toc-number">1.3.7.</span> <span class="toc-text">播放音乐界面</span></a></li></ol></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/b491ce61.html" title="穿越火线怀旧服预约网页vue3版本"><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202501131843929.png" onerror='this.onerror=null,this.src="/img/404.png"' alt="穿越火线怀旧服预约网页vue3版本"></a><div class="content"><a class="title" href="/b491ce61.html" title="穿越火线怀旧服预约网页vue3版本">穿越火线怀旧服预约网页vue3版本</a><time datetime="2025-01-13T18:26:12.000Z" title="发表于 2025-01-13 18:26:12">2025-01-13</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/65bb05da.html" title="Scrapy2.12版本拦截自带日志记录转由loguru记录并可以按照错误登记归类整理"><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202501131841250.png" onerror='this.onerror=null,this.src="/img/404.png"' alt="Scrapy2.12版本拦截自带日志记录转由loguru记录并可以按照错误登记归类整理"></a><div class="content"><a class="title" href="/65bb05da.html" title="Scrapy2.12版本拦截自带日志记录转由loguru记录并可以按照错误登记归类整理">Scrapy2.12版本拦截自带日志记录转由loguru记录并可以按照错误登记归类整理</a><time datetime="2025-01-10T11:20:55.000Z" title="发表于 2025-01-10 11:20:55">2025-01-10</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/45b08e30.html" title="一个代理注册平台住宅代理IP-纯净IP注册,对于一些需要高质量IP验证的很有效"><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202501131843524.png" onerror='this.onerror=null,this.src="/img/404.png"' alt="一个代理注册平台住宅代理IP-纯净IP注册,对于一些需要高质量IP验证的很有效"></a><div class="content"><a class="title" href="/45b08e30.html" title="一个代理注册平台住宅代理IP-纯净IP注册,对于一些需要高质量IP验证的很有效">一个代理注册平台住宅代理IP-纯净IP注册,对于一些需要高质量IP验证的很有效</a><time datetime="2025-01-08T18:35:15.000Z" title="发表于 2025-01-08 18:35:15">2025-01-08</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/cc169943.html" title="知音漫客,漫画派对,神漫,等听说很多漫画杂志停刊了,吓得我赶快保存"><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202501131840676.png" onerror='this.onerror=null,this.src="/img/404.png"' alt="知音漫客,漫画派对,神漫,等听说很多漫画杂志停刊了,吓得我赶快保存"></a><div class="content"><a class="title" href="/cc169943.html" title="知音漫客,漫画派对,神漫,等听说很多漫画杂志停刊了,吓得我赶快保存">知音漫客,漫画派对,神漫,等听说很多漫画杂志停刊了,吓得我赶快保存</a><time datetime="2024-11-22T14:25:42.000Z" title="发表于 2024-11-22 14:25:42">2024-11-22</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/8d23aa26.html" title="scrapy的xpath在控制台可以匹配,但是到了代码无法匹配(无法匹配tbody标签)"><img src="https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202501131841250.png" onerror='this.onerror=null,this.src="/img/404.png"' alt="scrapy的xpath在控制台可以匹配,但是到了代码无法匹配(无法匹配tbody标签)"></a><div class="content"><a class="title" href="/8d23aa26.html" title="scrapy的xpath在控制台可以匹配,但是到了代码无法匹配(无法匹配tbody标签)">scrapy的xpath在控制台可以匹配,但是到了代码无法匹配(无法匹配tbody标签)</a><time datetime="2024-10-23T14:27:53.000Z" title="发表于 2024-10-23 14:27:53">2024-10-23</time></div></div></div></div></div></div></main><footer id="footer" style="background-image:url(https://dreamos.oss-cn-beijing.aliyuncs.com/gitblog/202207141612584.jpg)"><div id="footer-wrap"><div class="copyright">©2021 - 2025 By 梦洁</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js?v=4.13.0"></script><script src="/js/main.js?v=4.13.0"></script><script src="https://lib.baomitu.com/fancyapps-ui/5.0.33/fancybox/fancybox.umd.min.js"></script><div class="js-pjax"><script>(()=>{let t=null;const e=()=>{if(t=Artalk.init(Object.assign({el:"#artalk-wrap",server:"https://artalk.dreamlove.top",site:"梦洁小站",pageKey:location.pathname,darkMode:"dark"===document.documentElement.getAttribute("data-theme")},null)),"null"===GLOBAL_CONFIG.lightbox)return;t.on("list-loaded",()=>{t.ctx.get("list").getCommentNodes().forEach(t=>{const e=t.getRender().$content;btf.loadLightbox(e.querySelectorAll("img:not([atk-emoticon])"))})});btf.addGlobalFn("pjax",()=>{t.destroy()},"destroyArtalk")},a=async()=>{"object"==typeof Artalk||(await getCSS("https://lib.baomitu.com/artalk/2.8.2/Artalk.min.css"),await getScript("https://lib.baomitu.com/artalk/2.8.2/Artalk.min.js")),e()};btf.addGlobalFn("themeChange",e=>{const a=document.getElementById("artalk-wrap");if(!a||!a.children.length)return;const l="dark"===e;t.setDarkMode(l)},"artalk"),a()})()</script></div><script id="canvas_nest" defer color="0,0,255" opacity="0.7" zindex="-1" count="99" mobile="false" src="https://lib.baomitu.com/butterfly-extsrc/1.1.3/canvas-nest.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="algolia-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="search-wrap"><div id="algolia-search-input"></div><hr><div id="algolia-search-results"><div id="algolia-hits"></div><div id="algolia-pagination"></div><div id="algolia-info"><div class="algolia-stats"></div><div class="algolia-poweredBy"></div></div></div></div></div><div id="search-mask"></div><script src="https://lib.baomitu.com/algoliasearch/4.22.1/algoliasearch-lite.umd.min.js"></script><script src="https://lib.baomitu.com/instantsearch.js/4.65.0/instantsearch.production.min.js"></script><script src="/js/search/algolia.js?v=4.13.0"></script></div></div></body></html>