页面编写完成

pull/1/head
qinzhenpen 1 year ago
parent 4bbc8f2ffc
commit 4d79481780

@ -5,7 +5,7 @@ VITE_APP_TITLE = 区块链金融
VITE_APP_ENV = 'production' VITE_APP_ENV = 'production'
# 若依管理系统/生产环境 # 若依管理系统/生产环境
VITE_APP_BASE_API = '/prod-api' VITE_APP_BASE_API = 'http://118.31.7.2:8800/'
# 是否在打包时开启压缩,支持 gzip 和 brotli # 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip VITE_BUILD_COMPRESS = gzip

Binary file not shown.

@ -0,0 +1,43 @@
import request from '@/utils/request'
// 登记表
export const getRegistration = (query) => {
return request({
url: `api/stu/centralBank/currencyTitleRegistrationForm`,
method: 'get',
params:query
})}
// 流水表
export const getFlow = (query) => {
return request({
url: `api/stu/centralBank/tradingStatement`,
method: 'get',
params:query
})}
//中央银行
export const getBank = () => {
return request({
url: `api/stu/centralBank/getCentralBankInfo`,
method: 'get',
})}
// 商业银行
export const getBusiness = (query) => {
return request({
url: `api/stu/centralBank/getBusinessBankInfo`,
method: 'get',
params:query
})}
// 企业用户
export const getEnterprise = (query) => {
return request({
url: `api/stu/centralBank/getBusinessInfo`,
method: 'get',
params:query
})}
// 个人用户
export const getPersonal = (query) => {
return request({
url: `api/stu/centralBank/getPersonInfo`,
method: 'get',
params:query
})}

@ -31,3 +31,28 @@ export const getBankIndex=(data)=> {
params:data params:data
}) })
} }
// 个人业务
// 新增消费红包
export const addRedPacket=(data)=> {
return request({
url: '/api/stu/businessBank/addBusinessBankAndEnterpriseUserRedPacket',
method: 'post',
data:data,
})
}
// 企业下拉
export const getEnterpriseList=(query)=> {
return request({
url: 'api/stu/businessBank/getBusinessBankNameAndId',
method: 'get',
params:query
})
}
// 个人用户消费红包业务
export const getRedPacket=(data)=> {
return request({
url: '/api/stu/businessBank/getStuIndividualRedPacketInfo',
method: 'get',
params:data
})
}

@ -0,0 +1,18 @@
import request from '@/utils/request'
// 公司经营
// 发放消费红包
export const getconsumerRedPacket=(data)=> {
return request({
url: '/api/stu/businessBank/getStuBusinessBankRedPacketInfo',
method: 'get',
params:data
})
}
// 发放消费红包
export const getconsumerRedPacketList=(status)=> {
return request({
url: '/api/stu/businessBank/updateBusinessBankAndEnterpriseUserRedPacketStatus',
method: 'put',
params:status
})
}

@ -1,20 +1,19 @@
import request from '@/utils/request' import request from '@/utils/request'
// 登录方法 // 登录方法
export function login(username, password, code, uuid) { export function login(username, passwordEncode, TOKEN) {
const data = { const data = {
username, username,
password, passwordEncode,
code, TOKEN,
uuid
} }
return request({ return request({
url: '/login', url: '/api/user/login',
headers: { headers: {
isToken: false isToken: false
}, },
method: 'post', method: 'post',
data: data params: data
}) })
} }

@ -0,0 +1,66 @@
import request from '@/utils/request'
// 我的红包
// 个人钱包信息
export const getinFoWallet = (query) => {
return request({
url: 'api/stu/person/getPersonalWalletInformation',
method: 'get',
params:query
})
}
// 数字货币清单查看
export const getDigitalCurrency = (query) => {
return request({
url: 'api/stu/person/viewDigitalCurrencyList',
method: 'get',
params:query
})
}
// 申请数字人民币钱包
export const getDigitalWallet = (query) => {
return request({
url: 'api/stu/person/applyForPurse',
method: 'post',
data:query
})
}
// 钱包等级升级
export const getWalletLevel = (query) => {
return request({
url: 'api/stu/person/walletLevelUpgrade',
method: 'post',
data:query
})
}
// 数字人民币充值
export const getDigitalRecharge = (query) => {
return request({
url: 'api/stu/person/digitalRMBRecharge',
method: 'get',
params:query
})
}
// 钱包注销
export const getWalletCancellation = (query) => {
return request({
url: 'api/stu/person/signOutwallet',
method: 'GET',
params:query
})
}
// 消费红包数据
export const getRedPacket = (query) => {
return request({
url: 'api/stu/person/getIndividualUserReceiveRedPacket',
method: 'get',
params:query
})
}
// 购买数字商品数据
export const getDigitalGoods = (query) => {
return request({
url: 'api/stu/person/getPersonProduct',
method: 'get',
params:query
})
}

@ -0,0 +1 @@
<svg t="1695632821586" class="icon" viewBox="0 0 1821 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="57433" id="mx_n_1695632821587" width="300" height="300"><path d="M918.933 646.533c-6 2.8-12.933 2.8-18.8 0L577.467 493.6v178c0 8.533 4.666 16.133 12.266 20l309.867 156c6.267 3.067 13.6 3.067 19.733 0l309.867-156c7.467-3.733 12.267-11.467 12.267-20V493.733l-322.534 152.8" fill="#1296db" p-id="57434"></path><path d="M1431.6 293.6l-514-205.333a21.472 21.472 0 0 0-16.267 0L387.6 293.6c-8.533 3.333-14.133 11.6-14.133 20.667 0 9.2 5.6 17.333 14.133 20.666l190 75.867v33.467l332 157.333 332-157.333V410.8l88.533-35.333v540.666c0 12.267 9.867 22.267 22.134 22.267 12.266 0 22.133-10 22.133-22.267V358.8l-0.133-0.933 57.333-22.934c8.4-3.333 14-11.6 14-20.666 0-9.067-5.6-17.2-14-20.667" fill="#1296db" p-id="57435"></path></svg>

After

Width:  |  Height:  |  Size: 838 B

@ -0,0 +1 @@
<svg t="1695612918191" class="icon" viewBox="0 0 1101 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3982" width="200" height="200"><path d="M52.224 575.488q-24.576 0-41.472-16.384t-16.896-40.96l0-76.8q0-24.576 16.896-41.472t41.472-16.896l741.376 0q-18.432 11.264-29.696 26.624t-11.264 30.72l0 40.96 1.024 31.744q-6.144 1.024-17.408 1.024l-69.632 0q-82.944 0-91.136 61.44l-523.264 0zM179.2 317.44q-23.552 0-40.96-16.896t-17.408-41.472l0-70.656q0-23.552 17.408-41.472t40.96-17.92l780.288 0q23.552 0 40.448 17.92t16.896 41.472l0 70.656q0 24.576-16.896 41.472t-40.448 16.896l-780.288 0zM711.68 770.048q18.432 0 28.16-2.048t14.336 1.024 5.632 14.336 1.024 37.888l0 7.168q0 4.096 1.024 7.168l-709.632 0q-24.576 0-41.472-17.408t-16.896-40.96l0-76.8q0-23.552 16.896-40.96t41.472-17.408l521.216 0 0 23.552q0 45.056 25.088 74.24t58.88 29.184l20.48 0q4.096 0 6.144 0.512t7.168 0.512l20.48 0zM1079.296 604.16q7.168 6.144 10.752 14.336t4.096 17.408-2.048 16.896-8.704 11.776q-16.384 14.336-44.544 31.744t-59.392 36.352-60.928 37.376-48.128 32.768q-23.552 20.48-34.816 21.504t-11.264-28.672l0-51.2q0-20.48-8.704-28.672t-25.088-8.192l-122.88 0q-14.336 0-25.088-7.68t-10.752-26.112l0-51.2q0-31.744 9.728-38.4t35.328-6.656l19.456 0q7.168 0 17.408 0.512t25.6 0.512l44.032 0q23.552 0 32.256-15.872t8.704-35.328l0-48.128q0-20.48 8.192-26.112t25.6 8.704q18.432 13.312 48.128 31.744t62.464 37.888 62.464 38.4 48.128 34.304z" p-id="3983" fill="#02B769"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -0,0 +1 @@
<svg t="1695612820809" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2669" width="200" height="200"><path d="M661.813 734.064H370.589c-11.516 0-20.813-9.116-20.813-20.874V420.707l-138.684 0.12c-11.637 0-21.535-9.237-21.355-20.634-0.18-6.119 2.76-11.277 6.359-15.356L501.294 79.875c8.157-8.039 21.595-7.918 29.514-0.241l305.199 305.202c8.399 8.517 8.399 21.835 0 29.992-4.016 4.319-9.415 5.999-14.334 5.999H682.568V713.19c0.18 11.758-8.879 20.874-20.755 20.874z" fill="#0378FF" p-id="2670" data-spm-anchor-id="a313x.search_index.0.i0.5c5c3a81nwBiAv" class="selected"></path><path d="M915.333 883.906c19.435 0 35.15 15.476 35.15 35.03 0.24 19.437-15.716 34.792-35.15 34.912l-798.875-0.12c-19.194 0-34.911-15.355-34.911-34.792 0-19.555 15.717-35.03 34.911-35.03h798.875z" fill="#0378FF" p-id="2671" data-spm-anchor-id="a313x.search_index.0.i2.5c5c3a81nwBiAv" class="selected"></path></svg>

After

Width:  |  Height:  |  Size: 932 B

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save