提交 d56e5a39 编写于 作者: H hulinNeil

更新模版示例

上级 1a6645dd
......@@ -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>
......
......@@ -57,11 +57,6 @@
name: '地图',
open: false,
pages: ['map']
}, {
id: 'canvas',
name: '画布',
open: false,
pages: ['canvas']
}, {
id: 'web-view',
name: '网页',
......
......@@ -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">
......@@ -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'
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册