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

index_code_rights.vue 8.1 KiB

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