Code Monkey home page Code Monkey logo

vue-163news-'s Introduction

网易新闻

标签(空格分隔): 作业总结


###首页 此处输入图片的描述

###总结

项目主要尝试使用vux,只完成了首页轮播图,滚动新闻,新闻列表,下拉刷新,上拉加载,数据均来自网易新闻接口 ####vux使用

>1.配置: vux-loader [email protected] less-loader '~vuex/src/styles/reset.less'
>2.vux组件:ViewBox,XHeader,Tabbar,TabbarItem,Tab,TabItem,Swiper,Scroller,Marquee, MarqueeItem,Panel
>3.ViewBox使用注意,设置html body 宽高100% overflow-x:hidden 
>4.ViewBox外层容器height:100%

5.Scoller使用需要在里面包一层div

>6.Toast插件使用 : import {ToastPlugin} from 'vux' ; Vue.use(ToastPlugin) ; this.$vux.toast.text(`更新了${n}条新闻`,'top')

####vue-jsonp使用

>import VueJsonp from 'vue-jsonp' Vue.use(VueJsonp)
>Vue.jsonp()/ vm.$jsonp()

####vue-scroller使用

>import VueScroller from 'vue-scroller' Vue.use(VueScroller)
>Vue.use(VueScroller)
><scroller></scroller>
>实例获取 <scroller ref="theScorller"></scroller>

vue-163news-'s People

Contributors

helloforrestworld avatar

Watchers

 avatar

Forkers

liangzuan1983

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.