index.vue
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<template>
<view class="">
<!-- 顶部标签 -->
<u-tabs :list="list1" :lineColor="lineColor" :lineWidth="lineWidth" :itemStyle="itemStyle"></u-tabs>
<!-- 版心 -->
<view class="mainBox">
<!-- 卖家信息 -->
<view class="sellerBox flexA" v-for="item in 5">
<view class="rightBox">
<view class="nameBox">村镇资源标题如何高效快速的提高农作物的产量的方...</view>
<view class="timeBox">
2022-05-08
</view>
</view>
<view class="leftBox">
<img src="../../static/ic_29@2x.png" alt="">
</view>
</view>
<view class="emptyBox"></view>
<view class="">
<Tabbar :idx="1"></Tabbar>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list1: [{
name: '村镇资源',
}, {
name: '资源科普',
}],
lineColor: "#62CDCE",
lineWidth: "80rpx",
itemStyle: {
color: "#000000",
fontSize: "28rpx",
fontWeight: "700",
width: "325rpx",
height: "88rpx",
}
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss">
page {
background-color: #FAFAFA;
}
.mainBox {
width: 686rpx;
margin: 0 auto;
}
.minBox {
width: 686rpx;
margin: 0 auto;
}
.sellerBox {
padding: 16rpx 57rpx 16rpx 49rpx;
margin-top: 30rpx;
width: 586rpx;
// height: 232rpx;
border-radius: 16rpx;
background: #fff;
}
.leftBox {
img {
width: 240rpx;
height: 180rpx;
}
}
.rightBox {
padding-right: 16rpx;
.nameBox {
color: rgba(0, 0, 0, 0.9);
font-size: 28rpx;
font-weight: 400;
padding-top: 20rpx;
}
.addressBox {
padding-top: 16rpx;
color: rgba(0, 0, 0, 0.4);
font-size: 24rpx;
font-weight: 400;
}
.addressBox>img {
width: 32rpx;
height: 32rpx;
}
}
.emptyBox {
height: 150rpx;
}
.timeBox {
padding-top: 24rpx;
color: rgba(0, 0, 0, 0.26);
font-size: 22rpx;
font-weight: 400;
}
.detailsBox {
img {
width: 750rpx;
height: 421rpx;
}
}
.titleBox {
color: rgba(0, 0, 0, 0.9);
font-size: 32rpx;
font-weight: 500;
}
.timeBoxone {
color: rgba(0, 0, 0, 0.4);
font-size: 24rpx;
font-weight: 400;
}
.richText {
color: rgba(0, 0, 0, 0.6);
font-size: 28rpx;
font-weight: 400;
}
</style>