Skip to content

Commit

Permalink
更新模版示例
Browse files Browse the repository at this point in the history
  • Loading branch information
hulinNeil committed Jul 27, 2018
1 parent 1a6645d commit d56e5a3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/hello-uniapp/pages/API/canvas/canvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<block v-for="(name, index) in names" :key="index">
<button class="canvas-button" @tap="handleCanvasButton(name)">{{name}}</button>
</block>
<button class="canvas-button" @tap="toTempFilePath" type="primary">toTempFilePath</button>
<!-- <button class="canvas-button" @tap="toTempFilePath" type="primary">toTempFilePath</button> -->
</scroll-view>
</view>
</view>
Expand Down
5 changes: 0 additions & 5 deletions examples/hello-uniapp/pages/component/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@
name: '地图',
open: false,
pages: ['map']
}, {
id: 'canvas',
name: '画布',
open: false,
pages: ['canvas']
}, {
id: 'web-view',
name: '网页',
Expand Down
14 changes: 7 additions & 7 deletions examples/hello-uniapp/pages/template/template.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<view class="index">
<view class="index-hd">
<image class="index-logo" src="../../static/templateIndex.png"></image>
<view class="page-section-title">以下是uni-app的一些常用的模版示例,具体属性参数详见uni-app开发文档。</view>
<view class="page-section-title">以下是uni-app的部分模版示例,欢迎大家积极分享更多的模版,一起完善uni-app生态。</view>
</view>
<view class="uni-card" v-for="(list,index) in lists" :key="index">
<view class="uni-list">
Expand Down Expand Up @@ -62,12 +62,12 @@
name: '选项卡',
url: 'tabbar'
},
//#ifdef APP-PLUS
{
name: '问题反馈',
url: '/platforms/app-plus/feedback/feedback'
},
//#endif
//
// {
// name: '问题反馈',
// url: '/platforms/app-plus/feedback/feedback'
// },
//
{
name: '数字选择框',
url: 'number-box'
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-uniapp/platforms/app-plus/push/push.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
url += ('&token=' + encodeURIComponent(inf.token));
}
url += ('&title=' + encodeURIComponent('Hello uniapp'));
url += ('&content=' + encodeURIComponent('带透传数据推送通知,可通过plus.push API获取数据并进行业务逻辑处理'));
url += ('&content=' + encodeURIComponent('带透传数据推送通知!'));
url += ('&payload=' + encodeURIComponent('\'{"title":"Hello uniapp Test","content":"test content","payload":"1234567890"}\''));
url += ('&version=' + encodeURIComponent(plus.runtime.version));
plus.runtime.openURL(url);
Expand Down

0 comments on commit d56e5a3

Please sign in to comment.