06 2017 档案
摘要:var myChart = echarts.init(document.getElementById('chart')); $.get('is.json', function(data) { myChart.setOption(option = { legend: { data: ["接单数", "
阅读全文
posted @ 2017-06-30 16:32
Sun_Song
摘要:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> <title></title><
阅读全文
posted @ 2017-06-19 17:09
Sun_Song
摘要:js: <script type="text/javascript"> var v=new Vue({ el:"#main", data:{ comm:"", }, methods:{ recommend:function(){ $.ajax({ type: "get", url: "index.j
阅读全文
posted @ 2017-06-19 17:04
Sun_Song
摘要:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div class="container" ng-app="myapp" ng-controller="ctrl"> <input
阅读全文
posted @ 2017-06-16 16:32
Sun_Song
摘要:blind:百叶窗 bounce:反弹 clip:剪辑 drop:降落 explod:爆炸 fade:淡入淡出 fold:折叠 highlight:突出 puff:膨胀 pulsate:跳水 scale:缩放 shake:震动 size:尺寸 slide:滑动 transfer:转移 $( "#ef
阅读全文
posted @ 2017-06-16 12:00
Sun_Song
摘要:单个页面设置方法 onShareAppMessage: function () { return { title: '微信小程序分享', desc: '测试标题!', path: '/page/index' } }
阅读全文
posted @ 2017-06-08 16:17
Sun_Song
摘要:全局背景色在app.wxss下设置 page{ background: #eee;} 单页在相对应的wxss里设置 page{ background: #fff;}
阅读全文
posted @ 2017-06-08 16:15
Sun_Song
摘要:使用方法 <div style="position: relative;"> <div id="wrapper"> <div class="scroll"> <ul class="index_nav_bar"> <li class="li_active">全部</li> <li><a href="j
阅读全文
posted @ 2017-06-07 18:42
Sun_Song
摘要:参数: theme是指主题 display:bottom 是指弹出框的位置,分别可以使用top,bottom,inline来定义,这里解释一下inline的用法:inline的话就可以实现页面一加载就能看到这个弹出框,如果使用top和bottom,则必须使得输入框获得焦点才可以弹出。 lang: "
阅读全文
posted @ 2017-06-06 13:21
Sun_Song
摘要:在app.json文件中添加如下代码: "tabBar": { "color": "black", "backgroundColor":"#fff", "selectedColor": "#11cd6e", "borderStyle":"white", "list": [{ "selectedIco
阅读全文
posted @ 2017-06-01 18:21
Sun_Song
摘要:view_kinds:[{id:1,name:"百货"},{id:2,name:"百货1"},{id:3,name:"百货2"},{id:4,name:"百货3"},{id:5,name:"百货4"},{id:6,name:"百货5"},{id:7,name:"百货6"},] <block wx:f
阅读全文
posted @ 2017-06-01 18:00
Sun_Song
摘要:kind_xi:[{name:"百货"},{name:"百货"},{name:"百货"},{name:"百货"},{name:"百货"},{name:"百货"}] 循环: <text wx:for="{{kind_xi}}">{{item.name}}\n</text> //以后的item即为指代的
阅读全文
posted @ 2017-06-01 17:57
Sun_Song

浙公网安备 33010602011771号