移动端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

index_code.vue 7.9 KiB

2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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="$router.push({name:'sunVillageInfoLogin'})">
  9. <i class="icon"></i>
  10. </div>
  11. </div>
  12. <div class="index_info">
  13. <div class="title"></div>
  14. <div class="nav_list">
  15. <router-link :to="{name:'sunVillageInfoListFinance',query:{type:'code'}}" class="nav_item n1">
  16. <img src="../../assets/images/sunVillage_info/index_code_btn_1.png">
  17. </router-link>
  18. <router-link :to="{name:'sunVillageInfoListTourists',query:{type:'code'}}" class="nav_item n2">
  19. <img src="../../assets/images/sunVillage_info/index_code_btn_2.png">
  20. </router-link>
  21. <!--合同-->
  22. <router-link :to="{name:'sunVillageInfoListContract',query:{type:'code'}}" class="nav_item n1">
  23. <img src="../../assets/images/sunVillage_info/index_code_btn_5.png">
  24. </router-link>
  25. <router-link :to="{name:'sunVillageInfoListPhoto',query:{type:'code'}}" class="nav_item n2">
  26. <img src="../../assets/images/sunVillage_info/index_code_btn_4.png">
  27. </router-link>
  28. <router-link :to="{name:'sunVillageInfoListIssues',query:{type:'code'}}" class="nav_item n3">
  29. <img src="../../assets/images/sunVillage_info/index_code_btn_3.png">
  30. </router-link>
  31. </div>
  32. </div>
  33. <div class="footer">
  34. 技术支持:北京农燊高科信息技术有限公司
  35. </div>
  36. <img src="../../assets/images/sunVillage_info/index_btn.png" class="fixed_btn" @click="goCode">
  37. </div>
  38. </template>
  39. <script>
  40. import { bookInfo } from "@/api/sunVillage_info/fixedAssets";
  41. import Cookies from "js-cookie";
  42. export default {
  43. name: "certificateList",
  44. data() {
  45. return {
  46. deptIdOptions:[],
  47. villageVisbile:false,
  48. showBookList:false,
  49. deptName:'',
  50. //选中的值
  51. villageValue: "",
  52. //省市区区级list
  53. hcAreaInfoOption: [],
  54. hcAreaInfoFieldName: {
  55. text: "label",
  56. value: "value",
  57. children: "children",
  58. },
  59. bookName:'',
  60. queryParams: {
  61. pageNum: 1,
  62. pageSize: 100,
  63. },
  64. //账套列表
  65. bookVisbile:false,
  66. bookList:[],
  67. bookName:"",
  68. bookId:"",
  69. book:"",
  70. };
  71. },
  72. created() {
  73. bookInfo(this.$route.query.bookId).then((res) => {
  74. if (res.code == 200) {
  75. Cookies.set("bookName", res.data.bookName, {
  76. expires: 30,
  77. });
  78. Cookies.set("deptName", res.data.deptName, {
  79. expires: 30,
  80. });
  81. this.deptName = res.data.deptName;
  82. this.bookName = res.data.bookName;
  83. }
  84. });
  85. Cookies.set("bookId", this.$route.query.bookId, {
  86. expires: 30,
  87. });
  88. Cookies.set("deptId", this.$route.query.deptId, {
  89. expires: 30,
  90. });
  91. },
  92. methods: {
  93. goCode(){
  94. if (Cookies.get('user')){
  95. this.$router.push({path:'/sunVillage_info/index_code_rights'})
  96. }else{
  97. this.$router.push({path:'/sunVillage_info/login_code'})
  98. }
  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. }
  148. .exit_btn{
  149. width: 61px;
  150. height: 61px;
  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. .icon{
  159. width: 100%;
  160. height: 100%;
  161. background: url('../../assets/images/sunVillage_info/login_head_h.png') no-repeat;
  162. background-size: 100% 100%;
  163. }
  164. }
  165. }
  166. .index_info{
  167. padding-top: 4.1vh;
  168. .title{
  169. width: 521px;
  170. height: 52px;
  171. background: url('../../assets/images/sunVillage_info/index_title2.png') no-repeat;
  172. background-size: 100% 100%;
  173. margin:0 auto;
  174. }
  175. .nav_list{
  176. margin-top: 6vh;
  177. padding:0 30px;
  178. display: flex;
  179. flex-flow: wrap;
  180. margin-bottom: 40PX;
  181. .nav_item{
  182. width: calc(50% - 10px);
  183. /*height: 180px;*/
  184. border-radius: 30px;
  185. font-size: 24px;
  186. color: #3f3d56;
  187. text-align: center;
  188. display: flex;
  189. align-items: center;
  190. justify-content: center;
  191. img{
  192. width: 100%;
  193. }
  194. &.n1{
  195. margin-bottom: 20px;
  196. }
  197. &.n2{
  198. margin-left: 20px;
  199. margin-bottom: 20px;
  200. }
  201. &.n4{
  202. margin-left: 20px;
  203. }
  204. &.n_1{
  205. background: url('../../assets/images/sunVillage_info/index_block_01.png') no-repeat center top;
  206. background-size: 50%;
  207. /*margin-bottom: 20PX;*/
  208. }
  209. &.n_2{
  210. background: url('../../assets/images/sunVillage_info/index_block_02.png') no-repeat center top;
  211. background-size: 50%;
  212. /*margin-bottom: 20PX;*/
  213. }
  214. &.n_3 {
  215. background: url('../../assets/images/sunVillage_info/index_block_03.png') no-repeat center top;
  216. background-size: 50%;
  217. /*margin-bottom: 20PX;*/
  218. }
  219. &.n_4 {
  220. background: url('../../assets/images/sunVillage_info/index_block_04.png') no-repeat center top;
  221. background-size: 50%;
  222. /*margin-bottom: 20PX;*/
  223. }
  224. &.n_5 {
  225. background: url('../../assets/images/sunVillage_info/index_block_05.png') no-repeat center top;
  226. background-size: 50%;
  227. }
  228. &.n_6 {
  229. background: url('../../assets/images/sunVillage_info/index_block_06.png') no-repeat center top;
  230. background-size: 50%;
  231. }
  232. &.n_7 {
  233. background: url('../../assets/images/sunVillage_info/index_block_07.png') no-repeat center top;
  234. background-size: 50%;
  235. }
  236. &.n_8 {
  237. background: url('../../assets/images/sunVillage_info/index_block_08.png') no-repeat center top;
  238. background-size: 50%;
  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>