为所有页面增加分享功能
This commit is contained in:
parent
3a09268465
commit
724a51c5d3
|
@ -78,6 +78,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
loadAddress() {
|
loadAddress() {
|
||||||
this.$request({
|
this.$request({
|
||||||
|
|
|
@ -120,6 +120,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
save() {
|
save() {
|
||||||
this.$request({
|
this.$request({
|
||||||
|
|
|
@ -134,6 +134,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: {
|
||||||
/**
|
/**
|
||||||
* 获取验证码
|
* 获取验证码
|
||||||
|
|
|
@ -278,6 +278,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 返回
|
* 返回
|
||||||
|
|
|
@ -64,6 +64,8 @@ export default {
|
||||||
onHide() {},
|
onHide() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {},
|
methods: {},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -146,6 +146,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 点击轮播
|
* 点击轮播
|
||||||
|
|
|
@ -57,6 +57,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 上传图片
|
* 上传图片
|
||||||
|
|
|
@ -156,6 +156,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 头像
|
* 头像
|
||||||
|
|
|
@ -67,6 +67,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 获取验证码
|
* 获取验证码
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -87,6 +87,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
chooseTag(tag) {
|
chooseTag(tag) {
|
||||||
if (!this.chooseTags.includes(tag)) {
|
if (!this.chooseTags.includes(tag)) {
|
||||||
|
|
|
@ -138,6 +138,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
bindDateChange(e) {
|
bindDateChange(e) {
|
||||||
this.date = e.detail.value;
|
this.date = e.detail.value;
|
||||||
|
|
|
@ -252,6 +252,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 打开地图
|
* 打开地图
|
||||||
|
|
|
@ -131,6 +131,8 @@ export default {
|
||||||
this.switchTab(this.tabIndex);
|
this.switchTab(this.tabIndex);
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
},
|
},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 切换tab页
|
* 切换tab页
|
||||||
|
|
|
@ -121,6 +121,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 删除图片
|
* 删除图片
|
||||||
|
|
|
@ -102,6 +102,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
checkGroup(parentIndex) {
|
checkGroup(parentIndex) {
|
||||||
let currentItem = this.list[parentIndex];
|
let currentItem = this.list[parentIndex];
|
||||||
|
|
|
@ -101,6 +101,8 @@ export default {
|
||||||
},
|
},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 推荐
|
* 推荐
|
||||||
|
|
|
@ -160,6 +160,8 @@ export default {
|
||||||
this.loadAppraiseData();
|
this.loadAppraiseData();
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 分享
|
* 分享
|
||||||
|
|
|
@ -71,6 +71,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 加载列表
|
* 加载列表
|
||||||
|
|
|
@ -88,6 +88,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
submit() {
|
submit() {
|
||||||
this.$models.service
|
this.$models.service
|
||||||
|
|
|
@ -84,6 +84,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
submit() {
|
submit() {
|
||||||
this.$models.service
|
this.$models.service
|
||||||
|
|
|
@ -138,6 +138,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 选择车型
|
* 选择车型
|
||||||
|
|
|
@ -36,6 +36,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 跳转
|
* 跳转
|
||||||
|
|
|
@ -130,6 +130,8 @@ export default {
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onReachBottom() {},
|
onReachBottom() {},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
changeNumber(e) {
|
changeNumber(e) {
|
||||||
this.number = e.value;
|
this.number = e.value;
|
||||||
|
|
|
@ -123,6 +123,8 @@ export default {
|
||||||
this.loadAppraiseData();
|
this.loadAppraiseData();
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {},
|
onPullDownRefresh() {},
|
||||||
|
onShareTimeline() {},
|
||||||
|
onShareAppMessage() {},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
* 切换评价分类
|
* 切换评价分类
|
||||||
|
|
Loading…
Reference in New Issue