Commit 43139e1a authored by Hello's avatar Hello

徐工IOS三期修改

parent cebead02
......@@ -8,7 +8,6 @@ www/static/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
# Editor directories and files
.idea
.vscode
......
......@@ -26,7 +26,7 @@ const webpackConfig = merge(baseWebpackConfig, {
output: {
path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'),
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
chunkFilename: utils.assetsPath('js/[name].[id].[chunkhash].js')
},
plugins: [
// http://vuejs.github.io/vue-loader/en/workflow/production.html
......
'use strict'
module.exports = {
NODE_ENV: '"production"',
NODE_ENV: '"development"',
CONFIG_ENV: JSON.stringify(process.env.CONFIG_ENV),
debug: true,
isMobilePlatform: true,
loginPath: '"http://www.xcmgfs.com:8087/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ',
basePath: '"http://www.xcmgfs.com:8087/r/api/interface?sysName=XCMG_PROD&apiName="',
rootPath: '"http://www.xcmgfs.com:8087/r/api"',
filePath: '"http://www.xcmgfs.com:8087/r/api/app/fileViewSvc?sysName=XCMG_PROD&apiName=file_view&"',
ocrPath:'"http://www.xcmgfs.com:8087/r/api"',
fileUploadSvcPath:'"http://www.xcmgfs.com:8087/r/api/app/fileUploadSvc?sysName=XCMG_PROD&apiName="',
loginPath: '"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" ',
basePath: '"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_UAT&apiName="',
rootPath: '"http://180.104.121.66:8088/r/api"',
filePath: '"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"',
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"2.3.3"'
currentVersion: '"2.8.9"'
}
......@@ -87,7 +87,7 @@ module.exports = {
* Source Maps
*/
productionSourceMap: true,
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
......
This diff is collapsed.
......@@ -15,17 +15,12 @@
"dependencies": {
"autosize": "^3.0.20",
"better-scroll": "^1.10.3",
"cordova-android": "^6.2.0",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-splashscreen": "5.0.2",
"cordova-plugin-statusbar": "2.4.2",
"cordova-plugin-whitelist": "1.3.3",
"crypto-js": "^3.1.9-1",
"fastclick": "https://hel.hand-china.com/easyUI/fastclick.git",
"hls-easy-ui": "https://hel.hand-china.com/easyUI/hls-easy-ui.git#keyboard",
"ionic-plugin-keyboard": "^2.2.1",
"js-base64": "^2.5.1",
"pdfjs-dist": "^2.2.228",
"pdfjs-dist": "2.2.228",
"vue": "^2.5.2",
"vue-router": "^3.0.1",
"vuex": "^2.1.1",
......@@ -46,9 +41,7 @@
"chalk": "^2.0.1",
"connect-history-api-fallback": "^1.3.0",
"copy-webpack-plugin": "^4.0.1",
"cordova-ios": "^4.5.5",
"cordova-plugin-hand-idcardplugin": "file:../../plugins/cordova-plugin-hand-idcardplugin",
"cordova-plugin-inappbrowser": "^4.0.0",
"cordova-android": "^6.2.0",
"cross-env": "^5.2.0",
"css-loader": "^0.28.0",
"eslint": "^4.15.0",
......@@ -100,7 +93,7 @@
"yaml-loader": "^0.4.0"
},
"engines": {
"node": ">= 4.0.0",
"node": ">= 11.0.0",
"npm": ">= 3.0.0"
},
"browserslist": [
......@@ -109,15 +102,9 @@
],
"cordova": {
"platforms": [
"android",
"ios"
"ios",
"android"
],
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"ionic-plugin-keyboard": {}
}
"plugins": {}
}
}
......@@ -174,9 +174,9 @@
</h-content>
<bottom-tab v-if="!flag">
<tab-button class="before" @click.native="takePhonto">
<img src="@/assets/constractSigning/certification.png" >认证
<img src="@/assets/constractSigning/certification.png" >签署合同
</tab-button>
<tab-button class="approve" @click.native="isConfirm">确定</tab-button>
<tab-button class="approve" @click.native="isConfirm">提交审核</tab-button>
</bottom-tab>
<!--活体检测-->
<body-check ref="body" :check_id="$route.params.check_id" :confirm_id="confirm_id" />
......
......@@ -10,7 +10,7 @@
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()">
<span>融租申请创建</span>
<span>融租方案创建</span>
</div>
</h-header>
<div class="tab-style has-header">
......@@ -47,7 +47,7 @@
</scroll>
<bottom-tab>
<tab-button class="footer" @click.native="changePage">
<img class="add-img" src="@/assets/contractCreate/create-add.png" alt=""> 创建新合同
<img class="add-img" src="@/assets/contractCreate/create-add.png" alt=""> 融租方案创建
</tab-button>
</bottom-tab>
</h-view>
......
......@@ -6,37 +6,38 @@
* @Description: In User Settings Edit
-->
<template>
<h-view id="contract-create-list">
<h-view id="my-contract">
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()">
<span>我的合同</span>
</div>
</h-header>
<div class="my-contractlist">
<div class="contract-item" @click="goSign()">
<h-content class="my-contractlist">
<div v-if="user_bp_type == 'AGENT' || user_bp_type == 'OFFICE'" class="contract-item" @click="goCreate()">
<img src="@/assets/myInfo/contractCreate.png" >
<span>融租方案创建</span>
</div>
<div v-if="user_bp_type !== 'MANAGER'" class="contract-item" @click="goSign()">
<p v-if="signCount > 0" :class="{'content-wrap-class-width':signCount > 99, 'content-wrap-class':signCount < 99}">{{ signCount > 99 ? '99+' : signCount }}</p>
<img src="@/assets/myInfo/unSign.png" >
<span>融租方案确认</span>
</div>
<div v-if="multipleRole == 'TENANT' || multipleRole == 'GUTA'|| user_bp_type == 'AGENT'" class="contract-item" @click="goCarConfirm()">
<div v-if="user_bp_type == 'GUTA'|| user_bp_type == 'TENANT' || user_bp_type == 'AGENT'" class="contract-item" @click="goCarConfirm()">
<p v-if="carCount > 0" :class="{'content-wrap-class-width':carCount > 99, 'content-wrap-class':carCount < 99}">{{ carCount > 99 ? '99+' : carCount }}</p>
<img src="@/assets/myInfo/carConfirm.png" >
<span>合同签订</span>
</div>
<div v-if="multipleRole == 'AGENT' || (multipleRole == 'OFFICE' || user_bp_type == 'OFFICE')" class="contract-item" @click="goCreate()">
<img src="@/assets/myInfo/contractCreate.png" >
<span>融租申请创建</span>
</div>
<div v-if="multipleRole == 'GUTA'" class="contract-item" @click="changeContract('GUTA')">
<div v-if="user_bp_type == 'GUTA'" class="contract-item" @click="changeContract('GUTA')">
<img src="@/assets/myInfo/under.png" >
<span>我担保的合同</span>
</div>
<div v-if="multipleRole == 'AGENT' || (multipleRole == 'OFFICE' || user_bp_type == 'OFFICE')" class="contract-item" @click="goContract()">
<div v-if="user_bp_type == 'AGENT' || user_bp_type == 'OFFICE' || user_bp_type == 'MANAGER'" class="contract-item" @click="goContract()">
<img src="@/assets/myInfo/agent.png" >
<span>我办理的合同</span>
</div>
</div>
</h-content>
</h-view>
</template>
......@@ -134,18 +135,14 @@ export default {
})
},
goContract () {
if (this.user_bp_type === 'OFFICE') {
this.changeContract('OFFICE')
} else {
this.changeContract('AGENT')
}
this.changeContract(this.user_bp_type)
},
},
}
</script>
<style lang="less" type="text/less">
#contract-create-list{
#my-contract{
.my-contractlist {
display: flex;
flex-wrap: wrap;
......@@ -204,5 +201,5 @@ export default {
}
}
}
}
}
</style>
......@@ -576,7 +576,7 @@ export default {
// margin-top:50px;
// }
.scroll-content{
top:100px;
//top:100px;
}
.date-pic {
height: 17px;
......
......@@ -288,7 +288,7 @@ export default {
let name = ''
if (vm.bp_type === 'TENANT') {
name = 'con_contract_list_tenant'
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE') {
} else if (vm.bp_type === 'AGENT' || vm.bp_type === 'OFFICE' || vm.bp_type === 'MANAGER') {
name = 'con_contract_list_saleman'
} else if (vm.bp_type === 'GUTA') {
name = 'con_contract_list_guta'
......
......@@ -14,8 +14,7 @@
<span>合同明细</span>
</div>
</h-header>
<h-content ref="content" class="repay-content">
<div ref="content" class="repay-content">
<div class="header">
合同单据
<div class="download" @click="downLoad">电子版下载 <img src="@/assets/contractInquire/download.png" alt=""></div>
......@@ -55,12 +54,13 @@
</item>
</list-item>
<div class="header">设备清单</div>
</div>
<scroll
ref="scroll"
:updateData="[lists]"
:pullUp="true"
@pullingUp="loadMore">
<div class="header">设备清单</div>
<list-item :item-height="104" class="equipment-list">
<item v-for="(item,index) in lists" :proportion="[2,1]" :key="index">
<div slot="name" class="parameters">
......@@ -91,13 +91,12 @@
</item>
</list-item>
</scroll>
</h-content>
</h-view>
</template>
<script>
export default {
export default {
name: 'RepayDetail',
filters: {
lengthCheck: function (value) {
......@@ -117,9 +116,7 @@ export default {
fileArray: [],
}
},
computed: {
},
computed: {},
watch: {},
beforeRouteEnter (to, from, next) {
next(vm => {
......@@ -248,22 +245,29 @@ export default {
})
},
},
}
}
</script>
<style lang='less' >
#repay-detail {
.status{
margin-bottom:20px;
<style lang='less'>
#repay-detail {
.status {
margin-bottom: 20px;
display: inline-block;
}
.red{
.red {
color: red;
border-bottom: 1px solid red;
}
.repay-content {
overflow: hidden;
position: absolute;
z-index: 10;
width: 100%;
.header {
position: relative;
//position: relative;
background-color: #fafafa;
height: 40px;
line-height: 40px;
font-size: 14px;
......@@ -308,8 +312,8 @@ export default {
.invoice {
margin-bottom: 0px;
.hls-item{
.contents{
.hls-item {
.contents {
.add-name {
font-family: PingFangSC-Regular;
font-size: 14px;
......@@ -319,9 +323,57 @@ export default {
.add-content {
font-family: PingFangSC-Regular;
font-size: 14px;
color: rgba(56,63,69,0.60);
color: rgba(56, 63, 69, 0.60);
}
}
}
}
}
.scrollContent {
//padding-bottom: 400px;
.header {
//position: relative;
background-color: #fafafa;
height: 40px;
line-height: 40px;
font-size: 14px;
color: #1D3FFF;
text-indent: 1em;
border-bottom: 1px solid #F1F0F5;
.download {
position: absolute;
padding-left: 12px;
right: 12px;
top: 8px;
background: #FFFFFF;
border-radius: 5px;
height: 24px;
line-height: 24px;
// width: 93px;
font-family: PingFangSC-Regular;
font-size: 11px;
color: #1D3FFF;
letter-spacing: 0.34px;
img {
position: absolute;
height: 15px;
left: 6px;
top: 6px;
}
}
&:before {
content: "";
position: absolute;
top: 12px;
left: 0;
width: 4px;
height: 16px;
background: #1D3FFF;
}
}
......@@ -337,7 +389,8 @@ export default {
.contents {
padding-top: 8px;
.add-name{
.add-name {
display: flex;
flex-direction: column;
......@@ -347,19 +400,19 @@ export default {
.list {
display: flex;
margin-bottom:0;
margin-bottom: 0;
p {
font-family: PingFangSC-Regular;
font-size: 13px;
color: rgba(56,63,69,0.60);
color: rgba(56, 63, 69, 0.60);
letter-spacing: 0.4px;
text-align: right;
flex: 1;
}
span {
flex:1;
flex: 1;
margin-left: 15px;
font-family: PingFangSC-Regular;
font-size: 13px;
......@@ -380,7 +433,7 @@ export default {
position: relative;
width: 100px;
height: 30px;
background: rgba(29, 63, 255,.2);
background: rgba(29, 63, 255, .2);
border-radius: 4px;
img {
......@@ -407,38 +460,38 @@ export default {
}
}
.scrollContent {
padding-bottom: 400px;
}
.tab-style {
width: 100%;
position: absolute;
}
}
.platform-ios {
}
.platform-ios {
#repay-detail {
.scrollContent {
// padding-top: 3.32rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#repay-detail{
#repay-detail {
.scrollContent {
// padding-top: 3.72rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#repay-detail{
#repay-detail {
.scrollContent {
// padding-top: 3.72rem;
}
}
}
}
}
</style>
......@@ -7,7 +7,7 @@
</div>
</h-header>
<scroll
v-if="data!==null"
v-show="data!==null"
ref="scroll" :updateData="[lists]" :pullUp="true" class="pay-content"
@pullingUp="getList">
<div v-for="(item,index) in lists" :key="index" class="contract-item">
......
......@@ -15,7 +15,7 @@
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()" >
<span>合同详情</span>
<span>方案详情</span>
</div>
</h-header>
<!-- <div
......@@ -38,10 +38,10 @@
<img :src="num === 0?check1:uncheck1" >基本信息
</div>
<div :class="{'done':num === 1,'undone':num !== 1}" @click="num = 1;">
<img :src="num === 1?check3:uncheck3" >租赁信息
<img :src="num === 1?check3:uncheck3" >方案信息
</div>
<div :class="{'done':num === 2,'undone':num !== 2}" @click="num = 2;">
<img :src="num === 2?check2:uncheck2" >合同文本
<img :src="num === 2?check2:uncheck2" >征信授权书
</div>
</div>
<h-content v-if="num === 0" class="business-condition">
......@@ -220,10 +220,10 @@
</h-content>
<bottom-tab v-if="con_confirm_status!=='APPROVED'" class="add-box">
<tab-button class="before" @click.native="takePhonto">
<img src="@/assets/constractSigning/certification.png" >认证
<img src="@/assets/constractSigning/certification.png" >征信签约
</tab-button>
<tab-button class="next" @click.native="inSure">
<img src="@/assets/intoApproval/approve.png" >确认签约
<img src="@/assets/intoApproval/approve.png" >提交审核
</tab-button>
</bottom-tab>
<h-modal
......
......@@ -340,10 +340,10 @@
</div>
</h-content>
<bottom-tab v-if="!flag">
<tab-button class="save" @click.native="generateContract" :disable="generateContractFlag">生成合同文本</tab-button>
<tab-button class="save" @click.native="generateContract" :disable="generateContractFlag">生成电子合同</tab-button>
<tab-button
class="approve" @click.native="checkStatus"
>融租合同创建</tab-button
>提交签署</tab-button
>
</bottom-tab>
<div class="bottom-pop">
......@@ -606,7 +606,7 @@ export default {
let vm = this
hlsPopup.showActionSheet({
titleText: '请选择证件类型',
buttonArray: ['徐工重型合格证', '车辆登记证', '出厂合格证'],
buttonArray: ['标准车辆合格证(徐工重型、施维英)', '车辆登记证', '出厂合格证'],
callback: (index) => {
if (index === 0) {
vm.certificationType = 'NORMAL'
......@@ -987,7 +987,7 @@ export default {
return i.lease_status === 'N'
})
if (mantained.length > 0) {
hlsPopup.showLongCenter('您有待维护的设备项,请完善信息后再申请发车!')
hlsPopup.showLongCenter('您有待维护的设备项,请完善信息后再提交至客户签署!')
} else {
this.isApprove()
}
......@@ -995,7 +995,7 @@ export default {
isApprove () {
this.hlsPopup.showConfirm({
title: '提示',
content: '您确定申请发车吗?',
content: '您确定提交至客户签署吗?',
onConfirm: (data) => {
if (data === 1) {
this.approve()
......
......@@ -47,9 +47,9 @@
</div>
</div>
</scroll>
<bottom-tab>
<!--<bottom-tab>
<tab-button class="add" @click.native="goAdd">新增发车</tab-button>
</bottom-tab>
</bottom-tab>-->
</h-view>
</template>
<script>
......
This diff is collapsed.
......@@ -29,7 +29,7 @@
<div class="functions">
<div class="title">资讯动态</div>
<ul>
<li v-for="item in newsList" :key="item.index"><img src="@/assets/homePage/inform.png" alt="">{{item.new_title}}</li>
<li v-for="item in newsList" :key="item.index"><img src="@/assets/homePage/inform.png" alt="">{{ item.new_title }}</li>
</ul>
<img src="@/assets/functionCenter/in@2x.png" @click="gotoNews()">
<!-- <function-item
......@@ -84,7 +84,7 @@ export default {
isVisitor: false,
moduleSeparateList: [],
guessingList: [],
newsList: []
newsList: [],
}
},
watch: {},
......@@ -104,7 +104,7 @@ export default {
// }
})
},
methods:{
methods: {
// 定位
getLocation () {
let vm = this
......@@ -132,7 +132,7 @@ export default {
console.log('&&&&&&&&&&&&___ios')
// if (!$config.isMobilePlatform) {
// }
baidumap_location.getCurrentPosition(function (result) {
/*baidumap_location.getCurrentPosition(function (result) {
if (window.localStorage.getItem('province')) {
vm.city = window.localStorage.getItem('city')
vm.province = window.localStorage.getItem('province')
......@@ -143,7 +143,7 @@ export default {
vm.guessingQuery(result.city)
}
}, function (error) {
})
})*/
// }
// setTimeout(vm.guessingQuery(), 0)
},
......@@ -153,7 +153,7 @@ export default {
})
},
// 新闻资讯
getNews() {
getNews () {
let url = $config.basePath + 'news_entrance_list'
let param = {}
this.$post(url, param).then((res) => {
......
......@@ -6,7 +6,7 @@
<!-- <h-content class="content"> -->
<scroll
v-if="list.length !== 0"
v-show="list.length !== 0"
ref="scroll" :updateData="[list]" :pullUp="true" class="has-footer"
@pullingUp="getInfo">
<section v-for="(item,parentIndex) in list" :key="parentIndex" class="msg-wrap">
......@@ -103,6 +103,7 @@ export default {
let twoHeight = 40
this.textHeight = `${twoHeight}px`
let txtDom = this.$refs.textContainer
if (txtDom) {
for (let i = 0; i < txtDom.length; i++) {
let curHeight = txtDom[i].offsetHeight
if (curHeight > twoHeight) {
......@@ -119,6 +120,7 @@ export default {
)
}
}
}
},
goDetail (e) {
this.$router.push({
......@@ -197,9 +199,9 @@ export default {
}
</script>
<style lang="less">
@import "../../styles/mixin";
@import "../../styles/mixin";
#message-center {
#message-center {
// .content {
// padding-top: 10px;
// }
......@@ -393,15 +395,15 @@ export default {
padding-top: 1rem;
padding-bottom: 20px;
}
}
.platform-ios {
}
.platform-ios {
#message-center {
.scrollContent {
padding-top: 1.4rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#message-center {
.scrollContent {
......@@ -412,9 +414,9 @@ export default {
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#message-center {
.scrollContent {
......@@ -425,5 +427,5 @@ export default {
}
}
}
}
}
</style>
This diff is collapsed.
......@@ -15,15 +15,15 @@
</item>
</list-item>
<list-item :item-height="50" class="list">
<item v-if="bpId!=='undefined'" @click.native="changePageHead()">
<item v-if="bpId!=='undefined'" v-show="user_bp_type!='MANAGER'" @click.native="changePageHead()">
<div slot="name" style="color:#656464;">修改信息</div>
<div class="arrow_right"><img src="@/assets/myinfo/arrow_right.png"></div>
</item>
<item @click.native="changeRole()">
<item v-if="user_bp_type!='MANAGER'" @click.native="changeRole()">
<div slot="name" style="color:#656464;">角色切换</div>
<div class="arrow_right"><img src="@/assets/myinfo/arrow_right.png"></div>
</item>
<item @click.native="resetPwd()">
<item v-if="user_bp_type!='MANAGER'" @click.native="resetPwd()">
<div slot="name" style="color:red;">修改密码</div>
<div class="arrow_right"><img src="@/assets/myinfo/arrow_right.png"></div>
</item>
......@@ -33,7 +33,7 @@
</div>
<div slot="right-icon" style="float:right;color:#383F45;opacity:0.4;">当前版本&nbsp;&nbsp;{{ currentVersion }}</div>
</item>
<item @click.native="unBind()">
<item v-if="user_bp_type!='MANAGER'" @click.native="unBind()">
<div slot="name" style="color:#656464;">解除绑定</div>
<div class="arrow_right"><img src="@/assets/myinfo/arrow_right.png"></div>
</item>
......@@ -81,7 +81,7 @@ export default {
},
computed: {
roleList () {
let roleObj = {'TENANT': '主承租人', 'GUTA': '担保人', 'FACTORY': '主机厂', 'AGENT': '经销商', 'OFFICE': '办事处'}
let roleObj = {'TENANT': '主承租人', 'GUTA': '担保人', 'FACTORY': '主机厂', 'AGENT': '经销商', 'OFFICE': '办事处', 'MANAGER': '业务经理'}
let obj = {
bp_type: this.user_bp_type,
bp_type_n: roleObj[this.user_bp_type],
......@@ -135,11 +135,6 @@ export default {
this.update_content,
this.version_url
)
} else {
this.hote_update_version(
this.update_content,
this.version_url
)
}
} else {
this.hlsPopup.showLongCenter('您的版本是最新版')
......@@ -548,7 +543,7 @@ export default {
</script>
<style lang="less">
#setting{
#setting{
.content{
margin-top:0 ;
}
......@@ -561,13 +556,13 @@ export default {
height: 18px;
display: flex;
align-items: center;
}
.arrow_right {
}
.arrow_right {
display: flex;
align-items: center;
img {
height: 20px;
}
}
}
}
}
</style>
......@@ -176,7 +176,7 @@ export default {
#newList {
background: #efefef;
.scroll-content {
top: 50px;
//top: 50px;
}
.pay-content {
width: 96%;
......
<template>
<h-view id="prolist" class="public-style" title="产品查询">
<h-view id="entity-list" class="public-style" title="产品查询">
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()">
......@@ -45,7 +45,7 @@
<script>
import noImg from '../../assets/productQuery/none.png'
export default {
name: 'ProductList',
name: 'EntityList',
data () {
return {
lists: [],
......@@ -198,9 +198,9 @@ export default {
}
</script>
<style lang='less' scoped>
#prolist {
#entity-list {
.scroll-content{
margin-top: 100px;
//margin-top: 100px;
}
.display {
position: fixed;
......
......@@ -227,7 +227,7 @@ export default {
#prolist {
background: rgba(239, 239, 239, 0.55);
.scroll-content {
top: 50px;
//top: 50px;
}
.display {
position: fixed;
......
......@@ -6,7 +6,7 @@
* @LastEditors: Please set LastEditors
-->
<template>
<h-view id="query" class="public-style" title="产品查询">
<h-view id="query-home" class="public-style" title="产品查询">
<h-header v-if="$route.path=='/query-home'" :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()">
......@@ -35,7 +35,7 @@
<div class="first">
<p class="product">{{ item.factory_bp_name }}</p>
</div>
<img class="arrow" src="@/assets/productQuery/getIn.png" alt="" >
<img class="arrow" src="@/assets/productQuery/getIn.png" alt="">
</div>
</div>
</div>
......@@ -45,6 +45,7 @@
<script>
import noImg from '../../assets/productQuery/none.png'
export default {
name: 'QueryHome',
data () {
......@@ -70,7 +71,7 @@ export default {
},
},
beforeRouteEnter (to, from, next) {
if (from.name === 'HomePage' ||from.name === 'FunctionCenter') {
if (from.name === 'HomePage' || from.name === 'FunctionCenter') {
next(vm => {
vm.searchInput = ''
vm.pagenum = 1
......@@ -79,8 +80,7 @@ export default {
}
next()
},
methods:
{
methods: {
// 初始产品查询
proQuery () {
let vm = this
......@@ -227,7 +227,7 @@ export default {
}
</script>
<style lang='less'>
#query {
#query-home {
.search {
background-color: #fff;
padding: 8px 12px;
......@@ -235,6 +235,7 @@ export default {
width: 100%;
z-index: 100;
margin-bottom: 8px;
input {
padding-left: 12px;
height: 36px;
......@@ -248,12 +249,14 @@ export default {
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
}
input::placeholder {
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888C8F;
letter-spacing: 0;
}
input:focus {
background: url("../../assets/contractStart/search2.png") 320px no-repeat;
background-size: 16px 16px;
......@@ -261,9 +264,11 @@ export default {
border: 2px solid #bcc6ff;
}
}
.scroll-box {
padding: 8px;
}
.box {
width: 100%;
height: 80px;
......@@ -274,20 +279,24 @@ export default {
justify-content: center;
align-items: center;
padding: 20px;
.leftPic {
height: 40px;
width: 40px;
border-radius: 8px;
img {
height: 40px;
width: 40px;
}
}
.first {
flex-grow: 1;
height: 84px;
line-height: 84px;
text-indent: 20px;
.product {
font-family: PingFangSC-Regular;
font-size: 14px;
......@@ -295,27 +304,32 @@ export default {
text-align: left;
}
}
.arrow {
height: 16px;
width: 16px;
}
}
.content {
position: absolute;
top:0;
top: 0;
}
.scrollContent {
padding-top: 1.92rem;
//padding-top: 1.92rem;
padding-bottom: 20px;
}
}
.platform-ios {
}
.platform-ios {
#query {
.scrollContent {
padding-top: 2.32rem;
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
......@@ -326,6 +340,7 @@ export default {
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
......@@ -333,10 +348,10 @@ export default {
.scrollContent {
padding-top: 2.72rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
......
......@@ -36,7 +36,7 @@
<img slot="icon" src="../assets/image/tab/n_function@2x.png">
<span slot="label">业务办理</span>
</tabbar-item>
<tabbar-item @click.native="tabClick">
<tabbar-item :selected="$route.path === '/tab/my-info'" @click.native="tabClick">
<img slot="icon-active" src="../assets/image/tab/my@2x.png">
<img slot="icon" src="../assets/image/tab/n_my@2x.png">
<span slot="label">我的</span>
......
This diff is collapsed.
......@@ -94,6 +94,18 @@ axios.interceptors.response.use(response => {
hlsPopup.showPopup({
title: '登录失效,重新登录',
onConfirm: () => {
let width = window.localStorage.getItem('width')
let height = window.localStorage.getItem('height')
if (window.localStorage.isReadPolicy === 'false') {
window.localStorage.clear()
} else if (window.localStorage.isReadPolicy === 'true') {
window.localStorage.clear()
window.localStorage.setItem('isReadPolicy', true)
} else {
window.localStorage.clear()
}
window.localStorage.setItem('width', width)
window.localStorage.setItem('height', height)
router.push({name: 'Login'})
},
})
......
This diff is collapsed.
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