a7717cc5 by 杨炀

no message

1 parent 0610fc57
......@@ -22,6 +22,7 @@
"echarts-wordcloud": "^2.1.0",
"element-plus": "2.2.27",
"file-saver": "2.0.5",
"flag-icon-css": "^4.1.7",
"fuse.js": "6.6.2",
"guid": "^0.0.12",
"js-cookie": "3.0.1",
......@@ -42,6 +43,7 @@
"vue-router": "4.1.4",
"vue-socket.io": "^3.0.10",
"vue-ueditor-wrap": "3.x",
"vue3-puzzle-vcode": "^1.1.7",
"vuedraggable": "^4.1.0",
"zxcvbn": "^4.4.2"
},
......
import request from '@/utils/request'
export function loginZtx(username, password, code, uuid) {
export function loginDance(username, password, code, uuid) {
const data = {
username,
password,
......@@ -8,7 +8,7 @@ export function loginZtx(username, password, code, uuid) {
uuid
}
return request({
url: `/loginZtx`,
url: `/userLogin`,
headers: {
isToken: false
},
......
import request from '@/utils/request'
function getMaList(params) {
export function getMaList(params) {
return request({
url: `/ztx-match/league/competition/webList`,
method: 'get',
......@@ -8,7 +8,7 @@ function getMaList(params) {
})
}
function getMatchById(params) {
export function getMatchById(params) {
return request({
url: `ztx-match/league/competition/detail`,
method: 'get',
......@@ -16,7 +16,7 @@ function getMatchById(params) {
})
}
function getMySignCptList(query) {
export function getMySignCptList(query) {
return request({
url: 'ztx-match/league/competition/getMySignCptList',
method: 'get',
......@@ -24,7 +24,7 @@ function getMySignCptList(query) {
})
}
function getMySignDetailById(params) {
export function getMySignDetailById(params) {
return request({
url: `/league/sign/getMySignPage`,
method: 'get',
......@@ -33,35 +33,35 @@ function getMySignDetailById(params) {
}
// 获取赛事下的已报团队
function getGroupListByCptId(cptId) {
export function getGroupListByCptId(cptId) {
return request({
url: `ztx-match/league/group/getGroupListByCptId/${cptId}`,
method: 'get'
})
}
function getMyPersonInfoWithcptId(cptId) {
export function getMyPersonInfoWithcptId(cptId) {
return request({
url: `ztx-match/systemj/personInfo/getMyPersonInfo/${cptId}`,
method: 'get'
})
}
function getMyPersonInfo() {
export function getMyPersonInfo() {
return request({
url: `/ztx-match/systemj/personInfo/getMyPersonInfo`,
method: 'get'
})
}
function countryList() {
export function countryList() {
return request({
url: `/ztx-match/systemj/country/countryList`,
method: 'get'
})
}
function saveMyBaseInfo(data) {
export function saveMyBaseInfo(data) {
return request({
url: `/ztx-match/systemj/personInfo/saveMyBaseInfo`,
method: 'post',
......@@ -70,15 +70,22 @@ function saveMyBaseInfo(data) {
}
// 发送手机验证码
function getCaptchaSms(data) {
export function getCaptchaSms(data) {
return request({
url: `/captchaSmsByCheckCode`,
url: `/captchaByCheckCode`,
method: 'post',
data: data
})
}
export function checkRegisterCode(data) {
return request({
url: `/checkRegisterCode`,
method: 'post',
data: data
})
}
function getMyGroupList() {
export function getMyGroupList() {
return request({
url: `/ztx-match/league/group/getMyGroupList`,
method: 'get'
......@@ -86,14 +93,14 @@ function getMyGroupList() {
}
// 根据Id获取我的团队
function getGroupById(groupId) {
export function getGroupById(groupId) {
return request({
url: `ztx-match/league/group/getMyGroup/${groupId}`,
method: 'get'
})
}
function regionsList() {
export function regionsList() {
return request({
url: `/ztx-match/systemj/region/regionsList`,
method: 'get'
......@@ -101,7 +108,7 @@ function regionsList() {
}
// 新建团队
function saveMyGroup(data) {
export function saveMyGroup(data) {
return request({
url: `ztx-match/league/group/saveMyGroup`,
method: 'post',
......@@ -110,7 +117,7 @@ function saveMyGroup(data) {
}
// 退出团队
function leaveGroup(groupId) {
export function leaveGroup(groupId) {
return request({
url: `/systemj/personInfo/leaveGroup/${groupId}`,
method: 'post'
......@@ -118,7 +125,7 @@ function leaveGroup(groupId) {
}
// 根据Id获取人员信息
function getPersonInfoById(id) {
export function getPersonInfoById(id) {
return request({
url: `ztx-match/systemj/personInfo/${id}`,
method: 'get'
......@@ -126,7 +133,7 @@ function getPersonInfoById(id) {
}
// 保存补充信息
function saveSupplementInfo(data) {
export function saveSupplementInfo(data) {
return request({
url: `ztx-match/league/competitionPersonInfo/savePersonInfo`,
method: 'post',
......@@ -135,14 +142,14 @@ function saveSupplementInfo(data) {
}
// 获取补充信息
function getSupplementInfo(id) {
export function getSupplementInfo(id) {
return request({
url: `ztx-match/league/competitionPersonInfo/${id}`,
method: 'get'
})
}
function getMySignInfo(data) {
export function getMySignInfo(data) {
return request({
url: `ztx-match/league/sign/getMySignInfo`,
method: 'post',
......@@ -150,21 +157,21 @@ function getMySignInfo(data) {
})
}
function getGroupListByProjectId(cptProjectId) {
export function getGroupListByProjectId(cptProjectId) {
return request({
url: `/league/competitionGroup/getGroupListByProjectId/${cptProjectId}`,
method: 'get'
})
}
function getLeveListByGroupId(cptGroupId) {
export function getLeveListByGroupId(cptGroupId) {
return request({
url: `/league/competitionLevel/getLeveListByGroupId/${cptGroupId}`,
method: 'get'
})
}
function saveMyTeam(data) {
export function saveMyTeam(data) {
return request({
url: `ztx-match/league/team/saveMyTeam`,
method: 'post',
......@@ -172,7 +179,7 @@ function saveMyTeam(data) {
})
}
function getMyOrderList(params) {
export function getMyOrderList(params) {
return request({
url: `/ztx-match/league/signOrder/getMyOrderList`,
method: 'get',
......@@ -180,21 +187,21 @@ function getMyOrderList(params) {
})
}
function getMySignListFromOrderList(orderId) {
export function getMySignListFromOrderList(orderId) {
return request({
url: `/league/sign/getMySignListFromOrderList/${orderId}`,
method: 'get'
})
}
function getMyOrderDetail(orderId) {
export function getMyOrderDetail(orderId) {
return request({
url: `/ztx-match/league/signOrder/getMyOrderDetail/${orderId}`,
method: 'get'
})
}
function getVenueList(query) {
export function getVenueList(query) {
return request({
url: `/systemj/venue/queryPageListForWeb`,
method: 'get',
......@@ -202,7 +209,7 @@ function getVenueList(query) {
})
}
function getVenueDetail(id) {
export function getVenueDetail(id) {
return request({
url: `/systemj/venue/detailForWeb/${id}`,
method: 'get'
......@@ -210,21 +217,21 @@ function getVenueDetail(id) {
}
// 获取团队下的队伍
function getMyTeamList(cptId, groupId) {
export function getMyTeamList(cptId, groupId) {
return request({
url: `ztx-match/league/team/getTeamList/${cptId}/${groupId}`,
method: 'get'
})
}
function getMyGroupForCpt(groupId, cptId) {
export function getMyGroupForCpt(groupId, cptId) {
return request({
url: `ztx-match/league/group/getMyGroupForCpt/${groupId}/${cptId}`,
method: 'get'
})
}
function getMyGroupForCptFilter(groupId, cptId, query) {
export function getMyGroupForCptFilter(groupId, cptId, query) {
return request({
url: `ztx-match/league/group/getMyGroupForCptFilter/${groupId}/${cptId}`,
method: 'post',
......@@ -233,7 +240,7 @@ function getMyGroupForCptFilter(groupId, cptId, query) {
}
// 获取团队报名时已选人员
function getChooseDoneGroupCoachs(cptId, groupId) {
export function getChooseDoneGroupCoachs(cptId, groupId) {
return request({
url: `ztx-match/league/unitCompetitionRole/getGroupInfo/${cptId}/${groupId}`,
method: 'get'
......@@ -241,14 +248,14 @@ function getChooseDoneGroupCoachs(cptId, groupId) {
}
// 获取个人报名时已选人员
function getChooseDoneSingleCoachs(cptId) {
export function getChooseDoneSingleCoachs(cptId) {
return request({
url: `ztx-match/league/unitCompetitionRole/getPersonInfo/${cptId}`,
method: 'get'
})
}
function savePersonForMyGroup(data) {
export function savePersonForMyGroup(data) {
return request({
url: `ztx-match/systemj/personInfo/savePersonForMyGroup`,
method: 'post',
......@@ -256,7 +263,7 @@ function savePersonForMyGroup(data) {
})
}
function savePersonForMyPerson(data) {
export function savePersonForMyPerson(data) {
return request({
url: `ztx-match/systemj/personInfo/savePersonForMyPerson`,
method: 'post',
......@@ -265,7 +272,7 @@ function savePersonForMyPerson(data) {
}
// 人员修改
function editPersonInfo(params) {
export function editPersonInfo(params) {
return request({
url: `/systemj/personInfo`,
method: 'put',
......@@ -274,14 +281,14 @@ function editPersonInfo(params) {
}
// 人员删除
function delPerson(id) {
export function delPerson(id) {
return request({
url: `ztx-match/systemj/personInfo/${id}`,
method: 'delete'
})
}
function singleSignSavePerson(data) {
export function singleSignSavePerson(data) {
return request({
url: `ztx-match/league/unitCompetitionRole/savePersonInfo`,
method: 'post',
......@@ -289,7 +296,7 @@ function singleSignSavePerson(data) {
})
}
function groupSignSavePerson(data) {
export function groupSignSavePerson(data) {
return request({
url: `ztx-match/league/unitCompetitionRole/saveGroupInfo`,
method: 'post',
......@@ -297,40 +304,40 @@ function groupSignSavePerson(data) {
})
}
function getCanSignProjectList(cptId) {
export function getCanSignProjectList(cptId) {
return request({
url: `/league/competitionProject/getCanSignProjectListFromSelectPerson/${cptId}`,
method: 'get'
})
}
function getCanSignGroupListFromSelectPerson(projectId, personId) {
export function getCanSignGroupListFromSelectPerson(projectId, personId) {
return request({
url: `/league/competitionGroup/getCanSignGroupListFromSelectPerson/${projectId}/${personId}`,
method: 'get'
})
}
function getCanSignlevelListFromSelectPerson(groupId, personId) {
export function getCanSignlevelListFromSelectPerson(groupId, personId) {
return request({
url: `/league/competitionLevel/getCanSignLevelListFromSelectPerson/${groupId}/${personId}`,
method: 'get'
})
}
function delRank(id) {
export function delRank(id) {
return request({
url: `ztx-match/league/team/${id}`,
method: 'delete'
})
}
function getCanSignLevelPerson(data) {
export function getCanSignLevelPerson(data) {
return request({
url: `ztx-match/league/competitionLevel/getCanSignLevelPerson`,
method: 'post',
data: data
})
}
function sportsmanDone(data) {
export function sportsmanDone(data) {
return request({
url: `ztx-match/league/sign/signUp`,
method: 'post',
......@@ -338,20 +345,20 @@ function sportsmanDone(data) {
})
}
// 删除报名接口
function deleteSign(id) {
export function deleteSign(id) {
return request({
url: `ztx-match/league/sign/deleteSign/${id}`,
method: 'post'
})
}
// 选择运动员的补充信息表头
function getCptExtraInfo(cptId) {
export function getCptExtraInfo(cptId) {
return request({
url: `ztx-match/league/competition/getCptExtraInfo/${cptId}`,
method: 'get'
})
}
function recoverMySign(data) {
export function recoverMySign(data) {
return request({
url: `ztx-match/league/sign/recoverMySign`,
method: 'post',
......@@ -359,121 +366,108 @@ function recoverMySign(data) {
})
}
// 生成订单
function commitSign(data) {
export function commitSign(data) {
return request({
url: `ztx-match/league/sign/commitSign`,
method: 'post',
data: data
})
}
function getTotalFee(data) {
export function getTotalFee(data) {
return request({
url: `ztx-match/league/expenseConfig/getTotalFee`,
method: 'post',
data: data
})
}
function getMemberInfoByCptId(cptId) {
export function getMemberInfoByCptId(cptId) {
return request({
url: `ztx-match/systemj/member/editMemberCode/${cptId}`,
method: 'get'
})
}
function getTemplate() {
export function getTemplate() {
return request({
url: `/systemj/personInfo/getTemplate`,
method: 'get'
})
}
// 支付 orderId,payType
function payMatch(data) {
export function payMatch(data) {
return request({
url: `ztx-match/league/signOrder/payForOrderFromPc`,
method: 'post',
data: data
})
}
function cancelMyUnPayedOrder(orderId) {
export function cancelMyUnPayedOrder(orderId) {
return request({
url: `ztx-match/league/signOrder/cancelMyUnPayedOrder/${orderId}`,
method: 'post'
})
}
function getMySignListFromBaoXiang(data) {
export function getMySignListFromBaoXiang(data) {
return request({
url: `ztx-match/league/sign/getMySignListFromBaoXiang`,
method: 'post',
data: data
})
}
function deleteMyGroup(groupId) {
export function deleteMyGroup(groupId) {
return request({
url: `/league/group/deleteMyGroup/${groupId}`,
method: 'post'
})
}
function checkPerson(data) {
export function checkPerson(data) {
return request({
url: `ztx-match/systemj/personInfo/checkPersonInfoExist`,
method: 'post',
data: data
})
}
function getMySignListTree(cptId, personId, teamId) {
export function getMySignListTree(cptId, personId, teamId) {
return request({
url: `ztx-match/league/competitionProject/getAllInfoFromSelectPerson/${cptId}/${personId}/${teamId || 0}`,
method: 'get'
})
}
function getMySignInfoList(data) {
export function getMySignInfoList(data) {
return request({
url: `ztx-match/league/sign/getMySignInfoList`,
method: 'post',
data: data
})
}
function saveMyGroupExtraInfo(data) {
export function saveMyGroupExtraInfo(data) {
return request({
url: `ztx-match/league/competitionGroupInfo/saveMyGroupExtraInfo`,
method: 'post',
data: data
})
}export function pcRegisterTeam(data) {
return request({
url: `/pcRegisterTeam`,
method: 'post',
data: data
})
}
function getMySignIds(cptId, personId, teamId) {
export function getMySignIds(cptId, personId, teamId) {
return request({
url: `ztx-match/league/sign/getSignEntityByPersonId/${cptId}/${personId}/${teamId || 0}`,
method: 'get'
})
}
function querySonLevel(parentId) {
export function querySonLevel(parentId) {
return request({
url: `ztx-match/league/competitionSonLevel/querySonLevelByParentId/${parentId}`,
method: 'get'
})
}
function getPayedOrderPdf(cptId, groupId) {
export function getPayedOrderPdf(cptId, groupId) {
return request({
url: `ztx-match/pdf/getPayedOrderPdf/${cptId}/${groupId}`,
method: 'get'
})
}
export {
getMaList, getMatchById, getGroupListByCptId, getMyPersonInfo, getMyPersonInfoWithcptId,
countryList, saveMyBaseInfo, getCaptchaSms, getMyGroupList, getGroupById, regionsList,
saveMyGroup, leaveGroup,
getPersonInfoById, saveSupplementInfo, getSupplementInfo, getMySignInfo, getGroupListByProjectId,
getLeveListByGroupId, saveMyTeam,
getMySignCptList, getMySignDetailById, getMyOrderList, getMySignListFromOrderList, getMyOrderDetail,
getVenueList, getVenueDetail, getMyTeamList,
getMyGroupForCpt, getChooseDoneGroupCoachs, getChooseDoneSingleCoachs, savePersonForMyGroup, savePersonForMyPerson,
editPersonInfo, delPerson, singleSignSavePerson, groupSignSavePerson,
getCanSignProjectList, getCanSignGroupListFromSelectPerson, getCanSignlevelListFromSelectPerson,
delRank, getCanSignLevelPerson, sportsmanDone, deleteSign, getCptExtraInfo,
recoverMySign, commitSign, getTotalFee, getMemberInfoByCptId, payMatch, cancelMyUnPayedOrder,
getMySignListFromBaoXiang, deleteMyGroup, checkPerson, getTemplate,
getMySignListTree, getMySignInfoList, getMySignIds, querySonLevel,
getMyGroupForCptFilter, saveMyGroupExtraInfo, getPayedOrderPdf
}
......

2.97 KB | W: | H:

2.9 KB | W: | H:

src/assets/dance/btn01.png
src/assets/dance/btn01.png
src/assets/dance/btn01.png
src/assets/dance/btn01.png
  • 2-up
  • Swipe
  • Onion skin

3 KB | W: | H:

3.57 KB | W: | H:

src/assets/dance/btn02.png
src/assets/dance/btn02.png
src/assets/dance/btn02.png
src/assets/dance/btn02.png
  • 2-up
  • Swipe
  • Onion skin

3.18 KB | W: | H:

3.19 KB | W: | H:

src/assets/dance/btn03.png
src/assets/dance/btn03.png
src/assets/dance/btn03.png
src/assets/dance/btn03.png
  • 2-up
  • Swipe
  • Onion skin

2.85 KB | W: | H:

2.79 KB | W: | H:

src/assets/dance/btn04.png
src/assets/dance/btn04.png
src/assets/dance/btn04.png
src/assets/dance/btn04.png
  • 2-up
  • Swipe
  • Onion skin

2.84 KB | W: | H:

3.29 KB | W: | H:

src/assets/dance/btn05.png
src/assets/dance/btn05.png
src/assets/dance/btn05.png
src/assets/dance/btn05.png
  • 2-up
  • Swipe
  • Onion skin

3.36 KB | W: | H:

3.34 KB | W: | H:

src/assets/dance/btn06.png
src/assets/dance/btn06.png
src/assets/dance/btn06.png
src/assets/dance/btn06.png
  • 2-up
  • Swipe
  • Onion skin
[
{
"country": "埃及",
"countryEn": "Egypt",
"id": 1,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
31.14,
30.01
],
"code": "eg"
},
{
"country": "利比亚",
"countryEn": "Libya",
"id": 2,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
13.07,
32.49
],
"code": "ly"
},
{
"country": "突尼斯",
"countryEn": "Tunisia",
"id": 3,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
10.11,
36.50
],
"code": "tn"
},
{
"country": "阿尔及利亚",
"countryEn": "Algeria",
"id": 4,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
3.08,
36.42
],
"code": "dz"
},
{
"country": "摩洛哥",
"countryEn": "Morocco",
"id": 5,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-7.09,
31.79
],
"code": "ma"
},
{
"country": "西撒哈拉",
"countryEn": "Western Sahara",
"id": 6,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-12.88,
24.21
],
"code": "eh"
},
{
"country": "毛里塔尼亚",
"countryEn": "Mauritania",
"id": 7,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
57.30,
-20.10
],
"code": "mr"
},
{
"country": "塞内加尔",
"countryEn": "Senegal",
"id": 8,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-17.29,
14.34
],
"code": "sn"
},
{
"country": "佛得角",
"countryEn": "Cape Verde",
"id": 9,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-23.34,
15.02
],
"code": "cv"
},
{
"country": "冈比亚",
"countryEn": "Gambia",
"id": 10,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-16.40,
13.28
],
"code": "gm"
},
{
"country": "几内亚比绍",
"countryEn": "Guinea-Bissau",
"id": 11,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-15.45,
11.45
],
"code": "gw"
},
{
"country": "几内亚",
"countryEn": "Guinea",
"id": 12,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-13.49,
9.29
],
"code": "gn"
},
{
"country": "马里",
"countryEn": "Mali",
"id": 13,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-7.55,
12.34
],
"code": "ml"
},
{
"country": "布基纳法索",
"countryEn": "Burkina Faso",
"id": 14,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-1.30,
12.15
],
"code": "bf"
},
{
"country": "尼日尔",
"countryEn": "Niger",
"id": 15,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
2.06,
13.27
],
"code": "ne"
},
{
"country": "乍得",
"countryEn": "Chad",
"id": 16,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
14.59,
12.10
],
"code": "td"
},
{
"country": "苏丹",
"countryEn": "Sudan",
"id": 17,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
32.35,
15.31
],
"code": "sd"
},
{
"country": "厄立特里亚",
"countryEn": "Eritrea",
"id": 18,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
38.55,
15.19
],
"code": "er"
},
{
"country": "吉布提",
"countryEn": "Djibouti",
"id": 19,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
42.20,
11.08
],
"code": "dj"
},
{
"country": "索马里",
"countryEn": "Somalia",
"id": 20,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
45.25,
2.02
],
"code": "so"
},
{
"country": "埃塞俄比亚",
"countryEn": "Ethiopia",
"id": 21,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
38.42,
9.02
],
"code": "et"
},
{
"country": "中非",
"countryEn": "Central Africa",
"id": 22,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
18.35,
4.23
],
"code": "cf"
},
{
"country": "喀麦隆",
"countryEn": "Cameroon",
"id": 23,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
11.35,
3.50
],
"code": "cm"
},
{
"country": "尼日利亚",
"countryEn": "Nigeria",
"id": 24,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
7.32,
9.05
],
"code": "ng"
},
{
"country": "贝宁",
"countryEn": "Benin",
"id": 25,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
2.42,
6.23
],
"code": "bj"
},
{
"country": "多哥",
"countryEn": "Togo",
"id": 26,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
1.20,
6.09
],
"code": "tg"
},
{
"country": "加纳",
"countryEn": "Ghana",
"id": 27,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-0.06,
5.35
],
"code": "gh"
},
{
"country": "科特迪瓦(象牙海岸)",
"countryEn": "Cote d’lvoire(Ivory Coast)",
"id": 28,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-5.17,
6.49
],
"code": "ci"
},
{
"country": "塞拉利昂",
"countryEn": "Sierra Leone",
"id": 29,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-13.17,
8.30
],
"code": "sl"
},
{
"country": "利比里亚",
"countryEn": "Liberia",
"id": 30,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
-10.47,
6.18
],
"code": "lr"
},
{
"country": "赤道几内亚",
"countryEn": "Equatorial Guinea",
"id": 31,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
8.50,
3.45
],
"code": "gq"
},
{
"country": "圣多美和普林西比",
"countryEn": "Sao Tome and Principe",
"id": 32,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
6.39,
0.10
],
"code": "st"
},
{
"country": "加蓬",
"countryEn": "Gabon",
"id": 33,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
9.26,
0.25
],
"code": "ga"
},
{
"country": "刚果",
"countryEn": "Congo",
"id": 34,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
15.12,
-4.09
],
"code": "cg"
},
{
"country": "刚果(扎伊尔)",
"countryEn": "The Democratic Republic Of Congo (Zaire)",
"id": 35,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
15.15,
-4.20
],
"code": "cd"
},
{
"country": "乌干达",
"countryEn": "Uganda",
"id": 36,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
32.30,
0.20
],
"code": "ug"
},
{
"country": "卢旺达",
"countryEn": "Rwanda",
"id": 37,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
30.04,
-1.59
],
"code": "rw"
},
{
"country": "布隆迪",
"countryEn": "Burundi",
"id": 38,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
29.18,
-3.16
],
"code": "bi"
},
{
"country": "肯尼亚",
"countryEn": "Kenya",
"id": 39,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
36.48,
-1.17
],
"code": "ke"
},
{
"country": "坦桑尼亚",
"countryEn": "Tanzania",
"id": 40,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
35.45,
-6.08
],
"code": "tz"
},
{
"country": "莫桑比克",
"countryEn": "Mozambique",
"id": 41,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
32.32,
-25.58
],
"code": "mz"
},
{
"country": "马拉维",
"countryEn": "Malawi",
"id": 42,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
33.48,
-14.00
],
"code": "mw"
},
{
"country": "赞比亚",
"countryEn": "Zambia",
"id": 43,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
28.16,
-15.28
],
"code": "zm"
},
{
"country": "安哥拉",
"countryEn": "Angola",
"id": 44,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
13.15,
-8.50
],
"code": "ao"
},
{
"country": "纳米比亚",
"countryEn": "Namibia",
"id": 45,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
17.04,
-22.35
],
"code": "na"
},
{
"country": "博茨瓦纳",
"countryEn": "Botswana",
"id": 46,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
25.57,
-24.45
],
"code": "bw"
},
{
"country": "津巴布韦",
"countryEn": "Zimbabwe",
"id": 47,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
31.02,
-17.43
],
"code": "zw"
},
{
"country": "南非",
"countryEn": "South Africa",
"id": 48,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
22.93,
-30.55
],
"code": "za"
},
{
"country": "斯威士兰",
"countryEn": "Swaziland",
"id": 49,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
31.06,
-26.18
],
"code": "sz"
},
{
"country": "莱索托",
"countryEn": "Lesotho",
"id": 50,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
27.30,
-29.18
],
"code": "ls"
},
{
"country": "塞舌尔",
"countryEn": "Seychelles",
"id": 51,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
55.28,
-4.40
],
"code": "sc"
},
{
"country": "科摩罗",
"countryEn": "Comoro",
"id": 52,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
43.16,
-11.40
],
"code": "km"
},
{
"country": "马达加斯加",
"countryEn": "Madagascar",
"id": 53,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
47.31,
-18.55
],
"code": "mg"
},
{
"country": "毛里求斯",
"countryEn": "Mauritius",
"id": 54,
"region": "非洲",
"regionEn": "Africa",
"regionId": "5",
"coordinate": [
57.50,
-20.00
],
"code": "mu"
},
{
"country": "中国",
"countryEn": "China",
"id": 55,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
116.20,
39.55
],
"code": "cn"
},
{
"country": "蒙古",
"countryEn": "Mongolia",
"id": 56,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
106.92,
47.92
],
"code": "mn"
},
{
"country": "朝鲜",
"countryEn": "Korea",
"id": 57,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
125.30,
39.09
],
"code": "kp"
},
{
"country": "韩国",
"countryEn": "South Korea",
"id": 58,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
126.58,
37.31
],
"code": "kr"
},
{
"country": "日本",
"countryEn": "Japan",
"id": 59,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
139.44,
35.41
],
"code": "jp"
},
{
"country": "哈萨克斯坦",
"countryEn": "Kazakhstan",
"id": 60,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
71.30,
51.10
],
"code": "kz"
},
{
"country": "土库曼斯坦",
"countryEn": "Turkmenistan",
"id": 61,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
57.50,
38.00
],
"code": "tm"
},
{
"country": "乌兹别克斯坦",
"countryEn": "Uzbekistan",
"id": 62,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
69.10,
41.20
],
"code": "uz"
},
{
"country": "吉尔吉斯斯坦",
"countryEn": "Kyrgyzstan",
"id": 63,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
74.46,
42.54
],
"code": "kg"
},
{
"country": "塔吉克斯坦",
"countryEn": "Tajikistan",
"id": 64,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
68.48,
38.33
],
"code": "tj"
},
{
"country": "格鲁吉亚",
"countryEn": "Georgia",
"id": 65,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
44.50,
41.43
],
"code": "ge"
},
{
"country": "亚美尼亚",
"countryEn": "Armenia",
"id": 66,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
44.31,
40.10
],
"code": "am"
},
{
"country": "阿塞拜疆",
"countryEn": "Azerbaijan",
"id": 67,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
49.56,
40.29
],
"code": "az"
},
{
"country": "土耳其",
"countryEn": "Turkey",
"id": 68,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
32.54,
39.57
],
"code": "tr"
},
{
"country": "塞浦路斯",
"countryEn": "Cyprus",
"id": 69,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
33.25,
35.10
],
"code": "cy"
},
{
"country": "叙利亚",
"countryEn": "Syria",
"id": 70,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
36.18,
33.30
],
"code": "sy"
},
{
"country": "黎巴嫩",
"countryEn": "Lebanon",
"id": 71,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
35.31,
33.53
],
"code": "lb"
},
{
"country": "伊拉克",
"countryEn": "Iraq",
"id": 72,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
44.30,
33.20
],
"code": "iq"
},
{
"country": "科威特",
"countryEn": "Kuwait",
"id": 73,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
48.00,
29.30
],
"code": "kw"
},
{
"country": "约旦",
"countryEn": "Jordan",
"id": 74,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
35.52,
31.57
],
"code": "jo"
},
{
"country": "巴勒斯坦",
"countryEn": "Palestine",
"id": 75,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
34.28,
31.30
],
"code": "ps"
},
{
"country": "以色列",
"countryEn": "Israel",
"id": 76,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
35.12,
31.47
],
"code": "il"
},
{
"country": "沙特阿拉伯",
"countryEn": "Saudi Arabia",
"id": 77,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
46.42,
24.41
],
"code": "sa"
},
{
"country": "巴林",
"countryEn": "Bahrain",
"id": 78,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
50.30,
26.10
],
"code": "bh"
},
{
"country": "卡塔尔",
"countryEn": "Qatar",
"id": 79,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
51.35,
25.15
],
"code": "qa"
},
{
"country": "阿拉伯联合酋长国",
"countryEn": "United Arab Emirates",
"id": 80,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
54.22,
24.28
],
"code": "ae"
},
{
"country": "也门",
"countryEn": "Yemen",
"id": 81,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
48.51,
15.55
],
"code": "ye"
},
{
"country": "阿曼",
"countryEn": "Oman",
"id": 82,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
58.36,
23.37
],
"code": "om"
},
{
"country": "伊朗",
"countryEn": "Iran",
"id": 83,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
51.30,
35.44
],
"code": "ir"
},
{
"country": "阿富汗",
"countryEn": "Afghanistan",
"id": 84,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
69.11,
34.28
],
"code": "af"
},
{
"country": "巴基斯坦",
"countryEn": "Pakistan",
"id": 85,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
73.10,
33.40
],
"code": "pk"
},
{
"country": "印度",
"countryEn": "India",
"id": 86,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
77.13,
28.37
],
"code": "in"
},
{
"country": "斯里兰卡",
"countryEn": "Sri Lanka",
"id": 87,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
80.77,
7.87
],
"code": "lk"
},
{
"country": "马尔代夫",
"countryEn": "Maldives",
"id": 88,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
73.28,
4.00
],
"code": "mv"
},
{
"country": "尼泊尔",
"countryEn": "Nepal",
"id": 89,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
85.20,
27.45
],
"code": "np"
},
{
"country": "不丹",
"countryEn": "Bhutan",
"id": 90,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
89.45,
27.31
],
"code": "bt"
},
{
"country": "孟加拉国",
"countryEn": "Bangladesh",
"id": 91,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
90.26,
23.43
],
"code": "bd"
},
{
"country": "缅甸",
"countryEn": "Burma",
"id": 92,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
96.20,
16.45
],
"code": "mm"
},
{
"country": "泰国",
"countryEn": "Thailand",
"id": 93,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
100.35,
13.45
],
"code": "th"
},
{
"country": "老挝",
"countryEn": "Laos",
"id": 94,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
102.36,
17.58
],
"code": "la"
},
{
"country": "柬埔寨",
"countryEn": "Kampuchea Cambodia",
"id": 95,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
104.55,
11.33
],
"code": "kh"
},
{
"country": "越南",
"countryEn": "Vietnam",
"id": 96,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
105.55,
21.05
],
"code": "vn"
},
{
"country": "马来西亚",
"countryEn": "Malaysia",
"id": 97,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
101.41,
3.09
],
"code": "my"
},
{
"country": "新加坡",
"countryEn": "Singapore",
"id": 98,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
103.51,
1.18
],
"code": "sg"
},
{
"country": "文莱",
"countryEn": "Brunei",
"id": 99,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
115.00,
4.52
],
"code": "bn"
},
{
"country": "菲律宾",
"countryEn": "Philippines",
"id": 100,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
121.03,
14.40
],
"code": "ph"
},
{
"country": "印度尼西亚",
"countryEn": "Indonesia",
"id": 101,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
106.49,
-6.09
],
"code": "id"
},
{
"country": "东帝汶",
"countryEn": "East Timor",
"id": 102,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
125.34,
-8.29
],
"code": "tp"
},
{
"country": "格陵兰岛",
"countryEn": "Greenland",
"id": 103,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-51.43,
64.10
],
"code": "gl"
},
{
"country": "加拿大",
"countryEn": "Canada",
"id": 104,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-75.42,
45.27
],
"code": "ca"
},
{
"country": "圣皮埃尔和密克隆",
"countryEn": "St. Pierre and Miquelon",
"id": 105,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-56.12,
46.46
],
"code": "pm"
},
{
"country": "美国",
"countryEn": "The United States of America",
"id": 106,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-77.02,
39.91
],
"code": "us"
},
{
"country": "墨西哥",
"countryEn": "Mexico",
"id": 107,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-99.10,
19.20
],
"code": "mx"
},
{
"country": "危地马拉",
"countryEn": "Guatemala",
"id": 108,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-90.22,
14.40
],
"code": "gt"
},
{
"country": "伯利兹",
"countryEn": "Belize",
"id": 109,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-88.30,
17.18
],
"code": "bz"
},
{
"country": "萨尔瓦多",
"countryEn": "El Salvador",
"id": 110,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-89.10,
13.40
],
"code": "sv"
},
{
"country": "洪都拉斯",
"countryEn": "Honduras",
"id": 111,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-87.14,
14.05
],
"code": "hn"
},
{
"country": "尼加拉瓜",
"countryEn": "Nicaragua",
"id": 112,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-86.20,
12.06
],
"code": "ni"
},
{
"country": "哥斯达黎加",
"countryEn": "Costa Rica",
"id": 113,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-84.02,
9.55
],
"code": "cr"
},
{
"country": "百慕大",
"countryEn": "Bermuda",
"id": 114,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-64.75,
32.30
],
"code": "bm"
},
{
"country": "巴拿马",
"countryEn": "Panama",
"id": 115,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-79.25,
9.00
],
"code": "pa"
},
{
"country": "巴哈马",
"countryEn": "Bahamas",
"id": 116,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-77.20,
25.05
],
"code": "bs"
},
{
"country": "特克斯和凯科斯群岛",
"countryEn": "Turks and Caicos Islands ",
"id": 117,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-71.08,
21.28
],
"code": "tc"
},
{
"country": "古巴",
"countryEn": "Cuba",
"id": 118,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-82.22,
23.08
],
"code": "cu"
},
{
"country": "开曼群岛",
"countryEn": "Cayman Islands",
"id": 119,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-81.24,
19.20
],
"code": "ky"
},
{
"country": "牙买加",
"countryEn": "Jamaica",
"id": 120,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-76.50,
18.00
],
"code": "jm"
},
{
"country": "海地",
"countryEn": "Haiti",
"id": 121,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-72.20,
18.40
],
"code": "ht"
},
{
"country": "多米尼加",
"countryEn": "Dominican Republic",
"id": 122,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.24,
15.20
],
"code": "do"
},
{
"country": "波多黎各",
"countryEn": "Porto Rico",
"id": 123,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-66.07,
18.28
],
"code": "pr"
},
{
"country": "美属维尔京群岛",
"countryEn": "The United States Virgin Islands ",
"id": 124,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-64.56,
18.21
],
"code": "vi"
},
{
"country": "英属维尔京群岛",
"countryEn": "The British Virgin Islands ",
"id": 125,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-64.37,
18.27
],
"code": "vg"
},
{
"country": "安圭拉",
"countryEn": "Anguilla",
"id": 126,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-63.05,
18.22
],
"code": "ai"
},
{
"country": "蒙特塞拉特",
"countryEn": "Montserrat",
"id": 127,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-62.13,
16.47
],
"code": "ms"
},
{
"country": "安提瓜和巴布达",
"countryEn": "Antigua and Barbuda ",
"id": 128,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.48,
17.20
],
"code": "ag"
},
{
"country": "瓜德罗普",
"countryEn": "Guadeloupe",
"id": 129,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.44,
16.00
],
"code": "gp"
},
{
"country": "多米尼克",
"countryEn": "Dominica",
"id": 130,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.50,
15.50
],
"code": "dm"
},
{
"country": "马提尼克",
"countryEn": "Martinique",
"id": 131,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.02,
14.36
],
"code": "mq"
},
{
"country": "圣卢西亚",
"countryEn": "St. Lucia ",
"id": 132,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-60.58,
14.02
],
"code": "lc"
},
{
"country": "圣文森特和格林纳丁斯",
"countryEn": "St. Vincent and the Grenadines ",
"id": 133,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.10,
13.10
],
"code": "vc"
},
{
"country": "阿鲁巴",
"countryEn": "Aruba",
"id": 134,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-70.02,
12.32
],
"code": "aw"
},
{
"country": "巴巴多斯",
"countryEn": "Barbados",
"id": 135,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-59.30,
13.05
],
"code": "bb"
},
{
"country": "格林纳达",
"countryEn": "Grenada",
"id": 136,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-61.44,
12.04
],
"code": "gd"
},
{
"country": "特立尼达和多巴哥",
"countryEn": "Trinidad and Tobago ",
"id": 137,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-60.32,
11.18
],
"code": "tt"
},
{
"country": "安的列斯",
"countryEn": "Antilles",
"id": 138,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-69.00,
12.05
],
"code": "xx"
},
{
"country": "圣其茨和尼维斯",
"countryEn": "St. Kitts & Nevis",
"id": 139,
"region": "北美洲",
"regionEn": "North America",
"regionId": "3",
"coordinate": [
-62.43,
17.18
],
"code": "kn"
},
{
"country": "委内瑞拉",
"countryEn": "Venezuela",
"id": 140,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-66.55,
10.30
],
"code": "ve"
},
{
"country": "哥伦比亚",
"countryEn": "Columbia",
"id": 141,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-74.00,
4.34
],
"code": "co"
},
{
"country": "圭亚那",
"countryEn": "Guyana",
"id": 142,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-58.12,
6.50
],
"code": "gy"
},
{
"country": "苏里南",
"countryEn": "Suriname",
"id": 143,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-55.10,
5.50
],
"code": "sr"
},
{
"country": "法属圭亚那",
"countryEn": "French Guiana",
"id": 144,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-52.18,
5.05
],
"code": "gf"
},
{
"country": "厄瓜多尔",
"countryEn": "Ecuador",
"id": 145,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-78.35,
-0.15
],
"code": "ec"
},
{
"country": "秘鲁",
"countryEn": "Peru",
"id": 146,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-77.00,
-12.00
],
"code": "pe"
},
{
"country": "巴西",
"countryEn": "Brazil",
"id": 147,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-47.55,
-15.47
],
"code": "br"
},
{
"country": "玻利维亚",
"countryEn": "Bolivia",
"id": 148,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-68.10,
-16.20
],
"code": "bo"
},
{
"country": "巴拉圭",
"countryEn": "Paraguay",
"id": 149,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-57.30,
-25.10
],
"code": "py"
},
{
"country": "智利",
"countryEn": "Chile",
"id": 150,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-70.40,
-33.24
],
"code": "cl"
},
{
"country": "阿根廷",
"countryEn": "Argentina",
"id": 151,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-60.00,
-36.30
],
"code": "ar"
},
{
"country": "乌拉圭",
"countryEn": "Uruguay",
"id": 152,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-56.11,
-34.50
],
"code": "uy"
},
{
"country": "马尔维纳斯群岛",
"countryEn": "Falkland Islands",
"id": 153,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-59.51,
-51.40
],
"code": "fk"
},
{
"country": "福克兰群岛",
"countryEn": "Falkland Islands",
"id": 154,
"region": "南美洲",
"regionEn": "South America",
"regionId": "4",
"coordinate": [
-59.51,
-51.40
],
"code": "fk"
},
{
"country": "冰岛",
"countryEn": "Iceland",
"id": 155,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
-21.57,
64.10
],
"code": "is"
},
{
"country": "法罗群岛(丹)",
"countryEn": "Faeroe Islands",
"id": 156,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
-6.56,
62.05
],
"code": "fo"
},
{
"country": "挪威",
"countryEn": "Norway",
"id": 157,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
10.45,
59.55
],
"code": "no"
},
{
"country": "瑞典",
"countryEn": "Sweden",
"id": 158,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
18.03,
59.20
],
"code": "se"
},
{
"country": "芬兰",
"countryEn": "Finland",
"id": 159,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
25.03,
60.15
],
"code": "fi"
},
{
"country": "爱尔兰",
"countryEn": "Ireland",
"id": 160,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
-6.15,
53.21
],
"code": "ie"
},
{
"country": "英国",
"countryEn": "United Kingdom",
"id": 161,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
-0.05,
51.36
],
"code": "gb"
},
{
"country": "丹麦",
"countryEn": "Denmark",
"id": 162,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
12.34,
55.41
],
"code": "dk"
},
{
"country": "爱沙尼亚",
"countryEn": "Estonia",
"id": 163,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
24.48,
59.22
],
"code": "ee"
},
{
"country": "拉脱维亚",
"countryEn": "Latvia",
"id": 164,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
24.08,
56.53
],
"code": "lv"
},
{
"country": "立陶宛",
"countryEn": "Lithuania",
"id": 165,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
25.19,
54.38
],
"code": "lt"
},
{
"country": "白俄罗斯",
"countryEn": "White Russia",
"id": 166,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
27.30,
53.52
],
"code": "by"
},
{
"country": "俄罗斯",
"countryEn": "Russia",
"id": 167,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
37.35,
55.45
],
"code": "ru"
},
{
"country": "乌克兰",
"countryEn": "Ukraine",
"id": 168,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
30.28,
50.30
],
"code": "ua"
},
{
"country": "波兰",
"countryEn": "Poland",
"id": 169,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
21.00,
52.13
],
"code": "pl"
},
{
"country": "德国",
"countryEn": "Germany",
"id": 170,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
13.25,
52.30
],
"code": "de"
},
{
"country": "荷兰",
"countryEn": "Holland",
"id": 171,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
4.54,
52.23
],
"code": "nl"
},
{
"country": "比利时",
"countryEn": "Belgium",
"id": 172,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
4.21,
50.51
],
"code": "be"
},
{
"country": "卢森堡",
"countryEn": "Luxembourg",
"id": 173,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
6.09,
49.37
],
"code": "lu"
},
{
"country": "法国",
"countryEn": "France",
"id": 174,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
2.20,
48.50
],
"code": "fr"
},
{
"country": "摩纳哥",
"countryEn": "Monaco",
"id": 175,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
7.25,
43.44
],
"code": "mc"
},
{
"country": "捷克",
"countryEn": "Czech",
"id": 176,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
14.22,
50.05
],
"code": "cz"
},
{
"country": "斯洛伐克",
"countryEn": "Slovakia",
"id": 177,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
17.07,
48.10
],
"code": "sk"
},
{
"country": "奥地利",
"countryEn": "Austria",
"id": 178,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
16.22,
48.12
],
"code": "at"
},
{
"country": "列支敦士登",
"countryEn": "Liechtenstein",
"id": 179,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
9.31,
47.08
],
"code": "li"
},
{
"country": "圣马力诺",
"countryEn": "San Marino",
"id": 180,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
12.30,
43.55
],
"code": "sm"
},
{
"country": "意大利",
"countryEn": "Italy",
"id": 181,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
12.29,
41.54
],
"code": "it"
},
{
"country": "梵蒂冈",
"countryEn": "Vatican",
"id": 182,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
12.27,
41.54
],
"code": "va"
},
{
"country": "瑞士",
"countryEn": "Switzerland",
"id": 183,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
7.28,
46.57
],
"code": "ch"
},
{
"country": "匈牙利",
"countryEn": "Hungary",
"id": 184,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
19.05,
47.29
],
"code": "hu"
},
{
"country": "斯洛文尼亚",
"countryEn": "Slovenia",
"id": 185,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
14.33,
46.04
],
"code": "si"
},
{
"country": "摩尔多瓦",
"countryEn": "Moldova",
"id": 186,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
28.50,
47.02
],
"code": "md"
},
{
"country": "罗马尼亚",
"countryEn": "Romania",
"id": 187,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
26.10,
44.27
],
"code": "ro"
},
{
"country": "塞尔维亚和黑山(塞黑)",
"countryEn": "Serbia and Montenegro",
"id": 188,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
21.00,
44.01
],
"code": "rs"
},
{
"country": "克罗地亚",
"countryEn": "Croatia",
"id": 189,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
15.58,
45.50
],
"code": "hr"
},
{
"country": "波斯尼亚和黑塞哥维那(波黑)",
"countryEn": "Bosnia and Herzegovina",
"id": 190,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
18.26,
43.52
],
"code": "ba"
},
{
"country": "保加利亚",
"countryEn": "Bulgaria",
"id": 191,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
23.20,
42.45
],
"code": "bg"
},
{
"country": "马其顿",
"countryEn": "Macedonia",
"id": 192,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
21.26,
42.01
],
"code": "mk"
},
{
"country": "阿尔巴尼亚",
"countryEn": "Albania",
"id": 193,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
19.49,
41.18
],
"code": "al"
},
{
"country": "希腊",
"countryEn": "Greece",
"id": 194,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
23.46,
37.58
],
"code": "gr"
},
{
"country": "安道尔",
"countryEn": "Andorra",
"id": 195,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
1.32,
42.31
],
"code": "ad"
},
{
"country": "西班牙",
"countryEn": "Spain",
"id": 196,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
-3.45,
40.25
],
"code": "es"
},
{
"country": "葡萄牙",
"countryEn": "Portugal",
"id": 197,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
-9.10,
38.42
],
"code": "pt"
},
{
"country": "马耳他",
"countryEn": "Malta",
"id": 198,
"region": "欧洲",
"regionEn": "Europe",
"regionId": "2",
"coordinate": [
14.31,
35.54
],
"code": "mt"
},
{
"country": "澳大利亚",
"countryEn": "Australia",
"id": 199,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
149.08,
-35.15
],
"code": "au"
},
{
"country": "新西兰",
"countryEn": "New Zealand",
"id": 200,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
174.46,
-41.19
],
"code": "nz"
},
{
"country": "巴布亚新几内亚",
"countryEn": "Papua new guinea",
"id": 201,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
147.08,
-9.24
],
"code": "pg"
},
{
"country": "所罗门群岛",
"countryEn": "Solomon",
"id": 202,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
159.57,
-9.27
],
"code": "sb"
},
{
"country": "瓦努阿图",
"countryEn": "Vanuatu",
"id": 203,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
168.18,
-17.45
],
"code": "vu"
},
{
"country": "新喀里多尼亚",
"countryEn": "New Caledonia",
"id": 204,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
166.30,
-22.17
],
"code": "nc"
},
{
"country": "斐济群岛",
"countryEn": "Fiji",
"id": 205,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
178.30,
-18.06
],
"code": "fj"
},
{
"country": "基里巴斯",
"countryEn": "Kiribati",
"id": 206,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
173.00,
1.30
],
"code": "ki"
},
{
"country": "瑙鲁",
"countryEn": "Nauru",
"id": 207,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
166.55,
-0.33
],
"code": "nr"
},
{
"country": "密克罗尼西亚",
"countryEn": "Micronesia",
"id": 208,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
158.09,
6.55
],
"code": "fm"
},
{
"country": "马绍尔群岛",
"countryEn": "Marshall Islands",
"id": 209,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
171.12,
7.09
],
"code": "mh"
},
{
"country": "帕劳",
"countryEn": "Palau",
"id": 210,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
134.28,
7.20
],
"code": "pw"
},
{
"country": "北马里亚纳群岛",
"countryEn": "Northern Mariana Islands",
"id": 211,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
145.45,
15.12
],
"code": "mp"
},
{
"country": "关岛",
"countryEn": "Guam",
"id": 212,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
144.45,
13.29
],
"code": "gu"
},
{
"country": "图瓦卢",
"countryEn": "Tuvalu",
"id": 213,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
179.13,
-8.31
],
"code": "tv"
},
{
"country": "瓦利斯及富图纳",
"countryEn": "Wallis Islands and Futuna Islands",
"id": 214,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-176.10,
-13.20
],
"code": "wf"
},
{
"country": "西萨摩亚",
"countryEn": "Western Samoa",
"id": 215,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-171.50,
-13.50
],
"code": "ws"
},
{
"country": "美属萨摩亚",
"countryEn": "American Samoa",
"id": 216,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-170.43,
-14.16
],
"code": "as"
},
{
"country": "纽埃",
"countryEn": "Niue",
"id": 217,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-169.55,
-19.03
],
"code": "nu"
},
{
"country": "托克劳",
"countryEn": "Tokelau",
"id": 218,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-172.50,
-9.50
],
"code": "tk"
},
{
"country": "库克群岛",
"countryEn": "Cook Islands",
"id": 219,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-159.45,
-21.12
],
"code": "ck"
},
{
"country": "汤加",
"countryEn": "Tonga",
"id": 220,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-174.00,
-21.10
],
"code": "to"
},
{
"country": "法属波利尼西亚",
"countryEn": "French Polynesia",
"id": 221,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-149.34,
-17.32
],
"code": "pf"
},
{
"country": "皮特凯恩群岛",
"countryEn": "Pitcairn Islands",
"id": 222,
"region": "大洋洲",
"regionEn": "Oceania",
"regionId": "6",
"coordinate": [
-130.06,
-25.04
],
"code": "pn"
},
{
"country": "中国香港",
"countryEn": "Hongkong",
"id": 223,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
114.15,
22.15
],
"code": "hk"
},
{
"country": "中国澳门",
"countryEn": "Macao",
"id": 224,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
113.50,
22.20
],
"code": "mo"
},
{
"country": "中国台湾",
"countryEn": "Taiwan",
"id": 225,
"region": "亚洲",
"regionEn": "Asia",
"regionId": "1",
"coordinate": [
121.31,
25.03
],
"code": "tw"
}
]
......@@ -182,3 +182,39 @@ aside {
margin-bottom: 10px;
}
}
.primary-kx{border:1px solid var(--el-color-primary)!important;color: var(--el-color-primary)!important;}
.primary-kx:hover{}
.border-info{background: rgba(69,61,234,0.04);
border: 1px solid #D3D1F6;
border-radius: 5px;padding: 20px;margin-bottom: 20px;}
.el-step__title.is-success{
color: var(--el-color-primary)!important;
}
.el-step__head.is-success{
.el-step__icon{color: #fff;border: none;
background: linear-gradient(90deg, #8623FC, #453DEA);}
}
.el-step__line{border-top:1px dashed #D1D6D8;background: transparent!important;
}
.el-step__head.is-process{border-top: var(--el-color-primary);
.el-step__icon{color: #fff;border: none;
background: linear-gradient(90deg, #8623FC, #453DEA);}
}
.el-step__title.is-process{
color: var(--el-color-primary)!important;font-weight: 400;
}
.el-step__title{font-weight: 400;}
.pcloginpop.el-dialog{
--el-dialog-box-shadow: 0px 0px 13px 0px rgba(153,153,153,0.14);
--el-dialog-border-radius: 10px;
.el-dialog__header{border-bottom: 1px solid #e1e1e1;
font-weight: 600;
font-size: 24px;}
.el-dialog__headerbtn{font-size: 24px!important;color: #A0A0A0;}
}
.w200px{width: 200px;}
.pt30{padding-top: 30px;}
.d-form-border{
border: 1px solid #E5E5E5;margin: 20px 0;padding: 20px}
......
......@@ -496,7 +496,9 @@ img{display: block;}
}
}
.bg-lineg{ background: linear-gradient(90deg, #8623FC, #453DEA);color: #fff;}
.lineHead{height: 50px;padding: 15px;overflow: auto;
.lineHead{
//height: 50px;
padding: 15px;overflow: auto;
background: linear-gradient(90deg, #8623FC, #453DEA);
h3{margin: 0;background: #FFFFFF;
font-size: 18px;
......
......@@ -36,7 +36,7 @@ $base-sub-menu-background:#000c17;
$base-sub-menu-hover:#001528;
*/
$--color-primary: #409EFF;
$--color-primary: #453DEA;
$--color-success: #67C23A;
$--color-warning: #E6A23C;
$--color-danger: #F56C6C;
......
......@@ -61,8 +61,14 @@
<!-- | &nbsp;<span @click="goRegister">注册</span>-->
</el-button>
<el-button v-else style="border-radius: 20px;" class="loginBtn"><span @click="router.push('/center/myInfo')">个人中心</span>
&nbsp;&nbsp;<span @click="logout()">退出</span></el-button>
<el-button v-if="language==0" style="border-radius: 20px;" class="loginBtn">
<span @click="router.push('/center/myInfo')">个人中心</span>
&nbsp;&nbsp;<span @click="logout()">退出</span>
</el-button>
<el-button v-if="language==1" style="border-radius: 20px;" class="loginBtn">
<span @click="router.push('/center/myInfo')">个人中心</span>
&nbsp;&nbsp;<span @click="logout()">退出</span>
</el-button>
</div>
</div>
<a class="ropenbtn" @click="showDrawer">
......@@ -125,43 +131,6 @@
</el-menu>
</el-drawer>
<LoginDialog ref="pcloginDialog" @submitForm="reFlash" />
<el-dialog
v-model="registerVisible"
title="用户注册"
width="30%"
>
<el-form
ref="loginRef"
:model="loginForm"
>
<el-form-item prop="telNo" style="height: 40px">
<el-input
v-model="loginForm.telNo"
type="text"
auto-complete="off"
placeholder="请输入手机号"
>
<template #prefix><svg-icon icon-class="phone" class="el-input__icon input-icon" /></template>
</el-input>
</el-form-item>
<el-form-item prop="captcha" style="height: 40px">
<captcha ref="codeRef" v-model="loginForm.captcha" v-model:uuid="loginForm.uuid" style="height: 40px" @keyup.enter="handleLogin" />
</el-form-item>
<el-form-item prop="code" style="height: 40px">
<captcha-sms v-model="loginForm.code" style="height: 40px" :verify="checkCaptchaSms" @keyup.enter="handleLogin" @error="getCode" />
</el-form-item>
<el-form-item style="width: 100%;height: 40px">
<el-button
:loading="loading"
size="large"
type="primary"
style="width: 100%;border: 0;"
>
<span>注册</span>
</el-button>
</el-form-item>
</el-form>
</el-dialog>
<SearchPop v-if="language==0" ref="searchDialog" />
<SearchPop_en v-if="language==1" ref="searchDialog" />
</template>
......@@ -192,7 +161,7 @@ const mode = ref('horizontal')
const language = ref(cache.local.get('language') || 0)
onMounted(() => {
console.log(window.location.href)
if (useUserStore().perId) {
if (useUserStore().user) {
isLogin.value = true
}
if (window.location.href.indexOf('en') > -1) {
......@@ -241,17 +210,15 @@ const logout = () => {
}
const goLogin = (flag) => {
// let param = null
// if (_.isBoolean(flag)) {
// param = {
// notShowClose: flag
// }
// }
// proxy.$refs['pcloginDialog'].open(param)
}
const goRegister = () => {
registerVisible.value = true
let param = null
if (_.isBoolean(flag)) {
param = {
notShowClose: flag
}
}
proxy.$refs['pcloginDialog'].open(param)
}
const reFlash = () => {
// 刷新
location.reload()
......
......@@ -25,6 +25,8 @@ import { getConfigKey, updateConfigByKey } from '@/api/system/config'
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels, fillImgUrl, downloadFile } from '@/utils/ruoyi'
import { CountDown } from 'vant'
import 'vant/lib/index.css'
import 'flag-icon-css/css/flag-icons.css'
// 分页组件
import PaginationPc from '@/components/PaginationPc'
// 自定义表格工具组件
......@@ -55,6 +57,8 @@ import routerEn from './routerPc/en'
import localeCn from 'element-plus/lib/locale/lang/zh-cn' // 中文语言
import localeEn from 'element-plus/lib/locale/lang/en'
const language = cache.local.get('language') || 0
const app = createApp(App)
......@@ -110,6 +114,8 @@ app.use(store)
app.use(plugins)
app.use(elementIcons)
app.use(CountDown)
// app.use(Vcode)
app.component('SvgIcon', SvgIcon)
app.use(VueVideoPlayer)
......
......@@ -13,7 +13,7 @@ router.beforeEach((to, from, next) => {
// debugger
if (getToken()) {
// 判断当前用户是否已拉取完user_info信息
if (!useUserStore().name) {
if (!useUserStore().user) {
isRelogin.show = true
useUserStore().getInfo().then(() => {
isRelogin.show = false
......
......@@ -319,6 +319,34 @@ export const constantRoutes = [
]
},
{
path: 'register',
component: Empty,
redirect: '/register',
children: [
{
path: '0',
component: () => import('@/viewsPc/register/personal'),
name: 'personalRegister',
meta: { title: '个人注册' }
},{
path: '1',
component: () => import('@/viewsPc/register/team/team'),
name: 'teamRegister',
meta: { title: '团体注册' }
},{
path: 'userAgreement',
component: () => import('@/viewsPc/register/userAgreement'),
name: 'userAgreement',
meta: { title: '团体注册' }
},{
path: 'policy',
component: () => import('@/viewsPc/register/policy'),
name: 'policy',
meta: { title: '团体注册' }
}
]
},
{
path: 'search',
component: Empty,
redirect: '/search',
......
......@@ -4,7 +4,7 @@ import defAva from '@/assets/images/profile.jpg'
import { getMyOwnMemberInfo } from '@/api/system/userInfo.js'
import { defineStore } from 'pinia'
import aes from '@/utils/aes'
import { loginZtx } from '@/apiPc/login.js'
import { loginDance } from '@/apiPc/login.js'
import { getRemindCount } from '@/api/system/user'
import { ElMessageBox } from 'element-plus'
......@@ -68,7 +68,7 @@ const useUserStore = defineStore(
const uuid = userInfo.uuid
const code = userInfo.code
return new Promise((resolve, reject) => {
loginZtx(username, password, code, uuid).then(res => {
loginDance(username, password, code, uuid).then(res => {
setToken(res.data.token)
this.token = res.data.token
resolve()
......
......@@ -5,7 +5,7 @@
<el-col :span="6">
<el-card class="mt30">
<div class="center-menu">
<el-avatar :size="100" :src="fillImgUrl(myform.avatar)" />
<!-- <el-avatar :size="100" :src="fillImgUrl(myform.avatar)" />-->
<h3>{{ myform.nickName }}</h3>
<ul>
<li
......@@ -43,14 +43,14 @@ const router = useRouter()
const myform = ref({})
const menus = ref([
{
name: '个人中心',
name: '基础信息',
routeName: 'myInfo',
picUrl1: '/img/tool01.png',
picUrl2: '/img/tool01_dwn.png',
isActive: false
},
{
name: '团体信息',
name: '修改密码',
routeName: 'myTeam',
picUrl1: '/img/tool02.png',
picUrl2: '/img/tool02_dwn.png',
......
......@@ -48,19 +48,19 @@
<div class="itemBox">
<el-row :gutter="20">
<el-col :sm="12" :lg="8">
<div class="item"><img src="@/assets/dance/btn01.png">赛事介绍</div></el-col>
<div class="item"><img src="@/assets/dance/btn01.png">酒店预订</div></el-col>
<el-col :sm="12" :lg="8">
<div class="item"><img src="@/assets/dance/btn02.png">赛事通知</div></el-col>
<div class="item"><img src="@/assets/dance/btn02.png">车辆预约</div></el-col>
<el-col :sm="12" :lg="8">
<div class="item"><img src="@/assets/dance/btn03.png">报名参与</div>
<div class="item"><img src="@/assets/dance/btn03.png">餐饮预约</div>
</el-col>
<el-col :sm="12" :lg="8">
<div class="item"><img src="@/assets/dance/btn04.png">票务预订</div>
</el-col>
<el-col :sm="12" :lg="8">
<div class="item"><img src="@/assets/dance/btn05.png">酒店预订</div></el-col>
<div class="item"><img src="@/assets/dance/btn05.png">化妆预约</div></el-col>
<el-col :sm="12" :lg="8">
<div class="item"><img src="@/assets/dance/btn06.png">化妆预约</div></el-col>
<div class="item"><img src="@/assets/dance/btn06.png">拍照预约</div></el-col>
</el-row>
</div>
......@@ -79,7 +79,8 @@
</div>
<!--赛事日历-->
<el-card :body-style="{'padding':'20px 20px'}">
<el-calendar v-model="calendarValue" :range="['2024-07-21','2024-07-27']">
<!-- <el-calendar v-model="calendarValue" :range="calendarRange">-->
<el-calendar>
<template #date-cell="data">
<div v-if="data.data.day.slice(8,10)==22" class="primaryDate date">22</div>
<div v-else class="date">
......@@ -112,15 +113,13 @@
</el-col>
<el-col :sm="24" :lg="12">
<div class="indexTitle">
<h3 class="leftboderTT">历史排名</h3>
<h3 class="leftboderTT">奖牌榜</h3>
<a class="more" href="#/saiC">MORE</a>
</div>
<!--历史排名-->
<el-card :body-style="{'padding':'10px 20px 18px'}">
<el-tabs v-model="activeRankName" @tab-click="rankTabClick">
<el-tab-pane v-for="(p,index) in rankTabs" :label="p.name" :name="index">
<el-table stripe :data="rankList">
<el-table-column label="排名" align="center" width="55" type="index">
<el-table-column label="名次" align="center" width="55" type="index">
<template #default="scope">
<span v-if="scope.row.index == 1" style="color:#F8A617">{{ scope.row.index }}</span>
<span v-else-if="scope.row.index == 2" style="color:#778B92">{{ scope.row.index }}</span>
......@@ -128,16 +127,44 @@
<span v-else>{{ scope.row.index }}</span>
</template>
</el-table-column>
<el-table-column label="姓名" prop="name" />
<el-table-column label="国家" prop="gj" />
<el-table-column label="分值" align="center">
<el-table-column label="国家/地区" prop="name">
<template #default="scope">
<div>
<span :class="`flag-icon flag-icon-${scope.row.code}`"></span>
{{ scope.row.gj }}</div>
</template>
</el-table-column>
<el-table-column prop="score">
<template #header>
<img src="@/assets/dance/1.png">
</template>
<template #default="scope">
<div class="text-warning">{{ scope.row.score }}</div>
</template>
</el-table-column>
<el-table-column prop="score">
<template #header>
<img src="@/assets/dance/2.png">
</template>
<template #default="scope">
<div class="text-blue">{{ scope.row.score }}</div>
</template>
</el-table-column>
<el-table-column prop="score">
<template #header>
<img src="@/assets/dance/3.png">
</template>
<template #default="scope">
<div class="text-primary">{{ scope.row.score }}</div>
</template>
</el-table-column>
<el-table-column label="总数" align="center">
<template #default="scope">
<div class="text-primary">{{ scope.row.score }}</div>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
</el-tabs>
</el-card>
</el-col>
</el-row>
......@@ -356,12 +383,13 @@ const canNext = ref(false)
const activeRankName = ref(0)
const time = ref(0)
const rankList = ref([
{ index: '1', name: '陈莎莎', score: '170',gj:'中国' },
{ index: '2', name: '陈莎莎', score: '170' ,gj:'中国'},
{ index: '3', name: '陈莎莎', score: '170',gj:'中国' },
{ index: '4', name: '陈莎莎', score: '170',gj:'中国' },
{ index: '5', name: '陈莎莎', score: '170' ,gj:'中国'},
{ index: '6', name: '陈莎莎', score: '170' ,gj:'中国'}
{ index: '1', code: 'cn', score: '170',gj:'中国' },
{ index: '2', code: 'us', score: '170' ,gj:'中国'},
{ index: '3', code: 'de', score: '170',gj:'中国' },
{ index: '4', code: 'eg', score: '170',gj:'中国' },
{ index: '5', code: 'ly', score: '170' ,gj:'中国'},
{ index: '6', code: 'tn', score: '170' ,gj:'中国'},
{ index: '7', code: 'gw', score: '170' ,gj:'中国'}
])
const rankTabs = ref([
{ name: '拉丁舞' },
......@@ -389,7 +417,8 @@ const scores = ref([])
const nowscores = ref([])
const livelist = ref([])
const picList = ref([])
const calendarValue = ref('2024-07-22')
// const calendarValue = ref('2024-07-22')
// const calendarRange = ref(['2024-07-21','2024-07-27'])
const showgg = ref(true)
onMounted(() => {
init()
......@@ -465,7 +494,8 @@ const goNews = () => {
.item{box-shadow: 0px 0px 21px 0px rgba(41,23,101,0.14);margin: 10px 0;
display: flex;align-items: center;
font-size: 22px;
background: #FFFFFF;
background:url("@/assets/dance/btn_bg.png") no-repeat left #FFFFFF;
background-size: 100% 100%;
border-radius: 15px;
img{margin: 0 5%;}
}
......@@ -578,7 +608,7 @@ const goNews = () => {
}
}
.calendarList{border: 1px solid #F0F0F0;padding:12px 20px;overflow: auto;height: 220px;
.calendarList{border: 1px solid #F0F0F0;padding:12px 20px;overflow: auto;height: 225px;
ul{
li{background: #F6F9FE;margin:7px 0 7px 20px;position: relative;padding: 13px;
border-radius: 10px;
......
<template>
<el-dialog
v-model="show" class="login" width="560px" append-to-body title="用户登录"
destroy-on-close :show-close="showClose" :close-on-click-modal="false"
<el-dialog close-icon="CircleClose" center
v-model="show" class="pcloginpop" width="450px" :append-to-body="true" :title="title"
destroy-on-close :show-close="showClose" :close-on-click-modal="false" @close="close"
>
<el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
<el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form" v-if="loginStatus==0">
<el-form-item prop="username">
<el-input
v-model.trim="loginForm.username"
size="large"
auto-complete="off"
placeholder="会员号"
placeholder="账号(注册时使用的邮箱/手机号码)"
>
<template #prefix>
<svg-icon icon-class="user" class="el-input__icon input-icon" />
</template>
</el-input>
</el-form-item>
<el-form-item prop="password">
<el-input
v-model.trim="loginForm.password"
type="password"
size="large"
size="large" show-password
auto-complete="off"
placeholder="密码"
@keyup.enter="handleLogin"
>
<template #prefix><svg-icon
icon-class="password"
class="el-input__icon input-icon"
/></template>
</el-input>
</el-form-item>
<el-form-item v-if="captchaEnabled" prop="code">
......@@ -38,16 +33,15 @@
size="large"
auto-complete="off"
placeholder="验证码"
style="width: 70%"
@keyup.enter="handleLogin"
>
<template #prefix>
<svg-icon icon-class="validCode" class="el-input__icon input-icon" />
<template #append>
<div class="login-code">
<img :src="codeUrl" class="login-code-img" @click="getCode">
</div>
</template>
</el-input>
<div class="login-code">
<img :src="codeUrl" class="login-code-img" @click="getCode">
</div>
</el-form-item>
<el-form-item style="width:100%;">
......@@ -64,9 +58,96 @@
</el-button>
</el-form-item>
<el-form-item>
<span style="color: #999;font-size: 12px;">*默认密码是会员号+证件号后四位+)*%</span>
<!-- <span style="color: #999;font-size: 12px;">*默认密码是会员号+证件号后四位+)*%</span>-->
<div style="display: flex;justify-content: space-between;width: 100%;">
<a class="text-primary" @click="showChangePassword">忘记密码?</a>
<a @click="showRegister" class="text-primary">账号注册></a>
</div>
</el-form-item>
<el-form-item>
<div class="agreeLine">
登录或注册即代表同意
<a>《用户协议》</a>
<a>《隐私政策》</a>
</div>
</el-form-item>
</el-form>
<div v-if="loginStatus==1">
<div class="rItem r1" @click="goRegister(1)">
<h3>机构用户</h3>
</div>
<div class="rItem r2" @click="goRegister(0)">
<h3>个人用户</h3>
</div>
</div>
<div v-if="loginStatus==2">
<el-form ref="changePasswordRef" :model="changePasswordForm" :rules="changePasswordRules" class="login-form">
<el-form-item prop="username">
<el-input
v-model.trim="changePasswordForm.username"
size="large"
auto-complete="off"
placeholder="注册时使用的邮箱/手机号码"
>
</el-input>
</el-form-item>
<el-form-item prop="code">
<el-input
v-model.trim="changePasswordForm.code"
size="large"
auto-complete="off"
placeholder="邮箱/手机验证码"
@keyup.enter="handleLogin"
>
<template #append>
<span class="text-primary" @click="sendsmsMsg">
发送验证码
</span>
</template>
</el-input>
<div class="vcodeBox" :style="isShow?'height:240px':'height:0'">
<Vcode :show="isShow" type="inside" @success="codeSuccess" @close="codeClose" @fail='codeFail'></Vcode>
</div>
</el-form-item>
<el-form-item prop="password">
<el-input
v-model.trim="changePasswordForm.password"
type="password"
size="large" show-password
auto-complete="off"
placeholder="新密码"
@keyup.enter="handleLogin"
>
</el-input>
</el-form-item>
<el-form-item prop="password">
<el-input
v-model.trim="changePasswordForm.confirmPassword"
type="password"
size="large" show-password
auto-complete="off"
placeholder="确认密码"
>
</el-input>
</el-form-item>
<el-form-item style="width:100%;">
<el-button
class="loginBtn"
:loading="loading"
size="large"
type="primary"
style="width:100%;"
@click.prevent="handleLogin"
>
<span>确定</span>
</el-button>
</el-form-item>
</el-form>
</div>
</el-dialog>
</template>
......@@ -77,7 +158,7 @@ import Cookies from 'js-cookie'
import useUserStore from '@/store/modules/user'
import { useRouter } from 'vue-router'
import { getCurrentInstance, ref, watch } from 'vue'
import { ElMessage } from 'element-plus'
import { ElMessage,ElMessageBox} from 'element-plus'
const emit = defineEmits(['submitForm'])
const userStore = useUserStore()
const router = useRouter()
......@@ -97,21 +178,23 @@ const loginRules = {
}
const show = ref(false)
const loginStatus = ref(0)
const title = ref('用户登录')
const showClose = ref(true)
const codeUrl = ref('')
const loading = ref(false)
const showMsgBtn = ref(true)
// 验证码开关
const captchaEnabled = ref(true)
// 注册开关
// const register = ref(false)
// const redirect = ref(undefined)
// watch(show, (val) => {
// if (!val) {
// userStore.setReLogin(false)
// }
// })
//忘记密码
const isShow = ref(false)
const isCodeTrue = ref(false)
const counting = ref(false)
const changePasswordForm = ref({
username:'',
password:'',
confirmPassword:''
})
const open = (params) => {
show.value = true
......@@ -150,7 +233,31 @@ function handleLogin() {
}
})
}
function close() {
loginStatus.value=0
title.value = '用户登录'
}
function showChangePassword() {
loginStatus.value=2
title.value = '忘记密码/密码重置'
}
function showRegister() {
loginStatus.value=1
title.value = '账号注册'
}
function goRegister(n) {
if(n==0){
show.value = false
router.push({
path: `/register/0`
})
} else {
show.value = false
router.push({
path: `/register/1`
})
}
}
function getCode() {
getCodeImg().then(res => {
captchaEnabled.value = res.captchaEnabled === undefined ? true : res.captchaEnabled
......@@ -169,7 +276,17 @@ function getCookie() {
rememberMe: rememberMe === undefined ? false : Boolean(rememberMe)
}
}
function sendsmsMsg() {
if(!changePasswordForm.value.account){
ElMessage.error('请填写手机/邮箱')
return
}
if(counting.value){
return
} else {
isShow.value = true
}
}
</script>
<style lang="scss" scoped>
......@@ -198,11 +315,17 @@ function getCookie() {
right: 0;
}
.loginBtn {
background: var(--el-color-primary);
height: 50px;
.loginBtn {height: 40px;
background: linear-gradient(-90deg, #8623FC, #453DEA);
border-radius: 20px;
font-size: 18px;
&:hover{
//background: linear-gradient(90deg, #8623FC, #453DEA);
box-shadow: 0 0 10px #453DEA;
}
}
.login {
display: flex;
justify-content: center;
......@@ -220,11 +343,11 @@ function getCookie() {
border-radius: 6px;
position: relative;
background: #ffffff;
padding: 0 50px 5px;
padding: 0 25px 5px;
.el-input {
height: 40px;
:deep(.el-input__wrapper){box-shadow: none;border-bottom:1px solid #E5E5E5; }
input {
height: 40px;
}
......@@ -245,8 +368,6 @@ function getCookie() {
.login-code {
height: 40px;
float: right;
img {
cursor: pointer;
vertical-align: middle;
......@@ -267,13 +388,27 @@ function getCookie() {
}
.login-code-img {
height: 40px;
padding-left: 12px;
height: 40px;float: right;
}
:deep(.el-input-group__append) {
background: #42dcb5;
color: #fff;
background: #fff;padding: 0;
color: #fff;box-shadow: none;
div{color: #fff;}
}
.agreeLine{
a{font-weight: 600;color: #000;
&:hover{text-decoration: underline;}
}
}
.rItem{height: 130px;cursor: pointer;width: 350px;padding: 1px;margin:20px auto;
h3{font-size: 30px;margin: 50px;}
&.r1{background: url("@/assets/dance/r1b.png") no-repeat left;
&:hover{background: url("@/assets/dance/r1.png") no-repeat left;}
}
&.r2{background: url("@/assets/dance/r2b.png") no-repeat left;
&:hover{background: url("@/assets/dance/r2.png") no-repeat left;}
}
&:hover{color: #fff;}
}
</style>
......
......@@ -363,7 +363,7 @@
</el-col>
<el-col :lg="6">
<a class="btn-lineG mb20" style="display: block;text-align: center;">我要报名</a>
<a class="btn-lineG mb20" @click="choseSignType" style="display: block;text-align: center;">我要报名</a>
<el-card :body-style="{padding: 0}">
<el-tabs v-model="activeName2" class="match-tabs" @tab-click="handleClick">
<el-tab-pane label="报名时间" name="first">
......@@ -395,11 +395,12 @@
</div>
</el-dialog>
<groupDetail ref="dialogEditGroup" @submitForm="getMyGroupList" />
</div>
</template>
<script setup>
import groupDetail from '@/viewsPc/center/component/teamInfo_form'
import { getCurrentInstance, ref } from 'vue'
import { reactive, onMounted } from '@vue/runtime-core'
import { useRoute, useRouter } from 'vue-router'
......@@ -410,9 +411,68 @@ const { proxy } = getCurrentInstance()
import * as match from '@/apiPc/match'
import { toRefs } from '@vueuse/shared'
import { ElMessage } from 'element-plus'
import groupDetail from '../center/component/teamInfo_form'
const activeName2 = ref('first')
const data = reactive({
matchData: {},
matchId: 0,
groupId: '',
activeName2:'first',
popupGroupList:false
})
const {matchData,matchId,groupId,activeName2,popupGroupList} = toRefs(data)
onMounted(() => {
matchId.value = route.params.id
getMatch(route.params.id)
})
function getMatch(id) {
if(id!=0)
match.getMatchById({ id: id }).then(res => {
matchData.value = res.data
})
}
function choseSignType() {
if (matchData.value.signType == '0') {
// 个人报名
checkIsSign(matchData.value.signType).then((res) => {
router.push({
path: `${route.params.id}/singleSign`
})
})
} else {
// 团队报名 团体-队伍报名
getMyGroupList()
}
}
// 获取已报信息
function checkIsSign(signType) {
var obj = {
cptId: matchId.value,
groupId: groupId.value || ''
}
return match.getMySignInfo(obj).then(res => {
if (res.data.type == '1') {
let str = ''
if (signType == '0') {
str = '已报名,不能重复报名'
} else {
str = '该参赛队已报名,请选择其他参赛队'
}
ElMessage.error(str)
return Promise.reject('rejected message')
}
})
}
function getMyGroupList(){
match.getMyGroupList().then(res => {
groups.value = res.data
popupGroupList.value = true
})
}
function goAddgroup() {
// 新团
proxy.$refs['dialogEditGroup'].open({
title: '新建参赛队'
})
}
</script>
<style scoped lang="scss">
......
<template>
<div>
<div class="mt30 mb60">
<div class="box">
<!-- 国内-机构注册-->
<el-card>
<el-steps :active="activeStep" finish-status="success" align-center>
<el-step title="创建账号" />
<el-step title="账号信息" />
<el-step title="注册完成" />
</el-steps>
</el-card>
<div class="mt20"></div>
<Step1 v-if="activeStep==0" @submit="toStep2" @userName="getUserName" />
<Step2 v-if="activeStep==1" @submit="toStep3" @prev="toStep1"/>
</div>
</div>
</div>
</template>
<script>
export default {
name: "peraonal"
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
name: "policy"
}
</script>
<style scoped>
</style>
<template>
<el-card style="min-height: 50vh">
<div class="pt30">
<el-form class="d-form" size="large" label-width="120" style="max-width: 500px;margin: auto">
<el-form-item label="手机/邮箱" required>
<el-input type="text" v-model="form.account" @change="resetCode" @blur="verifyCode"/>
</el-form-item>
<el-form-item label="验证码" required>
<el-input v-model="form.code">
<template #append>
<el-button type="primary" plain style="width: 110px" @click="sendsmsMsg">
<count-down v-if="counting" v-slot="{ totalSeconds }" :time="60000" @end="counting=false">
{{ totalSeconds }}
</count-down>
<span v-else>
发送验证码
</span>
</el-button>
</template>
</el-input>
<div class="vcodeBox" :style="isShow?'height:240px':'height:0'">
<Vcode :show="isShow" type="inside" @success="codeSuccess" @close="codeClose" @fail='codeFail'></Vcode>
</div>
</el-form-item>
</el-form>
</div>
<div class="text-center">
<!-- <el-button class="primary-kx" round @click="goBack">取消</el-button>-->
<el-button type="primary" class="btn-lineG w200px" round @click="next">下一步</el-button>
</div>
</el-card>
</template>
<script setup>
import {reactive} from "@vue/runtime-core";
import {toRefs} from "@vueuse/shared/index";
import Vcode from "vue3-puzzle-vcode"
import { ElMessage } from 'element-plus'
import CountDown from '@chenfengyuan/vue-countdown'
import {getCaptchaSms,checkRegisterCode} from "@/apiPc/match";
const data = reactive({
isShow:false,
isCodeTrue:false,
counting:false,
form:{},
activeStep: 0
})
const {isShow,isCodeTrue,counting,form,activeStep} = toRefs(data)
const emit = defineEmits(['submit','userName'])
function sendsmsMsg() {
if(!form.value.account){
ElMessage.error('请填写手机/邮箱')
return
}
if(counting.value){
return
} else {
isShow.value = true
}
}
function verifyCode() {
if(!form.value.account){
return
}
if(form.value.account.indexOf('@')>-1){
//邮箱
}
}
function codeSuccess(msg) {
console.log('验证通过' + msg);
isShow.value = false
isCodeTrue.value = true
counting.value = true
// getCaptchaSms({account:form.value.account}).then(res=>{
//
// })
}
function resetCode() {
isCodeTrue.value = false
}
function codeFail() {
}
function codeClose() {
}
const goBack = () => {
router.go(-1)
}
const next = () => {
if(!form.value.account){
ElMessage.error('请填写手机/邮箱')
return
}
if(!form.value.code){
ElMessage.error('请填写验证码')
return
}
if(!isCodeTrue.value){
return
}
checkRegisterCode(form.value).then(res=>{
emit('submit')
emit('userName',form.value.account)
})
}
</script>
<style scoped lang="scss">
.el-input-group__append button.el-button, .el-input-group__append button.el-button:hover{
color: var(--el-color-primary);
background: #efefff;
border: var(--el-color-primary) solid 1px;
border-radius: 0;
}
.vcodeBox{ position: relative;margin: 20px 0 0;
width: 320px;overflow: hidden;
height: auto;}
</style>
<template>
<el-card>
<div class="border-info text-center">
<label>登录账号</label> 321
</div>
<div class="leftboderTT">登录密码 <span>(登录时需要验证,保护账户信息)</span></div>
<div class="d-form-border">
<el-form class="d-form" size="large" label-width="120" style="max-width: 500px;margin: auto">
<el-form-item label="密码" required>
<el-input type="password" show-password v-model="form.password" placeholder="6-16位密码。区分大小写"/>
</el-form-item>
<el-form-item label="确认密码" required>
<el-input type="password" show-password v-model="form.confirmPassword" @blur="vconfirmPassword" placeholder="再次输入密码"/>
</el-form-item>
</el-form>
</div>
<div class="leftboderTT">机构信息</div>
<div class="d-form-border">
<el-form class="d-form" size="large" :model="form" ref="registerRef" :rules="registerRules" label-width="120" style="max-width: 500px;margin: auto">
<el-form-item label="所属国家" required>
<el-select filterable v-model="form.countryId">
<el-option v-for="item in countryList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
<el-form-item label="详细地址" required prop="address">
<el-cascader v-if="form.countryId == 240"
v-model="regionArr"
style="width: 100%;"
:options="regionsList"
:props="{ label:'text' }"
/>
<el-input type="textarea" v-model="form.address" class="mt10" placeholder="请输入详细地址"/>
</el-form-item>
<el-form-item label="机构名称" required prop="teamName">
<el-input type="text" v-model="form.teamName" placeholder="请输入内容"/>
</el-form-item>
<el-form-item label="联系人姓名" required prop="contactName">
<el-input type="text" v-model="form.contactName" placeholder="请输入内容"/>
</el-form-item>
<el-form-item label="联系人电话" required prop="contactTel">
<el-input v-model="form.contactTel" type="phone" placeholder="请输入内容"/>
</el-form-item>
<el-form-item label="联系人邮箱" required prop="contactEmail">
<el-input v-model="form.contactEmail" type="email" placeholder="请输入内容"/>
</el-form-item>
<el-form-item prop="photo" required label="机构LOGO">
<ImageUpload2
v-model="form.photo" :crop-height="200" :crop-width="200" :limit="1"
:is-show-tip="false"
/>
</el-form-item>
<el-form-item>
<div @click="isAgree = !isAgree" class="flexAgree">
<el-icon v-if="isAgree" color="#453DEA" size="20"><CircleCheckFilled /></el-icon>
<el-icon v-else color="#999" size="20"><CircleCheck /></el-icon>
<div>
我已阅读并接受<a class="text-primary" @click.stop="showAgreeMent">《注册协议》</a>
<a class="text-primary" @click.stop="showAgreeMent">《个人信息保护政策》</a>
</div>
</div>
</el-form-item>
</el-form>
</div>
<div class="text-center">
<!-- <el-button class="primary-kx" @click="goStep1">上一步</el-button>-->
<el-button type="primary" round class="btn-lineG w200px" @click.prevent="goStep3" :loading="loading">立即注册</el-button>
</div>
</el-card>
</template>
<script setup>
import {getCurrentInstance} from "@vue/runtime-core"
import {onMounted,toRefs,reactive} from "vue"
import * as match from "@/apiPc/match";
import {ElMessage} from "element-plus";
import {setToken} from "@/utils/auth";
const { proxy } = getCurrentInstance()
const emit = defineEmits(['submit','prev'])
const props = defineProps({
})
const data = reactive({
form: {
username:'eryewawa@163.com'
},
loading:false,
countryList: [],
regionsList: [],
regionArr: [],
isAgree:false
})
const {form,countryList,regionsList,isAgree,loading,regionArr} = toRefs(data)
const registerRules = ref(
{
password:[
{ required: true, trigger: 'blur', message: '请输入您的密码' },
{ min: 6, max: 16, message: '用户密码长度必须介于 6 和 16 之间', trigger: 'blur' }
],
confirmPassword: [{ required: true, trigger: 'blur', message: '请再次输入您的密码' },],
countryId: [{ required: true, trigger: 'blur', message: '请选择所属国家' },],
address: [{ required: true, trigger: 'blur', message: '请输入地址' },],
teamName: [{ required: true, trigger: 'blur', message: '请输入' },],
contactName: [{ required: true, trigger: 'blur', message: '请输入' },],
contactTel: [{ required: true, trigger: 'blur', message: '请输入' },],
contactEmail: [{ required: true, trigger: 'blur', message: '请输入' },],
photo: [{ required: true, trigger: 'blur', message: '请上传' },],
})
const vconfirmPassword = () => {
if (form.value.password !== form.value.confirmPassword) {
ElMessage.error('两次输入的密码不一致')
}
}
onMounted(()=>{
getCountryList()
getRegionsList()
})
function getCountryList() {
match.countryList().then(res => {
countryList.value = res.data
})
}
function getRegionsList() {
match.regionsList().then(res => {
regionsList.value = res.data
})
}
const goStep1 = () => {
emit('prev')
}
const goStep3 = () => {
proxy.$refs.registerRef.validate(valid => {
if (valid) {
if(!isAgree.value){
ElMessage.error('请勾选接受')
return
}
loading.value = true
delete form.value.confirmPassword
form.value.regionId = regionArr.value.pop()
match.pcRegisterTeam(form.value).then(res=>{
setToken(res.data.token)
emit('submit')
})
}
})
}
const showAgreeMent = () => {
console.log('111')
}
onMounted(()=>{
console.log(props)
})
</script>
<style scoped lang="scss">
.d-form-border{
border: 1px solid #E5E5E5;margin: 20px 0;padding: 20px}
.leftboderTT{color: var(--el-color-primary);
font-size: 16px;
font-weight: 600;
span{color: #929AA0;font-size: 14px;}
}
.flexAgree{display: flex;align-items: center;
div{margin-left: 8px;font-size: 14px}
}
</style>
<template>
<el-card style="min-height: 50vh">
<div>
<img src="@/assets/dance/ok.png"/>
<h3>注册成功</h3>
</div>
<div class="border-info text-center">
<label>登录账号</label> 321
</div>
<div class="text-center">
<el-button class="primary-kx" @click="goHome">返回首页</el-button>
<el-button type="primary" @click="goSign">去报名</el-button>
</div>
</el-card>
</template>
<script setup>
import {reactive} from "@vue/runtime-core";
import {toRefs} from "@vueuse/shared/index";
import Vcode from "vue3-puzzle-vcode"
import { ElMessage } from 'element-plus'
import CountDown from '@chenfengyuan/vue-countdown'
import {getCaptchaSms,checkRegisterCode} from "@/apiPc/match";
const data = reactive({
isShow:false,
isCodeTrue:false,
counting:false,
form:{},
activeStep: 0
})
const {isShow,isCodeTrue,counting,form,activeStep} = toRefs(data)
const emit = defineEmits(['submit','userName'])
function sendsmsMsg() {
if(!form.value.account){
ElMessage.error('请填写手机/邮箱')
return
}
if(counting.value){
return
} else {
isShow.value = true
}
}
const goHome = () => {
}
const goSign = () => {
}
</script>
<style scoped lang="scss">
.el-input-group__append button.el-button, .el-input-group__append button.el-button:hover{
color: var(--el-color-primary);
background: #efefff;
border: var(--el-color-primary) solid 1px;
border-radius: 0;
}
</style>
<template>
<div>
<div class="mt30 mb60">
<div class="box">
<!-- 国内-机构注册-->
<el-card>
<el-steps :active="activeStep" align-center>
<el-step title="创建账号" />
<el-step title="账号信息" />
<el-step title="注册完成" />
</el-steps>
</el-card>
<div class="mt20"></div>
<Step1 v-if="activeStep==0" @submit="toStep2" @userName="getUserName" />
<Step2 v-if="activeStep==1" @submit="toStep3" @prev="toStep1"/>
<Step3 v-if="activeStep==2"/>
</div>
</div>
</div>
</template>
<script setup>
import {reactive} from "@vue/runtime-core";
import Step1 from "./step1";
import Step2 from "./step2";
import Step3 from "./step3";
import * as match from "@/apiPc/match";
import {onMounted,toRefs} from "vue";
const data = reactive({
isShow:false,
isCodeTrue:false,
counting:false,
form:{},
activeStep: 0
})
const {isShow,isCodeTrue,counting,form,activeStep} = toRefs(data)
const toStep1 = () => {
activeStep.value = 0
}
const toStep2 = () => {
activeStep.value = 1
}
const toStep3 = () => {
activeStep.value = 2
}
const getUserName = (val) => {
console.log(val)
form.value.userName = val
}
</script>
<style scoped>
</style>
<template>
</template>
<script>
export default {
name: "userAgreement"
}
</script>
<style scoped>
</style>
......@@ -77,12 +77,12 @@ export default defineConfig(({ mode, command }) => {
},
'/dev-api/ztx-webSite': {
// target: 'http://123.60.96.243:1897/stage-api/',
target: 'http://192.168.1.118:8083/',
target: 'http://192.168.1.132:8083/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
},
'/dev-api': {
target: 'http://192.168.1.118:8083',
target: 'http://192.168.1.132:8083',
// target: 'http://localhost:8787',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!