瑶都万能墙
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.

503 lines
9.1 KiB

8 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
7 months ago
7 months ago
8 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="page">
  3. <!-- 瑶都万能墙 -->
  4. <view class="Headbackground">
  5. <view class="top">
  6. <view class=" profilePicture">
  7. </view>
  8. <view class="UniversalWall">
  9. <view class="dynamic">
  10. 瑶都万能墙
  11. </view>
  12. <view class="dynamics">
  13. 13542动态<text>|</text>23212江华人
  14. </view>
  15. </view>
  16. <view class="join">
  17. 加入
  18. </view>
  19. </view>
  20. </view>
  21. <view class="life">
  22. <view class="mouse" @click="menuClick(index)"
  23. :key="index"
  24. v-for="(item, index) in menu">
  25. <view class="RentingAhouseimg">
  26. <image
  27. :src="`../../static/image/home/${index}.png`"
  28. style="width: 90rpx;height: 90rpx;" mode=""></image>
  29. </view>
  30. <view class="RentingAhouse">
  31. {{ item.name }}
  32. </view>
  33. </view>
  34. </view>
  35. <view class="LabelOptions">
  36. <uv-tabs :list="list"
  37. :activeStyle="{color : '#000', fontWeight : 900}"
  38. lineColor="#00f"
  39. lineHeight="8rpx"
  40. lineWidth="50rpx"
  41. @click="tabsClick"></uv-tabs>
  42. </view>
  43. <view class="works" :key="index" v-for="(item, index) in 10">
  44. <view class="box">
  45. <view class="headPortraitimg">
  46. </view>
  47. <view class="YaoduUniversalWall">
  48. <view class="heide">
  49. <view class="username text-ellipsis">
  50. 瑶都万能墙
  51. </view>
  52. <view class="inde">
  53. 男性
  54. </view>
  55. <view class="inde">
  56. 99
  57. </view>
  58. <view class="inde">
  59. 大路铺镇
  60. </view>
  61. <view class="authentication">
  62. 官方认证
  63. </view>
  64. </view>
  65. <view class="Times">
  66. <view class="TimeMonth">
  67. 10-08
  68. </view>
  69. <view class="Month">
  70. 12:34发布
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="dynamics">
  76. 漫时光蛋糕店私人蛋糕订制
  77. 漫时光蛋糕店私人蛋糕订制
  78. 漫时光蛋糕店私人蛋糕订制
  79. 漫时光蛋糕店私人蛋糕订制
  80. 漫时光蛋糕店私人蛋糕订制
  81. </view>
  82. <view class="">
  83. </view>
  84. <view class="Artworkimages">
  85. <view class="wrokimg"
  86. :key="i"
  87. v-for="(img, i) in 3">
  88. <image
  89. src="https://img2.baidu.com/it/u=731471589,1077533873&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1067"
  90. alt="" />
  91. </view>
  92. </view>
  93. <view class="bottom">
  94. <view class="browse">
  95. 6789浏览
  96. </view>
  97. <view class="browse">
  98. 231条评论
  99. </view>
  100. <view class="Leavingamessage">
  101. <uv-icon size="30rpx" name="chat"></uv-icon>
  102. </view>
  103. </view>
  104. </view>
  105. <view class="createDetail"
  106. @click="$refs.createDetailPopup.open('bottom')">
  107. <uv-icon
  108. size="40rpx"
  109. color="#fff"
  110. name="plus"></uv-icon>
  111. </view>
  112. <uv-popup ref="createDetailPopup" :round="30">
  113. <view class="createDetailPopup">
  114. <view class=""
  115. :key="index"
  116. @click="$utils.navigateTo(item.path)"
  117. v-for="(item, index) in createDetail">
  118. <image
  119. :src="`../../static/image/home/${index}.png`"
  120. style="width: 90rpx;height: 90rpx;" mode=""></image>
  121. <view class="info">
  122. <view class="title">
  123. {{ item.name }}
  124. </view>
  125. <view class="desc">
  126. {{ item.desc }}
  127. </view>
  128. </view>
  129. <view class="icon">
  130. <uv-icon
  131. size="30rpx"
  132. name="arrow-right"></uv-icon>
  133. </view>
  134. </view>
  135. </view>
  136. </uv-popup>
  137. <PrivacyAgreementPoup />
  138. <tabber select="0" />
  139. </view>
  140. </template>
  141. <script>
  142. import PrivacyAgreementPoup from '@/components/config/PrivacyAgreementPoup.vue'
  143. import tabber from '@/components/base/tabbar.vue'
  144. import mixinsList from '@/mixins/list.js'
  145. export default {
  146. mixins: [mixinsList],
  147. components: {
  148. tabber,
  149. PrivacyAgreementPoup,
  150. },
  151. data() {
  152. return {
  153. list: [
  154. {
  155. name: '圈子动态',
  156. },
  157. {
  158. name: '二手集市',
  159. },
  160. {
  161. name: '游戏组局'
  162. },
  163. {
  164. name: '求租求购'
  165. },
  166. {
  167. name: '婚恋交友'
  168. },
  169. {
  170. name: '美食'
  171. },
  172. {
  173. name: '文化'
  174. },
  175. {
  176. name: '财经'
  177. },
  178. {
  179. name: '手工'
  180. },
  181. ],
  182. menu : [
  183. {
  184. name : '租房',
  185. },
  186. {
  187. name : '工作',
  188. },
  189. {
  190. name : '活动',
  191. },
  192. {
  193. name : '美食',
  194. },
  195. ],
  196. createDetail : [
  197. {
  198. name : '圈子动态',
  199. desc : '发布动态(请发布到合适的分区)',
  200. path : '/pages_order/post/addPost',
  201. },
  202. // {
  203. // name : '房屋出租',
  204. // desc : '发布房屋出租',
  205. // path : '/pages_order/renting/addRenting',
  206. // },
  207. // {
  208. // name : '工作',
  209. // desc : '发布工作',
  210. // path : '/pages_order/recruit/addRecruit',
  211. // },
  212. ],
  213. }
  214. },
  215. computed: {},
  216. methods: {
  217. tabsClick(item) {
  218. console.log('item', item);
  219. },
  220. menuClick(index) {
  221. console.log(index);
  222. // 跳转页面
  223. if (index == 0) {
  224. uni.navigateTo({
  225. url: '/pages_order/renting/rentingList'
  226. })
  227. } else if (index == 1) {
  228. uni.navigateTo({
  229. url: '/pages_order/recruit/recruitList'
  230. })
  231. } else if (index == 2) {
  232. uni.reLaunch({
  233. url: '/pages/index/activity'
  234. })
  235. }
  236. },
  237. }
  238. }
  239. </script>
  240. <style scoped lang="scss">
  241. image{
  242. width: 100%;
  243. height: 100%;
  244. }
  245. .Headbackground {
  246. padding-top: 200rpx;
  247. display: flex;
  248. align-items: center;
  249. background: linear-gradient(to bottom, rgb(85, 94, 123), rgb(45, 51, 73));
  250. .top {
  251. display: flex;
  252. color: white;
  253. padding: 35rpx;
  254. align-items: center;
  255. .profilePicture {
  256. width: 100rpx;
  257. height: 100rpx;
  258. background-color: greenyellow;
  259. border-radius: 15rpx;
  260. }
  261. .UniversalWall {
  262. padding: 0rpx 45rpx;
  263. .dynamic {
  264. font-size: 40rpx;
  265. letter-spacing: 5rpx;
  266. }
  267. .dynamics {
  268. margin-top: 20rpx;
  269. font-size: 25rpx;
  270. text {
  271. margin: 0 20rpx;
  272. }
  273. }
  274. }
  275. .join {
  276. width: 125rpx;
  277. height: 50rpx;
  278. background-color: $uni-color-primary;
  279. margin-left: auto;
  280. display: flex;
  281. align-items: center;
  282. justify-content: center;
  283. border-radius: 50rpx;
  284. }
  285. }
  286. }
  287. .life {
  288. margin-top: 20rpx;
  289. display: flex;
  290. justify-content: space-around;
  291. text-align: center;
  292. flex-wrap: wrap;
  293. .mouse {
  294. .RentingAhouseimg {
  295. display: flex;
  296. justify-content: center;
  297. align-items: center;
  298. margin: 15rpx;
  299. width: 130rpx;
  300. height: 100rpx;
  301. background-color: #ffffff;
  302. border-top-left-radius: 40rpx;
  303. border-bottom-right-radius: 40rpx;
  304. border-bottom-left-radius: 20rpx;
  305. border-top-right-radius: 20rpx;
  306. }
  307. }
  308. }
  309. .works {
  310. margin: 40rpx 24rpx;
  311. background-color: #fff;
  312. padding: 40rpx;
  313. border-radius: 20rpx;
  314. box-shadow: 0 0 6rpx 6rpx #00000011;
  315. .box {
  316. display: flex;
  317. align-items: center;
  318. .headPortraitimg {
  319. width: 100rpx;
  320. height: 100rpx;
  321. background-color: greenyellow;
  322. border-radius: 15rpx;
  323. overflow: hidden;
  324. }
  325. .YaoduUniversalWall {
  326. padding: 0rpx 10rpx;
  327. .username{
  328. max-width: 200rpx;
  329. }
  330. .heide {
  331. display: flex;
  332. justify-content: center;
  333. align-items: center;
  334. }
  335. .inde {
  336. display: flex;
  337. justify-content: center;
  338. align-items: center;
  339. padding: 0rpx 10rpx;
  340. margin: 0rpx 5rpx;
  341. font-size: 20rpx;
  342. height: 30rpx;
  343. color: white;
  344. background-color: rgb(124, 136, 242);
  345. border-radius: 7rpx;
  346. flex-shrink: 0;
  347. }
  348. .authentication {
  349. display: flex;
  350. justify-content: center;
  351. align-items: center;
  352. padding: 0rpx 10rpx;
  353. margin: 0rpx 5rpx;
  354. font-size: 20rpx;
  355. height: 34rpx;
  356. padding: 0rpx 10rpx;
  357. color: white;
  358. background-color: #ffd036;
  359. border-radius: 7rpx;
  360. flex-shrink: 0;
  361. }
  362. .Times {
  363. display: flex;
  364. padding: 5rpx 0rpx;
  365. font-size: 20rpx;
  366. margin-top: 10rpx;
  367. .Month {
  368. margin: 0rpx 15rpx;
  369. }
  370. }
  371. }
  372. }
  373. .personalInformation {
  374. display: flex;
  375. .inde {
  376. font-size: 25rpx;
  377. padding: 0rpx 8rpx;
  378. }
  379. .authentication {
  380. font-size: 25rpx;
  381. }
  382. }
  383. .dynamics {
  384. margin-top: 20rpx;
  385. font-size: 28rpx;
  386. // font-weight: bold;
  387. // line-height: 35rpx;
  388. letter-spacing: 3rpx;
  389. }
  390. .Artworkimages {
  391. display: flex;
  392. flex-wrap: wrap;
  393. .wrokimg {
  394. margin: 10rpx;
  395. image {
  396. height: 190rpx;
  397. width: 190rpx;
  398. border-radius: 20rpx;
  399. }
  400. }
  401. }
  402. .bottom {
  403. display: flex;
  404. font-size: 20rpx;
  405. .browse {
  406. margin: 0rpx 30rpx;
  407. color: rgb(132, 132, 132);
  408. }
  409. .Leavingamessage {
  410. height: 20rpx;
  411. width: 20rpx;
  412. margin-left: auto;
  413. }
  414. }
  415. }
  416. .createDetail{
  417. position: fixed;
  418. top: 50vh;
  419. right: 50rpx;
  420. width: 100rpx;
  421. height: 100rpx;
  422. background-color: $uni-color-primary;
  423. border-radius: 50rpx;
  424. display: flex;
  425. justify-content: center;
  426. align-items: center;
  427. box-shadow: 0 0 10rpx 10rpx rgba(#000, 0.1);
  428. }
  429. .createDetailPopup{
  430. padding: 20rpx;
  431. background-color: #ffffff;
  432. &>view{
  433. display: flex;
  434. align-items: center;
  435. padding: 24rpx;
  436. background-color: #f7f7f7;
  437. margin: 20rpx;
  438. border-radius: 20rpx;
  439. image{
  440. width: 100rpx;
  441. height: 100rpx;
  442. margin-right: 20rpx;
  443. }
  444. .info{
  445. .title{
  446. font-size: 30rpx;
  447. }
  448. .desc{
  449. font-size: 24rpx;
  450. }
  451. }
  452. .icon{
  453. margin-left: auto;
  454. }
  455. }
  456. }
  457. </style>