enterpriseSide.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  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/companyHouse/companyHouse",
  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. uni.navigateTo({
  176. url: path,
  177. fail: (fail) => {},
  178. });
  179. },
  180. clickTab(item){
  181. this.selectTab = item.name
  182. }
  183. }
  184. }
  185. </script>
  186. <style lang="scss">
  187. .enterpriseSide{
  188. background: #F5F7FA;
  189. .searchTop{
  190. //margin: 24rpx;
  191. background: white;
  192. position: relative;
  193. display: flex;
  194. align-items: center;
  195. .searchArea{
  196. position: relative;
  197. width: 532rpx;
  198. height: 64rpx;
  199. background: #F5F7FA;
  200. border-radius: 32rpx;
  201. padding-left: 68rpx;
  202. font-size: 28rpx;
  203. }
  204. .locationIcon{
  205. position: absolute;
  206. width: 28rpx;
  207. height: 28rpx;
  208. left: 24rpx;
  209. z-index: 10;
  210. }
  211. .dhIcon{
  212. width: 48rpx;
  213. height: 48rpx;
  214. margin-left: 16rpx;
  215. }
  216. .vector{
  217. position: absolute;
  218. width: 16rpx;
  219. height: 8rpx;
  220. left: 552rpx;
  221. }
  222. }
  223. .parkBgBox{
  224. position: relative;
  225. background-repeat: no-repeat;
  226. background-size: 100%;
  227. width: 702rpx;
  228. height: 320rpx;
  229. margin-top: 24rpx;
  230. .parkNameBox{
  231. position: absolute;
  232. box-sizing: border-box;
  233. width: 100%;
  234. height: 64rpx;
  235. background: rgba(3, 19, 41, 0.60);
  236. display: flex;
  237. align-items: center;
  238. padding-left: 24rpx;
  239. bottom: 0;
  240. color: white;
  241. font-size: 28rpx;
  242. border-radius: 0 0 16rpx 16rpx;
  243. }
  244. }
  245. .map2 {
  246. box-sizing: border-box;
  247. //position: absolute;
  248. z-index: 2;
  249. width: 100%;
  250. //height: 770rpx;
  251. //border-radius: 48rpx 48rpx 0rpx 0rpx;
  252. background: white;
  253. //margin-top: 402rpx;
  254. padding: 36rpx 0 0 0;
  255. overflow-y: auto;
  256. display: grid;
  257. grid-template-columns: repeat(5,1fr);
  258. }
  259. .mapIcon2{
  260. width: 92rpx;
  261. height: 92rpx;
  262. display: block;
  263. margin: auto;
  264. }
  265. .mapdom2{
  266. height: 184rpx;
  267. }
  268. .noticeBody{
  269. padding: 24rpx 28rpx;
  270. background: white;
  271. display: flex;
  272. align-items: center;
  273. margin: 24rpx 0;
  274. .tongzhiImg{
  275. width: 86rpx;
  276. height: 96rpx;
  277. }
  278. .columLine{
  279. width: 2rpx;
  280. height: 80rpx;
  281. background: #E7EAF0;
  282. margin: 0 16rpx;
  283. }
  284. .noticeBox{
  285. display: flex;
  286. flex-direction: column;
  287. .noticeItem{
  288. display: flex;
  289. align-items: center;
  290. margin: 8rpx 0;
  291. .noticeTag{
  292. width: 56rpx;
  293. height: 30rpx;
  294. background: #FFFFFF;
  295. border-radius: 4rpx 4rpx 4rpx 4rpx;
  296. border: 2rpx solid #0365F9;
  297. color: #0365F9;
  298. font-size: 22rpx;
  299. text-align: center;
  300. }
  301. .noticeInfo{
  302. width: 326rpx;
  303. font-size: 24rpx;
  304. color: #18172A;
  305. overflow: hidden;
  306. white-space: nowrap;
  307. text-overflow: ellipsis;
  308. margin: 0 24rpx;
  309. }
  310. .noticeTime{
  311. color: #666666;
  312. font-size: 24rpx;
  313. }
  314. }
  315. }
  316. }
  317. .parkDynamic{
  318. width: 100%;
  319. background: white;
  320. padding: 24rpx;
  321. box-sizing: border-box;
  322. .parkDynamicTab{
  323. display: flex;
  324. padding: 26px 0;
  325. .tabItem{
  326. color: #666666;
  327. font-size: 28rpx;
  328. margin: 0 32rpx;
  329. }
  330. .selectTabItem{
  331. color:#18172A;
  332. border-bottom:6rpx solid #034DF7;
  333. }
  334. }
  335. }
  336. .serviceEvaluation{
  337. width: 100%;
  338. background: white;
  339. padding: 24rpx;
  340. box-sizing: border-box;
  341. margin-top: 24rpx;
  342. .wyInfo{
  343. display: flex;
  344. align-items: center;
  345. justify-content: space-between;
  346. .wyName{
  347. display: flex;
  348. align-items: center;
  349. font-size: 36rpx;
  350. color: rgba(24, 23, 42, 1);
  351. margin: 38rpx 8rpx 24rpx 8rpx;
  352. .wyhead{
  353. width: 88rpx;
  354. height: 88rpx;
  355. margin-right: 24rpx;
  356. }
  357. }
  358. }
  359. .evaluationBox{
  360. width: 702rpx;
  361. height: 196rpx;
  362. //margin: 24rpx;
  363. padding: 42rpx 0 42rpx 48rpx;
  364. background: #F5F7FA;
  365. border-radius: 8rpx;
  366. box-sizing: border-box;
  367. .evaluationBoxName{
  368. font-size: 28rpx;
  369. color: #18172A;
  370. margin-bottom: 32rpx;
  371. }
  372. }
  373. }
  374. .contactInfo{
  375. display: flex;
  376. justify-content: space-between;
  377. align-items: center;
  378. padding: 30rpx 48rpx;
  379. box-sizing: border-box;
  380. background: white;
  381. margin: 4rpx 0 74rpx 0;
  382. .infoBox{
  383. display: flex;
  384. flex-direction: column;
  385. .infoTitle{
  386. color: #666666;
  387. font-size: 28rpx;
  388. margin-bottom: 16rpx;
  389. }
  390. .phoneNumber{
  391. color: #18172A;
  392. font-size: 40rpx;
  393. font-weight: 600;
  394. }
  395. }
  396. .phoneCall{
  397. width: 88rpx;
  398. height: 88rpx;
  399. }
  400. }
  401. .columLineBlue{
  402. width: 10rpx;
  403. height: 32rpx;
  404. background: linear-gradient( 180deg, #509FFF 0%, #034DF7 100%);
  405. border-radius: 1px 1px 1px 1px;
  406. margin-right: 16rpx;
  407. }
  408. .titleName{
  409. color: #18172A;
  410. font-size: 36rpx;
  411. font-weight: 500;
  412. }
  413. .parkDynamicTitle{
  414. display:flex;
  415. align-items: center;
  416. }
  417. }
  418. </style>