提交 48dbc557 编写于 作者: 小刘28's avatar 小刘28 💬

feat:完善模板页面中的内容;

上级 4d6b78eb
<!--
* @Author: xiaozuo28
* @Date: 2022年5月13日08:05:20
* @LastEditors: xiaozuo28
* @LastEditTime: 2022年7月17日08:42:42
* @FilePath: /pages/template/template-1.vue
* @Description: 模板1页面
-->
<template>
<view>
</view>
</template>
......@@ -9,11 +16,68 @@
export default {
data() {
return {
/**
* @description 是否处于加载操作中
**/
// 是否处于加载操作中
isLoading:false,
/**
* @description 是否显示页面内容
**/
// 是否显示页面内容
isShowPage:false
}
},
onLoad(options) {
},
onShow() {
},
onPageScroll() {
},
onReachBottom() {
},
onPullDownRefresh(){
},
onBackPress() {
},
methods: {
// 1.网络请求处理部分
// 2.组件事件处理部分
// 3.数据校验,逻辑判断处理部分
// 4.数据处理部分
/**
* @description 格式化接收的数据
* @date 2022年7月17日08:48:03
* @param {Array} array 待处理数据
* @return {Array} 已处理数据
**/
formateReceiveData(object = {}){
let arr = [];
return arr;
},
/**
* @description 格式化发送的数据
* @date 2022年7月17日08:48:03
* @param {Array} array 待处理数据
* @return {Array} 已处理数据
**/
formateSendData(array = []){
let arr = [];
return arr;
}
}
}
</script>
......@@ -21,21 +85,3 @@
<style scoped>
</style>
<!--
模板说明
vue文件部分
html部分
javascript部分
css部分
-->
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册