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

修改页面样式

parent d464455b
...@@ -24,8 +24,7 @@ ...@@ -24,8 +24,7 @@
<view class="file-row" v-for="(item, index) in list" :key="index"> <view class="file-row" v-for="(item, index) in list" :key="index">
<view class="file-left"> <view class="file-left">
<view class="file-name"> <view class="file-name">
<u-icon class="item-icon" name="doc" custom-prefix="wxh" fontSize="52"></u-icon> <u-icon class="item-icon" name="doc" custom-prefix="wxh" size="52"></u-icon>
<image class="file-image" :src="wenjianImage"></image>
<view class="file-format-text">{{formatText(item.name)}}</view> <view class="file-format-text">{{formatText(item.name)}}</view>
</view> </view>
...@@ -64,25 +63,6 @@ ...@@ -64,25 +63,6 @@
}, },
loading: false, loading: false,
orderFile: 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: { computed: {
...@@ -94,20 +74,25 @@ ...@@ -94,20 +74,25 @@
}, },
shareStyle() { shareStyle() {
return { return {
'background-color': '#FFFFFF', marginRight: '10rpx',
'heigth': '52rpx', width: '100rpx',
'width': '100rpx', height: '52rpx',
'color': '#2272FF', background: '#FFFFFF',
'font-size': '24rpx', color: '#2272FF',
fontSize: '24rpx',
fontWeight: '400',
lineHeight: '52rpx'
} }
}, },
previewStyle() { previewStyle() {
return { return {
'background-color': '#2272FF', width: '100rpx',
'heigth': '52rpx', height: '52rpx',
'width': '100rpx', background: '#2272FF',
'color': '#FFFFFF', color: '#FFFFFF',
'font-size': '24rpx', fontSize: '24rpx',
fontWeight: '400',
lineHeight: '52rpx'
} }
}, },
wenjianImage() { wenjianImage() {
...@@ -281,6 +266,7 @@ ...@@ -281,6 +266,7 @@
font-size: 26rpx; font-size: 26rpx;
.file-name { .file-name {
margin-right: 20rpx;
position: relative; position: relative;
.file-format-text { .file-format-text {
...@@ -292,7 +278,7 @@ ...@@ -292,7 +278,7 @@
font-weight: bold; font-weight: bold;
color: #FFFFFF; color: #FFFFFF;
line-height: 52rpx; 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