移动端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

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