作者 zhangxiaying

tijiao

正在显示 71 个修改的文件 包含 4667 行增加0 行删除

要显示太多修改。

为保证性能只显示 71 of 71+ 个文件。

> 1%
last 2 versions
... ...
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
... ...
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
... ...
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
... ...
# hunlian
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
... ...
module.exports = {
presets: [
'@vue/app'
]
}
... ...
此 diff 太大无法显示。
{
"name": "hunlian",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^0.19.2",
"core-js": "^2.6.5",
"element-ui": "^2.13.1",
"vant": "^2.8.2",
"vue": "^2.6.10",
"vue-router": "^3.0.3",
"vuex": "^3.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.5",
"@vue/cli-plugin-eslint": "^3.0.5",
"@vue/cli-service": "^3.0.5",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"babel-plugin-component": "^1.1.1",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.12.0",
"sass-loader": "^8.0.0",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.43.0"
}
}
... ...
module.exports = {
plugins: {
autoprefixer: {}
}
}
... ...
不能预览此文件类型
此 diff 太大无法显示。
<template>
<div id="app">
<router-view/>
</div>
</template>
<script>
export default {
name: 'app',
components: {
}
}
</script>
<style lang="scss" scoped>
*{
margin:0;
padding:0;
}
#app {
// background: #2c3e50;
width:100%;
height:100%;
}
</style>
... ...
/* Logo 字体 */
@font-face {
font-family: "iconfont logo";
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}
.logo {
font-family: "iconfont logo";
font-size: 160px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* tabs */
.nav-tabs {
position: relative;
}
.nav-tabs .nav-more {
position: absolute;
right: 0;
bottom: 0;
height: 42px;
line-height: 42px;
color: #666;
}
#tabs {
border-bottom: 1px solid #eee;
}
#tabs li {
cursor: pointer;
width: 100px;
height: 40px;
line-height: 40px;
text-align: center;
font-size: 16px;
border-bottom: 2px solid transparent;
position: relative;
z-index: 1;
margin-bottom: -1px;
color: #666;
}
#tabs .active {
border-bottom-color: #f00;
color: #222;
}
.tab-container .content {
display: none;
}
/* 页面布局 */
.main {
padding: 30px 100px;
width: 960px;
margin: 0 auto;
}
.main .logo {
color: #333;
text-align: left;
margin-bottom: 30px;
line-height: 1;
height: 110px;
margin-top: -50px;
overflow: hidden;
*zoom: 1;
}
.main .logo a {
font-size: 160px;
color: #333;
}
.helps {
margin-top: 40px;
}
.helps pre {
padding: 20px;
margin: 10px 0;
border: solid 1px #e7e1cd;
background-color: #fffdef;
overflow: auto;
}
.icon_lists {
width: 100% !important;
overflow: hidden;
*zoom: 1;
}
.icon_lists li {
width: 100px;
margin-bottom: 10px;
margin-right: 20px;
text-align: center;
list-style: none !important;
cursor: default;
}
.icon_lists li .code-name {
line-height: 1.2;
}
.icon_lists .icon {
display: block;
height: 100px;
line-height: 100px;
font-size: 42px;
margin: 10px auto;
color: #333;
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
-moz-transition: font-size 0.25s linear, width 0.25s linear;
transition: font-size 0.25s linear, width 0.25s linear;
}
.icon_lists .icon:hover {
font-size: 100px;
}
.icon_lists .svg-icon {
/* 通过设置 font-size 来改变图标大小 */
width: 1em;
/* 图标和文字相邻时,垂直对齐 */
vertical-align: -0.15em;
/* 通过设置 color 来改变 SVG 的颜色/fill */
fill: currentColor;
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
normalize.css 中也包含这行 */
overflow: hidden;
}
.icon_lists li .name,
.icon_lists li .code-name {
color: #666;
}
/* markdown 样式 */
.markdown {
color: #666;
font-size: 14px;
line-height: 1.8;
}
.highlight {
line-height: 1.5;
}
.markdown img {
vertical-align: middle;
max-width: 100%;
}
.markdown h1 {
color: #404040;
font-weight: 500;
line-height: 40px;
margin-bottom: 24px;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
color: #404040;
margin: 1.6em 0 0.6em 0;
font-weight: 500;
clear: both;
}
.markdown h1 {
font-size: 28px;
}
.markdown h2 {
font-size: 22px;
}
.markdown h3 {
font-size: 16px;
}
.markdown h4 {
font-size: 14px;
}
.markdown h5 {
font-size: 12px;
}
.markdown h6 {
font-size: 12px;
}
.markdown hr {
height: 1px;
border: 0;
background: #e9e9e9;
margin: 16px 0;
clear: both;
}
.markdown p {
margin: 1em 0;
}
.markdown>p,
.markdown>blockquote,
.markdown>.highlight,
.markdown>ol,
.markdown>ul {
width: 80%;
}
.markdown ul>li {
list-style: circle;
}
.markdown>ul li,
.markdown blockquote ul>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown>ul li p,
.markdown>ol li p {
margin: 0.6em 0;
}
.markdown ol>li {
list-style: decimal;
}
.markdown>ol li,
.markdown blockquote ol>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown code {
margin: 0 3px;
padding: 0 5px;
background: #eee;
border-radius: 3px;
}
.markdown strong,
.markdown b {
font-weight: 600;
}
.markdown>table {
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
border: 1px solid #e9e9e9;
width: 95%;
margin-bottom: 24px;
}
.markdown>table th {
white-space: nowrap;
color: #333;
font-weight: 600;
}
.markdown>table th,
.markdown>table td {
border: 1px solid #e9e9e9;
padding: 8px 16px;
text-align: left;
}
.markdown>table th {
background: #F7F7F7;
}
.markdown blockquote {
font-size: 90%;
color: #999;
border-left: 4px solid #e9e9e9;
padding-left: 0.8em;
margin: 1em 0;
}
.markdown blockquote p {
margin: 0;
}
.markdown .anchor {
opacity: 0;
transition: opacity 0.3s ease;
margin-left: 8px;
}
.markdown .waiting {
color: #ccc;
}
.markdown h1:hover .anchor,
.markdown h2:hover .anchor,
.markdown h3:hover .anchor,
.markdown h4:hover .anchor,
.markdown h5:hover .anchor,
.markdown h6:hover .anchor {
opacity: 1;
display: inline-block;
}
.markdown>br,
.markdown>p>br {
clear: both;
}
.hljs {
display: block;
background: white;
padding: 0.5em;
color: #333333;
overflow-x: auto;
}
.hljs-comment,
.hljs-meta {
color: #969896;
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
color: #df5000;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #a71d5d;
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
color: #0086b3;
}
.hljs-section,
.hljs-name {
color: #63a35c;
}
.hljs-tag {
color: #333333;
}
.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #795da3;
}
.hljs-addition {
color: #55a532;
background-color: #eaffea;
}
.hljs-deletion {
color: #bd2c00;
background-color: #ffecec;
}
.hljs-link {
text-decoration: underline;
}
/* 代码高亮 */
/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
... ...
此 diff 太大无法显示。
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1589882735025'); /* IE9 */
src: url('iconfont.eot?t=1589882735025#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAacAAsAAAAAC/QAAAZOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDXgqKPIhEATYCJAMcCxAABCAFhG0HaBskCsgOJaHAwABgoABmPHy/H+3c996XNU2SXJLo9AUPCZ9OJFGXkKlUumgXne6JRtsh3LQ7Qi3B2q3iaSdOZSpULTCxAAkw9EOYKDydOWUqdCZOMhPhj3uVs84DNp99i8uaA/ekxHKhCRSwPbqtFmyxmgJgkbuIZ3Gh4pybTxPoNKE5eJJTVAVCFUwQOOqeQUeC0EyptOBDK6lr9hYQj0CQNk0UnAfAmf39+AsyIxRIqgzY2tMb2VrQ7Ufosz+IM+DUV6vBuu3pMThExiKgEA9rjQ8A4vmLVthZN1noMqBXK6m39VjsWfKzBs9aPfsTCJDns87Qyw3EgTpl9b7+eDWgwm6Mux6q+REqEYIfGELiRzJCxY8GCJkfrZjrif5g9tMlbPSeXowA8RiAtAKYeNEas+punJeU7QzYEAsLi8AkMhkqEsnTY5MzoBmeOhe97nqc1xvlbVpycW+U+X92F63m5Vv5uEuH4JzlSuXiBVHek3W92+uv9BPLiEiuM8flqub563tOt9rOKw8qo3g5f73RHN/kVZE1y1KIRWBybZGHI45wDbDoS/sia5oU79kTCUfcelT/wQ3CA8AnLpo4tzxK2Ynno2EN5ovmuMnXVasm74PQpeV5JcZNVWF+P+3aNHmDc/2kjaoFTk9Oqtu03e+v8qJ1rz9uwHGE7vp11fWineNIUSUdo8R2nh8mAfGDAl9KvoPQ7x++/XKCcNGV1tJd15KDFl9tM7R3zxJdLxVRpOxzkk9dcT33BJey1K9cWVvrXLMG8x1yHRyhXj2p/sCVm2PnHcAwwWooLBO6fBg2eRUAixsQF8QmH4pfsLXK40HRSfuBwOq9UXD7fHR/AkCf6NkIEddBFPV65y+I1syJJGvmjUDhaSQA9On5BMGiC0e1/1IysviidudB16HJB5z7+4jg6GeAEz6Q8o7gk1Rtm/nS7Ud92rsDy2xcJVqg+nk1nUwltFhQjaibJFsN9X/HDXzgRbubL/d//SHf0irH4B6gXtSjfMoiEHMor1d/88cZXXr3K8/Rt1LQEtXNvvtk7In6K8vRVSvX/Nph8I/iMJZfMiG9L+0JsivUQPNyzoW71QDs/DvWttOoUVOT4re2hX2DQjbVW7bbs7S4GFFmFhfRQ3sWbmyEzEJtgcXBp12fT41qNlyaIY11hPpD+gLmPmZKTPW1E7okzJRsBv+NzW7oblvd0PMxDnM3nN22f4+CRPGOyInHNy4XbEb37IgYvkpiK/rbZVDTWxHbn0vUIKA3wekzBCahWbtyCbIQoVcG3xquI2KvktDthiRUu/8nBYQnMGdANSTdbtD6uXN3NuzTB2bvFjTclg2zRWmP99iIkN0hhG23vaPU3sCf/SKpTwP95e6OJaO2jM9WhzZi8gpDQvIKGGdhYUxsYUG7E7LDifUSj0RsbtW2Feicypb/KkovUhdNqzRN+4InrK8Lys7KQN3/IqmoQCp/ROafE/kEwDH88zRTVRNFk99ockxqzHosIJ4uDmA/hLJuBd1kwh8itP4wbGuLTYlJnvFLQVYv+/X8OV5TTYL0dbRZKawcZu0DOU1PhZWlzbphcDIQHQTb8yDWiOz2W/Gn4I/i90BSVIoUZjuddAtSCgYDOCeQYQgmjkGuImNQTpSTWFtAvh5+kHsjyX+jeeL90/0DpJ2+hmKflJ7vLy9biOOcEIL1mP8FETDrT8MC1pU5h6maMi0tmUBy45Ygf0Inb+GvYh10b3viETDrfykeiZA0xiFrTaIKbhEqXTah1tqHTgtyD3cZwkBECQPMG4sg9NsESa9nkPW7gCq4u1AZ9RZq/YFAp6tR58wu02FAFQxFspQWVw/DDRqrhRYaFnXRFZTOYSKZlGMJSoqxGzx4hjy9GMmlLBSzjQ32wbpMlqVxmrGa8Rz0PMpksuI2xjqI0rByPcvaOqSl0XXvkGusZoA6xqCQWBQtnNowTW2gYWVBd2ehpcdXoOg4mJCYlqIzaiUKw84wPi6DXDoAlSu0gIoeS6LdYDqZWKKn4TKTYWWGyyF6iokHrXC2+lmDUDRYcvo1/DYdpJFmNFQo37/Y/DiPQCf2sSYEEIFCGASDYQgMBV13KdqhNZAWvYMU3Ym3t7BTzGCDhhIOsWopIeswOoKHG4Y5SAs61ODQkQYzN5AAAAAA') format('woff2'),
url('iconfont.woff?t=1589882735025') format('woff'),
url('iconfont.ttf?t=1589882735025') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1589882735025#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-kefudianhua:before {
content: "\e608";
}
.icon-icon-service:before {
content: "\e60b";
}
.icon-wode:before {
content: "\e625";
}
.icon-tuku:before {
content: "\e6fc";
}
.icon-ziyuan:before {
content: "\e61f";
}
.icon-xiugaimima:before {
content: "\e634";
}
... ...
不能预览此文件类型
!function(e){var t,c,n,o,a,i,l,d='<svg><symbol id="icon-kefudianhua" viewBox="0 0 1024 1024"><path d="M709.54875 979.8822 709.54875 979.8822c68.122517 0 110.282732-26.285666 118.075209-31.550577 39.387056-26.755364 62.61406-107.237373 57.377802-135.455041-2.921539-15.692401-13.394055-19.816325-17.746176-20.866237-8.280594-3.347235-59.114352-37.790698-96.250134-63.009056-74.514087-50.561559-97.650017-65.643046-107.602693-68.033489l-6.42227-0.700965c-12.298094 0-34.884508 6.744611-108.181885 56.269561-18.871813-10.958586-84.110653-87.560218-124.198673-140.738371-37.897122-64.453964-78.502935-144.818293-81.911568-167.980829 74.728982-51.123354 91.288123-70.695109 93.479021-85.444021 1.49198-9.999748-3.774977-37.135782-22.586414-125.227096-9.405207-44.228317-22.342868-104.787578-22.190395-114.665553 0.883113-5.569856-1.12666-11.976776-5.722328-17.228383-17.442254-19.907399-73.603345-20.485567-79.902818-20.485567-18.111496 0-51.869345 2.252297-74.211189 17.425881-7.519254 5.098111-181.998077 128.408555-35.58445 447.170482 11.018961 32.602535 40.880059 85.155449 90.496084 159.169139l3.744277 4.978385c47.5162 71.212902 84.83413 118.499881 111.956861 142.119835C529.072329 951.223486 639.477858 979.8822 709.54875 979.8822L709.54875 979.8822zM851.48746 822.097594c0.943488 19.329231-18.141172 81.046874-43.437302 98.214882-3.803629 2.618641-39.388079 25.567305-98.471732 25.567305-63.192228 0-163.612335-26.801413-283.242969-154.524352-25.873274-22.571065-62.33879-69.113077-109.703541-139.610688l-3.744277-4.901637c-45.019333-67.772546-74.240865-119.081119-84.804455-149.901055C92.779591 202.243167 244.643348 94.700849 251.156692 90.273003c10.593266-7.138584 30.986735-11.43033 54.66911-11.43033 24.13877 0 43.528376 4.29277 51.351552 7.655354 1.095961 14.747889 7.487531 46.238091 22.706141 117.724215 9.376555 44.047192 22.282492 104.361883 22.099321 114.178459-1.095961 0.943488-11.901051 15.995299-83.768869 64.821331-11.811 8.020674-33.513278 22.768563 77.68122 211.343429 44.898583 59.674101 123.132388 157.02122 155.093311 157.065222l5.327332 0 7.366781-3.818979c73.358775-49.90562 90.738607-53.299927 93.480045-53.482075 6.390547 3.074012 57.164954 37.561477 94.299713 62.751183C811.490513 797.793048 838.154803 815.4635 851.48746 822.097594L851.48746 822.097594zM851.48746 822.097594" ></path></symbol><symbol id="icon-icon-service" viewBox="0 0 1024 1024"><path d="M974.871011 445.48713C933.15627 3.212206 512.004531 16.486817 512.004531 16.486817 117.475516 32.593762 57.311845 345.44022 48.206694 448.943724c-1.038086 4.349691-1.602942 8.883639-1.602942 13.550494l0 16.481501c-0.017117 1.907017 0 2.909862 0 2.909862l0 90.400062-0.008055 0 0 64.948331 0.044302 0c33.015359 216.411201 232.665149 310.052386 232.665149 310.052386l77.565454 77.565454c70.862702-23.482288 38.783734-77.565454 38.783734-77.565454l-77.567468-77.567468-38.78172 38.783734C112.948616 799.357614 85.621081 638.410002 85.394534 637.049717l0.098674-3.317646c6.035196 2.11846 12.52147 3.286433 19.286649 3.286433 15.851199 0 30.204171-6.341285 40.690751-16.610381 55.204823 157.50008 209.272473 249.308756 366.495662 249.308756 158.735512 0 311.120678-86.738065 366.208703-249.653107 10.517793 10.474498 25.022803 16.954731 41.053225 16.954731 32.15549 0 58.173084-26.057868 58.173084-58.175097L977.401282 462.494219C977.402289 456.577834 976.514227 450.867858 974.871011 445.48713zM508.255943 718.221789c-123.24526 0-205.809837-86.808546-220.656177-231.298822l29.085535 0c23.557803 111.76691 87.339168 167.669495 191.341075 167.669495 103.965659 0 167.707756-55.902585 191.30382-167.669495l30.034009 0C714.51988 631.413243 631.42166 718.221789 508.255943 718.221789zM344.676366 346.939453c0-35.715792 20.147525-64.651303 45.03138-64.651303 24.8466 0 44.995132 28.935511 44.995132 64.651303 0 35.714785-20.149539 64.650296-44.995132 64.650296C364.823891 411.58975 344.676366 382.654239 344.676366 346.939453zM587.034679 346.522608c0-35.678538 20.149539-64.614049 44.993118-64.614049 24.8466 0 45.0344 28.935511 45.0344 64.614049 0 35.714785-20.1878 64.650296-45.0344 64.650296C607.184218 411.173911 587.034679 382.238401 587.034679 346.522608zM919.229205 404.319121c-8.97023 0-17.460181 2.031869-25.042941 5.652584C865.406819 230.127104 727.628357 94.052271 511.967277 94.052271c-237.586743 9.28236-355.090814 157.823286-381.791067 316.089595-7.671364-3.72845-16.287175-5.822745-25.395346-5.822745-2.513155 0-4.982007 0.17721-7.411591 0.485313C174.749462 50.927909 512.004531 55.269544 512.004531 55.269544c298.570009 12.738955 388.414276 230.226503 415.275629 349.616446C924.648195 404.521503 921.962865 404.319121 919.229205 404.319121z" ></path></symbol><symbol id="icon-wode" viewBox="0 0 1024 1024"><path d="M512 535.272727c141.963636 0 256-114.036364 256-256S730.763636 0 512 0c-214.109091 0-256 137.309091-256 279.272727s114.036364 256 256 256z m232.727273 23.272728H279.272727C151.272727 558.545455 46.545455 663.272727 46.545455 791.272727s104.727273 232.727273 232.727272 232.727273h465.454546c128 0 232.727273-104.727273 232.727272-232.727273s-104.727273-232.727273-232.727272-232.727272z" fill="#666666" ></path></symbol><symbol id="icon-tuku" viewBox="0 0 1024 1024"><path d="M860.096 1024H163.904A164.032 164.032 0 0 1 0 860.096V163.904A164.032 164.032 0 0 1 163.904 0h696.192A164.032 164.032 0 0 1 1024 163.904V860.16A164.032 164.032 0 0 1 860.096 1024zM163.904 69.44c-52.096 0-94.464 42.368-94.464 94.464V860.16c0 52.032 42.368 94.464 94.464 94.464h696.192c52.032 0 94.464-42.368 94.464-94.464V163.904c0-52.032-42.368-94.464-94.464-94.464H163.904z" ></path><path d="M612.992 874.176L400.448 548.032l-233.216 287.04-53.888-43.84 293.248-360.896 209.792 321.792 117.376-160.384 126.272 178.176-56.704 40.128-70.528-99.456zM742.016 414.912a134.592 134.592 0 0 1 0-269.056c74.112 0 134.528 60.288 134.528 134.528s-60.416 134.528-134.528 134.528z m0-199.552a65.152 65.152 0 1 0 0 130.304 65.152 65.152 0 0 0 0-130.304z" ></path></symbol><symbol id="icon-ziyuan" viewBox="0 0 1024 1024"><path d="M975.525755 303.590216L557.453813 53.041727a88.402878 88.402878 0 0 0-90.907626 0l-418.071942 250.47482a87.518849 87.518849 0 0 0-40.517986 96.653813 91.275971 91.275971 0 0 0 89.434245 67.628201h27.331223a0.515683 0.515683 0 0 1 0.515683 0.515684v427.280575a88.402878 88.402878 0 0 0 88.402878 87.592518h143.654676a88.402878 88.402878 0 0 0 88.402878-87.592518V648.28777a29.025612 29.025612 0 0 1 29.467626-28.657266h73.669064a29.025612 29.025612 0 0 1 29.467626 28.657266v247.970072a88.402878 88.402878 0 0 0 88.402878 87.592518H810.359712a88.402878 88.402878 0 0 0 88.402878-87.592518v-427.280576a0.515683 0.515683 0 0 1 0.515683-0.515683h27.331223a91.275971 91.275971 0 0 0 89.434245-67.628202 87.518849 87.518849 0 0 0-40.517986-97.243165z m-17.017554 83.688057a28.436259 28.436259 0 0 1-28.362589 21.658705h-30.867339a59.450935 59.450935 0 0 0-59.450935 59.450936v427.280575a29.467626 29.467626 0 0 1-29.467626 28.657266H666.705036a29.467626 29.467626 0 0 1-29.467626-28.657266V648.28777a88.402878 88.402878 0 0 0-88.402878-87.592518h-73.669064A88.402878 88.402878 0 0 0 386.76259 648.28777v247.970072a29.467626 29.467626 0 0 1-29.467626 28.657266H213.640288c-16.280863 0-29.467626-12.892086-29.467626-87.592518v-368.345324a59.450935 59.450935 0 0 0-59.450935-59.450935h-30.867339a29.467626 29.467626 0 0 1-15.102158-54.809784l418.071943-250.47482a29.467626 29.467626 0 0 1 30.351654 0l418.071943 250.47482a28.509928 28.509928 0 0 1 13.260431 32.561726z" fill="#333333" ></path></symbol><symbol id="icon-xiugaimima" viewBox="0 0 1024 1024"><path d="M771.35 373.67h-43.24v-79.06C728.06 185.5 631.33 97.06 512 97c-119.34 0.06-216.07 88.5-216.13 197.61v79.06h-43.3c-47.68 0.15-86.27 35.45-86.41 79.05v395.2c0.12 43.62 38.75 78.95 86.45 79.08h518.74c47.69-0.11 86.35-35.43 86.48-79.04V452.72c-0.13-43.62-38.79-78.94-86.48-79.05zM512 729.39c-47.7-0.12-86.34-35.45-86.44-79.06 0.13-43.61 38.75-78.93 86.44-79.04 47.69 0.12 86.32 35.43 86.44 79.04-0.11 43.61-38.74 78.94-86.44 79.06z m134-355.72H378v-79.06c0.06-67.64 60.02-122.47 134-122.53 73.98 0.06 133.95 54.88 134 122.53v79.06z m0 0" ></path></symbol></svg>',s=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(s&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}function h(){i||(i=!0,o())}c=function(){var e,t,c,n,o,a=document.createElement("div");a.innerHTML=d,d=null,(e=a.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",t=e,(c=document.body).firstChild?(n=t,(o=c.firstChild).parentNode.insertBefore(n,o)):c.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(c,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),c()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(o=c,a=e.document,i=!1,(l=function(){try{a.documentElement.doScroll("left")}catch(e){return void setTimeout(l,50)}h()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,h())})}(window);
\ No newline at end of file
... ...
{
"id": "",
"name": "",
"font_family": "iconfont",
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "299455",
"name": "客服电话",
"font_class": "kefudianhua",
"unicode": "e608",
"unicode_decimal": 58888
},
{
"icon_id": "712107",
"name": "客服电话",
"font_class": "icon-service",
"unicode": "e60b",
"unicode_decimal": 58891
},
{
"icon_id": "3315400",
"name": "我的",
"font_class": "wode",
"unicode": "e625",
"unicode_decimal": 58917
},
{
"icon_id": "8519513",
"name": "图库",
"font_class": "tuku",
"unicode": "e6fc",
"unicode_decimal": 59132
},
{
"icon_id": "9559082",
"name": "首页",
"font_class": "ziyuan",
"unicode": "e61f",
"unicode_decimal": 58911
},
{
"icon_id": "12959364",
"name": "修改密码",
"font_class": "xiugaimima",
"unicode": "e634",
"unicode_decimal": 58932
}
]
}
... ...
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="kefudianhua" unicode="&#58888;" d="M709.54875-167.8822 709.54875-167.8822c68.122517 0 110.282732 26.285666 118.075209 31.550577 39.387056 26.755364 62.61406 107.237373 57.377802 135.455041-2.921539 15.692401-13.394055 19.816325-17.746176 20.866237-8.280594 3.347235-59.114352 37.790698-96.250134 63.009056-74.514087 50.561559-97.650017 65.643046-107.602693 68.033489l-6.42227 0.700965c-12.298094 0-34.884508-6.744611-108.181885-56.269561-18.871813 10.958586-84.110653 87.560218-124.198673 140.738371-37.897122 64.453964-78.502935 144.818293-81.911568 167.980829 74.728982 51.123354 91.288123 70.695109 93.479021 85.444021 1.49198 9.999748-3.774977 37.135782-22.586414 125.227096-9.405207 44.228317-22.342868 104.787578-22.190395 114.665553 0.883113 5.569856-1.12666 11.976776-5.722328 17.228383-17.442254 19.907399-73.603345 20.485567-79.902818 20.485567-18.111496 0-51.869345-2.252297-74.211189-17.425881-7.519254-5.098111-181.998077-128.408555-35.58445-447.170482 11.018961-32.602535 40.880059-85.155449 90.496084-159.169139l3.744277-4.978385c47.5162-71.212902 84.83413-118.499881 111.956861-142.119835C529.072329-139.223486 639.477858-167.8822 709.54875-167.8822L709.54875-167.8822zM851.48746-10.097594c0.943488-19.329231-18.141172-81.046874-43.437302-98.214882-3.803629-2.618641-39.388079-25.567305-98.471732-25.567305-63.192228 0-163.612335 26.801413-283.242969 154.524352-25.873274 22.571065-62.33879 69.113077-109.703541 139.610688l-3.744277 4.901637c-45.019333 67.772546-74.240865 119.081119-84.804455 149.901055C92.779591 609.756833 244.643348 717.299151 251.156692 721.726997c10.593266 7.138584 30.986735 11.43033 54.66911 11.43033 24.13877 0 43.528376-4.29277 51.351552-7.655354 1.095961-14.747889 7.487531-46.238091 22.706141-117.724215 9.376555-44.047192 22.282492-104.361883 22.099321-114.178459-1.095961-0.943488-11.901051-15.995299-83.768869-64.821331-11.811-8.020674-33.513278-22.768563 77.68122-211.343429 44.898583-59.674101 123.132388-157.02122 155.093311-157.065222l5.327332 0 7.366781 3.818979c73.358775 49.90562 90.738607 53.299927 93.480045 53.482075 6.390547-3.074012 57.164954-37.561477 94.299713-62.751183C811.490513 14.206952 838.154803-3.4635 851.48746-10.097594L851.48746-10.097594zM851.48746-10.097594" horiz-adv-x="1024" />
<glyph glyph-name="icon-service" unicode="&#58891;" d="M974.871 450.513c-41.715 442.275-462.866 429-462.866 429-394.529-16.107-454.693-328.953-463.798-432.457-1.038-4.35-1.603-8.884-1.603-13.55v-16.482c-0.017-1.907 0-2.91 0-2.91v-90.4h-0.008v-64.948h0.044c33.015-216.411 232.665-310.052 232.665-310.052l77.565-77.565c70.863 23.482 38.784 77.565 38.784 77.565l-77.567 77.567-38.782-38.784c-166.357 109.145-193.684 270.093-193.911 271.453l0.099 3.318c6.035-2.118 12.521-3.286 19.287-3.286 15.851 0 30.204 6.341 40.691 16.61 55.205-157.5 209.272-249.309 366.496-249.309 158.736 0 311.121 86.738 366.209 249.653 10.518-10.474 25.023-16.955 41.053-16.955 32.155 0 58.173 26.058 58.173 58.175v116.349c0.001 5.916-0.887 11.626-2.53 17.007zM508.256 177.778c-123.245 0-205.81 86.809-220.656 231.299h29.086c23.558-111.767 87.339-167.669 191.341-167.669 103.966 0 167.708 55.903 191.304 167.669h30.034c-14.844-144.49-97.943-231.299-221.108-231.299zM344.676 549.061c0 35.716 20.148 64.651 45.031 64.651 24.847 0 44.995-28.936 44.995-64.651 0-35.715-20.15-64.65-44.995-64.65-24.884-0-45.031 28.936-45.031 64.65zM587.035 549.477c0 35.679 20.15 64.614 44.993 64.614 24.847 0 45.034-28.936 45.034-64.614 0-35.715-20.188-64.65-45.034-64.65-24.844-0.001-44.993 28.935-44.993 64.65zM919.229 491.681c-8.97 0-17.46-2.032-25.043-5.653-28.779 179.845-166.558 315.919-382.219 315.919-237.587-9.282-355.091-157.823-381.791-316.090-7.671 3.728-16.287 5.823-25.395 5.823-2.513 0-4.982-0.177-7.412-0.485 77.38 353.877 414.635 349.535 414.635 349.535 298.57-12.739 388.414-230.227 415.276-349.616-2.632 0.364-5.317 0.567-8.051 0.567z" horiz-adv-x="1024" />
<glyph glyph-name="wode" unicode="&#58917;" d="M512 360.727273c141.963636 0 256 114.036364 256 256S730.763636 896 512 896c-214.109091 0-256-137.309091-256-279.272727s114.036364-256 256-256z m232.727273-23.272728H279.272727C151.272727 337.454545 46.545455 232.727273 46.545455 104.727273s104.727273-232.727273 232.727272-232.727273h465.454546c128 0 232.727273 104.727273 232.727272 232.727273s-104.727273 232.727273-232.727272 232.727272z" horiz-adv-x="1024" />
<glyph glyph-name="tuku" unicode="&#59132;" d="M860.096-128H163.904A164.032 164.032 0 0 0 0 35.904V732.096A164.032 164.032 0 0 0 163.904 896h696.192A164.032 164.032 0 0 0 1024 732.096V35.84A164.032 164.032 0 0 0 860.096-128zM163.904 826.56c-52.096 0-94.464-42.368-94.464-94.464V35.84c0-52.032 42.368-94.464 94.464-94.464h696.192c52.032 0 94.464 42.368 94.464 94.464V732.096c0 52.032-42.368 94.464-94.464 94.464H163.904zM612.992 21.824L400.448 347.968l-233.216-287.04-53.888 43.84 293.248 360.896 209.792-321.792 117.376 160.384 126.272-178.176-56.704-40.128-70.528 99.456zM742.016 481.088a134.592 134.592 0 0 0 0 269.056c74.112 0 134.528-60.288 134.528-134.528s-60.416-134.528-134.528-134.528z m0 199.552a65.152 65.152 0 1 1 0-130.304 65.152 65.152 0 0 1 0 130.304z" horiz-adv-x="1024" />
<glyph glyph-name="ziyuan" unicode="&#58911;" d="M975.525755 592.409784L557.453813 842.958273a88.402878 88.402878 0 0 1-90.907626 0l-418.071942-250.47482a87.518849 87.518849 0 0 1-40.517986-96.653813 91.275971 91.275971 0 0 1 89.434245-67.628201h27.331223a0.515683 0.515683 0 0 0 0.515683-0.515684v-427.280575a88.402878 88.402878 0 0 1 88.402878-87.592518h143.654676a88.402878 88.402878 0 0 1 88.402878 87.592518V247.71223a29.025612 29.025612 0 0 0 29.467626 28.657266h73.669064a29.025612 29.025612 0 0 0 29.467626-28.657266v-247.970072a88.402878 88.402878 0 0 1 88.402878-87.592518H810.359712a88.402878 88.402878 0 0 1 88.402878 87.592518v427.280576a0.515683 0.515683 0 0 0 0.515683 0.515683h27.331223a91.275971 91.275971 0 0 1 89.434245 67.628202 87.518849 87.518849 0 0 1-40.517986 97.243165z m-17.017554-83.688057a28.436259 28.436259 0 0 0-28.362589-21.658705h-30.867339a59.450935 59.450935 0 0 1-59.450935-59.450936v-427.280575a29.467626 29.467626 0 0 0-29.467626-28.657266H666.705036a29.467626 29.467626 0 0 0-29.467626 28.657266V247.71223a88.402878 88.402878 0 0 1-88.402878 87.592518h-73.669064A88.402878 88.402878 0 0 1 386.76259 247.71223v-247.970072a29.467626 29.467626 0 0 0-29.467626-28.657266H213.640288c-16.280863 0-29.467626 12.892086-29.467626 87.592518v368.345324a59.450935 59.450935 0 0 1-59.450935 59.450935h-30.867339a29.467626 29.467626 0 0 0-15.102158 54.809784l418.071943 250.47482a29.467626 29.467626 0 0 0 30.351654 0l418.071943-250.47482a28.509928 28.509928 0 0 0 13.260431-32.561726z" horiz-adv-x="1024" />
<glyph glyph-name="xiugaimima" unicode="&#58932;" d="M771.35 522.33h-43.24v79.06C728.06 710.5 631.33 798.94 512 799c-119.34-0.06-216.07-88.5-216.13-197.61v-79.06h-43.3c-47.68-0.15-86.27-35.45-86.41-79.05v-395.2c0.12-43.62 38.75-78.95 86.45-79.08h518.74c47.69 0.11 86.35 35.43 86.48 79.04V443.28c-0.13 43.62-38.79 78.94-86.48 79.05zM512 166.61c-47.7 0.12-86.34 35.45-86.44 79.06 0.13 43.61 38.75 78.93 86.44 79.04 47.69-0.12 86.32-35.43 86.44-79.04-0.11-43.61-38.74-78.94-86.44-79.06z m134 355.72H378v79.06c0.06 67.64 60.02 122.47 134 122.53 73.98-0.06 133.95-54.88 134-122.53v-79.06z m0 0" horiz-adv-x="1024" />
</font>
</defs></svg>
... ...
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
*{
margin:0;
padding:0;
}
html,body,#app{
width:100%;
height:100%;
}
\ No newline at end of file
... ...
<template>
<div class="details">
<router-link to='/xiangQing' class="details1" v-for="item in arr" :key="item.id">
<!-- <div class="details1" v-for="item in arr" :key="item.id" > -->
<div class="details2">
<img :src="item.avatar" alt="" @click="goFangDa">
</div>
<p>{{item.nickname}}</p>
<div class="block">{{item.about_me}}</div>
<!-- </div> -->
</router-link>
</div>
</template>
<script>
export default {
name: 'Details',
props: {
},
data () {
return {
arr: []
}
},
mounted: function(){
this.getData()
},
created () {
},
methods: {
goFangDa () {
this.$router.push("/fangDa");
},
//获取数据
getData(){
let that = this
this.$axios.post('/api/Index/shouye',{
city: ''
}).then(res=>{
// this.msg=res.data.msg;
that.arr = res.data.data;
console.log(res)
}).catch(e=>{
console.log(e);
})
}
}
}
</script>
<style scoped lang="scss">
.details{
width:100%;
margin-top:0.6rem;
display: flex;
// flex-direction: column;
flex-wrap:wrap;
min-height:0rem;
overflow-y:scroll;
flex: 1;
.details1{
width:35%;
height:1.4rem;
background:#fff;
border-radius:.25rem;
margin:0rem 0.03rem 0.03rem 0.11rem;
padding:5%;
.details2{
width:.4rem;
height:.4rem;
border-radius:.5rem;
// background:red;
float:left;
margin-right:.1rem;
img{
width:100%;
height:100%;
border-radius:.5rem;
float:left;
margin-right:.1rem;
}
}
p{
font-size:.14rem;
line-height:.4rem;
}
.block{
width:1.3rem;
height:1rem;
// background:blue;
font-size:.15rem;
color:#3D444C;
margin-top:.1rem;
}
}
}
</style>
... ...
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<p>
For a guide and recipes on how to configure / customize this project,<br>
check out the
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
</p>
<h3>Installed CLI Plugins</h3>
<ul>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
</ul>
<h3>Essential Links</h3>
<ul>
<li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
<li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
<li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
<li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
<li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
</ul>
<h3>Ecosystem</h3>
<ul>
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
</ul>
</div>
</template>
<script>
export default {
name: 'HelloWorld',
props: {
msg: String
}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
</style>
... ...
<template>
<div class="details">
<van-popup v-model="showHidden" round position="bottom" :style="{ height: '20%' }" close-on-click-overlay @hide="show" >
<button class="btn" >相机</button>
<button class="btn" @click="go">相册</button>
<button class="btn">取消</button>
</van-popup>
</div>
</template>
<script>
export default {
name: 'Details',
props: {
},
data () {
return {
showHidden:""
}
},
methods :{
go () {
this.$router.push("/photo");
}
}
}
</script>
<style lang="scss" scoped>
button{
width:100%;
height:0.45rem;
font-size:.25rem;
text-align:center;
line-height:.45rem;
display:block;
}
</style>
... ...
<template>
<div class="tarbar">
<router-link to="./show" exact active-class="active" tag="li"><i class="iconfont icon-ziyuan"></i><p>首页</p></router-link>
<router-link to="/my" tag="li" active-class="active" ><i class="iconfont icon-wode"></i><p>我的</p></router-link>
</div>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
.tarbar{
position:fixed;
bottom:0;
z-index:1;
background:#FFFFFF;
width:100%;
height:.88rem;
display:flex;
justify-content:center;
align-items:center;
li{
width:50%;
height:.88px;
list-style:none;
text-decoration:none;
display:flex;
justify-content:center;
align-items:center;
flex-direction: column;
.iconfont{
width:40px;
height:40px;
display:flex;
justify-content:center;
align-items:center;
}
p{
font-size:14px;
}
}
.active{
color:#11A7FC;
}
}
</style>
... ...
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import Axios from 'axios'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/font/iconfont.css'
import './assets/style/reset.css'
import '@/utils/rem.js'
import '@/utils/filters.js'
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.config.productionTip = false
Axios.defaults.baseURL = '/api/'
Vue.prototype.$axios=Axios
//添加请求拦截器
Axios.interceptors.request.use(function (config) {
  // 在发送请求之前做些什么
  return config
}, function (error) {
  // 对请求错误做些什么
return Promise.reject(error)
});
//添加响应拦截器
Axios.interceptors.response.use(function(response){
return response;
},function(erros){
return Promise.reject(error);
});
Vue.use(ElementUI)
Vue.use(Vant)
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
... ...
import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
Vue.use(Router)
export default new Router({
// mode: 'history',
// base: process.env.BASE_URL,
routes: [
{
path: '/',
name: 'home',
component: Home,
children: [
{
path: '/show',
name: 'show',
component: () => import('./views/Show.vue')
},
{
path: '/my',
name: 'my',
component: () => import('./views/My.vue')
}
]
},
{
path: '/login',
name: 'login',
component: () => import('./views/Login.vue')
},
{
path: '/register',
name: 'register',
component: () => import('./views/Register.vue')
},
{
path: '/forget',
name: 'forget',
component: () => import('./views/Forget.vue')
},
{
path: '/sheZhi',
name: 'sheZhi',
component: () => import('./views/SheZhi.vue')
},
{
path: '/data',
name: 'data',
component: () => import('./views/Data.vue')
},
{
path: '/condition',
name: 'condition',
component: () => import('./views/Condition.vue')
},
{
path: '/introduction',
name: 'introduction',
component: () => import('./views/Introduction.vue')
},
{
path: '/photoz',
name: 'Photoz',
component: () => import('./views/Photoz.vue')
},
{
path: '/photo',
name: 'photo',
component: () => import('./views/Photo.vue')
},
{
path: '/profile',
name: 'profile',
component: () => import('./views/Profile.vue')
},
{
path: '/upload',
name: 'upload',
component: () => import('./views/Upload.vue')
},
{
path: '/admireMe',
name: 'admireMe',
component: () => import('./views/AdmireMe.vue')
},
{
path: '/MeAdmire',
name: 'MeAdmire',
component: () => import('./views/MeAdmire.vue')
},
{
path: '/myAlbum',
name: 'myAlbum',
component: () => import('./views/MyAlbum.vue')
},
{
path: '/pay',
name: 'pay',
component: () => import('./views/Pay.vue')
},
{
path: '/changePassword',
name: 'changePassword',
component: () => import('./views/ChangePassword.vue')
},
{
path: '/loginSuccessful',
name: 'loginSuccessful',
component: () => import('./views/LoginSuccessful.vue')
},
{
path: '/myProfile',
name: 'myProfile',
component: () => import('./views/MyProfile.vue')
},
{
path: '/seniorMember',
name: 'seniorMember',
component: () => import('./views/SeniorMember.vue')
},
{
path: '/fangDa',
name: 'fangDa',
component: () => import('./views/FangDa.vue')
},
{
path: '/xiangQing',
name: 'xiangQing',
component: () => import('./views/XiangQing.vue')
}
]
})
... ...
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
},
mutations: {
},
actions: {
}
})
... ...
import Vue from 'vue'
// 使用
// {{变量}}
// {{变量 | 过滤器名称}}
// 管道前面的数据 默认是第一个形参
Vue.filter('filterFn', (data) => {
// <!-- 商品状态 0: 未通过 1: 审核中 2: 已审核 -->
if (data == 0 || data == null) {
return "未通过";
} else if (data == 1) {
return "审核中";
} else {
return "已审核";
}
})
Vue.filter('formatDateFn', (param) => {
var date = new Date(param); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
var year = date.getFullYear(),
month = ("0" + (date.getMonth() + 1)).slice(-2),
sdate = ("0" + date.getDate()).slice(-2),
hour = ("0" + date.getHours()).slice(-2),
minute = ("0" + date.getMinutes()).slice(-2),
second = ("0" + date.getSeconds()).slice(-2);
// 拼接
var result =
year +
"-" +
month +
"-" +
sdate +
" " +
hour +
":" +
minute +
":" +
second;
return result;
})
... ...
function rem() {// 监控页面尺寸变化重新计算REM
document.documentElement.style.fontSize =
document.documentElement.clientWidth / 3.75 + 'px'
}
rem()
window.onresize = rem
... ...
<template>
<div class="home">心仪我</div>
</template>
<script>
export default {
name: 'home',
components: {
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
}
</style>
... ...
<template>
<div class="forget">
<h2 @click="back"><</h2>
<h1>修改密码</h1>
<input type="tel" v-model=" phone"
required placeholder="请输入旧密码"><hr />
<input type="number" placeholder="请输入新证码"> <hr />
<input type="number" placeholder="请再次输入新密码"><hr />
<!-- <p @click="goRegister">去注册</p> -->
<div class="footer" >保存</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
data () {
return {
phone:''
}
},
methods: {
back () {
this.$router.go(-1);
},
goRegister () {
this.$router.push('/register');
}
},
watch: {
' phone': function (newValue, oldValue) {
this.phone = newValue.replace(/[^\d]/g, '').substring(0, 11)
}
}
}
</script>
<style lang="scss" scoped>
.forget{
width:100%;
height:95%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
}
h1{
font-size:0.3rem;
color:#fff;
margin:20% 0;
margin-left:5%;
}
input{
width:96%;
margin-left:0%;
height:0.4rem;
font-size:0.2rem;
border:none;//去除边框
display:block;
margin-bottom:0.1rem;
margin-top:.1rem;
font-weight:bold;
padding-left:3%;
background-color:#11A7FC;
color:#fff;
// margin-right:2%;
}
hr{
margin-right:6%;
opacity:0.3;
}
p{
font-size:0.18rem;
color:#fff;
margin-top:5%;
margin-left:80%;
}
.footer{
width:94%;
height:0.48rem;
font-size:.2rem;
background:#fff;
color:#11A7FC;
text-align:center;
line-height:0.48rem;
border-radius:.2rem;
margin-top:.4rem;
font-weight:bold;
}
}
</style>
... ...
<template>
<div class="introduction">
<h2 @click="back"><</h2>
<h1>择偶条件</h1>
<van-field
v-model="message"
rows="6"
autosize
type="textarea"
maxlength="100"
placeholder="填写择偶条件,找到那个TA~"
show-word-limit
/>
<div class="btn" @click="go">下一步</div>
</div>
</template>
<script>
export default {
name: 'introduction',
components: {
},
data () {
return {
message:''
}
},
methods:{
back () {
this.$router.go(-1);
},
go () {
this.$router.push('photo')
}
}
}
</script>
<style lang="scss" scoped>
.introduction{
width:100%;
height:100%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
h1{
font-size:.28rem;
color:#ccc;
}
.van-field{
margin-top:.3rem;
width:90%;
height:1.9rem;
border-radius:.2rem;
}
.btn{
width:90%;
height:.4rem;
background:#fff;
font-size:.2rem;
color:#11A7FC;
line-height:.4rem;
text-align:center;
margin-top:.9rem;
font-weight:bold;
border-radius:.2rem;
}
}
</style>
... ...
<template>
<div class="data">
<div class="header">
<h2 @click="back1"><</h2><h1>详细资料</h1>
</div>
<div class="nav">
<img src="" alt="">
</div>
<div class="center">
<div class="center1"><input type="text" placeholder="* 姓名"><p>请填写</p></div>
<div class="center2"><input type="text" placeholder="* 性别">
<van-dropdown-menu slot="dropdown" style="background-color: #11A7FC;" active-color="#11A7FC">
<van-dropdown-item v-model="value1" :options="option1" title="请选择" style="color:#fff;" />
</van-dropdown-menu>
</div>
<div class="center3"><input type="number" placeholder="* 年龄">
<van-dropdown-menu >
<van-dropdown-item v-model="value2" :options="option2" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center4"><input type="text" placeholder="* 生肖" >
<van-dropdown-menu >
<van-dropdown-item v-model="value3" :options="option3" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center5"><input type="text" placeholder="* 星座" >
<van-dropdown-menu >
<van-dropdown-item v-model="value4" :options="option4" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center6"><input type="text" placeholder="* 民族"><p>请填写</p></div>
<div class="center7"><input type="number" placeholder="* 身高(cm)" >
<van-dropdown-menu >
<van-dropdown-item v-model="value5" :options="option5" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center8"><input type="number" placeholder="* 体重(kg)" >
<van-dropdown-menu >
<van-dropdown-item v-model="value6" :options="option6" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center9"><input type="text" placeholder="* 城市"><p>请填写</p></div>
<div class="center10"><input type="number" placeholder="* 学历(全日制)" >
<van-dropdown-menu >
<van-dropdown-item v-model="value7" :options="option7" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center11"><input type="number" placeholder="* 毕业院校(全日制)" >
<van-dropdown-menu >
<van-dropdown-item v-model="value8" :options="option8" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center12"><input type="text" placeholder="* 专业"><p>请填写</p></div>
<div class="center13"><input type="number" placeholder="* 户籍地" >
<van-dropdown-menu >
<van-dropdown-item v-model="value9" :options="option9" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center14"><input type="number" placeholder="* 婚姻状况" >
<van-dropdown-menu >
<van-dropdown-item v-model="value10" :options="option10" title="请选择" />
</van-dropdown-menu>
</div>
<div class="center15"><input type="text" placeholder="* 工作单位"><p>请填写</p></div>
<div class="center16"><input type="text" placeholder="* 职务"><p>请填写</p></div>
<div class="center17"><input type="text" placeholder="* 年收入(万)"><p>请填写</p></div>
<div class="center18"><input type="text" placeholder="* 微信"><p>请填写</p></div>
<div class="btn" @click="goBu">下一步</div>
</div>
</div>
</template>
<script>
export default {
name:'data',
components: {
},
data () {
return {
value1:0,
value2:0,
value3:0,
value4:0,
value5:0,
value6:0,
value7:0,
value8:0,
option1: [
{ text: '不限', value: 0 },
{ text: '男', value: 1 },
{ text: '女', value: 2 }
],
option2: [
{ text: '22', value: 0 },
{ text: '23', value: 1 },
{ text: '24', value: 2 },
{ text: '25', value: 3 },
{ text: '26', value: 4 },
{ text: '27', value: 5 },
{ text: '28', value: 6 }
],
option3: [
{ text: '鼠', value: 0 },
{ text: '牛', value: 1 },
{ text: '虎', value: 2 },
{ text: '兔', value: 3 },
{ text: '龙', value: 4 },
{ text: '蛇', value: 5 },
{ text: '马', value: 6 },
{ text: '羊', value: 7 },
{ text: '猴', value: 8 },
{ text: '鸡', value: 9 },
{ text: '狗', value: 10 },
{ text: '猪', value: 11 }
],
option4: [
{ text: '白羊座', value: 0 },
{ text: '金牛座', value: 1 },
{ text: '双子座', value: 2 },
{ text: '巨蟹座', value: 3 },
{ text: '狮子座', value: 4 },
{ text: '处女座', value: 5 },
{ text: '天秤座', value: 6 },
{ text: '天蝎座', value: 7 },
{ text: '射手座', value: 8 },
{ text: '摩羯座', value: 9 },
{ text: '水瓶座', value: 10 },
{ text: '双鱼座', value: 11 }
]
}
},
methods : {
back1(){
this.$router.go(-1);
},
goBu (){
this.$router.push('/introduction');
}
}
}
</script>
<style lang="scss" scoped>
.data{
width:100%;
height:175%;
overflow:hidden;
background:#11A7FC;
padding-top:10%;
padding-left:5%;
.header{
width:90%;
height:.3rem;
// background:red;
margin-bottom:.3rem;
h1{
font-size:.2rem;
line-height:.3rem;
color:#fff;
text-align:center;
}
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
line-height:.3rem;
float:left;
}
}
.nav{
width:22%;
height:6%;
border-radius:50%;
margin-left:33%;
background:#fff;
margin-bottom:.2rem;
}
.center{
width:88%;
height:100%;
// background:#ccc;
margin-left:4%;
.center1{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
text-align:center;
border:none;
}
}
.center2{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
// background-color:#11A7FC;
// background:red;
margin-top:0rem;
font-size:.16rem;
color:#fff;
.van-dropdown-item{
height:.5rem;
width:90%;
font-size:.16rem;
background-color:#11A7FC;
background:red;
}
}
}
.center3{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
// color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:.5rem;
margin-top:0rem;
background-color:#11A7FC;
font-size:.16rem;
// color:#fff;
}
}
.center4{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
font-size:.16rem;
color:#fff;
.van-dropdown-item{
height:.5rem;
font-size:.16rem;
background-color:#11A7FC;
// background:red;
}
}
}
.center5{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
// color:#fff;
.van-dropdown-item{
height:.5rem;
background-color:#11A7FC;
// background:red;
}
}
}
.center6{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.center7{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
color:#fff;
.van-dropdown-item{
height:.6rem;
background-color:#11A7FC;
// background:red;
}
}
}
.center8{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
color:#fff;
.van-dropdown-item{
height:.5rem;
background-color:#11A7FC;
// background:red;
}
}
}
.center9{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.center10{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
color:#fff;
.van-dropdown-item{
height:.5rem;
background-color:#11A7FC;
background:red;
}
}
}
.center11{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
color:#fff;
.van-dropdown-item{
height:.5rem;
background-color:#11A7FC;
// background:red;
}
}
}
.center12{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.center13{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
// background:red;
border:none;
// color:#fff;
.van-dropdown-item{
height:.5rem;
background-color:#11A7FC;
// background:red;
}
}
}
.center14{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
.el-dropdown-menu__item--divided:before{
border: 1px solid #11A7FC;
background-color:#11A7FC;
}
.van-dropdown-menu{
// width:20%;
height:100%;
background-color:#11A7FC;
border: 1px solid #11A7FC;
// background:red;
color:#fff;
.van-dropdown-item{
height:.5rem;
background-color:#11A7FC;
color:#fff;
}
}
}
.center15{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.center16{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.center17{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.center18{
width:100%;
height:.5rem;
// background:pink;
border-bottom:1px solid #fff;
// border:none;
input{
width:70%;
height:.5rem;
font-size:.16rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
float:left;
}
p{
font-size:.16rem;
color:#000;
line-height:.5rem;
background-color:#11A7FC;
border:none;
text-align:center;
}
}
.btn{
width:100%;
height:.5rem;
background:#fff;
line-height:.5rem;
color:#11A7FC;
text-align:center;
font-size:.3rem;
margin-top:.2rem;
border-radius:.2rem;
}
}
}
</style>
<style>
.van-dropdown-menu__item {
background: #11A7FC!important;
color:#fff!important;
}
</style>
... ...
<template>
<div class="fangDa">
<div class="fangDa1" >
<img :src="avatar" alt="">
</div>
<p>1/6</p>
</div>
</template>
<script>
export default {
name: 'introduction',
components: {
},
data () {
return {
// avatar:''
}
},
methods:{
}
}
</script>
<style lang="scss" scoped>
.fangDa{
width:100%;
height:100%;
background:#000;
padding-top:1.75rem;
.fangDa1{
width:100%;
height:3.75rem;
background:rgba(216,216,216,1);
}
p{
width:38px;
height:34px;
font-size:24px;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:50px;
text-align:center;
margin-left:45%;
}
}
</style>
... ...
<template>
<div class="forget">
<h2 @click="back"><</h2>
<h1>重置密码</h1>
<input type="tel" v-model=" phone"
pattern="^1[3456789]\d{9}$" required placeholder="请输入手机号"><hr />
<input type="number" placeholder="请输入验证码"><hr />
<input type="number" placeholder="请输入新密码"><hr />
<p @click="goRegister">去注册</p>
<div class="footer" >保存</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
data () {
return {
phone:''
}
},
methods: {
back () {
this.$router.go(-1);
},
goRegister () {
this.$router.push('/register');
}
},
watch: {
' phone': function (newValue, oldValue) {
this.phone = newValue.replace(/[^\d]/g, '').substring(0, 11)
}
}
}
</script>
<style lang="scss" scoped>
.forget{
width:100%;
height:95%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
}
h1{
font-size:0.3rem;
color:#fff;
margin:20% 0;
margin-left:5%;
}
input{
width:96%;
margin-left:0%;
height:0.4rem;
font-size:0.2rem;
border:none;//去除边框
display:block;
margin-bottom:0.1rem;
margin-top:.1rem;
font-weight:bold;
padding-left:3%;
background-color:#11A7FC;
color:#fff;
// margin-right:2%;
}
hr{
margin-right:6%;
opacity:0.3;
}
p{
font-size:0.18rem;
color:#fff;
margin-top:5%;
margin-left:80%;
}
.footer{
width:94%;
height:0.48rem;
font-size:.2rem;
background:#fff;
color:#11A7FC;
text-align:center;
line-height:0.48rem;
border-radius:.2rem;
margin-top:.2rem;
}
}
</style>
... ...
<template>
<div class="home">
<TarBar></TarBar>
<router-view/>
</div>
</template>
<script>
import TarBar from '../components/tarBar.vue'
export default {
name: 'home',
components: {
TarBar
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
}
</style>
... ...
<template>
<div class="introduction">
<h2 @click="back"><</h2>
<h1>自我介绍</h1>
<van-field
v-model="message"
rows="6"
autosize
type="textarea"
maxlength="100"
placeholder="介绍自己,讲述您的故事~"
show-word-limit
/>
<div class="btn" @click="go">下一步</div>
</div>
</template>
<script>
export default {
name: 'introduction',
components: {
},
data () {
return {
message:''
}
},
methods:{
back () {
this.$router.go(-1);
},
go () {
this.$router.push('condition')
}
}
}
</script>
<style lang="scss" scoped>
.introduction{
width:100%;
height:100%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
h1{
font-size:.28rem;
color:#ccc;
}
.van-field{
margin-top:.3rem;
width:90%;
height:1.9rem;
border-radius:.2rem;
}
.btn{
width:90%;
height:.4rem;
background:#fff;
font-size:.2rem;
color:#11A7FC;
line-height:.4rem;
text-align:center;
margin-top:.9rem;
font-weight:bold;
border-radius:.2rem;
}
}
</style>
... ...
<template>
<div class="register">
<h2 @click="back1"><</h2>
<div class="header">
<img src="../assets/01.png" alt="">
</div>
<div class="center" type=">
<form action="" method="post" onsubmit="return checkForm(this)">
<input id="p_tel" type="text" name="p_tel" placeholder="请输入手机号"/><hr/>
<input id="p_cardid" type="text" name="p_cardid" placeholder="请输入密码" /><hr/>
<div class="footer">
<p @click="goForget">忘记密码</p><p @click="goRegister">注册</p>
</div>
<button type="submit" @click="goLoginSuccessful">登录</button>
</form>
</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
data() {
return {
show: true
}
},
methods: {
back1 () {
this.$router.go(-1);
},
goForget () {
this.$router.push('/forget');
},
goRegister () {
this.$router.push('/register');
},
goLoginSuccessful (){
this.$router.push('/loginSuccessful');
},
checkForm () {
var phone = document.getElementById('p_tel').value;
var cardid=document.getElementById('p_cardid').value;
if(phone==""&&cardid==""){
alert("请输入手机号和身份证号!");return false;
}else if(phone==""){
alert("请输入手机号!");return false;
}else{
if(!(/^1(3|4|5|7|8)\d{9}$/.test(phone))){
alert("手机号码有误,请重新输入");
return false;
}
if(cardid==""){
alert("请输入身份证号!");return false;
}
}
if(!(/^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16}([0-9]|[xX])$/.test(cardid))){
alert("身份证号有误,请重新输入");return false;
}
}
}
}
</script>
<style lang="scss" scoped>
.register{
width:100%;
height:100%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
.van-dialog .bar{
width:90%;
height:1.2rem;background:rgba(217,241,255,1);;
margin-left:5%;
border-radius:.2rem;
padding-top:.2rem;
margin-bottom:.2rem;
margin-top:.2rem;
p{
color:#11A7FC;
text-align:center;
margin-bottom:.2rem;
}
span{
color:#11A7FC;
text-align:center;
display:inline-block;
}
}
p{
text-align:center;
// margin-top:0.2rem;
}
.header{
width:60%;
height:.4rem;
margin-left:25%;
}
.center{
width:80%;
margin-top:.7rem;
margin-left:7%;
input{
width:100%;
height:.5rem;
font-size:.2rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
}
hr{
color:#fff;
opacity:0.3;
}
.footer{
width:100%;
height:0.6rem;
display:flex;
justify-content:space-between;
p{
font-size:.2rem;
color:#fff;
line-height:.6rem;
}
}
button{
width:100%;
height:.5rem;
font-size:0.2rem;
border-radius:.2rem;
color:#11A7FC;
font-weight:bold;
border:none;
}
}
}
</style>
... ...
<template>
<div class="my">
<div class="header">
<div class="header1"><img src="../assets/1.png" alt=""><img src="../assets/5.png" alt="" class="tp" @click="goProfile"></div>
<div class="header2"><p>名字</p><img src="../assets/6.png" alt=""><span>普通会员</span></div>
</div>
<div class="num">
<li><p>0</p><span>我心仪</span></li>
<li><p>0</p><span>心仪我</span></li>
</div>
<div class="banner">
<div class="banner1">
<div class="banner2"><img src="../assets/2.png" alt=""></div>
<h1>高级会员</h1>
<p>拥有专属权益</p>
<div class="banner3" @click="goSeniorMember">
<p>了解详情</p>
</div>
</div>
</div>
<div class="footer">
<ul>
<li><i class="iconfont icon-tuku"></i><p>我的相册</p><span @click="handler">></span></li>
<li><i class="iconfont icon-xiugaimima"></i><p>修改密码</p><span @click="handler1">></span></li>
<li><i class="iconfont icon-kefudianhua"></i><p>客服热线</p><span @click="handler2">></span></li>
</ul>
</div>
<van-popup v-model="show" position="bottom" round :style="{ height: '22%' }">
<h1>400-888-8888</h1>
<p>(服务时间9:00-20:00)</p>
<div class="btn">取消</div>
</van-popup>
<button @click="goShow">退出登录</button>
</div>
</template>
<script>
export default {
name: 'my',
components: {
}, data() {
return {
show: false,
}
},
methods: {
handler () {
this.$router.push('/myAlbum')
},
handler1 () {
this.$router.push('/changePassword')
},
handler2 () {
this.show=true;
},
goProfile() {
this.$router.push('/myProfile');
},
goShow () {
this.$router.push('/show');
},
goSeniorMember (){
this.$router.push('/seniorMember')
}
}
}
</script>
<style lang="scss" scoped>
.my{
width:100%;
height:100%;
background:#11A7FC;
.header{
width:100%;
height:.94rem;
// background:#fff;
// margin:30px;
.header1{
width:0.64rem;
height:0.64rem;
// margin:0 16px;
margin:0.3rem;
border-radius:50%;
// background:#FFF;
float:left;
position:relative;
img{
width:100%;
height:100%;
margin-bottom:0.45rem;
}
.tp{
width:.18rem;
height:.18rem;
position:absolute;
top:.45rem;
right:.0rem;
}
}
.header2{
width:2rem;
height:.68rem;
float:left;
margin-top:.36rem;
float:left;
p{
font-size:.2rem;
color:#fff;
margin-bottom:.1rem;
}
img{
width:.2rem;
height:.2rem;
margin-bottom:.45rem;
float:left;
}
span{
font-size:.14rem;
color:#fff;
margin-bottom:.4rem;
float:left;
margin-left:.1rem;
}
}
}
.num{
width:100%;
height:.6rem;
// background:red;
display:flex;
justify-content:space-evenly;
li{
list-style:none;
display:flex;
width:50%;
justify-content:center;
align-items:center;
flex-direction: column;
color:#fff;
p{
font-size:0.28rem;
}
span{
display:inline-block;
font-size:0.12rem;
}
}
li:nth-child(1){
border-right:1px solid #fff;
// padding-right:60px;
}
}
.banner{
width:92%;
height:.61rem;
margin:.16rem;
border-radius:.05rem;
background:#fff;
background:url(../assets/3.png) 100%;
.banner1{
width:90%;
height:.28rem;
// background:red;
margin-top:.28rem;
padding-top:.20rem;
margin-left:.15rem;
.banner2{
width:.18rem;
height:.18rem;
float:left;
margin:-0.7rem 0.1rem ;
img{
width:100%;
height:100%;
// margin-right:0.5rem;
}
}
h1{
float:left;
font-size:.16rem;
color:#784700;
margin:0.01rem 0.05rem 0 0.4rem;
}
p{
float:left;
font-size:.12rem;
// margin:0rem 0rem 0.1rem 0.1rem;
margin-left:.08rem;
margin-top:.05rem;
color:#784700;
}
.banner3{
width:0.8rem;
height:.25rem;
background:#784700;
float:left;
margin-left:9%;
border-radius:.20rem;
p{
font-size:.12rem;
color:#FFBB6D;
text-align:center;
margin-left:0.15rem;
// line-height:.25rem;
margin-bottom:.2rem;
}
}
}
}
.footer{
width:90%;
height:1.8rem;
background:rgba(255,255,255,0.13);
margin-left:5%;
ul{
width:100%;
height:1.8rem;
// background:red;
li{
width:100%;
height:.6rem;
list-style:none;
position:relative;
.iconfont{
float:left;
line-height:.6rem;
margin: 0 8% 0 8%;
font-size:.2rem;
color:#FFF;
}
p{
font-size:0.16rem;
color:white;
line-height:.6rem;
z-index:1;
float:left;
}
span{
// display:inline-block;
font-size:.2rem;
color:#fff;
float:left;
line-height:.6rem;
position:absolute;
right:5%;
}
}
}
}
.van-popup h1{
font-size:.4rem;
color:#11A7FC;
text-align:center;
line-height:.5rem;
}
.van-popup p{
font-size:.2rem;
color:#8C9198;
text-align:center;
line-height:.4rem;
}
.van-popup .btn{
width:100%;
font-size:0.2rem;
height:.5rem;
text-align:center;
line-height:.5rem;
border-top:1px solid #ccc;
}
button{
width:1.5rem;
height:.4rem;
background:#fff;
font-size:.2rem;
color:#fff;
background:#e7dcdc1a;
border:none;
margin-left:30%;
border-radius:.2rem;
// opacity:0.3;
}
}
</style>
... ...
<template>
<div class="home">我心仪</div>
</template>
<script>
export default {
name: 'home',
components: {
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
}
</style>
... ...
<template>
<div class="my">
<div class="header">
<div class="header1"><img src="../assets/1.png" alt=""></div>
<div class="header2"><router-link to="/login" tag="li">登录/</router-link><router-link tag="li" to="/register">注册</router-link></div>
</div>
<div class="num">
<li><p>0</p><span>我心仪</span></li>
<li><p>0</p><span>心仪我</span></li>
</div>
<div class="banner">
<div class="banner1">
<div class="banner2"><img src="../assets/2.png" alt=""></div>
<h1>高级会员</h1>
<p>拥有专属权益</p>
<div class="banner3">
<p>了解详情</p>
</div>
</div>
</div>
<div class="footer">
<ul>
<li><i class="iconfont icon-tuku"></i><p>我的相册</p><span @click="handler">></span></li>
<li><i class="iconfont icon-xiugaimima"></i><p>修改密码</p><span @click="handler1">></span></li>
<li><i class="iconfont icon-kefudianhua"></i><p>客服热线</p><span @click="handler2">></span></li>
</ul>
</div>
<van-popup v-model="show" position="bottom" round :style="{ height: '22%' }">
<h1>400-888-8888</h1>
<p>(服务时间9:00-20:00)</p>
<div class="btn">取消</div>
</van-popup>
</div>
</template>
<script>
export default {
name: 'my',
components: {
}, data() {
return {
show: false,
}
},
methods: {
handler () {
this.$router.push('/myAlbum')
},
handler1 () {
this.$router.push('/changePassword')
},
handler2 () {
this.show=true;
}
}
}
</script>
<style lang="scss" scoped>
.my{
width:100%;
height:100%;
.header{
width:100%;
height:.94rem;
// background:#fff;
// margin:30px;
.header1{
width:0.64rem;
height:0.64rem;
// margin:0 16px;
margin:0.3rem;
border-radius:50%;
background:#FFF;
float:left;
img{
width:100%;
height:100%;
margin-bottom:0.45rem;
}
}
.header2{
width:.99rem;
height:.28rem;
// background:red;
float:left;
margin-top:.46rem;
float:left;
li{
list-style:none;
float:left;
font-size:.22rem;
color:#fff;
}
}
}
.num{
width:100%;
height:.6rem;
// background:red;
display:flex;
justify-content:space-evenly;
li{
list-style:none;
display:flex;
width:50%;
justify-content:center;
align-items:center;
flex-direction: column;
color:#fff;
p{
font-size:0.28rem;
}
span{
display:inline-block;
font-size:0.12rem;
}
}
li:nth-child(1){
border-right:1px solid #fff;
// padding-right:60px;
}
}
.banner{
width:92%;
height:.61rem;
margin:.16rem;
border-radius:.05rem;
background:#fff;
background:url(../assets/3.png) 100%;
.banner1{
width:90%;
height:.28rem;
// background:red;
margin-top:.28rem;
padding-top:.20rem;
margin-left:.15rem;
.banner2{
width:.18rem;
height:.18rem;
float:left;
margin:-0.7rem 0.1rem ;
img{
width:100%;
height:100%;
// margin-right:0.5rem;
}
}
h1{
float:left;
font-size:.16rem;
color:#784700;
margin:0.01rem 0.05rem 0 0.4rem;
}
p{
float:left;
font-size:.12rem;
// margin:0rem 0rem 0.1rem 0.1rem;
margin-left:.08rem;
margin-top:.05rem;
color:#784700;
}
.banner3{
width:0.8rem;
height:.25rem;
background:#784700;
float:left;
margin-left:9%;
border-radius:.20rem;
p{
font-size:.12rem;
color:#FFBB6D;
text-align:center;
margin-left:0.15rem;
// line-height:.25rem;
margin-bottom:.2rem;
}
}
}
}
.footer{
width:90%;
height:1.8rem;
background:rgba(255,255,255,0.13);
margin-left:5%;
ul{
width:100%;
height:1.8rem;
// background:red;
li{
width:100%;
height:.6rem;
list-style:none;
position:relative;
.iconfont{
float:left;
line-height:.6rem;
margin: 0 8% 0 8%;
font-size:.2rem;
color:#FFF;
}
p{
font-size:0.16rem;
color:white;
line-height:.6rem;
z-index:1;
float:left;
}
span{
// display:inline-block;
font-size:.2rem;
color:#fff;
float:left;
line-height:.6rem;
position:absolute;
right:5%;
}
}
}
}
.van-popup h1{
font-size:.4rem;
color:#11A7FC;
text-align:center;
line-height:.5rem;
}
.van-popup p{
font-size:.2rem;
color:#8C9198;
text-align:center;
line-height:.4rem;
}
.van-popup .btn{
width:100%;
font-size:0.2rem;
height:.5rem;
text-align:center;
line-height:.5rem;
border-top:1px solid #ccc;
}
}
</style>
... ...
<template>
<div class="introduction">
<h2 @click="back"><</h2>
<h1>我的相册</h1>
<van-uploader v-model="fileList" multiple :max-count="6" @click="add" upload-text="添加照片"/>
<!-- <div class="btn" @click="go">下一步</div> -->
<p>提示:需上传生活照和工作照,禁止P图.</p>
<!-- <ShowHidden :isvisibleadd="showHidden"></ShowHidden> -->
</div>
</template>
<script>
// import ShowHidden from '../components/ShowHide.vue';
export default {
name: 'introduction',
components: {
// ShowHidden
},
data () {
return {
message:'',
fileList:[],
showHidden:false
}
},
methods:{
back () {
this.$router.go(-1);
},
go () {
this.$router.push('/photoz')
}
// add () {
// this.showHidden=true;
// }
}
}
</script>
<style lang="scss" scoped>
.introduction{
width:100%;
height:110%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
overflow:hidden;
position:relative;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
h1{
font-size:.28rem;
color:#ccc;
}
.van-field{
margin-top:.3rem;
width:90%;
height:1.9rem;
border-radius:.2rem;
}
.btn{
width:90%;
height:.4rem;
background:#fff;
font-size:.2rem;
color:#11A7FC;
line-height:.4rem;
text-align:center;
margin-top:.9rem;
font-weight:bold;
border-radius:.2rem;
}
p{
font-size:.14rem;
color:#fff;
text-align:center;
position:absolute;
bottom:20%;
left:20%;
}
}
</style>
... ...
<template>
<div class="home">
<div class="header">
<h2 @click="back1"><</h2><h1>我的资料</h1>
</div>
<div class="banner" @click="goMyAlbum"></div>
<p>点击修改头像</p>
<div class="nav">
<p>确保头像照片为本人清晰正脸照,一个良好的头像更能吸引到别人哦~</p>
</div>
<div class="main">
<div class="main1">
<div class="left">自我介绍</div>
<div class="right">去修改 ></div>
</div>
<div class="main2">
在百忙之于还会想念着他心爱的女人那才是真正的好男人。被风吹到眼睛想你看到闪烁的路灯想你。
</div>
<div class="data">
<div class="data1">
<div class="left">详细资料</div>
<div class="right">去修改></div>
</div>
<div class="data2">
<div class="x1">女</div><div class="x2">23岁</div>
<div class="x3">牛</div><div class="x4">狮子座</div>
<div class="x5">汉族</div><div class="x6">185cm</div>
<div class="x7">60kg</div><div class="x8">本科</div>
<div class="x9">年收入:2千 以下</div>
</div>
<div class="data3">
<div class="t1">
<span>毕业学校</span><p>北京科技大学</p>
</div>
<div class="t1">
<span>专业</span><p>工程</p>
</div>
<div class="t1">
<span>户籍地</span><p>背景</p>
</div>
<div class="t1">
<span>婚姻状态</span><p>未婚</p>
</div>
<div class="t1">
<span>工作单位</span><p>北京科技大学</p>
</div>
<div class="t1">
<span>职务</span><p>会计</p>
</div>
</div>
</div>
</div>
<div class="photo">
<div class="photo1">
<div class="left">我的证件</div>
<div class="right">去修改></div>
</div>
<div class="photo2">
<li></li>
<li></li>
<li></li>
<li></li>
</div>
</div>
<div class="footer">
<div class="footer1">
<div class="left">择偶条件</div>
<div class="right">去修改></div>
</div>
<div class="footer2">年龄和我同岁或者比我小,在加拿大这边或者国内的愿意来加拿大生活的,性格内向和外向都好,偏内向的话,两个人一样,偏外向的话两个人互补,主要看感觉。</div>
</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
methods:{
goMyAlbum () {
this.$router.push('/myAlbum')
},
back1 () {
this.$router.go(-1)
}
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:180%;
background:#11A7FC;
padding-top:10%;
// padding-left:5%;
.header{
width:90%;
height:.3rem;
margin-left:5%;
margin-bottom:.3rem;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
line-height:.3rem;
float:left;
}
h1{
font-size:.2rem;
line-height:.3rem;
color:#fff;
text-align:center;
}
}
.banner{
width:.64rem;
height:.64rem;
background:#fff;
border-radius:50%;
margin-left:42%;
}
p{
width:1.68rem;
height:.4rem;
font-size:.16rem;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:.4rem;
margin-left:38%;
}
.nav{
width:90%;
height:.6rem;
background:rgba(255,255,255,0.3);
margin-left:5%;
border-radius:.2rem;
p{
color:#fff;
font-size:.15rem;
line-height:.2rem;
margin:0px;
padding:0px;
}
}
.main{
width:100%;
height:1.3rem;
background:rgba(255,255,255,0.3);
margin-top:0.1rem;
padding-top:.01rem;
.main1{
width:90%;
height:.3rem;
// background:#ccc;
display:flex;
justify-content:space-between;
padding: 0 5%;
margin-top:.2rem;
.left{
font-size:.18rem;
color:#fff;
font-weight:bold;
line-height:.3rem;
}
.right{
font-size:.18rem;
color:#fff;
font-weight:bold;
line-height:.3rem;
}
}
.main2{
width:90%;
height:.6rem;
font-size:.15rem;
color:#D9F1FF;
padding: 0 5%;
line-height:.3rem;
margin-top:.1rem;
}
}
.data{
width:100%;
height:5rem;
background:rgba(255,255,255,0.3);
margin-top:.2rem;
.data1{
width:90%;
height:.4rem;
// background:red;
display:flex;
justify-content:space-between;
padding:0 5%;
.left{
font-size:0.14rem;
color:#fff;
line-height:.4rem;
}
.right{
font-size:0.14rem;
color:#fff;
line-height:.4rem;
}
}
.data2{
width:90%;
height:.8rem;
// background:pink;
padding:0 5%;
.x1{
width:.4rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x2{
width:.4rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x3{
width:.4rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x4{
width:.6rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x5{
width:.4rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x6{
width:.6rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x7{
width:.5rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x8{
width:.4rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
.x9{
width:1.2rem;
height:.2rem;
border-radius:28px;
border:1px solid rgba(142,214,255,1);
font-size:.15rem;
line-height:.2rem;
text-align:center;
float:left;
margin-top:.1rem;
margin-right:.1rem;
color:#D9F1FF;
}
}
.data3{
width:90%;
height:3.8rem;
// background:pink;
padding:0 5%;
.t1{
width:100%;
height:.6rem;
// background:salmon;
span{
color:#D9F1FF;
font-size:.14rem;
float:left;
line-height:.6rem;
}
p{
color:#D9F1FF;
font-size:.14rem;
font-weight:bold;
line-height:.6rem;
// float:left;
// display:block;
}
}
}
}
.photo{
width:100%;
height:1.5rem;
background:rgba(255,255,255,0.3);
margin-top:5.2rem;
.photo1{
width:90%;
height:.4rem;
display:flex;
justify-content:space-between;
padding:0 5%;
.left{
font-size:0.14rem;
color:#fff;
line-height:.4rem;
}
.right{
font-size:0.14rem;
color:#fff;
line-height:.4rem;
}
}
.photo2{
width:90%;
height:1.1rem;
padding:0 5%;
display:flex;
justify-content:space-evenly;
li{width:20%;height:.8rem;background:#fff;list-style:none;float:left;margin-top:.15rem;
}
}
}
.footer{
width:100%;
height:1.5rem;
background:rgba(255,255,255,0.3);
margin-top:.1rem;
.footer1{
width:90%;
height:.4rem;
display:flex;
justify-content:space-between;
padding:0 5%;
.left{
font-size:0.14rem;
color:#fff;
line-height:.4rem;
}
.right{
font-size:0.14rem;
color:#fff;
line-height:.4rem;
}
}
.footer2{
width:90%;
height:1.1rem;
// display:flex;
// justify-content:space-between;
padding:0 5%;
font-size:.14rem;
color:#D9F1FF;
line-height:.25rem;
}
}
}
</style>
... ...
<template>
<div class="home">
<h2 @click="back"><</h2>
<p>支付</p>
<span>¥100.00</span>
<p>高级会员费</p>
<div class="nav">
<div class="nav1"><img src="../assets/8.png" alt=""><h4>微信支付</h4><div class="b1"></div></div>
<div class="nav2"><img src="../assets/9.png" alt=""><h4>支付宝支付</h4><div class="b2"></div></div>
</div>
<div class="footer">支付</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
methods:{
back () {
this.$router.go(-1);
}
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
padding-top:10%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.8rem;
line-height:.3rem;
float:left;
}
p{
font-size:.2rem;
color:#fff;
// line-height:.2rem;
text-align:center;
margin-top:.7rem;
display:block;
}
span{
font-size:.4rem;
color:#fff;
line-height:.4rem;
// margin-left:20%;
margin-top:.3rem;
text-align:center;
// display:inline-block;
display:block;
}
.nav{
width:94%;
height:2rem;
background:#fff;
border-radius:0.2rem;
margin-top:0.2rem;
.nav1{
width:100%;
height:1.25rem;
// background:pink;
img{
margin-left:.45rem;
line-height:1.25rem;
margin-top:.5rem;
float:left;
width:.2rem;
height:.2rem;
}
h4{
font-size:.16rem;
line-height:1.2rem;
margin-left:.1rem;
color:#000;
float:left;
}
.b1{
width:.15rem;
height:.15rem;
border:1px solid #ccc;
border-radius:50%;
margin-top:0.54rem;
margin-left:1.6rem;
float:left;
}
}
.nav2{
width:100%;
height:1.25rem;
// background:pink;
img{
margin-left:.45rem;
line-height:1.25rem;
// margin-top:.5rem;
float:left;
width:.2rem;
height:.2rem;
}
h4{
font-size:.16rem;
// line-height:1.2rem;
margin-left:.1rem;
color:#000;
float:left;
}
.b2{
width:.15rem;
height:.15rem;
border:1px solid #ccc;
border-radius:50%;
margin-top:0.04rem;
margin-left:1.45rem;
float:left;
}
}
}
.footer{
width:80%;
height:.4rem;
line-height:.4rem;
color:#11A7FC;
text-align:center;
background:#fff;
font-size:.2rem;
border-radius:.2rem;
margin-top:.5rem;margin-left:8%;
}
}
</style>
... ...
<template>
<div class="introduction">
<h2 @click="back"><</h2>
<h1>上传相册</h1>
<van-uploader v-model="fileList" multiple :max-count="2" @click="add" upload-text="添加照片" />
<div class="btn" @click="go">下一步</div>
<ShowHidden :isvisibleadd="showHidden"></ShowHidden>
</div>
</template>
<script>
import ShowHidden from '../components/ShowHide.vue';
export default {
name: 'introduction',
components: {
ShowHidden
},
data () {
return {
message:'',
fileList:[],
showHidden:false
}
},
methods:{
back () {
this.$router.go(-1);
},
go () {
this.$router.push('/photoz')
},
add () {
this.showHidden=true;
}
}
}
</script>
<style lang="scss" scoped>
.introduction{
width:100%;
height:100%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
h1{
font-size:.28rem;
color:#ccc;
}
.van-field{
margin-top:.3rem;
width:90%;
height:1.9rem;
border-radius:.2rem;
}
.btn{
width:90%;
height:.4rem;
background:#fff;
font-size:.2rem;
color:#11A7FC;
line-height:.4rem;
text-align:center;
margin-top:.9rem;
font-weight:bold;
border-radius:.2rem;
}
}
</style>
... ...
<template>
<div class="home">
<div class="header">
<h2 @click="back1"><</h2><h1>上传证件照</h1>
</div>
<p><span>*</span>身份证上传(正面)</p>
<div class="nav1">
<van-uploader v-model="fileList" multiple :max-count="1" upload-text="添加照片" preview-full-image/>
</div>
<p><span>*</span>身份证上传(反面)</p>
<div class="nav2">
<van-uploader v-model="fileList1" multiple :max-count="1" upload-text="添加照片" preview-full-image/>
</div>
<p><span>*</span>毕业证上传</p>
<div class="nav2">
<van-uploader v-model="fileList2" multiple :max-count="1" upload-text="添加照片" preview-full-image/>
</div>
<p><span>*</span>离婚证上传</p>
<div class="nav2">
<van-uploader v-model="fileList3" multiple :max-count="1" upload-text="添加照片" preview-full-image/>
</div>
<button class="btn">提交</button>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
data () {
return {
fileList: [],
fileList1: [],
fileList2: [],
fileList3: [],
}
},
methods: {
// afterRead(file) {
// // 此时可以自行将文件上传至服务器
// console.log(file);
// },
back1 () {
this.$router.go(-1);
}
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:212%;
background:#11A7FC;
padding-top:10%;
padding-left:5%;
.header{
width:90%;
height:.3rem;
// background:red;
margin-bottom:.3rem;
h1{
font-size:.2rem;
line-height:.3rem;
color:#fff;
text-align:center;
}
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
line-height:.3rem;
float:left;
}
}
p{
font-size:.16rem;
color:#fff;
margin-bottom:0.2rem;
span{
font-size:.2rem;
color:red;
margin-right:.1rem;
line-height:.2rem;
text-align:center;
}
}
.nav1{
width:90%;
height:2.5rem;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
border-radius:0.2rem;
margin-bottom:.4rem;
margin-left:3%;
}
.nav2{
width:90%;
height:2.5rem;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
border-radius:0.2rem;
margin-bottom:.4rem;
margin-left:3%;
}
.btn{
width:90%;
height:.5rem;
background:#11A7FC;
font-size:.25rem;
line-height:.5rem;
color:#fff;
border-radius:.2rem;
border:none;
margin-bottom:0.2rem;
}
}
</style>
... ...
<template>
<div class="home"></div>
</template>
<script>
export default {
name: 'home',
components: {
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
}
</style>
... ...
<template>
<div class="register">
<van-dialog v-model="show" title="提示" >
<div class="bar">
<p>为了维护诚信的平台坏境,<br/>注册用户必须对信息的真实性承担责任</p>
<span>对资料造假,行为不端的会员,一经查实拉黑处理</span>
</div>
<p>王子公园,婚恋请您诚实!</p>
<!-- <img src="https://img.yzcdn.cn/vant/apple-3.jpg" /> -->
</van-dialog>
<h2 @click="back1"><</h2>
<div class="header">
<img src="../assets/01.png" alt="">
</div>
<div class="center" type=">
<form action="" method="post" onsubmit="return checkForm(this)">
<input type="text" placeholder="请选择征婚城市" /><hr/>
<input type="number" placeholder="请输入身份证号码" /><hr/>
<input id="p_tel" type="text" name="p_tel" placeholder="请输入手机号"/><hr/>
<input id="p_cardid" type="text" name="p_cardid" placeholder="请输入验证码" /><hr/>
<button type="submit" @click="goMi"> 设置密码</button>
</form>
</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
data() {
return {
show: true
}
},
methods: {
back1 () {
this.$router.go(-1);
},
goMi () {
this.$router.push('/sheZhi');
},
checkForm () {
var phone = document.getElementById('p_tel').value;
var cardid=document.getElementById('p_cardid').value;
if(phone==""&&cardid==""){
alert("请输入手机号和身份证号!");return false;
}else if(phone==""){
alert("请输入手机号!");return false;
}else{
if(!(/^1(3|4|5|7|8)\d{9}$/.test(phone))){
alert("手机号码有误,请重新输入");
return false;
}
if(cardid==""){
alert("请输入身份证号!");return false;
}
}
if(!(/^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16}([0-9]|[xX])$/.test(cardid))){
alert("身份证号有误,请重新输入");return false;
}
}
}
}
</script>
<style lang="scss" scoped>
.register{
width:100%;
height:100%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
.van-dialog .bar{
width:90%;
height:1.2rem;background:rgba(217,241,255,1);;
margin-left:5%;
border-radius:.2rem;
padding-top:.2rem;
margin-bottom:.2rem;
margin-top:.2rem;
p{
color:#11A7FC;
text-align:center;
margin-bottom:.2rem;
}
span{
color:#11A7FC;
text-align:center;
display:inline-block;
}
}
p{
text-align:center;
// margin-top:0.2rem;
}
.header{
width:60%;
height:.4rem;
margin-left:25%;
}
.center{
width:80%;
margin-top:.7rem;
margin-left:7%;
input{
width:100%;
height:.5rem;
font-size:.2rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
}
hr{
color:#fff;
opacity:0.3;
}
button{
width:100%;
height:.5rem;
font-size:0.2rem;
border-radius:.2rem;
color:#11A7FC;
font-weight:bold;
}
}
}
</style>
... ...
<template>
<div class="home">
<h2><</h2>
<div class="nav">
<div class="nav1">
<img src="../assets/2.png" alt="">
<h1>高级会员</h1>
</div>
<p>¥<span>100</span>/月</p>
<p>高级会员搜索排名优先,每天可以选择一个心仪对象</p>
</div>
<div class="footer" @click="goPay">升级</div>
</div>
</template>
<script>
export default {
name: 'home',
components: {
},
methods: {
goPay () {
this.$router.push('/pay');
}
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
padding-top:15%;
padding-left:6%;
h2{
width:.14rem;
height:.17rem;
font-size:.2rem;
color:rgba(255,255,255,1);
}
.nav{
width:3.43rem;
height:1.7rem;
margin-top:15%;
background:red;
margin-left:1%;
background:url('../assets/7.png') 100%;
border-radius:.2rem;
.nav1{
width:2.5rem;
height:.7rem;
// background:pink;
margin-top:.78rem;
margin-left:.26rem;
h1{
font-size:.2rem;
line-height:.7rem;
color:#784700;
margin-left:.1rem;
}
img{
width:.28rem;
height:.28rem;
float:left;
margin-top:.22rem;
}
}
p{
font-size:.12rem;
color:#784700;
line-height:.45rem;
margin-left:0.3rem;
span{
font-size:.16rem;
font-weight:bold;
}
}
}
.footer{
width:92%;
height:.5rem;
font-size:.2rem;
line-height:.5rem;
text-align:center;
margin-top:2.8rem;
background:linear-gradient(310deg,rgba(255,186,106,1) 0%,rgba(242,211,154,1) 100%);
box-shadow:0px 12px 24px 0px rgba(32,166,242,0.58);
border-radius:48px;
}
}
</style>
... ...
<template>
<div class="sheZhi">
<h2 @click="back"><</h2>
<div class="header">
<img src="../assets/01.png" alt="">
</div>
<input type="password" name="password" id="p1" placeholder="请输入登录密码"><hr/>
<p>密码需为8~20位数字 字母和符合的组合</p>
<input type="password" name="password1" id="p2" placeholder="请再次输入密码"><hr>
<input type="submit" name="submit" value="完善资料" class="btn" placeholder="请再次输入密码" @click="goData">
</div>
</template>
<script>
export default {
name: 'sheZhi',
components: {
},
methods:{
back () {
this.$router.go(-1);
},
goData () {
this.$router.push('/data');
}
// if (document.form2.username.value.length == 0)
// {
// alert("请输入用户名!");
// return false;
// }
// if (document.form2.password.value.length == 0)
// {
// alert("请输入密码!");
// return false;
// }
// var pd1=document.getElementById("p1").value;
// var pd2=document.getElementById("p2").value;
// if (pd1 !=pd2)
// {
// alert("两次密码不一致!");
// return false;
// }
// return true;
}
}
</script>
<style lang="scss" scoped>
.sheZhi{
width:100%;
height:100%;
background:#11A7FC;
padding-top:5%;
padding-left:5%;
h2{
font-size:.2rem;
color:#fff;
margin-bottom:.5rem;
}
.header{
width:60%;
height:.4rem;
margin-left:25%;
margin-bottom:.9rem;
}
input{
width:86%;
height:.5rem;
font-size:.2rem;
display:block;
background-color:#11A7FC;
border:none;
color:#fff;
padding-left:4%;
}
hr{
color:#fff;
opacity:.3;
width:92%;
}
p{
color:#fff;
font-size:.14rem;
opacity:.4;
margin-top:0.1rem;
margin-left:3%;
}
.btn{
width:94%;
height:.5rem;
font-size:0.2rem;
border-radius:.2rem;
background:#fff;
color:#11A7FC;
font-weight:bold;
margin-top:0.3rem;
}
}
</style>
... ...
<template>
<div class="show">
<!-- <img alt="Vue logo" src="../assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/> -->
<!--头部-->
<div class="header">
<h1><img src="../assets/01.png" alt=""></h1>
<div class="right"><p>北京 </p></div>
</div>
<div class="nav">
<van-dropdown-menu active-color="#11A7FC">
<van-dropdown-item :value="value1" active-color="#11A7FC" :options="option1" title="性别" @change="changeDevelop"/>
<van-dropdown-item :value="value2" :options="option2" title="年龄" style="width:15%" ref="item"> <van-button type="info" block bind:click="onConfirm">
确定
</van-button></van-dropdown-item>
<van-dropdown-item :value="value3" :options="option3" title="学历" style="width:15%"/>
<van-dropdown-item :value="value4" :options="option4" title="身高" style="width:15%" ref="item"><van-button type="info" block bind:click="onConfirm1">
确定
</van-button></van-dropdown-item>
<van-dropdown-item :value="value5" :options="option5" title="婚姻状态" style="width:30%" />
</van-dropdown-menu>
<hr/>
</div>
<Detail></Detail>
<!-- <router-view></router-view> -->
</div>
</template>
<script >
// @ is an alias to /src
import Detail from "../components/Details.vue"
export default {
name: 'show',
components: {
Detail
},
data () {
return {
value1: '',
option1: [
{ text: '不限', value: 0 },
{ text: '男', value: 1 },
{ text: '女', value: 2 },
],
option2: [
{ text: '不限 不限', value: 0 },
{ text: '22 25', value: 1 },
{ text: '23 26', value: 2 },
{ text: '24 27', value: 2 },
{ text: '25 28', value: 2 },
],
option3: [
{ text: '不限', value: 0 },
{ text: '初中', value: 1 },
{ text: '高中', value: 2 },
{ text: '中专', value: 3 },
{ text: '大专', value: 4 },
{ text: '本科', value: 5 },
{ text: '硕士', value: 6 },
{ text: '博士', value: 7 },
{ text: '博士后', value: 8 },
],
option4: [
{ text: '不限 不限', value: 0 },
{ text:' 150cm 160cm', value: 1 },
{ text: '151cm 161cm', value: 2 },
{ text: '152cm 162cm', value: 3 },
{ text: '153cm 163cm', value: 4 },
],
option5: [
{ text: '不限', value: 0 },
{ text: '未婚', value: 1 },
{ text: '离异', value: 2},
{ text: '丧偶', value: 3}
],
value1: 0,
value2: 0,
value3: 0,
value4: 0,
value5: 0
}
},
methods: {
changeDevelop (i) {
this.title= this.developList[i-1].text
},
onConfirm() {
this.$refs.item.toggle();
},
onConfirm1() {
this.selectComponent('#item').toggle();
}
}
}
</script>
<style lang="scss" scoped>
.show {
width:100%;
height:100%;
background:#11A7FC;
.header{
width:100%;
height:.82rem;
display:flex;
justify-content:center;
align-items:center;
position:relative;
// position:fixed;
h1{
color:#fff;
font-size:.25rem;
// line-height:.82rem;
margin-bottom:0rem;
img {
width:100%;
height:100%;
}
}
.right{
position:absolute;
right:.2rem;
bottom:.1rem;
p{
color:#fff;
font-size:0.2rem;
line-height:0.6rem;
margin-right:0.01rem;
background:url(../assets/4.png) 100% no-repeat;
}
// margin-bottom:0.2rem;
}
}
.nav{
width:100%;
height:.5rem;
position:fixed;
.van-dropdown-menu{
// background:#11A7FC;
.van-dropdown-item{
// background:#11A7FC;
}
}
}
}
</style>
<style>
.van-dropdown-menu__item{
background: #11A7FC!important;
}
</style>
... ...
<template>
<div class="home">上传</div>
</template>
<script>
export default {
name: 'home',
components: {
}
}
</script>
<style lang="scss" scoped>
.home{
width:100%;
height:100%;
background:#11A7FC;
}
</style>
... ...