12 2023 档案
摘要:小程序界面间的跳转 **保留当前页面,只能打开非 tabBar 页面,返回时返回该页面** wx.navigateTo({ url: '路径地址', }) **关闭卸载当前页面,只能打开非 tabBar 页面,** wx.redirectTo({ url: '路径地址' }) **关闭所有非tabb
阅读全文
摘要:加载图表 //基于准备好的dom,初始化echarts实例 const echarts_dom: any = ref(); var myChart: any; let echartNull: any = null; if (myChart != null && myChart != "" && my
阅读全文
摘要:switch (item.key) { case "self_pickup": form.self_pickup = Number(item.value); break; case "same_city": form.same_city = Number(item.value); break; ca
阅读全文
摘要:引用组件 // city_dialog.vue //PopWindow 弹出层组件 //AreaList 省市区数据组件 //areaData 省市区数据 <PopWindow :dialogVisible="dialogVisible" title="省市区选择" sizeType="large"
阅读全文
摘要://基于准备好的dom,初始化echarts实例 const barDOM: any = ref(); var myChart: any; let echartNull: any = null; // 渲染echart const init_chart = () => { if (myChart !
阅读全文
摘要:父组件 //引入子组件 <jyqk :selectData="selectData" ref="jyqk_ref"></jyqk> import fxjy from "./components/fxjy.vue"; const jyqk_ref = ref<any>(); const change_
阅读全文
摘要:let t_data = sortByKey(pz_data.data, "yield_per_mu"); //array:当前数组 //key:数组中需要比较大小的值 export const sortByKey = (array: any, key: any) => { return array
阅读全文
摘要:{{ numberToCurrencyNo(1245) }} export const numberToCurrencyNo = (value: any) => { if (!value) return 0; // 获取整数部分 const intPart = Math.trunc(value);
阅读全文
摘要:<template> <div class="header_body"> <div class="header_inner"> <div class="title_line"></div> <el-row class="titleBodyComl"> <div class="icon"> <div
阅读全文
摘要:backgroundColor: { image: pic_url,//图片的路径 },
阅读全文
摘要:// 获取当前时间、星期 var date_val = ref(""); var time_val = ref(""); // 获取当前时间、星期 const getTime = () => { let date = new Date(); let year: any = date.getFullY
阅读全文

浙公网安备 33010602011771号