Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
dab4f604
Commit
dab4f604
authored
Jul 22, 2019
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update hlsUtil.md
parent
310265d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
hlsUtil.md
angular/hlsUtil.md
+0
-14
No files found.
angular/hlsUtil.md
View file @
dab4f604
...
...
@@ -220,20 +220,6 @@ vm.showSheet = function () {
- 相册回调函数返回图片的选中存储地址是数组形式的返回
- 循环返回结果调用base64方法转成base64
##### 15.文件预览 `file_view`
- 文件预览需配合中台才能实现,目前实现方式仅仅为Linux服务器,windows的正在寻求方法。
- 文件预览支持Office全家桶
- 参数 `(对象)`
- 参数 `file_path`目标文件地址
- 参数 `file_type`文件类型 需带上`.`如`.docx`
- 调用实例如下
```
javascript
function openFile () {
hlsUtil.file_view({'file_path': "/u01/web/guohuan_dev/web/attment/20160221", "file_type": ".docx"});
}
```
##### 16.查看大图 `showBigPicture`
- 图片展示放大查看,支持双指缩放
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment