123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <template>
- <div class="website-home">
- <div class="main">
- <div class="container">
- <div class="main-title">有极-寻找合适的房源</div>
- <div class="main-sub-title">方便、快捷、精准</div>
- <div class="main-input">
- <input type="text" placeholder="请输入房源名称或项目名称" />
- <div class="main-input-button">
- <i class="el-icon-search"></i>
- </div>
- </div>
- </div>
- </div>
- <div class="container high-seas">
- <div class="title">公海房源</div>
- <div class="house-list">
- <div class="house-item">
- <img src="https://img0.baidu.com/it/u=3837888269,660016232&fm=253&fmt=auto&app=138&f=JPEG?w=1067&h=800"
- alt="滨湖万丽南排小高,耳朵户型凤凰层" />
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- </script>
- <style lang="scss">
- .website-home {
- .container {
- width: 100%;
- max-width: 1200px;
- margin: 0 auto;
- padding: 0 20px;
- }
- .main {
- height: 600px;
- background: url(https://file-node.oss-cn-shanghai.aliyuncs.com/youji/5ea8dc9317c643d0b0254d8d13a154f3);
- background-repeat: no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding-top: 100px;
- box-sizing: border-box;
- .main-title {
- font-weight: 500;
- font-size: 36px;
- line-height: 50px;
- margin-bottom: 12px;
- }
- .main-sub-title {
- font-weight: 300;
- font-size: 20px;
- line-height: 28px;
- opacity: .7;
- margin-bottom: 50px;
- }
- .main-input {
- display: flex;
- input {
- width: 400px;
- height: 50px;
- padding: 0 20px;
- border-radius: 6px 0 0 6px;
- font-size: 16px;
- }
- .main-input-button {
- width: 76px;
- text-align: center;
- height: 50px;
- line-height: 50px;
- background: $--color-primary;
- color: #fff;
- border-radius: 0 6px 6px 0;
- font-size: 22px;
- cursor: pointer;
- &:hover {
- opacity: 0.7;
- }
- }
- }
- .container {
- width: 100%;
- height: 100%;
- max-width: 1200px;
- margin: 0 auto;
- padding: 0 20px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- }
- .high-seas {
- color: #191919;
- margin-top: 80px;
- .title {
- font-size: 36px;
- line-height: 50px;
- font-weight: 600;
- margin-bottom: 30px;
- }
- .house-list {
- display: flex;
- .house-item {
- width: 265px;
- background: #fff;
- border-radius: 8px;
- box-sizing: border-box;
- position: relative;
- margin-bottom: 15px;
- cursor: pointer;
- &:hover {
- box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.08);
- }
- img {
- border-radius: 4px;
- width: 265px;
- height: 205px;
- border: 0;
- vertical-align: top;
- }
- }
- }
- }
- }
- </style>
|