Skip to content

Commit 04d73ba

Browse files
committed
sc
1 parent 1a187ee commit 04d73ba

3 files changed

Lines changed: 4 additions & 26 deletions

File tree

README.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,6 @@
1111
1212
>demo仓库 [https://github.com/8bulbs/jsl-vue-h5-demo](https://github.com/8bulbs/jsl-vue-h5-demo)
1313
14-
## 基于此配置构建的H5项目
15-
1. 公司年庆宣传跳一跳小游戏
16-
> 线上地址 [https://operation.mobile.taikang.com/jump/](https://operation.mobile.taikang.com/jump/)
17-
18-
> git仓库 [https://github.com/8bulbs/tk-jump](https://github.com/8bulbs/tk-jump)
19-
2. 明星脸
20-
> 线上地址 [https://operation.mobile.taikang.com/testface/](https://operation.mobile.taikang.com/testface/)
21-
22-
> git仓库 [https://github.com/8bulbs/star-face](https://github.com/8bulbs/star-face)
23-
24-
3. 疫苗查询
25-
26-
> 线上地址 [https://operation.mobile.taikang.com/vaccine/](https://operation.mobile.taikang.com/vaccine/)
27-
28-
> git仓库 [https://github.com/8bulbs/vaccine-search](https://github.com/8bulbs/vaccine-search)
29-
4. 心理年龄测试
30-
31-
> 线上地址 [https://operation.mobile.taikang.com/agetest/](https://operation.mobile.taikang.com/agetest/)
32-
33-
> git仓库 [https://github.com/8bulbs/psychological-age-test](https://github.com/8bulbs/psychological-age-test)
34-
35-
3614
## H5开发经典风骚优雅爬坑姿势集锦之top n
3715
> ### 1. 图片在ios端为空白
3816
> a方案: 给img加父级div, 设置父级div的高宽, 再给img设置宽度100%, a方法缺点, 增加了不必要的dom元素;

src/api/wechat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import $ from 'api/axios.config'
22
import { appId, url } from 'shared/constants-define'
33

44
export function getConfigInfo () {
5-
return $.get('/tkmap/wechat/getAppInfo.do', { appId }, { withCredentials: true })
5+
return $.get('/', { appId }, { withCredentials: true })
66
}
77

88
export function getSignature () {
9-
return $.get('/tkmap/wechat/jsapi/getSignature.do?appId=' + appId + '&url=' + url)
9+
return $.get('/?appId=' + appId + '&url=' + url)
1010
}

src/shared/constants-define.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ export const wxShareInfo = {
2525
desc: '微信分享描述',
2626
type: '',
2727
dataUrl: '',
28-
imgUrl: 'http://fans.images.wx.taikang.com/server/operation/jump/9e83172a118a0b552b3ed566f4905834.jpg',
29-
link: 'https://operation.mobile.taikang.com/jump/'
28+
imgUrl: '',
29+
link: ''
3030
}

0 commit comments

Comments
 (0)