Browse Source

就诊地图&1v1沟通上线

master
kola-web 2 months ago
parent
commit
ae2be37923
  1. 2
      project.config.json
  2. 12
      src/app.ts
  3. 6
      src/patient/pages/liveDetail/index.ts

2
project.config.json

@ -71,5 +71,5 @@
} }
] ]
}, },
"appid": "wxf9ce8010f1ad24aa" "appid": "wx71ac9c27c3c3e3f4"
} }

12
src/app.ts

@ -16,15 +16,15 @@ App<IAppOption>({
// 测试号 wx2b0bb13edf717c1d // 测试号 wx2b0bb13edf717c1d
// dev // dev
// appid:wxf9ce8010f1ad24aa // appid:wxf9ce8010f1ad24aa
url: 'https://m.xd.hbraas.com', // url: 'https://m.xd.hbraas.com',
upFileUrl: 'https://m.xd.hbraas.com/', // upFileUrl: 'https://m.xd.hbraas.com/',
imageUrl: 'https://m.xd.hbraas.com/xd/', // imageUrl: 'https://m.xd.hbraas.com/xd/',
// pro // pro
// appid:wx71ac9c27c3c3e3f4 // appid:wx71ac9c27c3c3e3f4
// url: 'https://m.xd.hbsaas.com', url: 'https://m.xd.hbsaas.com',
// upFileUrl: 'https://m.xd.hbsaas.com/', upFileUrl: 'https://m.xd.hbsaas.com/',
// imageUrl: 'https://m.xd.hbsaas.com/api/xd/', imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
loginState: '', loginState: '',
isLogin: 0, isLogin: 0,

6
src/patient/pages/liveDetail/index.ts

@ -29,6 +29,7 @@ Page({
} as any, } as any,
answer: false, answer: false,
isAnswer: false,
}, },
videoContext: {} as WechatMiniprogram.VideoContext, videoContext: {} as WechatMiniprogram.VideoContext,
onLoad(options) { onLoad(options) {
@ -155,7 +156,10 @@ Page({
}, },
currentVideoSrc: res.ReplayVideoUrl, currentVideoSrc: res.ReplayVideoUrl,
}) })
if (this.data.answer && res.QuestionnaireUrl) { if (this.data.answer && res.QuestionnaireUrl && !this.data.isAnswer) {
this.setData({
isAnswer: true,
})
this.handleAnswer() this.handleAnswer()
} }
}) })

Loading…
Cancel
Save