Commit 6e030516 authored by gaodapeng's avatar gaodapeng

初始化

parent f5c60ded
{"tinyType":"alipayiot","tinyCnName":"支付宝 IoT","tinyProjectType":"xpaas-mini","alipayiot:xpaas-mini:tinyIcon":"https://gw.alipayobjects.com/mdn/rms_c763d8/afts/img/A*Y7JJRpl5COYAAAAAAAAAAABjARQnAQ","alipayiot:xpaas-mini:auditLink":null,"alipayiot:xpaas-mini:whiteListLink":null,"alipayiot:xpaas-mini:createLink":null,"alipayiot:xpaas-mini:component2":false,"alipayiot:xpaas-mini:_enableAutoPush":false,"alipayiot:xpaas-mini:_appIdList":[],"alipayiot:xpaas-mini:uploadTime":"","alipayiot:xpaas-mini:packageSize":0}
{"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.json":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":1,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":[],"lineCount":9}}},"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.js":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":1,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":[],"lineCount":12}}},"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.json":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":1,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":null,"lineCount":1,"provider":"indent"}}},"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.axml":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":1,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":null,"lineCount":4,"provider":"indent"}}},"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.acss":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":1,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":null,"lineCount":6,"provider":"indent"}}},"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.acss":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":1,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":null,"lineCount":1,"provider":"indent"}}},"main-code_file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.js":{"cursorState":[{"inSelectionMode":false,"selectionStart":{"lineNumber":1,"column":1},"position":{"lineNumber":1,"column":1}}],"viewState":{"scrollLeft":0,"firstPosition":{"lineNumber":36,"column":1},"firstPositionDeltaTop":0},"contributionsState":{"editor.contrib.wordHighlighter":false,"editor.contrib.folding":{"collapsedRegions":null,"lineCount":36,"provider":"indent"}}}}
{"tabs":["file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/snapshot.png","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.json","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.js","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.json","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.axml","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.acss","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.acss","file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.js"],"current":"file:///Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.axml"}
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/index/index"
}
};
if(!self.Map || !self.Set) {
importScripts('https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.0/es6-set-map.js');
}
\ No newline at end of file
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/index/index');
if(!self.__appxInited) {
self.__appxInited = 1;
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
var AFAppX = self.AFAppX;
self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page;
self.App = AFAppX.App;
self.my = AFAppX.bridge || AFAppX.abridge;
self.abridge = self.my;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
if(AFAppX.compilerConfig){ AFAppX.compilerConfig.component2 = true; }
function success() {
require('../../app');
require('../../pages/index/index');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}
\ No newline at end of file
{"files":["/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.json","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.js","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.axml","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/pages/index/index.acss","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.acss","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.js","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/app.json","/Users/eric.gao/Documents/small_program_workspace/doublescreen-front/blank/snapshot.png"]}
page {
flex: 1;
display: flex;
background: #f7f7f7;
}
App({
onLaunch(options) {
// 第一次打开
// options.query == {number:1}
console.info('App onLaunch');
},
onShow(options) {
// 从后台被 scheme 重新打开
// options.query == {number:1}
},
});
{
"pages": [
"pages/index/index"
],
"window": {
"defaultTitle": "My App"
}
}
<view>
this is a blank page
</view>
Page({
onLoad(query) {
// 页面加载
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
},
onReady() {
// 页面加载完成
},
onShow() {
// 页面显示
},
onHide() {
// 页面隐藏
},
onUnload() {
// 页面被关闭
},
onTitleClick() {
// 标题被点击
},
onPullDownRefresh() {
// 页面被下拉
},
onReachBottom() {
// 页面被拉到底部
},
onShareAppMessage() {
// 返回自定义分享信息
return {
title: 'My App',
desc: 'My App description',
path: 'pages/index/index',
};
},
});
{}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment