为所有页面增加分享功能

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() {},
onReachBottom() {},
onPullDownRefresh() {},
onShareTimeline() {},
onShareAppMessage() {},
methods: {
/**
* 修改注册类型

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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