luntanlist.vue 6.6 KB
<template>
	<view class="content">
		<view class="searchGoods-wrap">
			<view class="search-nav">
				<!-- search -->
				<view class="search">
					<view class="searchimg">
						<image src="../../static/search.png" mode=""></image>
					</view>
					<input type="text" confirm-type="search" placeholder-class="placeholder" placeholder="请输入关键词搜索" />
					<view class="search-btn">
						北京
						<image src="../../static/huixia.png" />
					</view>
				</view>
				<!-- nav -->
				<view class="nav-menus">
					<scroll-view class="nav-menu" scroll-x="true">
						<view class="active">
							帮工招聘求职
						</view>
						<view>
							面坊转让求购
						</view>
						<view>
							征婚交友
						</view>
						<view>
							中面集团
						</view>
					</scroll-view>
				</view>
			</view>
			<!-- 列表 -->
			<view class="list">
				<!-- content -->
				<view class="new-release-content" @click="luntandetail">
					<!-- 头像,名称,等级 -->
					<view class="userinfo-wrap">
						<image src="../../icons/nav2.png"></image>
						<text class="title">我是用户昵称</text>
						<view class="VIP">
							<image src="../../icons/vip.png"></image>
							VIP5
						</view>
					</view>
					<!-- type -->
					<view class="type-wrap">
						帮工招聘求职
						<text>帮工</text>
						<text>配送员</text>
						<text>销售员</text>
					</view>
					<!-- content -->
					<view class="release-text">
						<view class="release-text-title">
							帖子标题帖子标题帖子标题帖子标题帖子帖子
						</view>
						<view class="release-text-content">
							帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容...
						</view>
					</view>
					<!-- 点赞, 人数 -->
					<view class="thumbs-number">
						<view class="thumbs">
							<image src="../../icons/thumbs.png"></image>
							399
						</view>
						<view class="number">
							<image src="../../icons/number.png"></image>
							399
						</view>
					</view>
				</view>
				<view class="new-release-content">
					<!-- 头像,名称,等级 -->
					<view class="userinfo-wrap">
						<image src="../../icons/nav2.png"></image>
						<text class="title">我是用户昵称</text>
						<view class="VIP">
							<image src="../../icons/vip.png"></image>
							VIP5
						</view>
					</view>
					<!-- type -->
					<view class="type-wrap">
						帮工招聘求职
						<text>帮工</text>
						<text>配送员</text>
						<text>销售员</text>
					</view>
					<!-- content -->
					<view class="release-text">
						<view class="release-text-title">
							帖子标题帖子标题帖子标题帖子标题帖子帖子
						</view>
						<view class="release-text-content">
							帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容...
						</view>
					</view>
					<!-- 点赞, 人数 -->
					<view class="thumbs-number">
						<view class="thumbs">
							<image src="../../icons/thumbs1.png"></image>
							399
						</view>
						<view class="number">
							<image src="../../icons/number.png"></image>
							399
						</view>
					</view>
				</view>
				<view class="new-release-content">
					<!-- 头像,名称,等级 -->
					<view class="userinfo-wrap">
						<image src="../../icons/nav2.png"></image>
						<text class="title">我是用户昵称</text>
						<view class="VIP">
							<image src="../../icons/vip.png"></image>
							VIP5
						</view>
					</view>
					<!-- type -->
					<view class="type-wrap">
						帮工招聘求职
						<text>帮工</text>
						<text>配送员</text>
						<text>销售员</text>
					</view>
					<!-- content -->
					<view class="release-text">
						<view class="release-text-title">
							帖子标题帖子标题帖子标题帖子标题帖子帖子
						</view>
						<view class="release-text-content">
							帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容
							<image src="../../icons/banner.png" mode="widthFix" />
							<image src="../../icons/banner.png" mode="widthFix" />
							<image src="../../icons/banner.png" mode="widthFix" />
						</view>
					</view>
					<!-- 点赞, 人数 -->
					<view class="thumbs-number">
						<view class="thumbs">
							<image src="../../icons/thumbs1.png"></image>
							399
						</view>
						<view class="number">
							<image src="../../icons/number.png"></image>
							399
						</view>
					</view>
				</view>
			</view>
		</view>



	</view>
</template>

<script>
	import app from "../../App.vue";
	export default {
		data() {
			return {
				showbanben: false
			}
		},
		onLoad() {



		},
		methods: {

			luntandetail() {
				uni.navigateTo({
					url:'./luntandetail'
				})
			}
		}

	}
</script>

<style>
	page {
		background: #f9f9f9;
	}

	.search {
		position: relative;
	}

	.searchimg {
		width: 28rpx;
		height: 28rpx;
		font-size: 0;
		position: absolute;
		left: 54rpx;
		top: 19rpx;

	}

	.search-nav {
		width: 750rpx;
		padding: 14rpx;
		box-sizing: border-box;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
		background: #fff;
	}

	.search-nav .search {
		padding: 0 32rpx;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}

	.search-nav .search .placeholder {
		font-size: 24rpx;
		color: #BDC4CE;
	}

	.search-nav .search icon {
		position: absolute;
		top: 14rpx;
		left: 45rpx;
	}

	.search-nav .search input {
		height: 60rpx;
		width: 72vw;
		border: 1px solid #eee;
		background: #F9F9F9;
		border-radius: 50px;
		padding-left: 60rpx;
	}

	.search-nav .search .search-btn {
		color: #BDC4CE;
		font-size: 24rpx;
		margin-left: 24rpx;
		border: 1px solid #EEEEEE;
		width: 120rpx;
		height: 60rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 50px;
	}

	.search-nav .search .search-btn image {
		width: 16rpx;
		height: 16rpx;
		margin-left: 10rpx;
	}

	.search-nav .nav-menus {
		padding-left: 36rpx;
		padding-right: 8rpx;
	}

	.search-nav .nav-menu {
		white-space: nowrap;
	}

	.search-nav .nav-menu view {
		display: inline-block;
		color: #232323;
		font-size: 30rpx;
		height: 88rpx;
		line-height: 88rpx;
		margin-right: 28rpx;
	}

	.search-nav .nav-menu .active {
		color: #FF9417;
		position: relative;
	}

	.search-nav .nav-menu .active::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		height: 2px;
		width: 100%;
		background: #FF9417;
	}

	.list {
		padding-top: 152rpx;
	}
</style>