柜台,系统全屏未完成

20240205
e 3 years ago
parent 4365ca211c
commit 8b35dd436b
  1. 6
      src/App.vue
  2. 19
      src/pages/counter/list/index.vue
  3. 8
      src/pages/index/list/index.vue
  4. 14
      src/pages/manage/index/index.vue
  5. 99
      src/pages/manage/list/personal/currentAccount.vue
  6. 6
      src/store/modules/layout.js

@ -1,14 +1,18 @@
<template> <template>
<div id="app" > <div id="app" >
<router-view></router-view> <router-view></router-view>
<vCase></vCase>
</div> </div>
</template> </template>
<script> <script>
import vCase from '@/components/case'
import Setting from '@/setting'; import Setting from '@/setting';
import util from '@/libs/util'; import util from '@/libs/util';
export default { export default {
name: 'App', name: 'App',
components: {
vCase
},
created () { created () {
//localStorage //localStorage
if (util.local.get(Setting.storeKey) ) { if (util.local.get(Setting.storeKey) ) {

@ -70,8 +70,8 @@
</div> </div>
<img class="sth cipher-machine cp" src="@/assets/img/cipher-machine.png" alt=""> <img class="sth cipher-machine cp" src="@/assets/img/cipher-machine.png" alt="">
</el-tooltip> </el-tooltip>
<img class="sth employee" src="@/assets/img/employee.png" alt=""> <img class="sth employee" src="@/assets/img/employee.png" alt="">
<p class="employeeText">资料</p>
<el-tooltip placement="top" popper-class="sth-popper" offset="50"> <el-tooltip placement="top" popper-class="sth-popper" offset="50">
<div slot="content"> <div slot="content">
<img src="@/assets/img/tooltip/skj.png" alt=""> <img src="@/assets/img/tooltip/skj.png" alt="">
@ -124,7 +124,8 @@
<button type="button">确定</button> <button type="button">确定</button>
</div> </div>
</el-dialog> </el-dialog>
<div class="system" style="margin-top:-8vh" v-if="manageVisible" width="1280px"> <!-- 商业银行系统的全屏功能实现 -->
<div :class="fullScreen?'':'system'" :style="fullScreen?'margin-top:10vh':'margin-top:-8vh'" v-if="manageVisible" :width="fullScreen?'100vw':'1280px'">
<router-view></router-view> <router-view></router-view>
</div> </div>
@ -145,7 +146,8 @@ export default {
dataTitle: '', dataTitle: '',
dataVisible: false, dataVisible: false,
manageVisible:false,// manageVisible:false,//
checkList: [] checkList: [],
fullScreen:true,// --
} }
}, },
watch: { watch: {
@ -232,11 +234,22 @@ export default {
left: 956px; left: 956px;
width: 50%; width: 50%;
} }
.employee{ .employee{
top: 371px; top: 371px;
left: 920px; left: 920px;
width: 388px; width: 388px;
position: relative;
}
.employeeText{
position: absolute;
top: 541px;
left: 1263px;
color: #000;
transform: rotateZ(38deg) scale3d(1, 1, 1) skew(-19deg, -9deg);
font-size: 18px;
} }
.man{ .man{
top: 82px; top: 82px;
right: 150px; right: 150px;

@ -14,12 +14,12 @@
<img class="sth company-finance" src="@/assets/img/company-finance.png" alt=""> <img class="sth company-finance" src="@/assets/img/company-finance.png" alt="">
<img class="sth personal-finance" src="@/assets/img/personal-finance.png" alt=""> <img class="sth personal-finance" src="@/assets/img/personal-finance.png" alt="">
<vCase></vCase>
</div> </div>
</template> </template>
<script> <script>
import vCase from '@/components/case'
export default { export default {
name: 'index', name: 'index',
data() { data() {
@ -27,9 +27,7 @@ export default {
caseVisible: true, caseVisible: true,
} }
}, },
components: {
vCase
},
mounted() { mounted() {
}, },

@ -1,5 +1,5 @@
<template> <template>
<div class="box"> <div class="box" :style="fullscreen?'height:calc(100vh - 60px)':'height:80vh'">
<div class="nav"> <div class="nav">
<div class="top"> <div class="top">
<p style="margin:auto">商业银行系统</p> <p style="margin:auto">商业银行系统</p>
@ -24,7 +24,7 @@ export default {
name: 'index', name: 'index',
data() { data() {
return { return {
fullscreen:false,// --store
} }
}, },
components: { components: {
@ -68,7 +68,8 @@ export default {
} }
.manage-layout{ .manage-layout{
width: calc(100% - 270px); width: calc(100% - 270px);
background: #fff; // background: #fff;
background:transparent;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.top{ .top{
@ -87,9 +88,14 @@ export default {
} }
} }
.manage-content{ .manage-content{
padding: 24px 24px 0;
flex: 1; flex: 1;
position: relative; position: relative;
.manage-view{
position: absolute;
top: 0;
bottom: 0;
background: #fff;
}
} }
} }
} }

@ -19,9 +19,9 @@
<p>开户</p> <p>开户</p>
</div> </div>
<div class="body"> <div class="body">
<el-row :gutter="20"> <el-row :gutter="20" style="margin:0">
<el-form ref="form" :model="form" label-width="120px"> <el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="2">
<el-form-item label="客户号"> <el-form-item label="客户号">
<el-input v-model="form.name"></el-input> <el-input v-model="form.name"></el-input>
</el-form-item> </el-form-item>
@ -46,9 +46,61 @@
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-row :gutter="20"> <div class="add">
<el-row :gutter="20" style="margin:0">
<el-form ref="form" :model="form" label-width="120px"> <el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.x" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.x" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.x" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="凭证号码" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
</el-col>
</el-form>
<el-button type="primary" class="addBtn" circle icon="el-icon-plus"></el-button>
</el-row>
</div>
<!-- 二级证件,最多三张逻辑上一张二级为填完信息不可添加第三张 v-for="(item,index) in second" :key="index" -->
<div class="add">
<el-row :gutter="20" style="margin:0;margin-top:10px">
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质"> <el-form-item label="账户性质">
<el-input v-model="form.name"></el-input> <el-input v-model="form.name"></el-input>
</el-form-item> </el-form-item>
@ -87,11 +139,16 @@
<el-form-item label="凭证号码" required> <el-form-item label="凭证号码" required>
<el-input v-model="form.name"></el-input> <el-input v-model="form.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" required>
<el-input v-model="form.name"></el-input>
</el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button class="addBtn" circle icon="el-icon-close"></el-button>
</div> </div>
<el-button @click="visible=true" type="primary" class="submitBtn">提交</el-button> <el-button @click="visible=true" type="primary" class="submitBtn">提交</el-button>
</div>
<el-dialog <el-dialog
style="margin-top:10vh" style="margin-top:10vh"
@ -128,18 +185,22 @@ export default {
visible:false, visible:false,
options:[], options:[],
activeIndex:'1', activeIndex:'1',
second:[//
],
} }
}, },
mounted() { created() {
}, },
methods: { methods: {
handleSelect(val){ handleSelect(val){
console.log(val,'xuanze'); console.log(val,'xuanze');
} },
} }
}; };
</script> </script>
@ -150,6 +211,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
padding: 24px 0 24px 24px;
.nav{ .nav{
/deep/ .el-menu.el-menu--horizontal{ /deep/ .el-menu.el-menu--horizontal{
border: 0; border: 0;
@ -172,10 +234,12 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 20px; font-size: 20px;
padding-left: 50px; padding-left: 0px;
margin-top: 10px;
} }
.body{ .body{
margin-top: 50px; margin-top: 50px;
overflow: auto;
.idCard{ .idCard{
border-radius: 5px; border-radius: 5px;
background: #CFDDFF; background: #CFDDFF;
@ -185,12 +249,33 @@ export default {
font-size: 18px; font-size: 18px;
color: #6191FF; color: #6191FF;
} }
.add{
position: relative;
&::after{
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #CFDDFF;
width: 88%;
height: 268px;
} }
.submitBtn{ .addBtn{
position: absolute; position: absolute;
left: 0;
top: 50%;
transform: translate(50%,-50%);
font-size: 22px;
}
}
}
.submitBtn{
position: relative;
width: 300px; width: 300px;
font-size: 18px; font-size: 18px;
height: 68px; height: 68px;
margin-top: 50px;
border-radius: 10px; border-radius: 10px;
bottom: 10px; bottom: 10px;
left: 50%; left: 50%;

@ -11,12 +11,16 @@ function isIE() {
export default { export default {
namespaced: true, namespaced: true,
state: { state: {
isIE: isIE() isIE: isIE(),
fullScreen:false,// 银行系统是否全屏
}, },
mutations: { mutations: {
SET_IE: (state, val) => { SET_IE: (state, val) => {
state.isIE = val state.isIE = val
}, },
changeFullscreen:(state,val) => {
state.fullScreen = val
}
}, },
actions: { actions: {

Loading…
Cancel
Save