为所有页面增加分享功能

This commit is contained in:
TOP糯米 2023-04-03 09:42:11 +08:00
parent c7d5b5f474
commit e62a6232c0
17 changed files with 34 additions and 0 deletions

View File

@ -152,6 +152,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
/** /**
* 修改注册类型 * 修改注册类型

View File

@ -63,6 +63,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
/** /**
* 获取验证码 * 获取验证码

View File

@ -92,6 +92,8 @@ export default {
onHide() {}, onHide() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: {}, methods: {},
}; };
</script> </script>

View File

@ -188,6 +188,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
openLocation(address) { openLocation(address) {
uni.openLocation({ uni.openLocation({

View File

@ -143,6 +143,8 @@ export default {
this.switchTab(this.tabIndex); this.switchTab(this.tabIndex);
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
}, },
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
/** /**
* 切换列表 * 切换列表

View File

@ -132,6 +132,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
toMessage(id) { toMessage(id) {
this.$store.commit("system/messageTabIndex", id); this.$store.commit("system/messageTabIndex", id);

View File

@ -65,6 +65,8 @@ export default {
this.loadAppraiseData(); this.loadAppraiseData();
}, },
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
/** /**
* 切换评价分类 * 切换评价分类

View File

@ -45,6 +45,8 @@ export default {
} }
}, },
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
loadList() { loadList() {
this.$models.user this.$models.user

View File

@ -61,6 +61,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
submit() { submit() {
if (this.money <= 0) { if (this.money <= 0) {

View File

@ -167,6 +167,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
toPage(url) { toPage(url) {
if (!this.isLogin) { if (!this.isLogin) {

View File

@ -67,6 +67,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
/** /**
* 获取验证码 * 获取验证码

View File

@ -248,6 +248,8 @@ export default {
}, },
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
uploadHeadImg() { uploadHeadImg() {
this.$utils.chooseImage(1).then((tempFiles) => { this.$utils.chooseImage(1).then((tempFiles) => {

View File

@ -55,6 +55,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
toPage(url) { toPage(url) {
this.$utils.toPage(url); this.$utils.toPage(url);

View File

@ -70,6 +70,8 @@ export default {
} }
}, },
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
switchTab(index) { switchTab(index) {
this.tabIndex = index; this.tabIndex = index;

View File

@ -64,6 +64,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
/** /**
* 删除图片 * 删除图片

View File

@ -188,6 +188,8 @@ export default {
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},
onPullDownRefresh() {}, onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
openLocation(address) { openLocation(address) {
uni.openLocation({ uni.openLocation({

View File

@ -131,6 +131,8 @@ export default {
this.switchTab(this.tabIndex); this.switchTab(this.tabIndex);
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
}, },
onShareTimeline() {},
onShareAppMessage() {},
methods: { methods: {
switchTab(index) { switchTab(index) {
this.$store.commit("system/orderTabIndex", index); this.$store.commit("system/orderTabIndex", index);