|
@@ -80,7 +80,6 @@ methods:{
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
}).then(res => {
|
|
}).then(res => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
- console.log(11)
|
|
|
|
let curPageData = res.data.items;
|
|
let curPageData = res.data.items;
|
|
let totalPage = res.data.total;
|
|
let totalPage = res.data.total;
|
|
let curPageLen = curPageData.length;
|
|
let curPageLen = curPageData.length;
|
|
@@ -102,14 +101,17 @@ onShow(){
|
|
重置列表数据 this.mescroll.resetUpScroll()
|
|
重置列表数据 this.mescroll.resetUpScroll()
|
|
```
|
|
```
|
|
|
|
|
|
-##工具类
|
|
|
|
|
|
+## 工具类
|
|
|
|
|
|
```
|
|
```
|
|
1、时间戳格式化
|
|
1、时间戳格式化
|
|
parseTime(gmtCreate)
|
|
parseTime(gmtCreate)
|
|
|
|
+2、地址拆分省市区详细地址
|
|
|
|
+let _address = this.$helper.formatLocation("辽宁省营口市鲅鱼圈区日月大道8号")
|
|
|
|
+
|
|
```
|
|
```
|
|
|
|
|
|
-##U-view 常用
|
|
|
|
|
|
+## U-view 常用
|
|
|
|
|
|
```
|
|
```
|
|
1、toast提示
|
|
1、toast提示
|
|
@@ -146,7 +148,7 @@ export default {
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
-##同步请求
|
|
|
|
|
|
+## 同步请求
|
|
|
|
|
|
```
|
|
```
|
|
async upCallback(page) {
|
|
async upCallback(page) {
|
|
@@ -181,7 +183,7 @@ async upCallback(page) {
|
|
},
|
|
},
|
|
```
|
|
```
|
|
|
|
|
|
-##公共样式
|
|
|
|
|
|
+## 公共样式
|
|
```
|
|
```
|
|
static/styles/index.scss
|
|
static/styles/index.scss
|
|
|
|
|