diff --git a/src/assets/css/public.scss b/src/assets/css/public.scss index db59814..04183b9 100755 --- a/src/assets/css/public.scss +++ b/src/assets/css/public.scss @@ -138,37 +138,39 @@ section { } } } +} - // 精华 - .rightTop { +// 精华 +.rightTop { + position: absolute; + top: 0; + right: 0; + + .rightTop-img { + width: 1.28rem; + height: 1.28rem; + margin-top: -.1rem; + margin-right: -.1rem; + } + + // 丝带 + span { position: absolute; top: 0; - right: 0; - - .rightTop-img { - width: 1.28rem; - height: 1.28rem; - margin-top: -.1rem; - margin-right: -.1rem; - } - - // 丝带 - span { - position: absolute; - top: 0; - left: 0; - transform: rotate(45deg); - transform-origin: bottom; - margin-top: 0.01rem; - margin-left: 0.25rem; - width: 0.9rem; - font-size: 0.3rem; - text-align: center; - color: #fff; - } + left: 0; + transform: rotate(45deg); + transform-origin: bottom; + margin-top: 0.01rem; + margin-left: 0.25rem; + width: 0.9rem; + font-size: 0.3rem; + text-align: center; + color: #fff; } } + + // 广告 .banner-box { border-radius: 0.32rem; diff --git a/src/main.js b/src/main.js index 71a6f44..fd8841b 100755 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,7 @@ import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' -import ElementUI, {Message} from 'element-ui'; +import ElementUI, { Message, Pagination } from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import { skipUrl, pageStop, pageMove, goTologin } from "@/utils/common.js" import http from "@/utils/request" @@ -28,6 +28,7 @@ import './utils/fontSize.js' //ElementUI Vue.use(ElementUI); +Vue.use(Pagination); diff --git a/src/views/search/searchResult/SearchResult.vue b/src/views/search/searchResult/SearchResult.vue index 08acefa..adcfc2d 100755 --- a/src/views/search/searchResult/SearchResult.vue +++ b/src/views/search/searchResult/SearchResult.vue @@ -13,17 +13,24 @@
大约找到
{{ 800 }}
条结果
-
-
+
+
租房租房租房
诚招室友一起合租香港大学附近房子 女生
- 香港理工大学附近求租房,红磡何文田或黄埔附近最好 + + +
+ 回复可见 +
+
+ +
+ + 精华 +
+
+ +
+ + +
+
@@ -121,6 +140,7 @@ export default { .result-box { justify-content: center; + flex-direction: column; .result-item { margin-bottom: .32rem; @@ -135,6 +155,7 @@ export default { padding: 0.4rem; box-sizing: border-box; flex-direction: column; + position: relative; .result-header { margin-bottom: .32rem; @@ -166,6 +187,12 @@ export default { color: #7f7f7f; } + .reply-visible { + font-size: .32rem; + height: 1.04rem; + background: rgba(242, 242, 242, 0.7); + } + .result-info { justify-content: space-between; @@ -209,6 +236,10 @@ export default { } } + .paging { + width: 483px; + } + }