| | |
| | | "navigationBarTextStyle": "white" |
| | | } |
| | | |
| | | }, |
| | | { |
| | | "path" : "pages/voting/information", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "电子证件", |
| | | "navigationBarBackgroundColor": "#103289", |
| | | "navigationBarTextStyle": "white" |
| | | } |
| | | |
| | | } |
| | | ], |
| | | "globalStyle": { //将组件安装在项目的components目录下,并符合components/组件名称/组件名称.vue目录结构。可以不用引用、注册,直接在页面中使用。 |
| | |
| | | }, |
| | | onLoad() { |
| | | |
| | | },mounted(){ |
| | | }, |
| | | mounted() { |
| | | if(this.$store.state.UserData.stype != "1"){ |
| | | this.$refs.uToast.show({ |
| | | title: '功能暂未开放', |
| | | type: 'warning', |
| | | }); |
| | | } |
| | | },methods: { |
| | | }, |
| | | methods: { |
| | | //页面跳转 |
| | | goOnePage(url,index){ |
| | | if(this.$store.state.UserData.stype != "1"){ |
| | |
| | | type: 'warning', |
| | | }); |
| | | return; |
| | | }else if(index == "0" || index == "3" || index == "4" || index == "5"){ |
| | | } else if (index == "0" || index == "3" || index == "4") { |
| | | this.$refs.uToast.show({ |
| | | title: '功能研发中', |
| | | type: 'warning', |
| | | }); |
| | | return; |
| | | } else if (index == 5) { |
| | | this.getUser(); |
| | | }else{ |
| | | uni.navigateTo({ |
| | | url:url |
| | | }) |
| | | } |
| | | }, |
| | | //获取用户信息 |
| | | getUser() { |
| | | var that = this; |
| | | uni.request({ |
| | | url: that.$store.state.BaopiAPI + '/blade-user/detail', |
| | | method: 'GET', |
| | | data: { |
| | | cardid: that.$store.state.UserData.cardid, |
| | | isDeleted:0, |
| | | status : 1, |
| | | }, |
| | | success: (res) => { |
| | | var urls="http://223.82.109.183:2080/securityInfo.html?securityNumber="+res.data.data.securitynumber; |
| | | uni.navigateTo({ |
| | | url: '../voting/information?url=' + urls |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | goTwoPage(url,index){ |
| | | if(this.$store.state.UserData.stype != "1"){ |
| | |
| | | color: #000000; |
| | | |
| | | &::before { |
| | | content |
| | | : ""; |
| | | content: ""; |
| | | display: block; |
| | | width: 5rpx; |
| | | height: 36rpx; |
| | |
| | | logPath: '', |
| | | piAPI: apis.api, |
| | | // piAPI: 'http://223.82.109.183:2082/api/', |
| | | // piAPI: 'http://192.168.0.108:83/', |
| | | piAPI: 'http://192.168.0.110:83/', |
| | | BaopiAPI: 'http://223.82.109.183:2080/api/', |
| | | puserName: '', |
| | | puserID: '', |
| | | puserIphone: '', |