|
@@ -54,8 +54,8 @@
|
|
|
>
|
|
>
|
|
|
</list-item>
|
|
</list-item>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="fixed-btns">
|
|
|
|
|
- <!-- <image
|
|
|
|
|
|
|
+ <!-- <view class="fixed-btns">
|
|
|
|
|
+ <image
|
|
|
class="fixed-btn"
|
|
class="fixed-btn"
|
|
|
:src="require('@/assets/icon/icon-btn-service.png')"
|
|
:src="require('@/assets/icon/icon-btn-service.png')"
|
|
|
@click="jumpModuleAll('/pages/help/help_contact')"
|
|
@click="jumpModuleAll('/pages/help/help_contact')"
|
|
@@ -65,7 +65,7 @@
|
|
|
:src="require('@/assets/icon/icon-btn-message.png')"
|
|
:src="require('@/assets/icon/icon-btn-message.png')"
|
|
|
@click="jumpModuleAll('/pages/my/messages')"
|
|
@click="jumpModuleAll('/pages/my/messages')"
|
|
|
></image>
|
|
></image>
|
|
|
- -->
|
|
|
|
|
|
|
+
|
|
|
<image
|
|
<image
|
|
|
v-if="showTask"
|
|
v-if="showTask"
|
|
|
class="fixed-btn"
|
|
class="fixed-btn"
|
|
@@ -73,12 +73,13 @@
|
|
|
@click="jumpModuleAll('/pages/task/index')"
|
|
@click="jumpModuleAll('/pages/task/index')"
|
|
|
></image>
|
|
></image>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ -->
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
import login from "@/lib/utils/login";
|
|
import login from "@/lib/utils/login";
|
|
|
import { homeModules } from "@/lib/api/home";
|
|
import { homeModules } from "@/lib/api/home";
|
|
|
-import { getSingInfo } from "@/lib/api/task";
|
|
|
|
|
|
|
+// import { getSingInfo } from "@/lib/api/task";
|
|
|
import listItem from "@/components/list-item/list-item.vue";
|
|
import listItem from "@/components/list-item/list-item.vue";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -94,7 +95,7 @@ export default {
|
|
|
userInfo: {},
|
|
userInfo: {},
|
|
|
modules: {},
|
|
modules: {},
|
|
|
tabStyle: "",
|
|
tabStyle: "",
|
|
|
- showTask: false,
|
|
|
|
|
|
|
+ // showTask: false,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
async onLoad() {
|
|
async onLoad() {
|
|
@@ -106,9 +107,9 @@ export default {
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- onShow() {
|
|
|
|
|
- this.getSingInfo();
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // onShow() {
|
|
|
|
|
+ // // this.getSingInfo();
|
|
|
|
|
+ // },
|
|
|
onShareAppMessage() {
|
|
onShareAppMessage() {
|
|
|
return {
|
|
return {
|
|
|
title: "云果国潮会员中心",
|
|
title: "云果国潮会员中心",
|
|
@@ -187,14 +188,14 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- async getSingInfo() {
|
|
|
|
|
- if (!this.userInfo.session) {
|
|
|
|
|
- this.showTask = true;
|
|
|
|
|
- return Promise.reject();
|
|
|
|
|
- }
|
|
|
|
|
- const data = await getSingInfo(this.userInfo.session);
|
|
|
|
|
- this.showTask = !data.is_current_signin;
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // async getSingInfo() {
|
|
|
|
|
+ // if (!this.userInfo.session) {
|
|
|
|
|
+ // this.showTask = true;
|
|
|
|
|
+ // return Promise.reject();
|
|
|
|
|
+ // }
|
|
|
|
|
+ // const data = await getSingInfo(this.userInfo.session);
|
|
|
|
|
+ // this.showTask = !data.is_current_signin;
|
|
|
|
|
+ // },
|
|
|
|
|
|
|
|
jumpModuleAll(url) {
|
|
jumpModuleAll(url) {
|
|
|
if (!url) return;
|
|
if (!url) return;
|