sds
This commit is contained in:
parent
c288a88104
commit
b6fb882a7e
@ -10,14 +10,7 @@ const app = getApp();
|
||||
|
||||
|
||||
Page({
|
||||
onShareAppMessage: function (res) {
|
||||
return {
|
||||
title: 'ECharts 可以在微信小程序中使用啦!',
|
||||
path: '/pages/index/index',
|
||||
success: function () {},
|
||||
fail: function () {}
|
||||
}
|
||||
},
|
||||
|
||||
data: {
|
||||
ec: {
|
||||
lazyLoad: true
|
||||
@ -467,4 +460,17 @@ Page({
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享到朋友圈
|
||||
*/
|
||||
onShareTimeline() {
|
||||
|
||||
}
|
||||
});
|
||||
@ -1,9 +1,6 @@
|
||||
import request from '~/api/request';
|
||||
import useToastBehavior from '~/behaviors/useToast';
|
||||
|
||||
Page({
|
||||
behaviors: [useToastBehavior],
|
||||
|
||||
data: {
|
||||
isLoad: true,
|
||||
service: [],
|
||||
@ -45,8 +42,10 @@ Page({
|
||||
risk_type: ''
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
// this.getServiceList();
|
||||
onLoad(options) {
|
||||
if(options.scrm_userid){
|
||||
this.scrmBindTag(options.scrm_userid)
|
||||
}
|
||||
},
|
||||
|
||||
handelClick(e) {
|
||||
@ -134,6 +133,32 @@ Page({
|
||||
wx.navigateTo({
|
||||
url: '/pages/emergency/index',
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
// 通过分享页面设置手术时间标签
|
||||
|
||||
scrmBindTag(user_id){
|
||||
request('patient/bind_tag', 'post', {
|
||||
wx_user_id: user_id,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享到朋友圈
|
||||
*/
|
||||
onShareTimeline() {
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@ -2,5 +2,7 @@
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"t-navbar": "tdesign-miniprogram/navbar/navbar"
|
||||
}
|
||||
},
|
||||
"enableShareAppMessage": true,
|
||||
"enableShareTimeline": true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user