<template>
	<view class="help-box">
		<view class="top-box">
			<view class="title">您好，</br> 我们为您提供更多帮助</view>
			<view class="search-box">
				<u-input v-model="keyword" disabled @click="searchFun" :clearable="false" :custom-style="customStyle" type="text" :border="false" :height="72" />
			</view>
		</view>
		<view class="bot-box">
			<view class="title">常见问题</view>
			<view class='sortlist'>
				<view class='list-item' @click="helpSort" v-for="(item,index) in list" :key="index">{{item.name}} <image src="/static/images/right-arrow.png"  mode=""></image> </view>
			</view>
		</view>
	</view>
</template>

<script>
	let domain = require("@/utils/domain")
	export default {
		data() {
			return {
				keyword: "",
				customStyle: {
					'color':'#333',
					'fontSize': '28rpx',
					'padding': '0 30rpx'
				},
				list: [
					{name:'接待管理',url:''},
					{name:'客户管理',url:''},
					{name:'设备管理',url:''},
					{name:'顾问管理',url:''},
				]
			};
		},
		onShow() {
		},
		methods: {
			searchFun(){
				uni.navigateTo({
					url: '/pages/mine/help/helpSearch'
				})
			},
			helpSort(){
				uni.navigateTo({
					url: '/pages/mine/help/helpSort'
				})
			},
		},
	}
</script>

<style lang="scss">
.help-box{
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	background: #F8F8F8;
	.top-box{
		width: 750rpx;
		height: 280rpx;
		padding: 30rpx 36rpx;
		margin-bottom: 20rpx;
		background: url('https://static.quhouse.com/5f06ad6e271748a9b06e9c027bd5bfe2.png') no-repeat;
		background-size: 750rpx 280rpx;

		.title{
			height: 112rpx;
			font-size: 40rpx;
			font-family: PingFangSC-Medium, PingFang SC;
			font-weight: 500;
			color: #FFFFFF;
			line-height: 56rpx;
			letter-spacing: 2rpx;
		}
		.search-box{
			background: #fff;
			width: 690rpx;
			height: 72rpx;
			border-radius: 4rpx;
			margin-top: 24rpx
			
		}

	}
	.bot-box{
		width: 750rpx;
		height: 504rpx;
		background: #FFFFFF;
		.title{
			height: 92rpx;
			font-size: 32rpx;
			font-family: PingFangSC-Medium, PingFang SC;
			font-weight: 500;
			color: #303030;
			line-height: 92rpx;
			padding: 0 30rpx;
			border-bottom: 1rpx solid #E0E0E0;
		}
		.sortlist{
			padding: 0 30rpx;
			.list-item{
				display: flex;
				justify-content: space-between;
				align-items: center;
				height: 102rpx;
				border-bottom: 1rpx solid #E0E0E0;
				font-size: 30rpx;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #333333;
				&:last-child{
					border: 0;
				}
				image{
					width: 12rpx;
					height: 28rpx;
				}
			}
		}

	}

}

</style>
