diff --git a/src/assets/img/cash-sm.png b/src/assets/img/cash-sm.png new file mode 100644 index 0000000..55fc319 Binary files /dev/null and b/src/assets/img/cash-sm.png differ diff --git a/src/main.js.rej b/src/main.js.rej new file mode 100644 index 0000000..1f0133d --- /dev/null +++ b/src/main.js.rej @@ -0,0 +1,9 @@ +diff a/src/main.js b/src/main.js (rejected hunks) +@@ -42,6 +42,7 @@ + } + }) + } ++}); + + + Vue.use(plugins); diff --git a/src/router/system.js b/src/router/system.js new file mode 100644 index 0000000..007f708 --- /dev/null +++ b/src/router/system.js @@ -0,0 +1,57 @@ +/* 银行系统 */ +export default { + namespaced: true, + state: {/* 管理柜台状态 */ + showPop: false,// 弹框 + popText:'钱箱', + fullScreen:false,// 银行系统是否全屏 + goods:[// 物品栏的物品 + { + name:'身份证', + src:require('@/assets/img/goods/idcard.png'), + id:'a' + }, + { + name:'身份证复印件', + src:require('@/assets/img/idCard-copy-sm.png'), + id:'b' + }, + { + name:'开户申请书', + src:require('@/assets/img/goods/khsqs.png'), + id:'c' + }, + { + name:'现金', + src:require('@/assets/img/goods/cash-sm.png'), + id:'d' + }, + { + name:'存款凭条', + src:require('@/assets/img/goods/ckpt.png'), + id:'e' + }, + ], + }, + mutations: { + changeFullscreen:(state,val) => { + state.fullScreen = val + }, + changePop:(state,val)=>{ + state.showPop = val.show + state.popText = val.text + }, + changeGoods:(state,obj)=>{/* 赋值/push/删除 */ + if(obj.goods&&obj.goods.length>0){ + state.goods = obj.goods + }else if(obj.push&&obj.push.length>0){ + state.goods.push(...obj.push) + }else if(typeof(obj.splice)===Number ){ + state.goods.splice(obj.splice,1) + } + } + }, + actions: { + + } +} \ No newline at end of file