parent
7348d51134
commit
d42a8230b4
@ -1,4 +1,4 @@
|
|||||||
<!--pages/components/custom-echarts/index.wxml-->
|
<!--pages/components/custom-echarts/index.wxml-->
|
||||||
<view style="height: {{ height }}; width:100%;">
|
<view style="height: {{ height }}; width:100%;">
|
||||||
<ec-canvas force-use-old-canvas="{{false}}" wx:if="{{showChart}}" id="{{ chartId }}" canvas-id="eventBar" ec="{{ec}}" options="{{chartOption}}"></ec-canvas>
|
<ec-canvas force-use-old-canvas="{{flocShow}}" wx:if="{{showChart}}" id="{{ chartId }}" canvas-id="eventBar" ec="{{ec}}" options="{{chartOption}}"></ec-canvas>
|
||||||
</view>
|
</view>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// pages/index/home/home.js
|
// index/home/home.js
|
||||||
Page({
|
Page({
|
||||||
|
|
||||||
/**
|
/**
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
@ -0,0 +1,2 @@
|
|||||||
|
<!--index/home/home.wxml-->
|
||||||
|
<text>index/home/home.wxml</text>
|
@ -0,0 +1 @@
|
|||||||
|
/* index/home/home.wxss */
|
@ -1,2 +0,0 @@
|
|||||||
<!--pages/index/home/home.wxml-->
|
|
||||||
<text>pages/index/home/home.wxml</text>
|
|
@ -0,0 +1,66 @@
|
|||||||
|
// pages/pages/home/home.js
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad(options) {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
@ -0,0 +1,2 @@
|
|||||||
|
<!--pages/pages/home/home.wxml-->
|
||||||
|
<text>pages/pages/home/home.wxml</text>
|
Loading…
Reference in new issue