parent
a33a46e8cd
commit
77d921a945
@ -0,0 +1,58 @@
|
||||
<script setup lang="ts">
|
||||
const list = [
|
||||
{
|
||||
id: 1,
|
||||
name: '',
|
||||
desc: '公司风采一标题占用两行',
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
name: '',
|
||||
desc: '公司风采一标题占用两行',
|
||||
},
|
||||
{
|
||||
id: 122,
|
||||
name: '',
|
||||
desc: '公司风采一标题占用两行',
|
||||
},
|
||||
]
|
||||
const onClick = () => {}
|
||||
const actionsClick = type => {}
|
||||
</script>
|
||||
<template>
|
||||
<view class="class">
|
||||
<view class="hd">
|
||||
<view class="module-title">知识大课堂</view>
|
||||
<view class="module-more">更多 > </view>
|
||||
</view>
|
||||
<view class="module-cont">
|
||||
<view class="section" v-for="item in list" :key="item.id">
|
||||
<image class="left" src="https://yanxuan-item.nosdn.127.net/ef56a7139fffe2650a7cd74deafd08da.png"></image>
|
||||
<view class="right">
|
||||
<view class="desc">{{item.desc}}</view>
|
||||
<view class="footer">
|
||||
<view class="num">4.2w人浏览</view>
|
||||
<view class="action">
|
||||
<view class="item">
|
||||
<uni-icons type="redo" size="18" color="#999"></uni-icons>
|
||||
<text class="text">分享</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<uni-icons type="hand-up-filled" size="18" color="#999"></uni-icons>
|
||||
<text class="text">点赞</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<uni-icons type="chat" size="18" color="#999"></uni-icons>
|
||||
<text class="text">评论</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../styles/class.scss';
|
||||
</style>
|
@ -0,0 +1,54 @@
|
||||
<script setup lang="ts">
|
||||
const list = [
|
||||
{
|
||||
id: 1,
|
||||
name: '',
|
||||
desc: '公司风采一标题占用两行',
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
name: '',
|
||||
desc: '公司风采一标题占用两行',
|
||||
},
|
||||
{
|
||||
id: 122,
|
||||
name: '',
|
||||
desc: '公司风采一标题占用两行',
|
||||
},
|
||||
]
|
||||
const onClick = () => {}
|
||||
const actionsClick = type => {}
|
||||
</script>
|
||||
<template>
|
||||
<view class="community">
|
||||
<view class="hd">
|
||||
<view class="module-title">精彩社区</view>
|
||||
<view class="module-more">更多 > </view>
|
||||
</view>
|
||||
<view class="module-cont">
|
||||
<view class="section" v-for="item in list" :key="item.id">
|
||||
<image class="img" src="https://yanxuan-item.nosdn.127.net/ef56a7139fffe2650a7cd74deafd08da.png"></image>
|
||||
|
||||
<view class="desc">{{item.desc}}</view>
|
||||
<view class="action">
|
||||
<view class="item">
|
||||
<uni-icons type="redo" size="18" color="#999"></uni-icons>
|
||||
<text class="text">分享</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<uni-icons type="hand-up-filled" size="18" color="#999"></uni-icons>
|
||||
<text class="text">点赞</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<uni-icons type="chat" size="18" color="#999"></uni-icons>
|
||||
<text class="text">评论</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../styles/community.scss';
|
||||
</style>
|
@ -0,0 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
const handlePhone = () => {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: '400-123-000', //仅为示例
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
<view class="phone-contact">
|
||||
<view class="module-title">电话预约回收</view>
|
||||
<view class="module-action" @tap="handlePhone">400-123-000</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../styles/phoneContact.scss';
|
||||
</style>
|
@ -0,0 +1,72 @@
|
||||
/* 前台类目 */
|
||||
|
||||
.class {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
.hd {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.module-title {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
.module-more {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
}
|
||||
.module-cont {
|
||||
// margin: 20rpx 0 0;
|
||||
padding: 10rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
min-height: 328rpx;
|
||||
.section {
|
||||
width: 100%;
|
||||
border-radius: 16rpx;
|
||||
margin: 8rpx;
|
||||
padding: 16rpx 0;
|
||||
display: flex;
|
||||
justify-content: center; // flex-direction: row;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
.left {
|
||||
width: 240rpx;
|
||||
height: 216rpx;
|
||||
}
|
||||
.right {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
.desc {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.footer {
|
||||
margin: 80rpx 0 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.num {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.action {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-left: 10rpx;
|
||||
font-size: 24rpx;
|
||||
.item {
|
||||
margin: 0 4rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
@charset "UTF-8";
|
||||
/* 前台类目 */
|
||||
.class {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
|
||||
.class .hd {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.class .hd .module-title {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
|
||||
.class .hd .module-more {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
|
||||
.class .module-cont {
|
||||
padding: 10rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
min-height: 328rpx;
|
||||
}
|
||||
|
||||
.class .module-cont .section {
|
||||
width: 100%;
|
||||
border-radius: 16rpx;
|
||||
margin: 8rpx;
|
||||
padding: 16rpx 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.class .module-cont .section .left {
|
||||
width: 240rpx;
|
||||
height: 216rpx;
|
||||
}
|
||||
|
||||
.class .module-cont .section .right {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.class .module-cont .section .right .desc {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.class .module-cont .section .right .footer {
|
||||
margin: 80rpx 0 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.class .module-cont .section .right .footer .num {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.class .module-cont .section .right .footer .action {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-left: 10rpx;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.class .module-cont .section .right .footer .action .item {
|
||||
margin: 0 4rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
.community {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
.hd {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.module-title {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.module-more {
|
||||
color: #95969D;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
.module-cont {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.section {
|
||||
width: 47%;
|
||||
height: auto;
|
||||
margin: 10rpx 10rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 4rpx 10rpx;
|
||||
background-color: #fff;
|
||||
.img {
|
||||
height: 200rpx;
|
||||
}
|
||||
.desc {
|
||||
color: #0D0D26;
|
||||
}
|
||||
.action {
|
||||
margin: 20rpx 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.item {
|
||||
flex: 1;
|
||||
color: #95969D;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
.community {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
|
||||
.community .hd {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.community .hd .module-title {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.community .hd .module-more {
|
||||
color: #95969D;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.community .module-cont {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.community .module-cont .section {
|
||||
width: 47%;
|
||||
height: auto;
|
||||
margin: 10rpx 10rpx;
|
||||
border-radius: 10rpx;
|
||||
padding: 4rpx 10rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.community .module-cont .section .img {
|
||||
height: 200rpx;
|
||||
}
|
||||
|
||||
.community .module-cont .section .desc {
|
||||
color: #0D0D26;
|
||||
}
|
||||
|
||||
.community .module-cont .section .action {
|
||||
margin: 20rpx 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.community .module-cont .section .action .item {
|
||||
flex: 1;
|
||||
color: #95969D;
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
.neighborhood-site {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 4rpx;
|
||||
.module-title {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
.module-cont {
|
||||
padding: 20rpx 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.left {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
.md {
|
||||
flex: 1;
|
||||
margin: 0 10rpx;
|
||||
font-size: 24rpx;
|
||||
color: #0D0D26;
|
||||
.name {
|
||||
font-size: 30rpx;
|
||||
.zuijin {
|
||||
font-size: 24rpx;
|
||||
color: #FF7D00;
|
||||
background: #FFF7E8;
|
||||
padding: 4rpx 4rpx;
|
||||
margin-right: 6rpx;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
}
|
||||
.time {
|
||||
color: #95969D;
|
||||
margin: 8rpx 0;
|
||||
}
|
||||
.loction {
|
||||
color: #0D0D26;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
.num {
|
||||
font-size: 28rpx;
|
||||
color: #95969D
|
||||
}
|
||||
.img {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
margin-top: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.md-tag {
|
||||
background: #E8FFFB;
|
||||
color: #0FC6C2;
|
||||
margin: 10rpx 0;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
padding: 6rpx 0rpx;
|
||||
.tag-before {
|
||||
background: #0FC6C2;
|
||||
color: #fff;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
padding: 4rpx 8rpx;
|
||||
border-radius: 4rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
.foot-desc {
|
||||
.item {
|
||||
font-size: 24rpx;
|
||||
color: #95969D;
|
||||
margin: 10rpx 0;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
.neighborhood-site {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-title {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont {
|
||||
padding: 20rpx 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .left {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .md {
|
||||
flex: 1;
|
||||
margin: 0 10rpx;
|
||||
font-size: 24rpx;
|
||||
color: #0D0D26;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .md .name {
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .md .name .zuijin {
|
||||
font-size: 24rpx;
|
||||
color: #FF7D00;
|
||||
background: #FFF7E8;
|
||||
padding: 4rpx 4rpx;
|
||||
margin-right: 6rpx;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .md .time {
|
||||
color: #95969D;
|
||||
margin: 8rpx 0;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .md .loction {
|
||||
color: #0D0D26;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .right .num {
|
||||
font-size: 28rpx;
|
||||
color: #95969D;
|
||||
}
|
||||
|
||||
.neighborhood-site .module-cont .right .img {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
margin-top: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .md-tag {
|
||||
background: #E8FFFB;
|
||||
color: #0FC6C2;
|
||||
margin: 10rpx 0;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
padding: 6rpx 0rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .md-tag .tag-before {
|
||||
background: #0FC6C2;
|
||||
color: #fff;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
padding: 4rpx 8rpx;
|
||||
border-radius: 4rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.neighborhood-site .foot-desc .item {
|
||||
font-size: 24rpx;
|
||||
color: #95969D;
|
||||
margin: 10rpx 0;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
/* 热门推荐 */
|
||||
|
||||
.phone-contact {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 4rpx;
|
||||
.module-title {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
.module-action {
|
||||
width: 486rpx;
|
||||
margin: 40rpx auto 0;
|
||||
border-radius: 50px;
|
||||
background: #5386E4;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
font-size: 32rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20rpx 100rpx;
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
@charset "UTF-8";
|
||||
/* 热门推荐 */
|
||||
.phone-contact {
|
||||
padding: 32rpx 20rpx;
|
||||
margin: 16rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
|
||||
.phone-contact .module-title {
|
||||
font-size: 30rpx;
|
||||
color: #0D0D26;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 2rpx solid #F2F2F2;
|
||||
}
|
||||
|
||||
.phone-contact .module-action {
|
||||
width: 486rpx;
|
||||
margin: 40rpx auto 0;
|
||||
border-radius: 50px;
|
||||
background: #5386E4;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
font-size: 32rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20rpx 100rpx;
|
||||
}
|
Loading…
Reference in new issue