enterpriseSide.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. <template>
  2. <div class="enterpriseSide">
  3. <div style="padding:0 24rpx;background: white">
  4. <div class="searchTop">
  5. <image :src="locationIcon" class="locationIcon"></image>
  6. <picker @change="bindPickerChange" :value="index" :range="array">
  7. <input v-model="searchArea" class="searchArea" disabled >
  8. </picker>
  9. <image :src="dhIcon" class="dhIcon"></image>
  10. <image :src="vector" class="vector"></image>
  11. </div>
  12. <div class="parkBgBox" :style="{'background-image':`url(${parkBg})`}">
  13. <div class="parkNameBox">这里是园区名称</div>
  14. </div>
  15. <div class="map2">
  16. <div
  17. class="mapdom2"
  18. style="float: left"
  19. v-for="(item, index) in mapList"
  20. :key="index"
  21. @click="jumpPage(item.path)"
  22. >
  23. <img class="mapIcon2" :src="item.url" />
  24. <div class="maptxt">{{ item.label }}</div>
  25. </div>
  26. </div>
  27. </div>
  28. <div class="noticeBody">
  29. <image :src="tongzhi" class="tongzhiImg"></image>
  30. <div class="columLine"></div>
  31. <div class="noticeBox">
  32. <div class="noticeItem" v-for="item in 2">
  33. <div class="noticeTag">物业</div>
  34. <div class="noticeInfo">新年伊始,PAER招商开始啦啦啦啦啦啦</div>
  35. <div class="noticeTime">1小时前</div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="parkDynamic">
  40. <div class="parkDynamicTitle">
  41. <div class="columLineBlue"></div>
  42. <div class="titleName">园区动态</div>
  43. </div>
  44. <div class="parkDynamicTab">
  45. <div v-for="(item,index) in tabList" :key="index" class="tabItem" :class="selectTab===item.name?'selectTabItem':''" @click="clickTab(item)">
  46. {{item.name}}
  47. </div>
  48. </div>
  49. <activity v-show="selectTab==='活动'"></activity>
  50. <dynamic v-show="selectTab==='动态'"></dynamic>
  51. </div>
  52. <div class="serviceEvaluation">
  53. <div class="parkDynamicTitle">
  54. <div class="columLineBlue"></div>
  55. <div class="titleName">服务评价</div>
  56. </div>
  57. <div class="wyInfo">
  58. <div class="wyName">
  59. <image :src="wyhead" class="wyhead"></image>
  60. <span>XXXX物业</span>
  61. </div>
  62. <span style="color: #666666;font-size: 28rpx">好评率:100%</span>
  63. </div>
  64. <div class="evaluationBox">
  65. <div class="evaluationBoxName">点击笑脸给出您对园区服务的评价</div>
  66. <van-rate
  67. :value="value"
  68. :size="32"
  69. color="#ffd21e"
  70. :void-icon="voidMyIcon"
  71. :icon="myIcon"
  72. gutter="32rpx"
  73. void-color="#eee"
  74. bind:change="onChange"
  75. />
  76. </div>
  77. </div>
  78. <div class="contactInfo">
  79. <div class="infoBox">
  80. <span class="infoTitle">客服电话(24小时)</span>
  81. <span class="phoneNumber">0510-680**808</span>
  82. </div>
  83. <image :src="phoneCall" class="phoneCall"></image>
  84. </div>
  85. </div>
  86. </template>
  87. <script>
  88. import vanRate from "../../../wxcomponents/weapp/dist/rate/index";
  89. import dynamic from "./dynamic.vue";
  90. import Activity from "./activity.vue";
  91. export default {
  92. components: {
  93. Activity,
  94. vanRate,
  95. dynamic
  96. },
  97. name: "enterpriseSide",
  98. data(){
  99. return{
  100. locationIcon:require('../image/locationIcon.png'),
  101. dhIcon:require('../image/dhIcon.png'),
  102. vector:require('../image/Vector.png'),
  103. tongzhi:require('../image/tongzhi.png'),
  104. wyhead:require('../image/wyHead.png'),
  105. myIcon:require('../image/icon.png'),
  106. voidMyIcon:require('../image/voidIcon.png'),
  107. phoneCall:require('../image/phoneCall.png'),
  108. value:'5',
  109. searchArea: '当前园区名称',
  110. index: 0,
  111. array:['中国', '美国', '巴西', '日本'],
  112. parkBg:require('../image/parkBg.png'),
  113. tabList:[
  114. {name:'活动' },
  115. {name:'周边' },
  116. {name:'房源' },
  117. {name:'动态' },
  118. ],
  119. selectTab:'活动',
  120. mapList: [
  121. {
  122. label: "待办提醒",
  123. url: require("../image/dbtxIcon.png"),
  124. path: "/pages/subPackages/companyHouse/companyHouse",
  125. },
  126. {
  127. label: "企业账单",
  128. url: require("../image/qyzdIcon.png"),
  129. path: "/pages/subPackages/companyHouse/companyHouse",
  130. },
  131. {
  132. label: "经发填报",
  133. url: require("../image/jftbIcon.png"),
  134. path: "/pages/subPackages/companyHouse/companyHouse",
  135. },
  136. {
  137. label: "园区周边",
  138. url: require("../image/yqzb.png"),
  139. path: "/pages/subPackages/companyHouse/companyHouse",
  140. },
  141. {
  142. label: "报事报修",
  143. url: require("../image/bsbxIcon.png"),
  144. path: "/pages/subPackages/reportRepair/index",
  145. },
  146. {
  147. label: "活动报名",
  148. url: require("../image/hdbmIcon.png"),
  149. path: "/pages/subPackages/companyHouse/companyHouse",
  150. },
  151. {
  152. label: "入驻申请",
  153. url: require("../image/rzsqIcon.png"),
  154. path: "/pages/subPackages/companyHouse/companyHouse",
  155. },
  156. {
  157. label: "退租申请",
  158. url: require("../image/tzsqIcon.png"),
  159. path: "/pages/subPackages/companyHouse/companyHouse",
  160. },
  161. {
  162. label: "关于园区",
  163. url: require("../image/gyyqIcon.png"),
  164. path: "/pages/subPackages/companyHouse/companyHouse",
  165. },
  166. ],
  167. }
  168. },
  169. methods:{
  170. bindPickerChange(e){
  171. console.log(e)
  172. this.searchArea = this.array[e.detail.value]
  173. },
  174. jumpPage(path) {
  175. console.log(path)
  176. uni.navigateTo({
  177. url: path,
  178. fail: (fail) => {
  179. console.log(fail)
  180. },
  181. });
  182. },
  183. clickTab(item){
  184. this.selectTab = item.name
  185. }
  186. }
  187. }
  188. </script>
  189. <style lang="scss">
  190. .enterpriseSide{
  191. background: #F5F7FA;
  192. .searchTop{
  193. //margin: 24rpx;
  194. background: white;
  195. position: relative;
  196. display: flex;
  197. align-items: center;
  198. .searchArea{
  199. position: relative;
  200. width: 532rpx;
  201. height: 64rpx;
  202. background: #F5F7FA;
  203. border-radius: 32rpx;
  204. padding-left: 68rpx;
  205. font-size: 28rpx;
  206. }
  207. .locationIcon{
  208. position: absolute;
  209. width: 28rpx;
  210. height: 28rpx;
  211. left: 24rpx;
  212. z-index: 10;
  213. }
  214. .dhIcon{
  215. width: 48rpx;
  216. height: 48rpx;
  217. margin-left: 16rpx;
  218. }
  219. .vector{
  220. position: absolute;
  221. width: 16rpx;
  222. height: 8rpx;
  223. left: 552rpx;
  224. }
  225. }
  226. .parkBgBox{
  227. position: relative;
  228. background-repeat: no-repeat;
  229. background-size: 100%;
  230. width: 702rpx;
  231. height: 320rpx;
  232. margin-top: 24rpx;
  233. .parkNameBox{
  234. position: absolute;
  235. box-sizing: border-box;
  236. width: 100%;
  237. height: 64rpx;
  238. background: rgba(3, 19, 41, 0.60);
  239. display: flex;
  240. align-items: center;
  241. padding-left: 24rpx;
  242. bottom: 0;
  243. color: white;
  244. font-size: 28rpx;
  245. border-radius: 0 0 16rpx 16rpx;
  246. }
  247. }
  248. .map2 {
  249. box-sizing: border-box;
  250. //position: absolute;
  251. z-index: 2;
  252. width: 100%;
  253. //height: 770rpx;
  254. //border-radius: 48rpx 48rpx 0rpx 0rpx;
  255. background: white;
  256. //margin-top: 402rpx;
  257. padding: 36rpx 0 0 0;
  258. overflow-y: auto;
  259. display: grid;
  260. grid-template-columns: repeat(5,1fr);
  261. }
  262. .mapIcon2{
  263. width: 92rpx;
  264. height: 92rpx;
  265. display: block;
  266. margin: auto;
  267. }
  268. .mapdom2{
  269. height: 184rpx;
  270. }
  271. .noticeBody{
  272. padding: 24rpx 28rpx;
  273. background: white;
  274. display: flex;
  275. align-items: center;
  276. margin: 24rpx 0;
  277. .tongzhiImg{
  278. width: 86rpx;
  279. height: 96rpx;
  280. }
  281. .columLine{
  282. width: 2rpx;
  283. height: 80rpx;
  284. background: #E7EAF0;
  285. margin: 0 16rpx;
  286. }
  287. .noticeBox{
  288. display: flex;
  289. flex-direction: column;
  290. .noticeItem{
  291. display: flex;
  292. align-items: center;
  293. margin: 8rpx 0;
  294. .noticeTag{
  295. width: 56rpx;
  296. height: 30rpx;
  297. background: #FFFFFF;
  298. border-radius: 4rpx 4rpx 4rpx 4rpx;
  299. border: 2rpx solid #0365F9;
  300. color: #0365F9;
  301. font-size: 22rpx;
  302. text-align: center;
  303. }
  304. .noticeInfo{
  305. width: 326rpx;
  306. font-size: 24rpx;
  307. color: #18172A;
  308. overflow: hidden;
  309. white-space: nowrap;
  310. text-overflow: ellipsis;
  311. margin: 0 24rpx;
  312. }
  313. .noticeTime{
  314. color: #666666;
  315. font-size: 24rpx;
  316. }
  317. }
  318. }
  319. }
  320. .parkDynamic{
  321. width: 100%;
  322. background: white;
  323. padding: 24rpx;
  324. box-sizing: border-box;
  325. .parkDynamicTab{
  326. display: flex;
  327. padding: 26px 0;
  328. .tabItem{
  329. color: #666666;
  330. font-size: 28rpx;
  331. margin: 0 32rpx;
  332. }
  333. .selectTabItem{
  334. color:#18172A;
  335. border-bottom:6rpx solid #034DF7;
  336. }
  337. }
  338. }
  339. .serviceEvaluation{
  340. width: 100%;
  341. background: white;
  342. padding: 24rpx;
  343. box-sizing: border-box;
  344. margin-top: 24rpx;
  345. .wyInfo{
  346. display: flex;
  347. align-items: center;
  348. justify-content: space-between;
  349. .wyName{
  350. display: flex;
  351. align-items: center;
  352. font-size: 36rpx;
  353. color: rgba(24, 23, 42, 1);
  354. margin: 38rpx 8rpx 24rpx 8rpx;
  355. .wyhead{
  356. width: 88rpx;
  357. height: 88rpx;
  358. margin-right: 24rpx;
  359. }
  360. }
  361. }
  362. .evaluationBox{
  363. width: 702rpx;
  364. height: 196rpx;
  365. //margin: 24rpx;
  366. padding: 42rpx 0 42rpx 48rpx;
  367. background: #F5F7FA;
  368. border-radius: 8rpx;
  369. box-sizing: border-box;
  370. .evaluationBoxName{
  371. font-size: 28rpx;
  372. color: #18172A;
  373. margin-bottom: 32rpx;
  374. }
  375. }
  376. }
  377. .contactInfo{
  378. display: flex;
  379. justify-content: space-between;
  380. align-items: center;
  381. padding: 30rpx 48rpx;
  382. box-sizing: border-box;
  383. background: white;
  384. margin: 4rpx 0 74rpx 0;
  385. .infoBox{
  386. display: flex;
  387. flex-direction: column;
  388. .infoTitle{
  389. color: #666666;
  390. font-size: 28rpx;
  391. margin-bottom: 16rpx;
  392. }
  393. .phoneNumber{
  394. color: #18172A;
  395. font-size: 40rpx;
  396. font-weight: 600;
  397. }
  398. }
  399. .phoneCall{
  400. width: 88rpx;
  401. height: 88rpx;
  402. }
  403. }
  404. .columLineBlue{
  405. width: 10rpx;
  406. height: 32rpx;
  407. background: linear-gradient( 180deg, #509FFF 0%, #034DF7 100%);
  408. border-radius: 1px 1px 1px 1px;
  409. margin-right: 16rpx;
  410. }
  411. .titleName{
  412. color: #18172A;
  413. font-size: 36rpx;
  414. font-weight: 500;
  415. }
  416. .parkDynamicTitle{
  417. display:flex;
  418. align-items: center;
  419. }
  420. }
  421. </style>