|
@@ -7,7 +7,7 @@ Page({
|
|
|
* 页面的初始数据
|
|
|
*/
|
|
|
data: {
|
|
|
-
|
|
|
+ showPage: false
|
|
|
},
|
|
|
|
|
|
/**
|
|
@@ -16,37 +16,14 @@ Page({
|
|
|
onLoad: function (options) {
|
|
|
SignIn.getActivityData("").then(res => {
|
|
|
console.log(res)
|
|
|
- }).catch(_ => {})
|
|
|
-
|
|
|
- SignIn.getUserAwardCouponList({
|
|
|
- page: 1,
|
|
|
- pageSize: 10,
|
|
|
- mobile: "16602120168"
|
|
|
- }).then(res => {
|
|
|
- console.log(res);
|
|
|
- }).catch(_ => {})
|
|
|
-
|
|
|
- SignIn.getUserSignInList({
|
|
|
- page: 1,
|
|
|
- pageSize: 10,
|
|
|
- mobile: "16602120168"
|
|
|
- }).then(res => {
|
|
|
- console.log(res);
|
|
|
- }).catch(_ => {})
|
|
|
-
|
|
|
- SignIn.getUserAwardCouponUseStateList({
|
|
|
- page: 1,
|
|
|
- pageSize: 10,
|
|
|
- mobile: "16602120168"
|
|
|
- }).then(res => {
|
|
|
- console.log(res);
|
|
|
- }).catch(_ => {})
|
|
|
+
|
|
|
+ }).catch(_ => {
|
|
|
|
|
|
- SignIn.getUserAwardCouponNum({
|
|
|
- mobile: "16602120168"
|
|
|
- }).then(res => {
|
|
|
- console.log(res);
|
|
|
- }).catch(_ => {})
|
|
|
+ }).finally(_ => {
|
|
|
+ this.setData({
|
|
|
+ showPage: true
|
|
|
+ })
|
|
|
+ })
|
|
|
|
|
|
},
|
|
|
|