main
zhangqun 11 months ago
commit 045fb61fbd
  1. 2
      components/bottom-button/index.vue
  2. 2
      components/bottom-button/three.vue
  3. 13
      pages.json
  4. 10
      pages/map/index.vue
  5. 496
      pages/mine/index.vue
  6. 161
      pages/mine/password.vue
  7. BIN
      static/mine/background.png
  8. BIN
      static/scimg/left1.png
  9. BIN
      static/scimg/left1copy.png

@ -56,7 +56,7 @@ export default {
position: fixed;
bottom: 0;
width: calc(100% - 40rpx);
padding: 10rpx 20rpx;
padding: 18rpx 20rpx;
height: 80rpx;
background: #FFFFFF;
border-top: 1px solid #cccccc;

@ -55,7 +55,7 @@ export default {
position: fixed;
bottom: 0;
width: calc(100% - 40rpx);
padding: 10rpx 20rpx;
padding: 18rpx 20rpx;
height: 80rpx;
background: #FFFFFF;
border-top: 1px solid #cccccc;

@ -54,7 +54,7 @@
//
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black"
"navigationBarTextStyle": "white"
}
},
{
@ -121,7 +121,16 @@
"navigationBarBackgroundColor": "#F6F8FA",
"navigationBarTextStyle": "black"
}
},
},
{
"path": "pages/mine/password",
"style": {
"navigationBarTitleText": "修改密码",
// "navigationStyle": "default",
"navigationBarBackgroundColor": "#F6F8FA",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/knowledge/index",
"style": {

@ -589,16 +589,16 @@ export default {
position: relative;
.location {
position: absolute;
width: 56px;
height: 56px;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
right: 10px;
top: calc(50vh + 80px);
top: calc(50vh + 70px);
background: #fff;
border-radius: 16px;
z-index: 99999;
z-index: 99998;
cover-image {
width: 32px;
height: 32px;
@ -613,7 +613,7 @@ export default {
background: #fff;
border-radius: 4px;
box-sizing: border-box;
z-index: 9999;
z-index: 99999;
.status {
position: absolute;
top: 0px;

@ -1,161 +1,335 @@
<template>
<view id="page">
<view class="Width100 Box BorderBox" :style="bgUrl1">
<view class="Content BorderBox">
<top-title :is-show-left="false" :rightWidth='120'>
<template slot="right">
<image :src="$.imgSrc + '/mine/setting.png'" @click="$.open('/pages/mine/setting')" mode="aspectFit" class="InlineBlock img"></image>
<image :src="$.imgSrc + '/mine/chat.png'" mode="aspectFit" @click="$.open('/pages/mine/notice')" class="InlineBlock img"></image>
</template>
</top-title>
<view class="user Flex BorderBox" @click="checkObjEmpty(userInfo) ? $.open('/pages/logIn/userInfo'):$.open('/pages/logIn/logIn')">
<u-avatar :src="userInfo.headUrl" :size="78"></u-avatar>
<view class="name FontS_50rpx FontBold MarginL_15rpx">
{{ userInfo.realName || userInfo.username || '请登录'}}
</view>
</view>
</view>
<view class="func PositionR BorderR_20rpx BG_FFFFFF BorderBox">
<view class="title FontBold FontS_40rpx">
常用功能
</view>
<view class="list Flex Flex_Warp">
<view class="item Flex MarginT_10rpx PositionR" v-for="item in funcList" @click="handleClick(item)" :key="item.name">
<image :src="$.imgSrc + item.icon" mode="aspectFit"></image>
<view class="info">{{ item.name }}</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import TopTitle from "../../components/top-title";
export default {
components:{TopTitle},
data() {
return {
$:this.$,
bgUrl1: '',
userInfo: {},
timer: null,
num: 0
// funcList: [
// { id:1,name:'',url:'/pages/logIn/userInfo',icon:'/mine/userinfo.png' },
// { id:2,name:'',url:'/pages/mine/insurance',icon:'/mine/insurance.png' },
// { id:3,name:'',url:'',icon:'/mine/lean.png' },
// { id:4,name:'',url:'/pages/mine/train',icon:'/mine/train.png' },
// { id:5,name:'',url:'/pages/mine/jobfind',icon:'/mine/jobfind.png' },
// { id:6,name:'',url:'/pages/mine/worker',icon:'/mine/jobfind.png' },
// ]
}
},
computed:{
funcList(){
return [{ id:1,name:'个人信息',url:'/pages/logIn/userInfo',icon:'/mine/userinfo.png' }]
}
},
onShow(){
let token = this.$.getData('token')
const userInfo = this.$.getData('userInfo')
if(userInfo) {
this.userInfo = userInfo
}
//
this.bgUrl1 = "background-image:url('" + this.$.imgSrc + "/mine/mineBG.png');background-repeat: no-repeat;background-position: center top;background-size:100% 472rpx;"
// if(!token){
// this.$.openNew('/pages/logIn/logIn')
// return
// }
if(this.userInfo.projectRole <= 1 && !this.timer) {
this.timer = setInterval(() => {
this.getReviewNum()
},10 * 1000)
}
},
onHide() {
this.timer && clearInterval(this.timer)
},
onLoad() {
},
methods: {
checkObjEmpty(obj){
if(JSON.stringify(obj) == '{}'){
return false
}
return true
},
getBG(url){
return "background-image:url('" + url + "');background-repeat: no-repeat;background-position: center top;background-size:100% 100%;"
},
handleClick(row) {
this.$.open(row.url)
},
getReviewNum() {
this.$request.globalRequest('/hyjg-admin/mapi/projectworker/getApplyWorkerCount', {}, 'POST').then(res => {
if (res.code == 0) {
this.num = res.data;
}
})
}
}
}
</script>
<style lang="scss" scoped>
page{
background: #F2F2F2;
}
.Box {
padding: 30rpx;
padding-top:var(--status-bar-height);
.img {
width: 50rpx;
height: 100%;
}
.img:nth-of-type(2) {
margin-left: 20rpx;
}
.Content {
.user {
height: 500rpx;
align-items: center;
}
}
.func {
width: 100%;
height: 430rpx;
top: -60rpx;
padding: 30rpx;
.title {
margin-bottom: 20rpx;
}
.list {
margin: auto;
.item {
padding: 12rpx;
width: 25%;
justify-content: center;
flex-direction: column;
align-items: center;
box-sizing: border-box;
image {
width: 60rpx;
height: 60rpx;
margin-bottom: 20rpx;
}
}
}
}
}
</style>
<template>
<view class="mine-box">
<view class='info-box'>
<image :src="userInfo.headUrl||base64Avatar"
@click="checkObjEmpty(userInfo) ? $.open('/pages/logIn/userInfo'):$.open('/pages/logIn/logIn')"></image>
<view class="name FontS_50rpx FontBold MarginL_15rpx"
@click="checkObjEmpty(userInfo) ? $.open('/pages/logIn/userInfo'):$.open('/pages/logIn/logIn')">
{{ userInfo.realName || userInfo.username || '请登录'}}
</view>
<!-- <u-row justify="space-between" gutter="12" class="static-box">
<u-col span="4">
<view class="item">
<text>
1222
</text>
<text class="label">
我排查的
</text>
</view>
</u-col>
<u-col span="4">
<view class="item">
<text>
1222
</text>
<text class="label">
我排查的
</text>
</view>
</u-col>
<u-col span="4">
<view class="item">
<text>
1222
</text>
<text class="label">
我排查的
</text>
</view>
</u-col>
</u-row> -->
</view>
<u-cell-group class="margin-top">
<u-cell icon="order" title="警号" :value="dataInfo.policeid" isLink></u-cell>
<u-cell icon="account" title="身份证号" :value="dataInfo.cdescription" isLink> </u-cell>
<u-cell icon="phone" title="联系方式" :value="dataInfo.phone" isLink></u-cell>
</u-cell-group>
<u-cell-group style="margin-top:20rpx;padding:10rpx 20rpx">
<u-cell icon="lock" title="修改密码" isLink @click='possword'></u-cell>
</u-cell-group>
<view class="logout" @click="showModal">退出登录</view>
<u-modal :show="show" @confirm="confirm" ref="uModal" :asyncClose="true" title="是否要继续退出登录?"
:showCancelButton="true" @cancel="show=false"></u-modal>
</view>
</template>
<script>
const base64Avatar =
"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYW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5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z";
import TopTitle from "../../components/top-title";
export default {
components: {
TopTitle
},
data() {
return {
show: false,
base64Avatar: base64Avatar,
$: this.$,
bgUrl1: '',
userInfo: {},
timer: null,
num: 0,
dataInfo:{},
// funcList: [
// { id:1,name:'',url:'/pages/logIn/userInfo',icon:'/mine/userinfo.png' },
// { id:2,name:'',url:'/pages/mine/insurance',icon:'/mine/insurance.png' },
// { id:3,name:'',url:'',icon:'/mine/lean.png' },
// { id:4,name:'',url:'/pages/mine/train',icon:'/mine/train.png' },
// { id:5,name:'',url:'/pages/mine/jobfind',icon:'/mine/jobfind.png' },
// { id:6,name:'',url:'/pages/mine/worker',icon:'/mine/jobfind.png' },
// ]
}
},
computed: {
// funcList() {
// return [{
// id: 1,
// name: '',
// url: '/pages/logIn/userInfo',
// icon: '/mine/userinfo.png'
// }]
// }
},
onShow() {
let token = this.$.getData('token')
const userInfo = this.$.getData('userInfo')
if (userInfo) {
this.userInfo = userInfo
this.getInfo()
// console.log(this.userInfo)
}
// //
// this.bgUrl1 = "background-image:url('" + this.$.imgSrc + "/mine/mineBG.png');background-repeat: no-repeat;background-position: center top;background-size:100% 472rpx;"
// // if(!token){
// // this.$.openNew('/pages/logIn/logIn')
// // return
// // }
// if(this.userInfo.projectRole <= 1 && !this.timer) {
// this.timer = setInterval(() => {
// this.getReviewNum()
// },10 * 1000)
// }
},
onHide() {
// this.timer && clearInterval(this.timer)
},
onLoad() {
},
methods: {
//
getInfo() {
this.$request
.globalRequest(
"/hiddenDanger/auth/getOperatorInformation",
{
nuserid: this.userInfo.username,
},
"GET"
)
.then((res) => {
if (res.code === 200) {
this.dataInfo = res.result;
}else {
this.$.toast(res.message)
}
});
},
//
possword() {
// this.$.openNew('/pages/mine/password')
uni.navigateTo({
url: '/pages/mine/password'
})
},
showModal() {
this.show = true;
},
confirm() {
setTimeout(() => {
this.$.clearData();
this.$.openNew('/pages/logIn/logIn');
}, 1500)
}
// checkObjEmpty(obj){
// if(JSON.stringify(obj) == '{}'){
// return false
// }
// return true
// },
// getBG(url){
// return "background-image:url('" + url + "');background-repeat: no-repeat;background-position: center top;background-size:100% 100%;"
// },
// handleClick(row) {
// this.$.open(row.url)
// },
// getReviewNum() {
// this.$request.globalRequest('/hyjg-admin/mapi/projectworker/getApplyWorkerCount', {}, 'POST').then(res => {
// if (res.code == 0) {
// this.num = res.data;
// }
// })
// }
}
}
</script>
<style lang="scss" scoped>
page {
background: #F2F2F2;
}
.mine-box {
position: fixed;
width: 100%;
height: 100%;
background-image: url('../../static/mine/background.png');
background-size: 100% 100%;
.info-box {
padding-top: calc(var(--status-bar-height) + 80rpx);
width: 750rpx;
/* height: 667rpx; */
/* background: linear-gradient(#3677D9 0%, #45A3E6 28%, #F0F3F7 100%); */
border-radius: 0px 0px 0px 0px;
display: flex;
flex-direction: column;
align-items: center;
.name {
margin-top: 33rpx;
font-size: 40rpx;
}
image {
width: 170rpx !important;
height: 170rpx !important;
border: 8rpx solid #ffffff;
border-radius: 50%;
}
.static-box {
margin-top: 45rpx;
width: 710rpx;
height: 126rpx;
.u-col {
height: 126rpx;
border-radius: 13rpx;
.item {
height: 126rpx;
background: rgba(255, 255, 255, 0.35);
border-radius: 13rpx;
padding: 21rpx 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
text {
font-family: Arial, Arial;
font-weight: bold;
font-size: 40rpx;
color: #363F4D;
text-align: center;
font-style: normal;
text-transform: none;
}
.label {
font-family: Source Han Sans CN, Source Han Sans CN;
font-size: 28rpx;
font-weight: 400;
}
}
}
}
}
/deep/ .u-cell-group__wrapper .u-line {
border-bottom: none !important;
}
/deep/ .u-cell-group__wrapper .u-cell .u-line {
border-bottom: 1px solid #E6E6E6 !important;
}
.u-cell-group {
margin: 0 32rpx;
padding: 15rpx 20rpx;
background-color: rgba(255, 255, 255, 0.6);
border-radius: 13rpx;
/deep/ .u-cell__body {
.u-cell__title-text {
color: #5E6F8A;
font-size: 30rpx;
margin-left: 8rpx;
}
.u-icon__icon {
color: #5E6F8A;
font-size: 40rpx !important;
margin-top: 6rpx;
}
.u-cell__value {
color: #363F4D;
font-size: 28rpx;
position: relative;
top: 2rpx;
}
.uicon-arrow-right {
margin-right: -10rpx;
font-size: 30rpx !important;
}
}
.u-cell:last-child /deep/.u-line {
border-bottom: none !important;
}
.u-cell:first-child /deep/.u-line {
border-top: none !important;
}
.u-line .border-top-color {
/* border-bottom-color: #E6E6E6!important; */
}
}
.margin-top {
margin-top: 40rpx;
}
.logout {
width: 690rpx;
background-color: rgba(255, 255, 255, 0.6);
text-align: center;
margin-top: 20rpx;
margin-left: 30rpx;
padding: 27rpx 0;
border-radius: 13rpx;
font-size: 32rpx;
color: #363F4D;
font-weight: 600;
}
}
/deep/ .u-modal {
width: 580rpx !important;
}
</style>

@ -0,0 +1,161 @@
<template>
<view id="page" class="password-box">
<view class="Width100 Box BorderBox">
<u--form labelPosition="left" :model="form" :rules="rules" ref="uForm" class="form" labelWidth="100">
<!-- <u-form-item label="原密码" prop="password" borderBottom>
<u--input v-model="form.password" border="none"></u--input>
</u-form-item> -->
<u-form-item label="新密码" prop="password" borderBottom>
<u--input v-model="form.password" border="none"></u--input>
</u-form-item>
<u-form-item label="确认密码" prop="confirmPassword" borderBottom>
<u--input v-model="form.confirmPassword" border="none"></u--input>
</u-form-item>
</u--form>
<view @click="submit" class="Unit FontBold BorderBox TextCenter Width100 MarginT_30rpx BorderR_30rpx submit">
提交
</view>
<!-- <uni-forms :modelValue="formData" border>
<uni-forms-item label="道路类型">
<input v-if="isEdit" type="text" class="BorderNone Height100" v-model="formData.roadType"
placeholder="请输入道路类型" />
<text class="Height100 Flex Flex_end Flex_C_S-Center" v-else>{{
formData.roadType
}}</text>
</uni-forms-item>
</uni-forms > -->
</view>
</view>
</template>
<script>
export default {
data() {
return {
// js
$: this.$,
rules: {
// 'password': {
// type: 'string',
// required: true,
// message: '',
// trigger: ['blur', 'change']
// },
},
form: {
confirmPassword: "",
password: ""
},
}
},
//
onLoad(e) {
},
//
onShow() {
},
//
computed: {},
//
methods: {
// sexSelect(e) {
// this.model1.userInfo.sex = e.name
// this.$refs.uForm.validateField('userInfo.sex')
// },
},
onReady() {
//setRules
this.$refs.uForm.setRules(this.rules)
},
//
onUnload() {
},
methods: {
//
submit() {
if (!this.form.password) {
this.$.toast('请输入密码')
}
else if (this.form.password != this.form.confirmPassword) {
this.$.toast('两次密码不一致')
} else {
this.$request
.globalRequest(
"/hiddenDanger/auth/updatePwd",
{
cusername: this.$.getData('userInfo').username,
nuserid: this.$.getData("token"),
nuserpwd: this.form.password,
},
"POST",
true
)
.then((res) => {
if (res.code === 200) {
this.$.toast('密码修改成功~')
setTimeout(() => {
uni.navigateBack({
delta: 1,
});
}, 2000);
} else {
this.$.toast(res.message)
}
});
}
},
},
//
onPullDownRefresh() {
},
//
onReachBottom() {
},
}
</script>
<style>
</style>
<style lang="scss" scoped>
page {
background: #F6F8FA;
}
.password-box {
position: fixed;
width: 100%;
height: 100%;
background-color: #F6F8FA;
padding: 10rpx 30rpx;
.form {
width: 690rpx;
}
/deep/ .u-form-item__body {
padding: 30rpx 10rpx;
}
.submit {
/* background: #E1EDFF; */
background: linear-gradient(90deg, #0064FF 0%, #2D99FD 100%);
color: #ffffff;
width: 690rpx !important;
height: 94rpx;
line-height: 94rpx;
border-radius: 13rpx;
margin-top: 70rpx;
font-weight: 500;
margin-left: 0;
font-size: 32rpx;
letter-spacing: 4rpx;
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Loading…
Cancel
Save