tdList.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <template>
  2. <view>
  3. <cu-custom bgColor="bg-blue" :isBack="true" backUrl="/pages/indexcf/indexcf">
  4. <block slot="content">土地列表</block>
  5. </cu-custom>
  6. <view :style="[{top:CustomBar + 'px'}]">
  7. <!-- <view class="search-box">
  8. <view class="choose-box">
  9. <jp-picker v-model="parkId" rangeKey="label" rangeValue="value" :range="parkList" empty="选择园区">
  10. </jp-picker>
  11. </view>
  12. <view class="input-box">
  13. <input type="text" placeholder="请输入楼宇名称" v-model="curWord" confirm-type="search"></input>
  14. </view>
  15. <text class="cuIcon-search color-white" @click="doSearch"></text>
  16. </view> -->
  17. <view>
  18. <view class="cu-item" :class="modalName=='move-box-'+ index?'move-cur':''"
  19. v-for="(item, index) in yqList" :key="index" :data-target="'move-box-' + index">
  20. <view class="item-box" @click="gototdInfo">
  21. <view class="item-title">
  22. <view>
  23. <text class="line-zs"></text>{{item.name}}
  24. </view>
  25. </view>
  26. <view class="item-line">
  27. <view class="item-name">地址:</view>
  28. <view class="item-content">{{item.site}}</view>
  29. </view>
  30. <view class="item-line">
  31. <view class="item-name">距离机场:</view>
  32. <view class="item-content">{{item.distance}}</view>
  33. </view>
  34. <view class="item-line">
  35. <view class="item-name">面积:</view>
  36. <view class="item-content">{{item.area}}㎡
  37. </view>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <view style="height: 2vh;"></view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. import loginService from '@/api/auth/loginService.js'
  48. export default {
  49. onShow(option) {},
  50. components: {},
  51. data() {
  52. return {
  53. yqList: [{
  54. name: "亭湖区电子信息产业园",
  55. site: "盐城市亭湖区南洋镇太湖路99号",
  56. distance: "10km",
  57. longitude: 120.232445,
  58. latitude: 33.430631,
  59. area: 5000
  60. },
  61. {
  62. name: "睿思亭湖数字基地",
  63. site: "江苏省盐城市亭湖区中亭路9号",
  64. distance: "5.4km",
  65. longitude: 120.209738,
  66. latitude: 33.400009,
  67. area: 4500
  68. },
  69. {
  70. name: "盐城环保产业园",
  71. site: "光伏路与经一路交叉口西北150米",
  72. distance: "13.4km",
  73. longitude: 120.269329,
  74. latitude: 33.440453,
  75. area: 5500
  76. },
  77. {
  78. name: "江苏盐城光电产业园",
  79. site: "盐城市亭湖区青墩连接线与太湖路交叉路口",
  80. distance: "11km",
  81. longitude: 120.237555,
  82. latitude: 33.432122,
  83. area: 4800
  84. },
  85. {
  86. name: "盐东镇科技产业园",
  87. site: "盐城市亭湖区利民村3组",
  88. distance: "22.2km",
  89. longitude: 120.355611,
  90. latitude: 33.473836,
  91. area: 4580
  92. },
  93. {
  94. name: "兴泰(亭湖)产业园",
  95. site: "江苏省盐城市亭湖区瑞鹤路",
  96. distance: "14km",
  97. longitude: 120.275086,
  98. latitude: 33.44331,
  99. area: 4500,
  100. },
  101. {
  102. name: "江苏新青洋智能装备产业园",
  103. site: "江苏省盐城市亭湖区盐才路1号",
  104. distance: "16.3km",
  105. longitude: 120.192397,
  106. latitude: 33.468225,
  107. area: 4500
  108. },
  109. ],
  110. searchForm: {},
  111. curWord: "", //当前搜索关键词
  112. dataList: [], // 数据列表
  113. modalName: null,
  114. tablePage: {
  115. total: 0,
  116. currentPage: 1,
  117. pageSize: 10,
  118. orders: []
  119. },
  120. loading: true,
  121. parkList: [],
  122. parkId: '',
  123. stype: '', // 企业 => 3 楼宇 => 2 园区 => 1 zfadmin => 4 admin=> 5
  124. }
  125. },
  126. created() {
  127. // this.stype = uni.getStorageSync('stype')
  128. // this.getParkList()
  129. },
  130. methods: {
  131. gototdInfo() {
  132. console.log('土地详情')
  133. }
  134. },
  135. }
  136. </script>
  137. <style>
  138. .ellipsis-description {
  139. font-size: 12px;
  140. line-height: $line-height-base;
  141. display: -webkit-box;
  142. /*作为弹性伸缩盒子模型显示*/
  143. -webkit-line-clamp: 1;
  144. /*显示的行数;如果要设置2行加...则设置为2*/
  145. overflow: hidden;
  146. /*超出的文本隐藏*/
  147. text-overflow: ellipsis;
  148. /* 溢出用省略号*/
  149. -webkit-box-orient: vertical;
  150. /*伸缩盒子的子元素排列:从上到下*/
  151. }
  152. .item-box {
  153. width: 710rpx;
  154. margin-left: 20rpx;
  155. background: #FFFFFF;
  156. box-shadow: 0px 1px 3px 0px rgba(9, 2, 4, 0.1);
  157. border-radius: 10px;
  158. padding-top: 20rpx;
  159. padding-left: 38rpx;
  160. padding-right: 10rpx;
  161. margin-top: 20rpx;
  162. }
  163. .item-title {
  164. position: relative;
  165. display: flex;
  166. justify-content: space-between;
  167. font-size: 30rpx;
  168. color: #333;
  169. font-weight: bold;
  170. align-items: center;
  171. }
  172. .item-line {
  173. display: flex;
  174. height: 48rpx;
  175. margin-top: 20rpx;
  176. }
  177. .subtitle {
  178. color: #E5880E;
  179. }
  180. .item-name {
  181. font-size: 30rpx;
  182. color: #333;
  183. }
  184. .item-content {
  185. color: #1497EF;
  186. font-size: 30rpx;
  187. }
  188. .btn-box {
  189. display: flex;
  190. }
  191. .line-zs {
  192. width: 2rpx;
  193. height: 30rpx;
  194. background: #36A7F3;
  195. }
  196. .edit-botton {
  197. width: 100rpx;
  198. height: 48rpx;
  199. line-height: 48rpx;
  200. color: #fff;
  201. font-size: 28rpx;
  202. margin-right: 20rpx;
  203. border-radius: 10rpx;
  204. background: #5A9EE9;
  205. text-align: center;
  206. }
  207. .del-botton {
  208. width: 100rpx;
  209. height: 48rpx;
  210. line-height: 48rpx;
  211. color: #fff;
  212. font-size: 28rpx;
  213. margin-right: 20rpx;
  214. border-radius: 10rpx;
  215. background: #F27C85;
  216. text-align: center;
  217. }
  218. .color-white {
  219. color: #fff;
  220. font-size: 40rpx;
  221. line-height: 60rpx;
  222. }
  223. .search-box {
  224. background: #36A7F3;
  225. display: flex;
  226. padding-left: 20rpx;
  227. padding-right: 20rpx;
  228. padding-bottom: 10rpx;
  229. }
  230. .input-box {
  231. margin-left: 20rpx;
  232. background: #fff;
  233. height: 60rpx;
  234. width: 420rpx;
  235. display: flex;
  236. align-items: center;
  237. border-radius: 30rpx;
  238. padding-left: 10rpx;
  239. margin-right: 20rpx;
  240. }
  241. .choose-box {
  242. background: #fff;
  243. width: 200rpx;
  244. border-radius: 30rpx;
  245. height: 60rpx;
  246. display: flex;
  247. align-items: center;
  248. justify-content: center;
  249. }
  250. .cu-bar .search-form {
  251. background-color: white;
  252. }
  253. </style>