移动端V1.0

This commit is contained in:
2025-07-16 15:34:34 +08:00
commit 194b0750fd
1083 changed files with 178295 additions and 0 deletions

18
api/helpFunc/bank.js Normal file
View File

@@ -0,0 +1,18 @@
import request from '@/utils/request'
export function alipayVali(card){
var promise = new Promise((resolve, reject) => {
uni.request({
url: `https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?cardNo=${card}&cardBinCheck=true`,
method: "GET",
dataType: 'json',
success: function(res) {
resolve(res.data);
},
error: function(e) {
reject('网络出错');
}
});
});
return promise;
};

24
api/helpFunc/index.js Normal file
View File

@@ -0,0 +1,24 @@
import request from '@/utils/request'
//判断是否为空
export function isEmpty(obj) {
if (obj == null || obj == "" || obj == undefined) {
return true;
} else {
return false;
}
}
export function getDict(dict) {
return request({
'url': '/system/dict/data/type/' + dict,
'method': 'get'
})
}
// 手机号校验函数
export function isValidPhone(phone) {
// 中国大陆手机号以13、14、15、17、18、19开头共11位数字
const chinaPhoneRegex = /^1[3-9]\d{9}$/;
return chinaPhoneRegex.test(phone);
}

File diff suppressed because one or more lines are too long

59
api/helpFunc/mz.json Normal file
View File

@@ -0,0 +1,59 @@
[
"汉族",
"壮族",
"满族",
"回族",
"苗族",
"维吾尔族",
"土家族",
"彝族",
"蒙古族",
"藏族",
"布依族",
"侗族",
"瑶族",
"朝鲜族",
"白族",
"哈尼族",
"哈萨克族",
"黎族",
"傣族",
"畲族",
"傈僳族",
"仡佬族",
"东乡族",
"高山族",
"拉祜族",
"水族",
"佤族",
"纳西族",
"羌族",
"土族",
"仫佬族",
"锡伯族",
"柯尔克孜族",
"达斡尔族",
"景颇族",
"毛南族",
"撒拉族",
"布朗族",
"塔吉克族",
"阿昌族",
"普米族",
"鄂温克族",
"怒族",
"京族",
"基诺族",
"德昂族",
"保安族",
"俄罗斯族",
"裕固族",
"乌孜别克族",
"门巴族",
"鄂伦春族",
"独龙族",
"塔塔尔族",
"赫哲族",
"珞巴族"
]

54
api/helpFunc/zzmm.json Normal file
View File

@@ -0,0 +1,54 @@
[
{
"id": "01",
"name": "中共党员"
},
{
"id": "02",
"name": "中共预备党员"
},
{
"id": "03",
"name": "共青团员"
},
{
"id": "13",
"name": "群众"
},
{
"id": "04",
"name": "民革党员"
},
{
"id": "05",
"name": "民盟盟员"
},
{
"id": "06",
"name": "民建会员"
},
{
"id": "07",
"name": "民进会员"
},
{
"id": "08",
"name": "农工党党员"
},
{
"id": "09",
"name": "致公党党员"
},
{
"id": "10",
"name": "九三学社社员"
},
{
"id": "11",
"name": "台盟盟员"
},
{
"id": "12",
"name": "无党派人士"
}
]