websoft-uniapp仓库模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

104 lines
2.8 KiB

<template>
<view>
<!-- <uv-tabs :list="list" @click="click"></uv-tabs> -->
<uni-card :border="false" :is-shadow="false" :padding="0" @click="openUrl(`/package/team/detail?id=1`)">
<uni-section title="微醺俱乐部">
<uni-row class="team-item">
<uni-col :span="16">
<view class="team-item-info">
<view class="desc web-text-secondary">
<uv-text
:lines="3"
text="搜索世界各地美食,美食研究所“只做安心食品”,让用户买得放心,吃得安心。本团队为美食研究所唯一官方社群,集结各地美食家。轻松愉悦的社群环境,大胆畅聊品质生活、共同分享独到的美食品鉴感受。"
></uv-text>
</view>
</view>
<view class="team-item-info-avatar-group">
<uv-avatar-group :urls="urls" size="24" gap="0.5"></uv-avatar-group>
<uv-text class="web-text-secondary" style="padding-left: 16rpx;" text="506成员在学习"></uv-text>
</view>
</uni-col>
<uni-col :span="8">
<view class="team-item-image">
<uv-avatar src="https://oss.wsdns.cn/20240611/d8fc3fcc514e4e488a31438d21c4e206.jpg" shape="square" size="100" randomBgColor></uv-avatar>
</view>
</uni-col>
</uni-row>
<uv-gap height="24"></uv-gap>
<view class="news-activity">
<text style="width: 60rpx;">活动上新</text>
<uv-line direction="col" style="height: 80rpx; margin: 0 30rpx;"></uv-line>
<view class="desc">
<view>春日养生 | 分享你的独家养生心得</view>
<view>03-30 14:59 开始</view>
</view>
</view>
</uni-section>
<uv-gap height="20"></uv-gap>
</uni-card>
<uv-gap height="20"></uv-gap>
<view class="more-team web-text-heading">
探索与提升你的技能<text @click="openUrl(`/package/team/index`)" style="color: #0f80ff;">发现更多学习团队</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list: [
{
name: '我的团队'
},
{
name: '发现团队'
}
],
urls: [
'https://cdn.uviewui.com/uview/album/1.jpg',
'https://cdn.uviewui.com/uview/album/2.jpg',
'https://cdn.uviewui.com/uview/album/3.jpg',
'https://cdn.uviewui.com/uview/album/4.jpg',
'https://cdn.uviewui.com/uview/album/7.jpg',
'https://cdn.uviewui.com/uview/album/6.jpg',
'https://cdn.uviewui.com/uview/album/5.jpg'
]
};
},
methods: {
openUrl(url){
uni.navigateTo({
url
})
}
}
};
</script>
<style lang="scss">
.team-item {
padding: 0 16rpx;
&-info {
margin-bottom: 26rpx;
&-avatar-group {
display: flex;
}
}
&-image {
display: flex;
justify-content: flex-end;
}
}
.news-activity{
padding: 0 20rpx;
display: flex;
align-items: center;
}
.more-team{
text-align: center;
font-size: 28rpx;
}
</style>