移动端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

266 linhas
8.7 KiB

  1. <template>
  2. <div class="home_wrapper">
  3. <div class="head_main">
  4. <div class="location">
  5. <div class="address"><i class="icon"></i>{{deptName}}</div>
  6. <div class="address">{{bookName}}</div>
  7. </div>
  8. <div class="exit_btn" @click="goOut">
  9. <p>{{userName}}</p>
  10. <i class="icon"></i>
  11. </div>
  12. </div>
  13. <div class="index_info">
  14. <div class="title"></div>
  15. <div class="nav_box" style="margin-top: 6vh;">
  16. <p class="nav_tit">公开公示</p>
  17. <div class="nav_list">
  18. <router-link :to="{name:'sunVillageInfoListFinance',query:{type:'code'}}" class="nav_item n_1">财务公开榜</router-link>
  19. <router-link :to="{name:'sunVillageInfoListTourists',query:{type:'code'}}" class="nav_item n_2">零工公开榜</router-link>
  20. <router-link :to="{name:'sunVillageInfoListIssues',query:{type:'code'}}" class="nav_item n_3">重大事项</router-link>
  21. </div>
  22. </div>
  23. <div class="nav_box" style="margin-top: 3vh;">
  24. <p class="nav_tit">我的权利</p>
  25. <div class="nav_list">
  26. <router-link :to="{name:'sunVillageInfoListVote',query:{type:'code'}}" class="nav_item n_4">投票表决</router-link>
  27. <router-link :to="{name:'sunVillageInfoApplicationList',query:{type:'code'}}" class="nav_item n_6">宅基地申请</router-link>
  28. <router-link :to="{name:'sunVillageInfoPaidExitList',query:{type:'code'}}" class="nav_item n_6">宅基地退出</router-link>
  29. </div>
  30. </div>
  31. <div class="nav_box" style="margin-top: 3vh;">
  32. <p class="nav_tit">请求帮助</p>
  33. <div class="nav_list">
  34. <router-link :to="{name:'sunVillageInfoArbitrationList',query:{type:'code'}}" class="nav_item n_77">纠纷调解</router-link>
  35. </div>
  36. </div>
  37. </div>
  38. <div class="footer">
  39. 技术支持:北京农燊高科信息技术有限公司
  40. </div>
  41. </div>
  42. </template>
  43. <script>
  44. import { bookInfo } from "@/api/sunVillage_info/fixedAssets";
  45. import Cookies from "js-cookie";
  46. export default {
  47. name: "certificateList",
  48. data() {
  49. return {
  50. deptIdOptions:[],
  51. villageVisbile:false,
  52. showBookList:false,
  53. deptName:'',
  54. //选中的值
  55. villageValue: "",
  56. //省市区区级list
  57. hcAreaInfoOption: [],
  58. hcAreaInfoFieldName: {
  59. text: "label",
  60. value: "value",
  61. children: "children",
  62. },
  63. bookName:'',
  64. queryParams: {
  65. pageNum: 1,
  66. pageSize: 100,
  67. },
  68. //账套列表
  69. bookVisbile:false,
  70. bookList:[],
  71. bookId:"",
  72. deptId:"",
  73. book:"",
  74. userName:"",
  75. };
  76. },
  77. created() {
  78. this.deptId = Cookies.get('deptId')
  79. this.bookId = Cookies.get('bookId')
  80. bookInfo(this.bookId).then((res) => {
  81. if (res.code == 200) {
  82. this.deptName = res.data.deptName;
  83. this.bookName = res.data.bookName;
  84. }
  85. });
  86. if(Cookies.get('user')){
  87. this.userName = JSON.parse(Cookies.get('user')).memberName
  88. }
  89. },
  90. methods: {
  91. goCode(){
  92. this.$router.push({path:'/sunVillage_info/login_code'})
  93. },
  94. goOut(){
  95. // Cookies.remove("memberName");
  96. // Cookies.remove("idcard");
  97. Cookies.remove("user");
  98. this.$router.push({name:'sunVillageInfoIndexCode',query:{deptId:this.deptId,bookId:this.bookId}})
  99. }
  100. },
  101. }
  102. </script>
  103. <style scoped lang="scss">
  104. .fixed_btn{
  105. position: fixed;
  106. right: 0;
  107. width: 115PX;
  108. bottom: 15%;
  109. border-top-left-radius: 115PX;
  110. border-bottom-left-radius: 115PX;
  111. box-shadow: 0px 2px 5px #ccc;
  112. }
  113. .home_wrapper{
  114. background: #f1f2f2;
  115. width: 100vw;
  116. min-height: 100vh;
  117. .head_main{
  118. height: 340px;
  119. background: url('../../assets/images/sunVillage_info/index_head.png') no-repeat;
  120. background-size: 100% 100%;
  121. position: relative;
  122. .location{
  123. height: 42px;
  124. line-height: 42px;
  125. position: absolute;
  126. left: 38px;
  127. top: 72px;
  128. display: flex;
  129. .address{
  130. padding:0 18px;
  131. background:rgba(255,255,255,0.75);
  132. border-radius: 42px;
  133. font-size: 28px;
  134. color: #3f3d56;
  135. margin-right: 12px;
  136. display: flex;
  137. align-items:center;
  138. .icon{
  139. display: block;
  140. width: 20px;
  141. height: 26px;
  142. background: url('../../assets/images/sunVillage_info/index_icon_1.png') no-repeat;
  143. background-size: 100% 100%;
  144. margin-right: 10px;
  145. }
  146. }
  147. .user{
  148. .icon{
  149. width: 32px;
  150. height: 32px;
  151. background: url('../../assets/images/sunVillage_info/user_icon.png') no-repeat!important;
  152. background-size: 100% 100%;
  153. }
  154. }
  155. }
  156. .exit_btn{
  157. border-radius: 50%;
  158. display: flex;
  159. align-items: center;
  160. justify-content: center;
  161. position: absolute;
  162. top: 64px;
  163. right: 36px;
  164. p{
  165. background: #3f3d56;
  166. color: #ffffff;
  167. padding: 3PX 15PX;
  168. position: relative;
  169. right: -6PX;
  170. border-top-left-radius: 20PX;
  171. border-bottom-left-radius: 20PX;
  172. box-shadow: -3PX 2PX 4PX rgba(0,0,0,0.3);
  173. }
  174. .icon{
  175. width: 61px;
  176. height: 61px;
  177. background: url('../../assets/images/sunVillage_info/login_head_h_rights.png') no-repeat;
  178. background-size: 100% 100%;
  179. box-shadow: -3PX 2PX 4PX rgba(0,0,0,0.3);
  180. border-radius: 100%;
  181. }
  182. }
  183. }
  184. .index_info{
  185. padding-top: 4.1vh;
  186. .title{
  187. width: 521px;
  188. height: 52px;
  189. background: url('../../assets/images/sunVillage_info/index_title2_rights.png') no-repeat;
  190. background-size: 100% 100%;
  191. margin:0 auto;
  192. }
  193. .nav_box{
  194. margin: 0 auto;
  195. width: calc(100% - 60px);
  196. background: #ffffff;
  197. padding: 30px 30px 40px;
  198. border-radius: 15PX;
  199. box-shadow: 0px 2px 10px #cccccc;
  200. .nav_tit{
  201. font-size: 35px;
  202. margin-bottom: 15PX;
  203. font-weight: bold;
  204. }
  205. .nav_list{
  206. display: flex;
  207. flex-flow: wrap;
  208. /*justify-content: space-between;*/
  209. .nav_item{
  210. font-size: 24px;
  211. color: #333333;
  212. text-align: center;
  213. display: flex;
  214. align-items: center;
  215. justify-content: center;
  216. padding-top: 40PX;
  217. width: 25%;
  218. &:nth-child(3){
  219. margin-right: 0;
  220. }
  221. &.n_1{
  222. background: url('../../assets/images/sunVillage_info/index_block_1_rights.png') no-repeat center top;
  223. background-size: 34.5PX;
  224. }
  225. &.n_2{
  226. background: url('../../assets/images/sunVillage_info/index_block_2_rights.png') no-repeat center top;
  227. background-size: 34.5PX;
  228. }
  229. &.n_3 {
  230. background: url('../../assets/images/sunVillage_info/index_block_3_rights.png') no-repeat center top;
  231. background-size: 34.5PX;
  232. }
  233. &.n_4 {
  234. background: url('../../assets/images/sunVillage_info/index_block_4_rights.png') no-repeat center top;
  235. background-size: 34.5PX;
  236. }
  237. &.n_5 {
  238. background: url('../../assets/images/sunVillage_info/index_block_5.png') no-repeat;
  239. background-size: 100% 100%;
  240. }
  241. &.n_6 {
  242. background: url('../../assets/images/sunVillage_info/index_block_06.png') no-repeat center top;
  243. background-size: 34.5PX;
  244. }
  245. &.n_77 {
  246. background: url('../../assets/images/sunVillage_info/index_block_77.png') no-repeat center top;
  247. background-size: 34.5PX;
  248. }
  249. }
  250. }
  251. }
  252. }
  253. .footer{
  254. position: absolute;
  255. bottom: 5.5vh;
  256. width: 100%;
  257. font-size: 22px;
  258. color: #3f3d56;
  259. text-align: center;
  260. }
  261. }
  262. </style>