为所有页面增加分享功能
This commit is contained in:
parent
c7d5b5f474
commit
e62a6232c0
|
@ -152,6 +152,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
/**
|
||||
* 修改注册类型
|
||||
|
|
|
@ -63,6 +63,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
/**
|
||||
* 获取验证码
|
||||
|
|
|
@ -92,6 +92,8 @@ export default {
|
|||
onHide() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {},
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -188,6 +188,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
openLocation(address) {
|
||||
uni.openLocation({
|
||||
|
|
|
@ -143,6 +143,8 @@ export default {
|
|||
this.switchTab(this.tabIndex);
|
||||
uni.stopPullDownRefresh();
|
||||
},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
/**
|
||||
* 切换列表
|
||||
|
|
|
@ -132,6 +132,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
toMessage(id) {
|
||||
this.$store.commit("system/messageTabIndex", id);
|
||||
|
|
|
@ -65,6 +65,8 @@ export default {
|
|||
this.loadAppraiseData();
|
||||
},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
/**
|
||||
* 切换评价分类
|
||||
|
|
|
@ -45,6 +45,8 @@ export default {
|
|||
}
|
||||
},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
loadList() {
|
||||
this.$models.user
|
||||
|
|
|
@ -61,6 +61,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
submit() {
|
||||
if (this.money <= 0) {
|
||||
|
|
|
@ -167,6 +167,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
toPage(url) {
|
||||
if (!this.isLogin) {
|
||||
|
|
|
@ -67,6 +67,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
/**
|
||||
* 获取验证码
|
||||
|
|
|
@ -248,6 +248,8 @@ export default {
|
|||
},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
uploadHeadImg() {
|
||||
this.$utils.chooseImage(1).then((tempFiles) => {
|
||||
|
|
|
@ -55,6 +55,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
toPage(url) {
|
||||
this.$utils.toPage(url);
|
||||
|
|
|
@ -70,6 +70,8 @@ export default {
|
|||
}
|
||||
},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
switchTab(index) {
|
||||
this.tabIndex = index;
|
||||
|
|
|
@ -64,6 +64,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
/**
|
||||
* 删除图片
|
||||
|
|
|
@ -188,6 +188,8 @@ export default {
|
|||
onReady() {},
|
||||
onReachBottom() {},
|
||||
onPullDownRefresh() {},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
openLocation(address) {
|
||||
uni.openLocation({
|
||||
|
|
|
@ -131,6 +131,8 @@ export default {
|
|||
this.switchTab(this.tabIndex);
|
||||
uni.stopPullDownRefresh();
|
||||
},
|
||||
onShareTimeline() {},
|
||||
onShareAppMessage() {},
|
||||
methods: {
|
||||
switchTab(index) {
|
||||
this.$store.commit("system/orderTabIndex", index);
|
||||
|
|
Loading…
Reference in New Issue