Commit 487ff341 by 郑澳通

1

parent dc787314
......@@ -201,4 +201,14 @@ export const getEnjoySubsidyStats = (data) =>{
// data,
// method:'POST'
// })
// }
\ No newline at end of file
// }
//首页婚姻登记接口
export const getYearMarriedCouple = (data) =>{
return requert({
url:'/portal/app/stats/getYearMarriedCouple',
data,
method:'POST'
})
}
......@@ -9,12 +9,12 @@ module.exports = {
}
// module.exports = {
// baseURL: 'http://172.18.99.142:9888/api/action?method=', //请求接口
// baseURL: 'http://172.18.99.147:9888/api/action?method=', //请求接口
// timeout: 600000, //超时时间 10s
// fileURL: 'http://172.18.99.142:9888', //图片地址
// fileURL: 'http://172.18.99.147:9888', //图片地址
// version: '1.0.0', //接口版本
// appId: 'wxb70fadd7847a8afd', // APPID
// sdkAppID: 1400447523, //trtc APPID
// wsURL: 'wss://172.18.99.142:9888' //ws
// wsURL: 'wss://172.18.99.147:9888' //ws
// }
......@@ -158,6 +158,15 @@
}
}
,{
"path" : "pages/newhome/newhome",
"style" :
{
"navigationBarTitleText": "广西民政数据仓库",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
......
......@@ -95,6 +95,7 @@
phone: this.phone
}).then(res => {
console.log(res, '获取验证码')
if (this.getCheckNum == 200) {
uni.showToast({
title: '获取成功',
......
<template>
<view>
<image src="../../static/background.png" mode="" class="background"></image>
<image src="../../static/title1.png" mode="" class="titleGx"></image>
<view v-for="(item,index) in num" >
<view class="btn-title">
<text style="margin-left: 50rpx;margin-right: 30rpx;">{{item.name}}</text>
</view>
<view class="line-f">
<view class="line-s"></view>
</view>
<view style="">
<view v-if="item.id == 0" class="box1">
<view class="Jump-box">
<view style="display: flex;">
<view style="color: #00FF00;font-size: 17px;height: 40rpx;">466.76</view>
<view style="color: #00FF00;font-size: 10px;margin-top: 10rpx;">万元</view>
</view>
<view style="text-align: center;font-size: 15px;">保人人参人人参</view>
</view>
<!-- <view class="Jump-line"></view> -->
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
<view v-if="item.id == 1" class="box1">
<view class="Jump-box">
<view style="display: flex;">
<view style="color: #00FF00;font-size: 16px;">466.76</view>
<view style="color: #00FF00;font-size: 10px;margin-top: 10rpx;">万元</view>
</view>
<view style="text-align: center;font-size: 15px;">参保人人参参人参</view>
</view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
<view v-if="item.id == 2" class="box1">
<view class="Jump-box">
<view style="display: flex;">
<view style="color: #00FF00;font-size: 16px;">466.76</view>
<view style="color: #00FF00;font-size: 10px;margin-top: 10rpx;">万元</view>
</view>
<view style="text-align: center;font-size: 15px;">参保参保人人参参人参</view>
</view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
<view v-if="item.id == 3" class="box1">
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
<view v-if="item.id == 4" class="box1">
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
<view v-if="item.id == 5" class="box1">
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
<view v-if="item.id == 6" class="box1">
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
<view class="Jump-box"></view>
</view>
</view>
</view>
</view>
</template>
<script>
import {
getYearMarriedCouple,
} from "@/api/dataInterface.js"
export default {
data() {
return {
num: [{
name: "社会组织",
id: 0,
icon: '../../static/organization.png',
}, {
name: "婚姻登记",
id: 1,
icon: '../../static/marry.png',
}, {
name: "社会救助",
id: 2,
icon: '../../static/rescue.png',
}, {
name: "两项补贴",
id: 3,
icon: '../../static/subsidy.png',
}, {
name: "儿童福利",
id: 4,
icon: '../../static/children.png',
}, {
name: "殡葬",
id: 5,
icon: '../../static/funeral.png',
}],
}
},
created(){
this.getYearMarriedCouple()
},
methods: {
getYearMarriedCouple(){
getYearMarriedCouple().then(res=>{
if(res.code == 200){
}else{
}
})
}
}
}
</script>
<style>
.background {
z-index: -1;
position: fixed;
top: 50rpx;
width: 100%;
height: 100vh;
}
.titleGx {
width: 100%;
height: 240rpx;
}
.line-s {
width: 50%;
height: 0.1vh;
background-color: white;
}
.btn-title{
color: #00f9fd;
width: 50%;
text-align: right;
font-size: 17px;
margin-bottom: 5rpx;
}
.box1{
display: flex;
/* justify-content: space-around; */
flex-wrap: wrap;
/* justify-content: center; */
/* margin-top: 20rpx;
margin-bottom: 20rpx; */
/* margin: 35rpx; */
margin: 20rpx 0 20rpx 27rpx;
}
.Jump-line{
margin: 12rpx;
width: 2rpx;
height:150rpx;
border-left: 2rpx solid #00f9fd;
}
.Jump-box{
width: 200rpx;
height:190rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction:column;
/* background-color: red; */
margin: 12rpx;
/* border-radius: 20rpx; */
border: 2rpx solid #00f9fd;
color: #00f9fd;
background: linear-gradient(to left, #00f9fd, #00f9fd) left top no-repeat,
linear-gradient(to bottom, #00f9fd, #00f9fd) left top no-repeat,
linear-gradient(to left, #00f9fd, #00f9fd) right top no-repeat,
linear-gradient(to bottom, #00f9fd, #00f9fd) right top no-repeat,
linear-gradient(to left, #00f9fd, #00f9fd) left bottom no-repeat,
linear-gradient(to bottom, #00f9fd, #00f9fd) left bottom no-repeat,
linear-gradient(to left, #00f9fd, #00f9fd) right bottom no-repeat,
linear-gradient(to left, #00f9fd, #00f9fd) right bottom no-repeat;
background-size: 2px 10px, 10px 2px, 2px 10px, 10px 2px;
}
</style>
......@@ -111,8 +111,6 @@
}
},
}
}
</script>
......
......@@ -58,7 +58,7 @@
<!-- <picker @change="bindPickerChange" :value="indexq" :range="array">
<view class="uni-input blueWord">{{array[indexq]}}年儿童福利统计表 ∨</view>
</picker> -->
{{new Date().toISOString().slice(0, 4),}}年儿童福利统计表
{{new Date().toISOString().slice(0, 4)-1,}}年儿童福利统计表
</view>
<view class="blueWord returnLsit" @click="returnSuperior" v-if="judgmentReturn">
返回上一级
......@@ -110,7 +110,7 @@
load: true,
organization: {},
regionId: '450000000000',
date: new Date().toISOString().slice(0, 4),
date: new Date().toISOString().slice(0, 4)-1,
endDate: "",
startDate: "",
index: 0,
......
......@@ -47,7 +47,7 @@
<!-- <picker @change="bindPickerChange" :value="indexq" :range="array">
<view class="uni-input blueWord">{{array[indexq]}}年殡葬统计表 ∨</view>
</picker> -->
{{new Date().toISOString().slice(0, 4),}}年殡葬统计表
{{new Date().toISOString().slice(0, 4)-1,}}年殡葬统计表
</view>
<view class="blueWord returnLsit" @click="returnSuperior" v-if="judgmentReturn">
返回上一级
......@@ -89,7 +89,7 @@
load: true,
indexq: 0,
array: ['2021', '2020', '2019', '2018', '2017'],
date: new Date().toISOString().slice(0, 4),
date: new Date().toISOString().slice(0, 4)-1,
endDate: "",
startDate: "",
index: 0,
......
......@@ -49,7 +49,7 @@
<!-- <picker @change="bindPickerChange" :value="indexq" :range="array">
<view class="uni-input blueWord">{{array[indexq]}}年婚姻登记统计表 ∨</view>
</picker> -->
{{new Date().toISOString().slice(0, 4),}}年婚姻登记统计表
{{new Date().toISOString().slice(0, 4)-1,}}年婚姻登记统计表
</view>
<view class="blueWord returnLsit" @click="returnSuperior" v-if="judgmentReturn">
返回上一级
......@@ -138,7 +138,7 @@
regionId: '450000000000',
marriagesNum: {},
date3: "2021",
date: new Date().toISOString().slice(0, 4),
date: new Date().toISOString().slice(0, 4)-1,
endDate: "",
startDate: "",
month: true,
......
......@@ -56,7 +56,7 @@
<!-- <picker @change="bindPickerChange" :value="indexq" :range="array">
<view class="uni-input blueWord">{{array[indexq]}}年组织统计表 ∨</view>
</picker> -->
{{new Date().toISOString().slice(0, 4),}}年组织统计表
{{new Date().toISOString().slice(0, 4)-1,}}年组织统计表
</view>
<view class="blueWord returnLsit" @click="returnSuperior" v-if="judgmentReturn">
返回上一级
......@@ -107,7 +107,7 @@
load: true,
organization: {},
regionId: '450000000000',
date: new Date().toISOString().slice(0, 4),
date: new Date().toISOString().slice(0, 4)-1,
endDate: "",
startDate: "",
index: 0,
......
......@@ -124,7 +124,7 @@
regionId: '450000000000',
startDate: '2015',
endDate: '2021',
date: new Date().toISOString().slice(0, 4),
date: new Date().toISOString().slice(0, 4)-1,
topRightLite: [{
name: '城乡低保享受人数统计'
},
......
......@@ -11,7 +11,6 @@
<button type="primary" @click="Change()">下一步</button>
</view>
</view>
</view>
......
......@@ -84,9 +84,11 @@
},
findThePassword() {
console.log('手机号',this.phone)
sendCode({
phone: this.phone
}).then(res => {
console.log(res, '获取验证码')
if (res.code == 200) {
uni.showToast({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment