Commit 9aabd347 authored by 胡's avatar

fix: 页面优化

parent faa8dd50
......@@ -11,5 +11,5 @@ module.exports = {
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: '"3.4.5"'
currentVersion: '"3.4.7"'
}
......@@ -87,8 +87,8 @@
<div slot="content">{{ detailInfo.project_number }}</div>
</item>
<item>
<div slot="name">经销商</div>
<div slot="content">{{ detailInfo.bp_agent_name }}</div>
<div slot="name">{{detailInfo.bp_agent_name?'经销商':'办事处'}}</div>
<div slot="content">{{ detailInfo.bp_agent_name?detailInfo.bp_agent_name:detailInfo.office_name }}</div>
</item>
<item>
<div slot="name">承租人</div>
......
......@@ -12,7 +12,7 @@
</h-view>
</template>
<script>
//import PDFJS from 'pdfjs-dist'
// import PDFJS from 'pdfjs-dist'
// const Base64 = require('js-base64').Base64
export default {
......@@ -76,7 +76,7 @@ export default {
},
_loadFile (url) {
console.log('URL ==== ' + url)
this.PDFJS.getDocument(url).then((pdf) => {
this.PDFJS.getDocument(url).promise.then((pdf) => {
this.pdfDoc = pdf
// debugger
console.log('pdf ==== ' + pdf)
......
......@@ -22,7 +22,7 @@
alt="自然人"
/>
<img v-else src="../../assets/login/bank.png" alt="bank" />
<span>{{ item.bp_name }}</span>
<span class="bp_name">{{ item.bp_name }}</span>
</div>
<div class="flag">
<div @click.stop="face(item)">{{ item.bp_identity_name }}</div>
......@@ -316,12 +316,19 @@ export default {
background-color: rgb(242, 242, 242);
}
.bp_name {
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.scroll-box {
padding: 8px;
.box {
display: flex;
justify-content: space-between;
// justify-content: space-between;
width: 99.9%;
height: 60px;
......@@ -338,6 +345,8 @@ export default {
}
.name {
flex: 0 0 65%;
width: 65%;
display: flex;
align-items: center;
}
......@@ -346,9 +355,11 @@ export default {
.flag {
display: flex;
flex: 0 0 35%;
width: 35%;
flex-direction: column;
justify-content: space-evenly;
padding-left: 10px;
padding-left: .2rem;
border-left: 1px transparent solid;
border-image: linear-gradient(
to bottom,
......@@ -361,6 +372,10 @@ export default {
1 10;
& > div {
width: calc(99% - 0.2rem);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
height: 20px;
border-radius: 3px;
border: 1px solid #1d3fff;
......
......@@ -4975,8 +4975,8 @@ loader-utils@^0.2.15, loader-utils@^0.2.16, loader-utils@^0.2.5:
loader-utils@^1.0.0, loader-utils@^1.0.2, loader-utils@^1.1.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
resolved "https://registry.npmmirror.com/loader-utils/download/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha1-xXm140yzSxp07cbB+za/o3HVphM=
dependencies:
big.js "^5.2.2"
emojis-list "^3.0.0"
......@@ -5457,7 +5457,7 @@ node-cli-config@^0.0.1:
node-ensure@^0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/node-ensure/-/node-ensure-0.0.0.tgz#ecae764150de99861ec5c810fd5d096b183932a7"
resolved "https://registry.npm.taobao.org/node-ensure/download/node-ensure-0.0.0.tgz#ecae764150de99861ec5c810fd5d096b183932a7"
integrity sha1-7K52QVDemYYexcgQ/V0Jaxg5Mqc=
node-forge@^0.10.0:
......@@ -5967,8 +5967,8 @@ pbkdf2@^3.0.3:
pdfjs-dist@2.2.228:
version "2.2.228"
resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.2.228.tgz#777b068a0a16c96418433303807c183058b47aaa"
integrity sha512-W5LhYPMS2UKX0ELIa4u+CFCMoox5qQNQElt0bAK2mwz1V8jZL0rvLao+0tBujce84PK6PvWG36Nwr7agCCWFGQ==
resolved "https://registry.npmmirror.com/pdfjs-dist/download/pdfjs-dist-2.2.228.tgz#777b068a0a16c96418433303807c183058b47aaa"
integrity sha1-d3sGigoWyWQYQzMDgHwYMFi0eqo=
dependencies:
node-ensure "^0.0.0"
worker-loader "^2.0.0"
......@@ -8890,8 +8890,8 @@ wordwrap@0.0.2:
worker-loader@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/worker-loader/-/worker-loader-2.0.0.tgz#45fda3ef76aca815771a89107399ee4119b430ac"
integrity sha512-tnvNp4K3KQOpfRnD20m8xltE3eWh89Ye+5oj7wXEEHKac1P4oZ6p9oTj8/8ExqoSBnk9nu5Pr4nKfQ1hn2APJw==
resolved "https://registry.nlark.com/worker-loader/download/worker-loader-2.0.0.tgz#45fda3ef76aca815771a89107399ee4119b430ac"
integrity sha1-Rf2j73asqBV3GokQc5nuQRm0MKw=
dependencies:
loader-utils "^1.0.0"
schema-utils "^0.4.0"
......
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