当前位置: 首页 > news >正文

网站建设哪家公司好中山百度网站建设

网站建设哪家公司好,中山百度网站建设,杭州网站建设哪家快速上线,wordpress php 得到页面描述Vue2仿网易云风格音乐播放器1、整体效果2、使用技术3、实现内容4、源码5、使用图片1、整体效果 2、使用技术 使用了HTML5 CSS3进行页面布局及美化使用Vue2进行数据渲染与页面交互使用Axios发送http请求获取数据 3、实现内容 实现了搜索歌曲功能#xff0c;输入歌手或歌曲关… Vue2仿网易云风格音乐播放器1、整体效果2、使用技术3、实现内容4、源码5、使用图片1、整体效果 2、使用技术 使用了HTML5 CSS3进行页面布局及美化使用Vue2进行数据渲染与页面交互使用Axios发送http请求获取数据 3、实现内容 实现了搜索歌曲功能输入歌手或歌曲关键字可获取对应的内容实现了歌曲播放功能点击歌名或左侧超链接可播放对应的歌曲实现了封面黑胶旋转效果歌曲播放时旋转歌曲未播放时停止旋转实现了展示歌曲热门评论的功能会显示当前歌曲排名前20的热门评论实现了播放MV的功能点击右侧超链接弹出播放MV 4、源码 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleVue仿网易云音乐/titlelink relicon hrefhttp://s1.music.126.net/style/favicon.ico?v20180823script srchttps://cdn.jsdelivr.net/npm/vue2/dist/vue.js/scriptscript srchttps://unpkg.com/axios/dist/axios.min.js/scriptstylebody {background-image: linear-gradient(to left, rgba(248, 121, 248, 0.623), rgba(216, 160, 6, 0.795));}#app {position: relative;width: 1300px;height: 800px;background-color: aliceblue;margin: 50px auto;}header {width: 100%;height: 60px;background-color: #ec4141;}.app-title {float: left;}.app-title img {height: 60px;}.app-search {display: block;float: right;width: 600px;height: 60px;}.app-search input {outline: none;background-color: #ec4141a6;border: 1px solid #cebdbd7a;width: 380px;line-height: 30px;margin: 15px 140px;font-size: 13px;border-radius: 5px;text-indent: 10px;color: #cebdbdfd;}.app-search input:focus {border: 1px solid #cebdbdfd;}.app-search img {width: 28px;position: relative;top: -46px;left: 490px;}footer {float: left;width: 100%;height: 60px;background-color: #f1f3f4;}.music-list {float: left;height: 680px;width: 280px;position: relative;left: -191px;border-right: 1px solid #e0e0e0;overflow-x: hidden;overflow-y: auto;}.music-list ul {list-style: none;margin-top: 0px;}.music-list ul li a {text-decoration: none;color: black;display: block;line-height: 46px;width: 278px;margin-left: -40px;text-indent: 20px;font-size: 12px;}.music-list ul li a:hover {background-color: #a8a4a433;}.music-run-image {width: 20px;position: relative;left: -10px;top: -1px;}.music-name {display: inline-block;width: 120px;height: 35px;overflow: hidden;margin-left: -20px;}.music-mv-image {width: 20px;position: relative;left: 100px;top: 0px;}.comment-list {float: right;height: 680px;width: 300px;border-left: 1px solid #e0e0e0;overflow: hidden;overflow-y: auto;}.comment-list ul li{width: 280px;padding-left: 10px;list-style: none;font-size: 13px;position: relative;left: -40px;}.comment-title{display: block;line-height: 40px;text-indent: 10px;margin-top: 5px;font-weight: 800;}.user-header{width: 35px;height: 35px;border-radius: 50%;}.username{position: relative;top: -15px;left: 10px;font-size: 12px;}.music-main {height: 680px;width: 700px;position: absolute;left: 300px;}.music-cover{width: 250px;position: relative;left: 180px;top: 80px;border-radius: 50%;border: 50px solid #2a2b2dd2;}.music-detail{display: block;color: #2a2b2dab;position: relative;text-align: center;top: 120px;}.fadenum{animation:fadenum 60s infinite linear;}keyframes fadenum {100%{transform:rotate(360deg);}}::-webkit-scrollbar {width: 1px;height: 16px;background-color: #F5F5F5;}::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(126, 123, 123, 0.103);border-radius: 10px;background-color: #F5F5F5;}::-webkit-scrollbar-thumb {border-radius: 10px;-webkit-box-shadow: inset 0 0 6px rgba(139, 136, 136, 0.3);background-color: rgba(199, 196, 196, 0.507);}.music-player{width: 1300px;}.music-mv{position:absolute;z-index: 9999;width: 1920px;height: 937px;background-color: #2a2b2da6;top: -50px;left: -310px;}.music-mv video{position:relative;width: 900px;height: 500px;left: 500px;top: 150px;}/style /headbodydiv idappheaderspan classapp-titleimg srcimages/1675859603672.png/spanspan classapp-searchinput typetext placeholder搜索歌曲... v-modelkeywords keyup.entergetMusicMesage /a hrefjavascript:void(0); clickgetMusicMesageimg src/images/search-icon.png/a/span/headermaindiv classmusic-listulli v-for(item,index) in musicLista href#img srcimages/run.png classmusic-run-image clickrunMusic(item.id)span classmusic-name clickrunMusic(item.id){{ item.name }}/spanimg v-ifitem.mvid!0 clickplayMv(item.mvid) srcimages/24gf-playSquare.png classmusic-mv-image/a/li/ul/divdiv classmusic-mainimg :srcpicUrl v-showpicUrl! classmusic-cover :class{fadenum:isPlay}sapn v-textmusicDetail classmusic-detail/sapn/divdiv classcomment-listspan classcomment-title热门评论/spanulli v-foritem in hotCommentListimg classuser-header :srcitem.user.avatarUrlspan classusername{{ item.user.nickname }}/spanp{{ item.content }}/p/li/ul/div/mainfooteraudio :srcmusicUrl classmusic-player playplay pausepause controls autoplay loop/audio/footerdiv classmusic-mv v-showisShow clickcloseMusicMvvideo :srcmvUrl controls autoplay loop/video/div/divscriptlet app new Vue({el: #app,data: {keywords: 五月天,musicList: [],musicUrl:,picUrl:,musicDetail:,hotCommentList:[],isPlay:false,isShow:false,mvUrl:},methods: {getMusicMesage() {let that this;axios.get(https://autumnfish.cn/search?keywords this.keywords).then(function (response) {that.musicList response.data.result.songs;let firstId response.data.result.songs[0].id;},function (error) {console.log(error);alert(服务器错误!);})},runMusic(id){let that this;axios.get(https://autumnfish.cn/song/url?idid).then(function(response){that.musicUrl response.data.data[0].url;that.getCover(id);that.getComment(id);},function(err){alert(服务器错误);})},getCover(id){let that this;axios.get(https://autumnfish.cn/song/detail?idsid).then(function(response){that.picUrl response.data.songs[0].al.picUrl;that.musicDetail response.data.songs[0].name —— response.data.songs[0].ar[0].name;},function(err){alert(服务器错误);})},getComment(id){let that this;axios.get(https://autumnfish.cn/comment/hot?type0idid).then(function(response){that.hotCommentList response.data.hotComments;},function(error){alert(服务器错误);})},play(){this.isPlay true;},pause(){this.isPlay false;},playMv(id){this.musicUrl ;this.pause();let that this;axios.get(https://autumnfish.cn/mv/url?idid).then(function(response){that.mvUrl response.data.data.url;that.isShow true;},function(error){alert(服务器错误);})},closeMusicMv(){this.isShow false;this.mvUrl ;}}})app.getMusicMesage();/script /body/html5、使用图片
http://www.hkea.cn/news/14262088/

相关文章:

  • 任丘建设网站制作WordPress链接有中文导致打不开
  • 如何制作自己的网站的邮箱山西省建设厅网站打不开
  • 大良品牌网站建设做阿里巴巴1688网站程序
  • 吴川网站建设人才网网站模板
  • 建筑门户网站上海人力资源网官方网
  • 昆明广告网站制作wordpress 4.5.3 主题
  • 武进常州做网站企业网站建设公司地址
  • 做网站要有数据库么品牌网站制作公司哪家好
  • 电子商务网站开发书例子代运营网站
  • 网站布局设计分析特点微网站开发的比较总结
  • 网站模板购买罗湖外贸网站建设
  • 免费建设网站公司哪家好做外贸主要在那些网站找单
  • 手机网站做多少钱网页设计与制作实践
  • 怎样才能建立自已的网站常见的网站开发软件有哪些
  • 快速制作简单的网站深圳福田区临时管控区
  • wordpress建双语网站杭州市建设信用网官网
  • 广州网站推广电话php网站开发 课程介绍
  • 怎样做网站的反链好网站建设公司有多少
  • 网站维护中 html网站申请要多少钱
  • 校园网站建设促进教学网站开发 打标签
  • 上海专业网站建设机构贵阳做网站找哪家好
  • python如何做自己的网站淘宝网站如何做虚拟机
  • 深圳住房和建设局网站故障个人做的好的淘宝客网站
  • 网站建设美橙黄山网站设计
  • 上海网站搭建公司国家高新技术企业认定
  • 代做课题网站怎样查询百度收录和排名情况
  • 淄川区建设局网站个人网站注销原因
  • 台州城乡建设局网站网络推广联系方式
  • 网站建设中页面源码wordpress5.2 icp备案号
  • 培 网站建设方案 doc网站美化