This commit is contained in:
shijingjing
2022-04-28 18:43:13 +08:00
parent eab064c155
commit 543f31d60c
3 changed files with 5 additions and 5 deletions

View File

@@ -262,11 +262,11 @@
current: file.accessUrl
})
} else {
wx.downloadFile({
uni.downloadFile({
url: file.accessUrl,
success: function (res) {
const filePath = res.tempFilePath
wx.openDocument({
uni.openDocument({
filePath: filePath,
success: function (res) {
console.log('打开文档成功')

View File

@@ -45,7 +45,7 @@
<script>
export default {
name: 'newList',
name: 'newsList',
data () {
return {
currIndex: 0,

View File

@@ -497,7 +497,7 @@ export default {
}
.check-item{
display: inline-block;
width: 160px;
width: 140px;
height: 64px;
line-height: 64px;
text-align: center;
@@ -513,7 +513,7 @@ export default {
}
}
.check-item:nth-of-type(1) {
margin-right: 36px;
margin-right: 22px;
}
.check-active{
background: #E7F1FE;