Commit 043c9b62 authored by 高铭波's avatar 高铭波

修改页面样式

parent d464455b
......@@ -24,8 +24,7 @@
<view class="file-row" v-for="(item, index) in list" :key="index">
<view class="file-left">
<view class="file-name">
<u-icon class="item-icon" name="doc" custom-prefix="wxh" fontSize="52"></u-icon>
<image class="file-image" :src="wenjianImage"></image>
<u-icon class="item-icon" name="doc" custom-prefix="wxh" size="52"></u-icon>
<view class="file-format-text">{{formatText(item.name)}}</view>
</view>
......@@ -64,25 +63,6 @@
},
loading: false,
orderFile: false,
shareStyle: {
marginRight: '10rpx',
width: '100rpx',
height: '52rpx',
background: '#FFFFFF',
color: '#2272FF',
fontSize: '24rpx',
fontWeight: '400',
lineHeight: '52rpx'
},
previewStyle: {
width: '100rpx',
height: '52rpx',
background: '#2272FF',
color: '#FFFFFF',
fontSize: '24rpx',
fontWeight: '400',
lineHeight: '52rpx'
},
};
},
computed: {
......@@ -94,20 +74,25 @@
},
shareStyle() {
return {
'background-color': '#FFFFFF',
'heigth': '52rpx',
'width': '100rpx',
'color': '#2272FF',
'font-size': '24rpx',
marginRight: '10rpx',
width: '100rpx',
height: '52rpx',
background: '#FFFFFF',
color: '#2272FF',
fontSize: '24rpx',
fontWeight: '400',
lineHeight: '52rpx'
}
},
previewStyle() {
return {
'background-color': '#2272FF',
'heigth': '52rpx',
'width': '100rpx',
'color': '#FFFFFF',
'font-size': '24rpx',
width: '100rpx',
height: '52rpx',
background: '#2272FF',
color: '#FFFFFF',
fontSize: '24rpx',
fontWeight: '400',
lineHeight: '52rpx'
}
},
wenjianImage() {
......@@ -281,6 +266,7 @@
font-size: 26rpx;
.file-name {
margin-right: 20rpx;
position: relative;
.file-format-text {
......@@ -292,7 +278,7 @@
font-weight: bold;
color: #FFFFFF;
line-height: 52rpx;
margin-right: 20rpx;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment