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 current: file.accessUrl
}) })
} else { } else {
wx.downloadFile({ uni.downloadFile({
url: file.accessUrl, url: file.accessUrl,
success: function (res) { success: function (res) {
const filePath = res.tempFilePath const filePath = res.tempFilePath
wx.openDocument({ uni.openDocument({
filePath: filePath, filePath: filePath,
success: function (res) { success: function (res) {
console.log('打开文档成功') console.log('打开文档成功')

View File

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

View File

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