uno-web
A Vue.js project
Last updated 6 months ago by yongqiang .
Original npm · Tarball
$ cnpm install uno-web 
SYNC missed versions from official npm registry.

uno-web

开始

 mnpm install uno-web

使用

1. 详情页

1)dom

  <div id="uno-detail">
    <page-detail></page-detail>
  </div>

2)static

  window.unoPreOpts=[{"type":"commit","name":"setPageTopicId","payload":1200519}]
  require('uno-web/dist/static/css/detail.css')
  require('uno-web/dist/static/js/manifest.js')
  require('uno-web/dist/static/js/vendor.js')
  require('uno-web/dist/static/js/detail.js')
<script>
  window.unoPreOpts=[{"type":"commit","name":"setPageTopicId","payload":1200519}]
</script>
<link href="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/css/detail.css" rel="stylesheet">
<script type="text/javascript" src="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/js/manifest.js"></script>
<script type="text/javascript" src="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/js/vendor.js"></script>
<script type="text/javascript" src="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/js/detail.js"></script>

2. 列表页

1)dom

  <div id="uno-list">
    <page-list></page-list>
  </div>

2)static

  require('uno-web/dist/static/css/list.css')
  require('uno-web/dist/static/js/manifest.js')
  require('uno-web/dist/static/js/vendor.js')
  require('uno-web/dist/static/js/list.js')
<link href="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/css/list.css" rel="stylesheet">
<script type="text/javascript" src="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/js/manifest.js"></script>
<script type="text/javascript" src="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/js/vendor.js"></script>
<script type="text/javascript" src="https://www.dpfile.com/ba/es/uno-web/dist/1.0.34/static/js/list.js"></script>

3. 设置用户信息

  window.userInfo = {id: 1079881, login: "yongqiang.shen", name: "沈永强", isSuperManager: 1, bu: 0}

4. 前置操作

  window.unoPreOpts=[{"type":"commit","name":"setPageTopicId","payload":1200519}]

5. api

  //todo
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (35)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |