摘要: <template> <div> <div style="width: 100%; height: 200px" ref="CapacityPie"></div> </div> </template> <script lang='ts'> import { toRefs, reactive, def 阅读全文
posted @ 2024-04-10 15:53 JaneLifeVlog 阅读(154) 评论(0) 推荐(0)
摘要: wxml <view id='screen'> <van-popup get-container="#screen" show="{{ visible }}" closeable round position="bottom" bind:close="close_pop" custom-style= 阅读全文
posted @ 2024-01-18 11:24 JaneLifeVlog 阅读(50) 评论(0) 推荐(0)
摘要: wxml 必须定义宽高 <view style="height: 500rpx;margin-top:40rpx;"> <ec-canvas id="mychart-dom-bar" class="myCanvas" canvas-id="mychart-bar" ec="{{ec}}"></ec- 阅读全文
posted @ 2024-01-18 11:00 JaneLifeVlog 阅读(37) 评论(0) 推荐(0)
摘要: index.wxml 根据isSelected判断选中状态 <view id='screen'> <van-popup get-container="#screen" show="{{ visible }}" class="pact_pop" round position="bottom" bind 阅读全文
posted @ 2024-01-18 10:56 JaneLifeVlog 阅读(104) 评论(0) 推荐(0)
摘要: 小程序界面间的跳转 **保留当前页面,只能打开非 tabBar 页面,返回时返回该页面** wx.navigateTo({ url: '路径地址', }) **关闭卸载当前页面,只能打开非 tabBar 页面,** wx.redirectTo({ url: '路径地址' }) **关闭所有非tabb 阅读全文
posted @ 2023-12-06 10:50 JaneLifeVlog 阅读(33) 评论(0) 推荐(0)
摘要: 加载图表 //基于准备好的dom,初始化echarts实例 const echarts_dom: any = ref(); var myChart: any; let echartNull: any = null; if (myChart != null && myChart != "" && my 阅读全文
posted @ 2023-12-01 16:11 JaneLifeVlog 阅读(34) 评论(0) 推荐(0)
摘要: switch (item.key) { case "self_pickup": form.self_pickup = Number(item.value); break; case "same_city": form.same_city = Number(item.value); break; ca 阅读全文
posted @ 2023-12-01 11:05 JaneLifeVlog 阅读(49) 评论(0) 推荐(0)
摘要: 引用组件 // city_dialog.vue //PopWindow 弹出层组件 //AreaList 省市区数据组件 //areaData 省市区数据 <PopWindow :dialogVisible="dialogVisible" title="省市区选择" sizeType="large" 阅读全文
posted @ 2023-12-01 11:02 JaneLifeVlog 阅读(783) 评论(0) 推荐(0)
摘要: //基于准备好的dom,初始化echarts实例 const barDOM: any = ref(); var myChart: any; let echartNull: any = null; // 渲染echart const init_chart = () => { if (myChart ! 阅读全文
posted @ 2023-12-01 10:53 JaneLifeVlog 阅读(205) 评论(0) 推荐(0)
摘要: 父组件 //引入子组件 <jyqk :selectData="selectData" ref="jyqk_ref"></jyqk> import fxjy from "./components/fxjy.vue"; const jyqk_ref = ref<any>(); const change_ 阅读全文
posted @ 2023-12-01 10:50 JaneLifeVlog 阅读(132) 评论(0) 推荐(0)