Browse Source

添加分享

dev
396316021 1 year ago
parent
commit
aef13ddae5
  1. 21
      pages/Index/index.vue

21
pages/Index/index.vue

@ -61,13 +61,8 @@ import HomePage from '@/pages/Index/components/HomePage/index.vue';
import UserPage from '@/pages/Index/components/UserPage/index.vue';
import ShopPage from '@/pages/Index/components/ShopPage/index.vue';
import ActivityPage from '@/pages/Index/components/ActivityPage/index.vue';
import {
testLogin,
userDetail,
userExtends
} from "@/api/user";
import {testLogin, userDetail, userExtends} from "@/api/user";
import {imghost} from "@/config/host";
import api from "../../utils/functions";
export default {
components: {
@ -242,7 +237,19 @@ export default {
this.title = newVal;
}
}
}
},
onShareAppMessage() {
return {
title: this.title,
path: '/pages/Index/index?footCheck=' + this.footCheck,
};
},
onShareTimeline() {
return {
title: this.title,
path: '/pages/Index/index?footCheck=' + this.footCheck,
};
},
}
</script>

Loading…
Cancel
Save