123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { FreeButton } from "@/config/api.js";
- export default {
-
-
-
- data() {
- return {
- isShowFree: false,
- isHorzMobile: null,
- };
- },
- onShow() {
- this.isShowFreeButton();
- },
- onLoad(optios) {
-
-
-
-
-
-
-
-
-
-
-
-
-
- this.userIsShowShare();
- },
- methods: {
-
- async isShowFreeButton() {
- const res = await FreeButton.userIsShowFreeButton();
- if (res.Ret === 200) {
- this.isShowFree = res.Data.IsShow;
- }
- },
-
- async userIsShowShare() {
- const res = await FreeButton.userIsShowShare();
- if (res.Ret === 200) {
- this.isHorzMobile = res.Data.IsShow;
- }
- },
- },
- };
|