为所有页面增加分享功能
This commit is contained in:
parent
c7d5b5f474
commit
e62a6232c0
|
@ -152,6 +152,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 修改注册类型
|
* 修改注册类型
|
||||||
|
|
|
@ -63,6 +63,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 获取验证码
|
* 获取验证码
|
||||||
|
|
|
@ -92,6 +92,8 @@ export default {
|
||||||
onHide() {},
|
onHide() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {},
|
methods: {},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -188,6 +188,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
openLocation(address) {
|
openLocation(address) {
|
||||||
uni.openLocation({
|
uni.openLocation({
|
||||||
|
|
|
@ -143,6 +143,8 @@ export default {
|
||||||
this.switchTab(this.tabIndex);
|
this.switchTab(this.tabIndex);
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
},
|
},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 切换列表
|
* 切换列表
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -65,6 +65,8 @@ export default {
|
||||||
this.loadAppraiseData();
|
this.loadAppraiseData();
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 切换评价分类
|
* 切换评价分类
|
||||||
|
|
|
@ -45,6 +45,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
loadList() {
|
loadList() {
|
||||||
this.$models.user
|
this.$models.user
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -67,6 +67,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 获取验证码
|
* 获取验证码
|
||||||
|
|
|
@ -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) => {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -70,6 +70,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
switchTab(index) {
|
switchTab(index) {
|
||||||
this.tabIndex = index;
|
this.tabIndex = index;
|
||||||
|
|
|
@ -64,6 +64,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 删除图片
|
* 删除图片
|
||||||
|
|
|
@ -188,6 +188,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
openLocation(address) {
|
openLocation(address) {
|
||||||
uni.openLocation({
|
uni.openLocation({
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue