diff --git a/package-lock.json b/package-lock.json index 7f1b547..f1165a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2307,6 +2307,11 @@ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true }, + "cssfilter": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", + "integrity": "sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=" + }, "cssnano": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", @@ -4500,6 +4505,16 @@ "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==", "dev": true }, + "highlight.js": { + "version": "9.18.5", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.5.tgz", + "integrity": "sha512-a5bFyofd/BHCX52/8i8uJkjr9DYwXIPnM/plwI6W7ezItLGqzt7X2G2nXuYSfsIJdkwwj/g9DG1LkcGJI/dDoA==" + }, + "highlight.js-async-webpack": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/highlight.js-async-webpack/-/highlight.js-async-webpack-1.0.4.tgz", + "integrity": "sha1-wGtnv5nwSQRdYrdW5YVbCRLsYWw=" + }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -5452,6 +5467,16 @@ "integrity": "sha512-9FbRY3i6U+CbHgrdNbAUaisjWTozkm1ZfupYQJiZ87NtYHk2Zh9DvxMgp/fifxVhqTLpd5fCCLossUbpZxGeKw==", "dev": true }, + "mavon-editor": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/mavon-editor/-/mavon-editor-2.9.1.tgz", + "integrity": "sha512-N42ZBBVjDOOmwwBKRLytItMGG9bR8KBZN4ZI8sxpHh3dqL6SF5HNhzn/sVHDctp9vxphO930a3zu4GFZWQwZ1Q==", + "requires": { + "highlight.js": "^9.11.0", + "highlight.js-async-webpack": "^1.0.4", + "xss": "^1.0.6" + } + }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", @@ -11740,6 +11765,22 @@ "safe-buffer": "~5.1.0" } }, + "xss": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.9.tgz", + "integrity": "sha512-2t7FahYnGJys6DpHLhajusId7R0Pm2yTmuL0GV9+mV0ZlaLSnb2toBmppATfg5sWIhZQGlsTLoecSzya+l4EAQ==", + "requires": { + "commander": "^2.20.3", + "cssfilter": "0.0.10" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + } + } + }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index 27b12dd..9e81c26 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "dependencies": { "axios": "^0.21.1", "element-ui": "^2.15.3", + "mavon-editor": "^2.9.1", "vue": "^2.5.2", "vue-router": "^3.0.1" }, diff --git a/src/api/index.js b/src/api/index.js index 71a872d..5596743 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -3,7 +3,7 @@ import request from '../utils/request'; // 用户开户 export const openAccount = query => { return request({ - url: '/public/index.php/api/user.Account/openAccount', + url: '/api/user.Account/openAccount', method: 'post', data: query }); @@ -11,7 +11,7 @@ export const openAccount = query => { // 获取单个类型资料 export const getAccountInfo = query => { return request({ - url: '/public/index.php/api/user.Account/getAccountInfo', + url: '/api/user.Account/getAccountInfo', method: 'get', params: query }); @@ -19,7 +19,7 @@ export const getAccountInfo = query => { // 获取用户是否已开户 export const isOpenAccount = query => { return request({ - url: '/public/index.php/api/user.Account/isOpenAccount', + url: '/api/user.Account/isOpenAccount', method: 'get', params: query }); @@ -27,7 +27,63 @@ export const isOpenAccount = query => { // 资产分类列表 export const assetClassList = query => { return request({ - url: '/public/index.php/api/user.Asset/assetClassList', + url: '/api/user.Asset/assetClassList', + method: 'get', + params: query + }); +}; +// 资产列表 +export const assetList = query => { + return request({ + url: '/api/user.Asset/assetList', + method: 'get', + params: query + }); +}; +// 获取资产类型 +export const get_asset_type = query => { + return request({ + url: '/api/user.Asset/get_asset_type', + method: 'get', + params: query + }); +}; +// 获取省份数据 +export const getProvince = query => { + return request({ + url: 'api/Index/getProvince', + method: 'get', + params: query + }); +}; +// 获取市份数据 +export const getCity = query => { + return request({ + url: '/api/Index/getCity', + method: 'get', + params: query + }); +}; +// 获取区镇数据 +export const getArea = query => { + return request({ + url: '/api/Index/getArea', + method: 'get', + params: query + }); +}; +// 资产挂牌 +export const cartellino = query => { + return request({ + url: '/api/user.Asset/cartellino', + method: 'post', + data: query + }); +}; +// 获取挂牌费用 +export const getPrice = query => { + return request({ + url: '/api/user.Asset/getPrice', method: 'get', params: query }); diff --git a/src/components/common/Footer.vue b/src/components/common/Footer.vue index 6964f4d..2f6e837 100644 --- a/src/components/common/Footer.vue +++ b/src/components/common/Footer.vue @@ -61,6 +61,7 @@ export default { padding-top: 20px; padding-bottom: 10px; margin-top: 30px; + background-color: rgba(37, 46, 75, 1); } .body>div{ width: 1200px; @@ -78,7 +79,7 @@ export default { font-size: 12px; display: flex; flex-direction: column; - color: #555555; + color: #F3F6FF; align-items: center; margin-left: 55px; } @@ -96,7 +97,7 @@ export default { } .foot_top_right_item>p{ font-size: 12px; - color: #7F7F7F; + color: #F3F6FF; margin-top: 10px; } .foot_top_right_item_title{ @@ -106,6 +107,7 @@ export default { padding: 5px 0; border-bottom: 1px solid #AAAAAA; font-size: 14px; + color: #F3F6FF; } .title_span{ font-size: 18px; @@ -113,7 +115,7 @@ export default { } .foot_info{ font-size: 12px; - color: rgba(127, 127, 127, 0.898039215686275); + color: #F3F6FF; margin-top: 20px; } diff --git a/src/components/common/Header.vue b/src/components/common/Header.vue index 35f921b..a08a333 100644 --- a/src/components/common/Header.vue +++ b/src/components/common/Header.vue @@ -131,7 +131,9 @@ export default { }else{ this.sidebarList[2].url='/wkThird' } - this.goPage(this.sidebarList[0].url) + if(goType==0){ + this.goPage(this.sidebarList[0].url) + } }else{ this.sidebarList=[ {name:'首页',url:''}, @@ -151,13 +153,14 @@ export default { }, watch:{ $route(newValue, oldValue){ - this.activeClass=newValue.path + this.activeClass='/'+newValue.path.split('/')[1] if(this.login_type==1){ this.isOpenAccount() } } }, created(){ + console.info(this.$route) this.activeClass=this.$route.path this.login_type=localStorage.getItem('login_type') this.UserConsole(this.login_type,1) diff --git a/src/components/common/country.js b/src/components/common/country.js new file mode 100644 index 0000000..565c5ae --- /dev/null +++ b/src/components/common/country.js @@ -0,0 +1,204 @@ +export function monthArray(){ + const monthArray=['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月']; + return monthArray; +} +export function staticCountryArray(){ + const countrys=[{ + label: '热门国家', + options: [{value:'China',label:'中国'},] + },{ + label: '所有国家', + options: [ + {value:'Angola',label:'安哥拉'}, + {value:'Afghanistan',label:'阿富汗'}, + {value:'Albania',label:'阿尔巴尼亚'}, + {value:'Algeria',label:'阿尔及利亚'}, + {value:'Andorra',label:'安道尔共和国'}, + {value:'Anguilla',label:'安圭拉岛'}, + {value:'Antigua and Barbuda',label:'安提瓜和巴布达'}, + {value:'Argentina',label:'阿根廷'}, + {value:'Armenia',label:'亚美尼亚'}, + {value:'Ascension',label:'阿森松'}, + {value:'Australia',label:'澳大利亚'}, + {value:'Austria',label:'奥地利'}, + {value:'Azerbaijan',label:'阿塞拜疆'}, + {value:'Bahamas',label:'巴哈马'}, + {value:'Bahrain',label:'巴林'}, + {value:'Bangladesh',label:'孟加拉国'}, + {value:'Barbados',label:'巴巴多斯'}, + {value:'Belarus',label:'白俄罗斯'}, + {value:'Belgium',label:'比利时'}, + {value:'Belize',label:'伯利兹'}, + {value:'Benin',label:'贝宁'}, + {value:'Bermuda Is',label:'百慕大群岛'}, + {value:'Bolivia',label:'玻利维亚'}, + {value:'Botswana',label:'博茨瓦纳'}, + {value:'Brazil',label:'巴西'}, + {value:'Brunei',label:'文莱'}, + {value:'Bulgaria',label:'保加利亚'}, + {value:'Burkina Faso',label:'布基纳法索'}, + {value:'Burma',label:'缅甸'}, + {value:'Burundi',label:'布隆迪'}, + {value:'Cameroon',label:'喀麦隆'}, + {value:'Canada',label:'加拿大'}, + {value:'Cayman Is',label:'开曼群岛'}, + {value:'Central African Republic',label:'中非共和国'}, + {value:'Chad',label:'乍得'}, + {value:'Chile',label:'智利'}, + {value:'China',label:'中国'}, + {value:'Colombia',label:'哥伦比亚'}, + {value:'Congo',label:'刚果'}, + {value:'Cook Is',label:'库克群岛'}, + {value:'Costa Rica',label:'哥斯达黎加'}, + {value:'Cuba',label:'古巴'}, + {value:'Cyprus',label:'塞浦路斯'}, + {value:'Czech Republic',label:'捷克'}, + {value:'Denmark',label:'丹麦'}, + {value:'Djibouti',label:'吉布提'}, + {value:'Dominica Rep',label:'多米尼加共和国'}, + {value:'Ecuador',label:'厄瓜多尔'}, + {value:'Egypt',label:'埃及'}, + {value:'EI Salvador',label:'萨尔瓦多'}, + {value:'Estonia',label:'爱沙尼亚'}, + {value:'Ethiopia',label:'埃塞俄比亚'}, + {value:'Fiji',label:'斐济'}, + {value:'Finland',label:'芬兰'}, + {value:'France',label:'法国'}, + {value:'French Guiana',label:'法属圭亚那'}, + {value:'French Polynesia',label:'法属玻利尼西亚'}, + {value:'Gabon',label:'加蓬'}, + {value:'Gambia',label:'冈比亚'}, + {value:'Georgia',label:'格鲁吉亚'}, + {value:'Germany',label:'德国'}, + {value:'Ghana',label:'加纳'}, + {value:'Gibraltar',label:'直布罗陀'}, + {value:'Greece',label:'希腊'}, + {value:'Grenada',label:'格林纳达'}, + {value:'Guam',label:'关岛'}, + {value:'Guatemala',label:'危地马拉'}, + {value:'Guinea',label:'几内亚'}, + {value:'Guyana',label:'圭亚那'}, + {value:'Haiti',label:'海地'}, + {value:'Honduras',label:'洪都拉斯'}, + {value:'Hungary',label:'匈牙利'}, + {value:'Iceland',label:'冰岛'}, + {value:'India',label:'印度'}, + {value:'Indonesia',label:'印度尼西亚'}, + {value:'Iran',label:'伊朗'}, + {value:'Iraq',label:'伊拉克'}, + {value:'Ireland',label:'爱尔兰'}, + {value:'Israel',label:'以色列'}, + {value:'Italy',label:'意大利'}, + {value:'Ivory Coast',label:'科特迪瓦'}, + {value:'Jamaica',label:'牙买加'}, + {value:'Japan',label:'日本'}, + {value:'Jordan',label:'约旦'}, + {value:'Kampuchea (Cambodia )',label:'柬埔寨'}, + {value:'Kazakstan',label:'哈萨克斯坦'}, + {value:'Kenya',label:'肯尼亚'}, + {value:'Korea',label:'韩国'}, + {value:'Kuwait',label:'科威特'}, + {value:'Kyrgyzstan',label:'吉尔吉斯坦'}, + {value:'Laos',label:'老挝'}, + {value:'Latvia',label:'拉脱维亚'}, + {value:'Lebanon',label:'黎巴嫩'}, + {value:'Lesotho',label:'莱索托'}, + {value:'Liberia',label:'利比里亚'}, + {value:'Libya',label:'利比亚'}, + {value:'Liechtenstein',label:'列支敦士登'}, + {value:'Lithuania',label:'立陶宛'}, + {value:'Luxembourg',label:'卢森堡'}, + {value:'Madagascar',label:'马达加斯加'}, + {value:'Malawi',label:'马拉维'}, + {value:'Malaysia',label:'马来西亚'}, + {value:'Maldives',label:'马尔代夫'}, + {value:'Mali',label:'马里'}, + {value:'Malta',label:'马耳他'}, + {value:'Mariana Is',label:'马里亚那群岛'}, + {value:'Martinique',label:'马提尼克'}, + {value:'Mauritius',label:'毛里求斯'}, + {value:'Mexico',label:'墨西哥'}, + {value:'Moldova',label:'摩尔多瓦'}, + {value:'Monaco',label:'摩纳哥'}, + {value:'Mongolia',label:'蒙古'}, + {value:'Montserrat Is',label:'蒙特塞拉特岛'}, + {value:'Morocco',label:'摩洛哥'}, + {value:'Mozambique',label:'莫桑比克'}, + {value:'Namibia',label:'纳米比亚'}, + {value:'Nauru',label:'瑙鲁'}, + {value:'Nepal',label:'尼泊尔'}, + {value:'Netheriands Antilles',label:'荷属安的列斯'}, + {value:'Netherlands',label:'荷兰'}, + {value:'New Zealand',label:'新西兰'}, + {value:'Nicaragua',label:'尼加拉瓜'}, + {value:'Niger',label:'尼日尔'}, + {value:'Nigeria',label:'尼日利亚'}, + {value:'North Korea',label:'朝鲜'}, + {value:'Norway',label:'挪威'}, + {value:'Oman',label:'阿曼'}, + {value:'Pakistan',label:'巴基斯坦'}, + {value:'Panama',label:'巴拿马'}, + {value:'Papua New Cuinea',label:'巴布亚新几内亚'}, + {value:'Paraguay',label:'巴拉圭'}, + {value:'Peru',label:'秘鲁'}, + {value:'Philippines',label:'菲律宾'}, + {value:'Poland',label:'波兰'}, + {value:'Portugal',label:'葡萄牙'}, + {value:'Puerto Rico',label:'波多黎各'}, + {value:'Qatar',label:'卡塔尔'}, + {value:'Reunion',label:'留尼旺'}, + {value:'Romania',label:'罗马尼亚'}, + {value:'Russia',label:'俄罗斯'}, + {value:'Saint Lueia',label:'圣卢西亚'}, + {value:'Saint Vincent',label:'圣文森特岛'}, + {value:'Samoa Eastern',label:'东萨摩亚(美)'}, + {value:'Samoa Western',label:'西萨摩亚'}, + {value:'San Marino',label:'圣马力诺'}, + {value:'Sao Tome and Principe',label:'圣多美和普林西比'}, + {value:'Saudi Arabia',label:'沙特阿拉伯'}, + {value:'Senegal',label:'塞内加尔'}, + {value:'Seychelles',label:'塞舌尔'}, + {value:'Sierra Leone',label:'塞拉利昂'}, + {value:'Singapore',label:'新加坡'}, + {value:'Slovakia',label:'斯洛伐克'}, + {value:'Slovenia',label:'斯洛文尼亚'}, + {value:'Solomon Is',label:'所罗门群岛'}, + {value:'Somali',label:'索马里'}, + {value:'South Africa',label:'南非'}, + {value:'Spain',label:'西班牙'}, + {value:'SriLanka',label:'斯里兰卡'}, + {value:'St.Lucia',label:'圣卢西亚'}, + {value:'St.Vincent',label:'圣文森特'}, + {value:'Sudan',label:'苏丹'}, + {value:'Suriname',label:'苏里南'}, + {value:'Swaziland',label:'斯威士兰'}, + {value:'Sweden',label:'瑞典'}, + {value:'Switzerland',label:'瑞士'}, + {value:'Syria',label:'叙利亚'}, + {value:'Tajikstan',label:'塔吉克斯坦'}, + {value:'Tanzania',label:'坦桑尼亚'}, + {value:'Thailand',label:'泰国'}, + {value:'Togo',label:'多哥'}, + {value:'Tonga',label:'汤加'}, + {value:'Trinidad and Tobago',label:'特立尼达和多巴哥'}, + {value:'Tunisia',label:'突尼斯'}, + {value:'Turkey',label:'土耳其'}, + {value:'Turkmenistan',label:'土库曼斯坦'}, + {value:'Uganda',label:'乌干达'}, + {value:'Ukraine',label:'乌克兰'}, + {value:'United Arab Emirates',label:'阿拉伯联合酋长国'}, + {value:'United Kiongdom',label:'英国'}, + {value:'United States of America',label:'美国'}, + {value:'Uruguay',label:'乌拉圭'}, + {value:'Uzbekistan',label:'乌兹别克斯坦'}, + {value:'Venezuela',label:'委内瑞拉'}, + {value:'Vietnam',label:'越南'}, + {value:'Yemen',label:'也门'}, + {value:'Yugoslavia',label:'南斯拉夫'}, + {value:'Zimbabwe',label:'津巴布韦'}, + {value:'Zaire',label:'扎伊尔'}, + {value:'Zambia',label:'赞比亚'} + ] + }] + return countrys; +} \ No newline at end of file diff --git a/src/components/page/Hoster/Listing.vue b/src/components/page/Hoster/Listing.vue new file mode 100644 index 0000000..9f581d8 --- /dev/null +++ b/src/components/page/Hoster/Listing.vue @@ -0,0 +1,532 @@ + + + diff --git a/src/components/page/Hoster/myAssets.vue b/src/components/page/Hoster/myAssets.vue index 6f2184a..a6f18c9 100644 --- a/src/components/page/Hoster/myAssets.vue +++ b/src/components/page/Hoster/myAssets.vue @@ -4,11 +4,11 @@
{{item.name}}
- +
- +