Commit a53cc049 by yanju

0207

parent 53a203aa
......@@ -212,6 +212,7 @@ export default {
listenDateChange:'listenDateChange',
listenCropperPic:'listenCropperPic',
listenPopupValue:'listenpopupvalue',
listenCardConMore:'listenCardConMore',
},
default_data: {
......
......@@ -5,8 +5,12 @@
let month = newDate.getMonth()+1;
let day = newDate.getDate();
let hour = newDate.getHours();
hour=hour>9?hour:'0'+hour;
let min = newDate.getMinutes();
min=min>9?min:'0'+min;
let sec = newDate.getSeconds();
sec=sec>9?sec:'0'+sec;
return `${year}-${month}-${day} ${hour}:${min}:${sec}`
......
<template>
<div class="card-container__warp" :style="{width: width, height: height}">
<div class="card-container__warp" :style="{width: width, height: height}" v-show="show">
<div class="card-container__header">
<div class="header-left">
<div class="header-left__label"></div>
......@@ -9,12 +9,13 @@
</div>
<slot></slot>
<div class="card-container__footer" v-if="more">
<span>{{more}}</span>
<span @click="clickToGetMore">{{more}}</span>
</div>
</div>
</template>
<script>
import config from '../../action/config'
export default {
name: "cardContainer",
props: {
......@@ -22,8 +23,18 @@ export default {
label: String,
more: String,
width: String,
height: String
}
height: String,
show:{
type:Boolean,
default:true,
},
},
methods:{
clickToGetMore(){
this.$emit(config.event.listenCardConMore)
},
},
}
</script>
......
......@@ -85,7 +85,7 @@
<transition name="fade">
<ul class="abs-box abs-box2" v-if="showHideBox2" @mouseover="changeStateShowBox(2)" @mouseleave="changeStateHideBox(2)">
<li>
<nuxt-link tag="span" to="/personal-center/home">我的主页</nuxt-link>
<nuxt-link tag="span" to="/personal-center/home/project">我的主页</nuxt-link>
</li>
<li>
<nuxt-link tag="span" to="/personal-center/like/support">我的喜欢</nuxt-link>
......
<template>
<div class="pagination-container__wrap">
<div class="pagination-container__wrap" v-show= "show">
<div class="pagination-container">
<p class="left-arrow" @click="clickToGetPrevPage" v-if="currentPage>1">
<yun-icon name="left_arrow" size="12px"></yun-icon>
......@@ -31,6 +31,10 @@
// pages:13,
currentPage:1,
centerFirstPage:1,
show:{
type:Boolean,
default:true,
}
}
},
......@@ -118,7 +122,11 @@
//点击页数改变页数
clickToChangePage(currentPage){
let {pages} = this;
if(currentPage>=pages - 5){
if(pages<7){
this.centerFirstPage = 1;
this.currentPage = currentPage;
}
else if(currentPage>=pages - 5){
this.centerFirstPage = pages - 5;
this.currentPage = currentPage;
}
......
<template>
<div class="topic-card__wrap">
<div class="topic-card">
<div class="topic-card__wrap" v-if="cardId">
<div class="topic-card" @click="changeRoute('/topic/detail/'+cardId)">
<div class="topic-card-left">
<div class="square1" v-if="!isPhoto"></div>
<div class="square2" v-if="!isPhoto"></div>
......@@ -38,7 +38,13 @@
isPhoto: true,
src: 'http://i1.sinaimg.cn/ent/d/2008-06-04/U105P28T3D2048907F326DT20080604225106.jpg',
focus: '+关注',
fontColor: '#55B946'
fontColor: '#55B946',
cardName:'',
cardIntro:'',
cardId:'',
cardTags:[],
cardTime:'',
cardNum1:''
}
},
......@@ -69,6 +75,20 @@
this.cardNum1 = info.referenceCount;
}
},
changeRoute(r){
let path = this.$route.path;
let index = path.lastIndexOf('/');
let id = path.substring(index+1);
if(id!==this.cardId){
this.$router.push(r);
}
}
},
watch:{
info(val){
this.dateGet2Info();
}
}
}
</script>
......
......@@ -2060,8 +2060,7 @@
"abbrev": {
"version": "1.1.1",
"resolved": "http://registry.npm.taobao.org/abbrev/download/abbrev-1.1.1.tgz",
"integrity": "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg=",
"dev": true
"integrity": "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg="
},
"accepts": {
"version": "1.3.7",
......@@ -2130,8 +2129,7 @@
"amdefine": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/amdefine/download/amdefine-1.0.1.tgz",
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
"dev": true
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU="
},
"ansi-align": {
"version": "2.0.0",
......@@ -2204,7 +2202,6 @@
"version": "1.1.5",
"resolved": "http://registry.npm.taobao.org/are-we-there-yet/download/are-we-there-yet-1.1.5.tgz",
"integrity": "sha1-SzXClE8GKov82mZBB2A1D+nd/CE=",
"dev": true,
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^2.0.6"
......@@ -2242,8 +2239,7 @@
"array-find-index": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/array-find-index/download/array-find-index-1.0.2.tgz",
"integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
"dev": true
"integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E="
},
"array-flatten": {
"version": "1.1.1",
......@@ -2259,7 +2255,6 @@
"version": "0.2.4",
"resolved": "http://registry.npm.taobao.org/asn1/download/asn1-0.2.4.tgz",
"integrity": "sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=",
"dev": true,
"requires": {
"safer-buffer": "~2.1.0"
}
......@@ -2301,8 +2296,7 @@
"assert-plus": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/assert-plus/download/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
"dev": true
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
},
"assign-symbols": {
"version": "1.0.0",
......@@ -2323,8 +2317,7 @@
"async-foreach": {
"version": "0.1.3",
"resolved": "http://registry.npm.taobao.org/async-foreach/download/async-foreach-0.1.3.tgz",
"integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=",
"dev": true
"integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI="
},
"async-limiter": {
"version": "1.0.1",
......@@ -2334,8 +2327,7 @@
"asynckit": {
"version": "0.4.0",
"resolved": "http://registry.npm.taobao.org/asynckit/download/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
"dev": true
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"atob": {
"version": "2.1.2",
......@@ -2359,14 +2351,12 @@
"aws-sign2": {
"version": "0.7.0",
"resolved": "http://registry.npm.taobao.org/aws-sign2/download/aws-sign2-0.7.0.tgz",
"integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
"dev": true
"integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
},
"aws4": {
"version": "1.8.0",
"resolved": "http://registry.npm.taobao.org/aws4/download/aws4-1.8.0.tgz",
"integrity": "sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=",
"dev": true
"integrity": "sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8="
},
"axios": {
"version": "0.19.0",
......@@ -2630,7 +2620,6 @@
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/bcrypt-pbkdf/download/bcrypt-pbkdf-1.0.2.tgz",
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
"dev": true,
"requires": {
"tweetnacl": "^0.14.3"
}
......@@ -2660,7 +2649,6 @@
"version": "0.0.9",
"resolved": "http://registry.npm.taobao.org/block-stream/download/block-stream-0.0.9.tgz",
"integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",
"dev": true,
"requires": {
"inherits": "~2.0.0"
}
......@@ -3117,9 +3105,8 @@
},
"camelcase-keys": {
"version": "2.1.0",
"resolved": "https://registry.npm.taobao.org/camelcase-keys/download/camelcase-keys-2.1.0.tgz?cache=0&sync_timestamp=1573255165611&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcamelcase-keys%2Fdownload%2Fcamelcase-keys-2.1.0.tgz",
"resolved": "https://registry.npm.taobao.org/camelcase-keys/download/camelcase-keys-2.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcamelcase-keys%2Fdownload%2Fcamelcase-keys-2.1.0.tgz",
"integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",
"dev": true,
"requires": {
"camelcase": "^2.0.0",
"map-obj": "^1.0.0"
......@@ -3128,8 +3115,7 @@
"camelcase": {
"version": "2.1.1",
"resolved": "http://registry.npm.taobao.org/camelcase/download/camelcase-2.1.1.tgz",
"integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
"dev": true
"integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8="
}
}
},
......@@ -3167,8 +3153,7 @@
"caseless": {
"version": "0.12.0",
"resolved": "http://registry.npm.taobao.org/caseless/download/caseless-0.12.0.tgz",
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
"dev": true
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"chalk": {
"version": "2.4.2",
......@@ -3374,8 +3359,7 @@
"code-point-at": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/code-point-at/download/code-point-at-1.1.0.tgz",
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
"dev": true
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
},
"collection-visit": {
"version": "1.0.0",
......@@ -3428,7 +3412,6 @@
"version": "1.0.8",
"resolved": "https://registry.npm.taobao.org/combined-stream/download/combined-stream-1.0.8.tgz",
"integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=",
"dev": true,
"requires": {
"delayed-stream": "~1.0.0"
}
......@@ -3548,8 +3531,7 @@
"console-control-strings": {
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/console-control-strings/download/console-control-strings-1.1.0.tgz",
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
"dev": true
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
},
"consolidate": {
"version": "0.15.1",
......@@ -3990,7 +3972,6 @@
"version": "0.4.1",
"resolved": "http://registry.npm.taobao.org/currently-unhandled/download/currently-unhandled-0.4.1.tgz",
"integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=",
"dev": true,
"requires": {
"array-find-index": "^1.0.1"
}
......@@ -4004,7 +3985,6 @@
"version": "1.14.1",
"resolved": "http://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"dev": true,
"requires": {
"assert-plus": "^1.0.0"
}
......@@ -4049,8 +4029,7 @@
"decamelize": {
"version": "1.2.0",
"resolved": "http://registry.npm.taobao.org/decamelize/download/decamelize-1.2.0.tgz",
"integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
"dev": true
"integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA="
},
"decode-uri-component": {
"version": "0.2.0",
......@@ -4132,8 +4111,7 @@
"delayed-stream": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"dev": true
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"delegates": {
"version": "1.0.0",
......@@ -4294,7 +4272,6 @@
"version": "0.1.2",
"resolved": "http://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.2.tgz",
"integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
"dev": true,
"requires": {
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
......@@ -4666,8 +4643,7 @@
"extend": {
"version": "3.0.2",
"resolved": "http://registry.npm.taobao.org/extend/download/extend-3.0.2.tgz",
"integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo=",
"dev": true
"integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo="
},
"extend-shallow": {
"version": "3.0.2",
......@@ -4794,8 +4770,7 @@
"extsprintf": {
"version": "1.3.0",
"resolved": "http://registry.npm.taobao.org/extsprintf/download/extsprintf-1.3.0.tgz",
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
"dev": true
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
},
"fast-deep-equal": {
"version": "2.0.1",
......@@ -4942,14 +4917,12 @@
"forever-agent": {
"version": "0.6.1",
"resolved": "http://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz",
"integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
"dev": true
"integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
},
"form-data": {
"version": "2.3.3",
"resolved": "https://registry.npm.taobao.org/form-data/download/form-data-2.3.3.tgz",
"integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=",
"dev": true,
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.6",
......@@ -5502,7 +5475,6 @@
"version": "1.0.12",
"resolved": "https://registry.npm.taobao.org/fstream/download/fstream-1.0.12.tgz",
"integrity": "sha1-Touo7i1Ivk99DeUFRVVI6uWTIEU=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"inherits": "~2.0.0",
......@@ -5517,9 +5489,8 @@
},
"gauge": {
"version": "2.7.4",
"resolved": "http://registry.npm.taobao.org/gauge/download/gauge-2.7.4.tgz",
"resolved": "https://registry.npm.taobao.org/gauge/download/gauge-2.7.4.tgz",
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
"dev": true,
"requires": {
"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
......@@ -5535,7 +5506,6 @@
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -5544,7 +5514,6 @@
"version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/string-width/download/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
"dev": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
......@@ -5557,7 +5526,6 @@
"version": "1.1.3",
"resolved": "http://registry.npm.taobao.org/gaze/download/gaze-1.1.3.tgz",
"integrity": "sha1-xEFzPhO5J6yMD/C0w7Az8ogSkko=",
"dev": true,
"requires": {
"globule": "^1.0.0"
}
......@@ -5571,8 +5539,7 @@
"get-stdin": {
"version": "4.0.1",
"resolved": "http://registry.npm.taobao.org/get-stdin/download/get-stdin-4.0.1.tgz",
"integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
"dev": true
"integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4="
},
"get-stream": {
"version": "3.0.0",
......@@ -5589,7 +5556,6 @@
"version": "0.1.7",
"resolved": "http://registry.npm.taobao.org/getpass/download/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"dev": true,
"requires": {
"assert-plus": "^1.0.0"
}
......@@ -5641,10 +5607,9 @@
"integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4="
},
"globule": {
"version": "1.2.1",
"resolved": "http://registry.npm.taobao.org/globule/download/globule-1.2.1.tgz",
"integrity": "sha1-Xf+xsZHyLSB5epNptJ6rTpg5aW0=",
"dev": true,
"version": "1.3.0",
"resolved": "https://registry.npm.taobao.org/globule/download/globule-1.3.0.tgz?cache=0&sync_timestamp=1576872545564&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobule%2Fdownload%2Fglobule-1.3.0.tgz",
"integrity": "sha1-QdDp+0Sv1LgNk6IyY3FPkLPeyQQ=",
"requires": {
"glob": "~7.1.1",
"lodash": "~4.17.10",
......@@ -5710,14 +5675,12 @@
"har-schema": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/har-schema/download/har-schema-2.0.0.tgz",
"integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
"dev": true
"integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
},
"har-validator": {
"version": "5.1.3",
"resolved": "http://registry.npm.taobao.org/har-validator/download/har-validator-5.1.3.tgz",
"integrity": "sha1-HvievT5JllV2de7ZiTEQ3DUPoIA=",
"dev": true,
"requires": {
"ajv": "^6.5.5",
"har-schema": "^2.0.0"
......@@ -5772,8 +5735,7 @@
"has-unicode": {
"version": "2.0.1",
"resolved": "http://registry.npm.taobao.org/has-unicode/download/has-unicode-2.0.1.tgz",
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
"dev": true
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
},
"has-value": {
"version": "1.0.0",
......@@ -5865,8 +5827,7 @@
"hosted-git-info": {
"version": "2.8.5",
"resolved": "https://registry.npm.taobao.org/hosted-git-info/download/hosted-git-info-2.8.5.tgz?cache=0&sync_timestamp=1570493570687&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhosted-git-info%2Fdownload%2Fhosted-git-info-2.8.5.tgz",
"integrity": "sha1-dZz88sTRVq3lmwst+r3cQqa5xww=",
"dev": true
"integrity": "sha1-dZz88sTRVq3lmwst+r3cQqa5xww="
},
"hsl-regex": {
"version": "1.0.0",
......@@ -6064,7 +6025,6 @@
"version": "1.2.0",
"resolved": "https://registry.npm.taobao.org/http-signature/download/http-signature-1.2.0.tgz?cache=0&sync_timestamp=1572997209501&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhttp-signature%2Fdownload%2Fhttp-signature-1.2.0.tgz",
"integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
"dev": true,
"requires": {
"assert-plus": "^1.0.0",
"jsprim": "^1.2.2",
......@@ -6167,8 +6127,7 @@
"in-publish": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/in-publish/download/in-publish-2.0.0.tgz",
"integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=",
"dev": true
"integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E="
},
"indent-string": {
"version": "4.0.0",
......@@ -6216,8 +6175,7 @@
"invert-kv": {
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/invert-kv/download/invert-kv-1.0.0.tgz",
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=",
"dev": true
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY="
},
"ip": {
"version": "1.1.5",
......@@ -6364,7 +6322,6 @@
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/is-finite/download/is-finite-1.0.2.tgz",
"integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
"dev": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -6508,14 +6465,12 @@
"is-typedarray": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz",
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
"dev": true
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
},
"is-utf8": {
"version": "0.2.1",
"resolved": "http://registry.npm.taobao.org/is-utf8/download/is-utf8-0.2.1.tgz",
"integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
"dev": true
"integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
},
"is-windows": {
"version": "1.0.2",
......@@ -6545,8 +6500,7 @@
"isstream": {
"version": "0.1.2",
"resolved": "http://registry.npm.taobao.org/isstream/download/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
"dev": true
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
},
"istanbul-lib-coverage": {
"version": "2.0.5",
......@@ -7044,8 +6998,7 @@
"js-base64": {
"version": "2.5.1",
"resolved": "http://registry.npm.taobao.org/js-base64/download/js-base64-2.5.1.tgz",
"integrity": "sha1-Hvo57yxfeYC7F4St5KivLeMpESE=",
"dev": true
"integrity": "sha1-Hvo57yxfeYC7F4St5KivLeMpESE="
},
"js-cookie": {
"version": "2.2.1",
......@@ -7074,8 +7027,7 @@
"jsbn": {
"version": "0.1.1",
"resolved": "http://registry.npm.taobao.org/jsbn/download/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
"dev": true
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
},
"jsdom": {
"version": "11.12.0",
......@@ -7141,8 +7093,7 @@
"json-schema": {
"version": "0.2.3",
"resolved": "https://registry.npm.taobao.org/json-schema/download/json-schema-0.2.3.tgz",
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=",
"dev": true
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
},
"json-schema-traverse": {
"version": "0.4.1",
......@@ -7152,8 +7103,7 @@
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "http://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz",
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
"dev": true
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
},
"json5": {
"version": "2.1.1",
......@@ -7175,7 +7125,6 @@
"version": "1.4.1",
"resolved": "http://registry.npm.taobao.org/jsprim/download/jsprim-1.4.1.tgz",
"integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
"dev": true,
"requires": {
"assert-plus": "1.0.0",
"extsprintf": "1.3.0",
......@@ -7306,7 +7255,6 @@
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/lcid/download/lcid-1.0.0.tgz",
"integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
"dev": true,
"requires": {
"invert-kv": "^1.0.0"
}
......@@ -7452,7 +7400,6 @@
"version": "1.6.0",
"resolved": "https://registry.npm.taobao.org/loud-rejection/download/loud-rejection-1.6.0.tgz?cache=0&sync_timestamp=1569687695423&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Floud-rejection%2Fdownload%2Floud-rejection-1.6.0.tgz",
"integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",
"dev": true,
"requires": {
"currently-unhandled": "^0.4.1",
"signal-exit": "^3.0.0"
......@@ -7522,8 +7469,7 @@
"map-obj": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/map-obj/download/map-obj-1.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmap-obj%2Fdownload%2Fmap-obj-1.0.1.tgz",
"integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
"dev": true
"integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0="
},
"map-visit": {
"version": "1.0.0",
......@@ -7573,9 +7519,8 @@
},
"meow": {
"version": "3.7.0",
"resolved": "http://registry.npm.taobao.org/meow/download/meow-3.7.0.tgz",
"resolved": "https://registry.npm.taobao.org/meow/download/meow-3.7.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmeow%2Fdownload%2Fmeow-3.7.0.tgz",
"integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
"dev": true,
"requires": {
"camelcase-keys": "^2.0.0",
"decamelize": "^1.1.2",
......@@ -7593,7 +7538,6 @@
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/find-up/download/find-up-1.1.2.tgz",
"integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
"dev": true,
"requires": {
"path-exists": "^2.0.0",
"pinkie-promise": "^2.0.0"
......@@ -7603,7 +7547,6 @@
"version": "1.1.0",
"resolved": "https://registry.npm.taobao.org/load-json-file/download/load-json-file-1.1.0.tgz",
"integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"parse-json": "^2.2.0",
......@@ -7616,7 +7559,6 @@
"version": "2.2.0",
"resolved": "https://registry.npm.taobao.org/parse-json/download/parse-json-2.2.0.tgz",
"integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
"dev": true,
"requires": {
"error-ex": "^1.2.0"
}
......@@ -7625,7 +7567,6 @@
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/path-exists/download/path-exists-2.1.0.tgz",
"integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
"dev": true,
"requires": {
"pinkie-promise": "^2.0.0"
}
......@@ -7634,7 +7575,6 @@
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/path-type/download/path-type-1.1.0.tgz",
"integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"pify": "^2.0.0",
......@@ -7644,14 +7584,12 @@
"pify": {
"version": "2.3.0",
"resolved": "http://registry.npm.taobao.org/pify/download/pify-2.3.0.tgz",
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
"dev": true
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
},
"read-pkg": {
"version": "1.1.0",
"resolved": "https://registry.npm.taobao.org/read-pkg/download/read-pkg-1.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fread-pkg%2Fdownload%2Fread-pkg-1.1.0.tgz",
"integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
"dev": true,
"requires": {
"load-json-file": "^1.0.0",
"normalize-package-data": "^2.3.2",
......@@ -7660,9 +7598,8 @@
},
"read-pkg-up": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz?cache=0&sync_timestamp=1569564346247&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fread-pkg-up%2Fdownload%2Fread-pkg-up-1.0.1.tgz",
"resolved": "https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz?cache=0&sync_timestamp=1575620499078&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fread-pkg-up%2Fdownload%2Fread-pkg-up-1.0.1.tgz",
"integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
"dev": true,
"requires": {
"find-up": "^1.0.0",
"read-pkg": "^1.0.0"
......@@ -7672,7 +7609,6 @@
"version": "2.0.0",
"resolved": "https://registry.npm.taobao.org/strip-bom/download/strip-bom-2.0.0.tgz",
"integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
"dev": true,
"requires": {
"is-utf8": "^0.2.0"
}
......@@ -7949,9 +7885,8 @@
},
"node-gyp": {
"version": "3.8.0",
"resolved": "https://registry.npm.taobao.org/node-gyp/download/node-gyp-3.8.0.tgz?cache=0&sync_timestamp=1572603439939&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-gyp%2Fdownload%2Fnode-gyp-3.8.0.tgz",
"resolved": "https://registry.npm.taobao.org/node-gyp/download/node-gyp-3.8.0.tgz",
"integrity": "sha1-VAMEJhwzDoDQ1e3OJTpoyzlkIYw=",
"dev": true,
"requires": {
"fstream": "^1.0.0",
"glob": "^7.0.3",
......@@ -7969,9 +7904,8 @@
"dependencies": {
"semver": {
"version": "5.3.0",
"resolved": "https://registry.npm.taobao.org/semver/download/semver-5.3.0.tgz?cache=0&sync_timestamp=1565627380363&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-5.3.0.tgz",
"integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
"dev": true
"resolved": "https://registry.npm.taobao.org/semver/download/semver-5.3.0.tgz?cache=0&sync_timestamp=1580434242969&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-5.3.0.tgz",
"integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8="
}
}
},
......@@ -8070,10 +8004,9 @@
}
},
"node-sass": {
"version": "4.13.0",
"resolved": "https://registry.npm.taobao.org/node-sass/download/node-sass-4.13.0.tgz",
"integrity": "sha1-tkcoi6vdahy3Jt5FRVFrMfkNoGY=",
"dev": true,
"version": "4.13.1",
"resolved": "https://registry.npm.taobao.org/node-sass/download/node-sass-4.13.1.tgz?cache=0&sync_timestamp=1579178805987&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-sass%2Fdownload%2Fnode-sass-4.13.1.tgz",
"integrity": "sha1-nbVolpa7LuwsMrmL/qTHoumS0KM=",
"requires": {
"async-foreach": "^0.1.3",
"chalk": "^1.1.1",
......@@ -8096,15 +8029,13 @@
"dependencies": {
"ansi-styles": {
"version": "2.2.1",
"resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-2.2.1.tgz?cache=0&sync_timestamp=1573557749823&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
"dev": true
"resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npm.taobao.org/chalk/download/chalk-1.1.3.tgz?cache=0&sync_timestamp=1573282897812&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"dev": true,
"requires": {
"ansi-styles": "^2.2.1",
"escape-string-regexp": "^1.0.2",
......@@ -8117,7 +8048,6 @@
"version": "3.0.1",
"resolved": "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-3.0.1.tgz?cache=0&sync_timestamp=1570439926300&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcross-spawn%2Fdownload%2Fcross-spawn-3.0.1.tgz",
"integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=",
"dev": true,
"requires": {
"lru-cache": "^4.0.1",
"which": "^1.2.9"
......@@ -8126,8 +8056,7 @@
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-2.0.0.tgz?cache=0&sync_timestamp=1569557271992&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-2.0.0.tgz",
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
"dev": true
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
}
}
},
......@@ -8179,7 +8108,6 @@
"version": "3.0.6",
"resolved": "http://registry.npm.taobao.org/nopt/download/nopt-3.0.6.tgz",
"integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
"dev": true,
"requires": {
"abbrev": "1"
}
......@@ -8188,7 +8116,6 @@
"version": "2.5.0",
"resolved": "http://registry.npm.taobao.org/normalize-package-data/download/normalize-package-data-2.5.0.tgz",
"integrity": "sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=",
"dev": true,
"requires": {
"hosted-git-info": "^2.1.4",
"resolve": "^1.10.0",
......@@ -8224,7 +8151,6 @@
"version": "4.1.2",
"resolved": "http://registry.npm.taobao.org/npmlog/download/npmlog-4.1.2.tgz",
"integrity": "sha1-CKfyqL9zRgR3mp76StXMcXq7lUs=",
"dev": true,
"requires": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
......@@ -8248,8 +8174,7 @@
"number-is-nan": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/number-is-nan/download/number-is-nan-1.0.1.tgz",
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
"dev": true
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="
},
"nuxt": {
"version": "2.10.2",
......@@ -8274,8 +8199,7 @@
"oauth-sign": {
"version": "0.9.0",
"resolved": "http://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.9.0.tgz",
"integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=",
"dev": true
"integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU="
},
"object-assign": {
"version": "4.1.1",
......@@ -8455,14 +8379,12 @@
"os-homedir": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/os-homedir/download/os-homedir-1.0.2.tgz",
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
"dev": true
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
},
"os-locale": {
"version": "1.4.0",
"resolved": "https://registry.npm.taobao.org/os-locale/download/os-locale-1.4.0.tgz?cache=0&sync_timestamp=1560274285880&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fos-locale%2Fdownload%2Fos-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
"dev": true,
"requires": {
"lcid": "^1.0.0"
}
......@@ -8470,14 +8392,12 @@
"os-tmpdir": {
"version": "1.0.2",
"resolved": "http://registry.npm.taobao.org/os-tmpdir/download/os-tmpdir-1.0.2.tgz",
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
"dev": true
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
},
"osenv": {
"version": "0.1.5",
"resolved": "http://registry.npm.taobao.org/osenv/download/osenv-0.1.5.tgz",
"integrity": "sha1-hc36+uso6Gd/QW4odZK18/SepBA=",
"dev": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
......@@ -8679,8 +8599,7 @@
"performance-now": {
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/performance-now/download/performance-now-2.1.0.tgz",
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
"dev": true
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
},
"picomatch": {
"version": "2.1.1",
......@@ -8695,14 +8614,12 @@
"pinkie": {
"version": "2.0.4",
"resolved": "http://registry.npm.taobao.org/pinkie/download/pinkie-2.0.4.tgz",
"integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
"dev": true
"integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA="
},
"pinkie-promise": {
"version": "2.0.1",
"resolved": "http://registry.npm.taobao.org/pinkie-promise/download/pinkie-promise-2.0.1.tgz",
"integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
"dev": true,
"requires": {
"pinkie": "^2.0.0"
}
......@@ -9755,8 +9672,7 @@
"psl": {
"version": "1.4.0",
"resolved": "https://registry.npm.taobao.org/psl/download/psl-1.4.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpsl%2Fdownload%2Fpsl-1.4.0.tgz",
"integrity": "sha1-XdJhVs22n6H9uKsZkWZ9P4DO18I=",
"dev": true
"integrity": "sha1-XdJhVs22n6H9uKsZkWZ9P4DO18I="
},
"pstree.remy": {
"version": "1.1.7",
......@@ -10004,7 +9920,6 @@
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/redent/download/redent-1.0.0.tgz",
"integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",
"dev": true,
"requires": {
"indent-string": "^2.1.0",
"strip-indent": "^1.0.1"
......@@ -10014,7 +9929,6 @@
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/indent-string/download/indent-string-2.1.0.tgz",
"integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",
"dev": true,
"requires": {
"repeating": "^2.0.0"
}
......@@ -10171,7 +10085,6 @@
"version": "2.0.1",
"resolved": "http://registry.npm.taobao.org/repeating/download/repeating-2.0.1.tgz",
"integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
"dev": true,
"requires": {
"is-finite": "^1.0.0"
}
......@@ -10180,7 +10093,6 @@
"version": "2.88.0",
"resolved": "http://registry.npm.taobao.org/request/download/request-2.88.0.tgz",
"integrity": "sha1-nC/KT301tZLv5Xx/ClXoEFIST+8=",
"dev": true,
"requires": {
"aws-sign2": "~0.7.0",
"aws4": "^1.8.0",
......@@ -10207,20 +10119,17 @@
"punycode": {
"version": "1.4.1",
"resolved": "http://registry.npm.taobao.org/punycode/download/punycode-1.4.1.tgz",
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
"dev": true
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
},
"qs": {
"version": "6.5.2",
"resolved": "https://registry.npm.taobao.org/qs/download/qs-6.5.2.tgz",
"integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=",
"dev": true
"integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY="
},
"tough-cookie": {
"version": "2.4.3",
"resolved": "http://registry.npm.taobao.org/tough-cookie/download/tough-cookie-2.4.3.tgz",
"integrity": "sha1-U/Nto/R3g7CSWvoG/587FlKA94E=",
"dev": true,
"requires": {
"psl": "^1.1.24",
"punycode": "^1.4.1"
......@@ -10251,8 +10160,7 @@
"require-directory": {
"version": "2.1.1",
"resolved": "http://registry.npm.taobao.org/require-directory/download/require-directory-2.1.1.tgz",
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
"dev": true
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="
},
"require-main-filename": {
"version": "2.0.0",
......@@ -10387,7 +10295,6 @@
"version": "2.2.4",
"resolved": "http://registry.npm.taobao.org/sass-graph/download/sass-graph-2.2.4.tgz",
"integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
"dev": true,
"requires": {
"glob": "^7.0.0",
"lodash": "^4.0.0",
......@@ -10398,14 +10305,12 @@
"camelcase": {
"version": "3.0.0",
"resolved": "http://registry.npm.taobao.org/camelcase/download/camelcase-3.0.0.tgz",
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
"dev": true
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
},
"cliui": {
"version": "3.2.0",
"resolved": "https://registry.npm.taobao.org/cliui/download/cliui-3.2.0.tgz",
"integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
"dev": true,
"requires": {
"string-width": "^1.0.1",
"strip-ansi": "^3.0.1",
......@@ -10416,7 +10321,6 @@
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/find-up/download/find-up-1.1.2.tgz",
"integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
"dev": true,
"requires": {
"path-exists": "^2.0.0",
"pinkie-promise": "^2.0.0"
......@@ -10425,14 +10329,12 @@
"get-caller-file": {
"version": "1.0.3",
"resolved": "http://registry.npm.taobao.org/get-caller-file/download/get-caller-file-1.0.3.tgz",
"integrity": "sha1-+Xj6TJDR3+f/LWvtoqUV5xO9z0o=",
"dev": true
"integrity": "sha1-+Xj6TJDR3+f/LWvtoqUV5xO9z0o="
},
"is-fullwidth-code-point": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -10441,7 +10343,6 @@
"version": "1.1.0",
"resolved": "https://registry.npm.taobao.org/load-json-file/download/load-json-file-1.1.0.tgz",
"integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"parse-json": "^2.2.0",
......@@ -10454,7 +10355,6 @@
"version": "2.2.0",
"resolved": "https://registry.npm.taobao.org/parse-json/download/parse-json-2.2.0.tgz",
"integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
"dev": true,
"requires": {
"error-ex": "^1.2.0"
}
......@@ -10463,7 +10363,6 @@
"version": "2.1.0",
"resolved": "http://registry.npm.taobao.org/path-exists/download/path-exists-2.1.0.tgz",
"integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
"dev": true,
"requires": {
"pinkie-promise": "^2.0.0"
}
......@@ -10472,7 +10371,6 @@
"version": "1.1.0",
"resolved": "http://registry.npm.taobao.org/path-type/download/path-type-1.1.0.tgz",
"integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"pify": "^2.0.0",
......@@ -10482,14 +10380,12 @@
"pify": {
"version": "2.3.0",
"resolved": "http://registry.npm.taobao.org/pify/download/pify-2.3.0.tgz",
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
"dev": true
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw="
},
"read-pkg": {
"version": "1.1.0",
"resolved": "https://registry.npm.taobao.org/read-pkg/download/read-pkg-1.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fread-pkg%2Fdownload%2Fread-pkg-1.1.0.tgz",
"integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
"dev": true,
"requires": {
"load-json-file": "^1.0.0",
"normalize-package-data": "^2.3.2",
......@@ -10498,9 +10394,8 @@
},
"read-pkg-up": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz?cache=0&sync_timestamp=1569564346247&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fread-pkg-up%2Fdownload%2Fread-pkg-up-1.0.1.tgz",
"resolved": "https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz?cache=0&sync_timestamp=1575620499078&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fread-pkg-up%2Fdownload%2Fread-pkg-up-1.0.1.tgz",
"integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
"dev": true,
"requires": {
"find-up": "^1.0.0",
"read-pkg": "^1.0.0"
......@@ -10509,14 +10404,12 @@
"require-main-filename": {
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/require-main-filename/download/require-main-filename-1.0.1.tgz",
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
"dev": true
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE="
},
"string-width": {
"version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/string-width/download/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
"dev": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
......@@ -10527,7 +10420,6 @@
"version": "2.0.0",
"resolved": "https://registry.npm.taobao.org/strip-bom/download/strip-bom-2.0.0.tgz",
"integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
"dev": true,
"requires": {
"is-utf8": "^0.2.0"
}
......@@ -10535,14 +10427,12 @@
"which-module": {
"version": "1.0.0",
"resolved": "http://registry.npm.taobao.org/which-module/download/which-module-1.0.0.tgz",
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=",
"dev": true
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8="
},
"wrap-ansi": {
"version": "2.1.0",
"resolved": "https://registry.npm.taobao.org/wrap-ansi/download/wrap-ansi-2.1.0.tgz",
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
"dev": true,
"requires": {
"string-width": "^1.0.1",
"strip-ansi": "^3.0.1"
......@@ -10551,14 +10441,12 @@
"y18n": {
"version": "3.2.1",
"resolved": "http://registry.npm.taobao.org/y18n/download/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
"dev": true
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
},
"yargs": {
"version": "7.1.0",
"resolved": "https://registry.npm.taobao.org/yargs/download/yargs-7.1.0.tgz",
"resolved": "https://registry.npm.taobao.org/yargs/download/yargs-7.1.0.tgz?cache=0&sync_timestamp=1577940993299&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs%2Fdownload%2Fyargs-7.1.0.tgz",
"integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",
"dev": true,
"requires": {
"camelcase": "^3.0.0",
"cliui": "^3.2.0",
......@@ -10579,7 +10467,6 @@
"version": "5.0.0",
"resolved": "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-5.0.0.tgz",
"integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
"dev": true,
"requires": {
"camelcase": "^3.0.0"
}
......@@ -10630,7 +10517,6 @@
"version": "0.2.3",
"resolved": "http://registry.npm.taobao.org/scss-tokenizer/download/scss-tokenizer-0.2.3.tgz",
"integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
"dev": true,
"requires": {
"js-base64": "^2.1.8",
"source-map": "^0.4.2"
......@@ -10640,7 +10526,6 @@
"version": "0.4.4",
"resolved": "http://registry.npm.taobao.org/source-map/download/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
......@@ -10720,8 +10605,7 @@
"set-blocking": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/set-blocking/download/set-blocking-2.0.0.tgz",
"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
"dev": true
"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
},
"set-value": {
"version": "2.0.1",
......@@ -10986,7 +10870,6 @@
"version": "3.1.0",
"resolved": "http://registry.npm.taobao.org/spdx-correct/download/spdx-correct-3.1.0.tgz",
"integrity": "sha1-+4PlBERSaPFUsHTiGMh8ADzTHfQ=",
"dev": true,
"requires": {
"spdx-expression-parse": "^3.0.0",
"spdx-license-ids": "^3.0.0"
......@@ -10995,14 +10878,12 @@
"spdx-exceptions": {
"version": "2.2.0",
"resolved": "http://registry.npm.taobao.org/spdx-exceptions/download/spdx-exceptions-2.2.0.tgz",
"integrity": "sha1-LqRQrudPKom/uUUZwH/Nb0EyKXc=",
"dev": true
"integrity": "sha1-LqRQrudPKom/uUUZwH/Nb0EyKXc="
},
"spdx-expression-parse": {
"version": "3.0.0",
"resolved": "http://registry.npm.taobao.org/spdx-expression-parse/download/spdx-expression-parse-3.0.0.tgz",
"integrity": "sha1-meEZt6XaAOBUkcn6M4t5BII7QdA=",
"dev": true,
"requires": {
"spdx-exceptions": "^2.1.0",
"spdx-license-ids": "^3.0.0"
......@@ -11011,8 +10892,7 @@
"spdx-license-ids": {
"version": "3.0.5",
"resolved": "https://registry.npm.taobao.org/spdx-license-ids/download/spdx-license-ids-3.0.5.tgz?cache=0&sync_timestamp=1562834220236&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fspdx-license-ids%2Fdownload%2Fspdx-license-ids-3.0.5.tgz",
"integrity": "sha1-NpS1gEVnpFjTyARYQqY1hjL2JlQ=",
"dev": true
"integrity": "sha1-NpS1gEVnpFjTyARYQqY1hjL2JlQ="
},
"split-string": {
"version": "3.1.0",
......@@ -11031,7 +10911,6 @@
"version": "1.16.1",
"resolved": "http://registry.npm.taobao.org/sshpk/download/sshpk-1.16.1.tgz",
"integrity": "sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=",
"dev": true,
"requires": {
"asn1": "~0.2.3",
"assert-plus": "^1.0.0",
......@@ -11110,7 +10989,6 @@
"version": "1.4.1",
"resolved": "http://registry.npm.taobao.org/stdout-stream/download/stdout-stream-1.4.1.tgz",
"integrity": "sha1-WsF0zdXNcmEEqgwLK9g4FdjVNd4=",
"dev": true,
"requires": {
"readable-stream": "^2.0.1"
}
......@@ -11267,7 +11145,6 @@
"version": "1.0.1",
"resolved": "http://registry.npm.taobao.org/strip-indent/download/strip-indent-1.0.1.tgz",
"integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",
"dev": true,
"requires": {
"get-stdin": "^4.0.1"
}
......@@ -11357,9 +11234,8 @@
},
"tar": {
"version": "2.2.2",
"resolved": "https://registry.npm.taobao.org/tar/download/tar-2.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/tar/download/tar-2.2.2.tgz?cache=0&sync_timestamp=1580272793579&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftar%2Fdownload%2Ftar-2.2.2.tgz",
"integrity": "sha1-DKiEhWLHKZuLRG/2pNYM27I+3EA=",
"dev": true,
"requires": {
"block-stream": "*",
"fstream": "^1.0.12",
......@@ -11663,14 +11539,12 @@
"trim-newlines": {
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/trim-newlines/download/trim-newlines-1.0.0.tgz",
"integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",
"dev": true
"integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM="
},
"true-case-path": {
"version": "1.0.3",
"resolved": "https://registry.npm.taobao.org/true-case-path/download/true-case-path-1.0.3.tgz",
"integrity": "sha1-+BO1qMhrQNpZYGcisUTjIleZ9H0=",
"dev": true,
"requires": {
"glob": "^7.1.2"
}
......@@ -11716,7 +11590,6 @@
"version": "0.6.0",
"resolved": "http://registry.npm.taobao.org/tunnel-agent/download/tunnel-agent-0.6.0.tgz",
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"dev": true,
"requires": {
"safe-buffer": "^5.0.1"
}
......@@ -11724,8 +11597,7 @@
"tweetnacl": {
"version": "0.14.5",
"resolved": "http://registry.npm.taobao.org/tweetnacl/download/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
"dev": true
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
},
"type-check": {
"version": "0.3.2",
......@@ -12057,7 +11929,6 @@
"version": "3.0.4",
"resolved": "http://registry.npm.taobao.org/validate-npm-package-license/download/validate-npm-package-license-3.0.4.tgz",
"integrity": "sha1-/JH2uce6FchX9MssXe/uw51PQQo=",
"dev": true,
"requires": {
"spdx-correct": "^3.0.0",
"spdx-expression-parse": "^3.0.0"
......@@ -12077,7 +11948,6 @@
"version": "1.10.0",
"resolved": "http://registry.npm.taobao.org/verror/download/verror-1.10.0.tgz",
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"dev": true,
"requires": {
"assert-plus": "^1.0.0",
"core-util-is": "1.0.2",
......@@ -12556,7 +12426,6 @@
"version": "1.1.3",
"resolved": "http://registry.npm.taobao.org/wide-align/download/wide-align-1.1.3.tgz",
"integrity": "sha1-rgdOa9wMFKQx6ATmJFScYzsABFc=",
"dev": true,
"requires": {
"string-width": "^1.0.2 || 2"
}
......
......@@ -9,70 +9,46 @@
<div class="bottom-container">
<div class="bottom-left">
<user-card :userId="this.$store.state.userProfile.userId"></user-card>
<card-container style="margin-top: 16px" title="项目草稿箱">
</card-container>
<card-container style="margin-top: 16px" title="提问草稿箱">
</card-container>
<card-container style="margin-top: 16px" title="Ta的提问">
</card-container>
<card-container style="margin-top: 16px" title="博客草稿箱">
</card-container>
<card-container style="margin-top: 16px" title="博文归档">
</card-container>
<card-container style="margin-top: 16px" title="我创建的话题">
</card-container>
<card-container style="margin-top: 16px" title="我参与的话题">
</card-container>
<card-container style="margin-top: 16px" title="访问统计">
</card-container>
<nuxt-child show="left"></nuxt-child>
</div>
<div class="bottom-right">
<div class="bottom-right__tab">
<div class="tab__left">
<div class="left__item">
<nuxt-link tag="div" class="left__item" to="/personal-center/home/project">
<p class="abs"></p>
<p class="word">全部</p>
<p class="line" v-if="selected==='全部'"></p>
</div>
<div class="left__item">
<p class="word">项目</p>
<p class="line" v-if="selected==='project'"></p>
</nuxt-link>
<nuxt-link tag="div" class="left__item" to="/personal-center/home/blog">
<p class="abs"></p>
<p class="word">评论</p>
<p class="line" v-if="selected==='评论'"></p>
</div>
<div class="left__item">
<p class="word">博客</p>
<p class="line" v-if="selected==='blog'"></p>
</nuxt-link>
<nuxt-link tag="div" class="left__item" to="/personal-center/home/answer?type=1">
<p class="abs"></p>
<p class="word">喜欢</p>
<p class="line" v-if="selected==='评论'"></p>
</div>
<div class="left__item">
<p class="word">问答</p>
<p class="line" v-if="selected==='answer'"></p>
</nuxt-link>
<nuxt-link tag="div" class="left__item" to="/personal-center/home/dynamic">
<p class="abs"></p>
<p class="word">粉丝</p>
<p class="line" v-if="selected==='评论'"></p>
</div>
<div class="left__item">
<p class="word">动态</p>
<p class="line" v-if="selected==='dynamic'"></p>
</nuxt-link>
<nuxt-link tag="div" class="left__item" to="/personal-center/home/topic?type=1">
<p class="abs"></p>
<p class="word">公告</p>
<p class="line" v-if="selected==='评论'"></p>
</div>
<p class="word">话题</p>
<p class="line" v-if="selected==='topic'"></p>
</nuxt-link>
<nuxt-link tag="div" class="left__item" to="/personal-center/home/info">
<p class="abs"></p>
<p class="word">资料</p>
<p class="line" v-if="selected==='info'"></p>
</nuxt-link>
</div>
<p class="tab__right">
</p>
</div>
<card-container style="margin-top: 16px" title="项目" label="换一换">
<project-card></project-card>
<project-card></project-card>
<project-card></project-card>
<project-card></project-card>
<project-card></project-card>
<project-card></project-card>
</card-container>
<nuxt-child show="right"></nuxt-child>
</div>
</div>
......@@ -88,10 +64,10 @@
<script>
import UserCard from '../../../components/pc/userCard';
import ProjectCard from '../../../components/pc/projectCard';
import CardContainer from '../../../components/pc/cardContainer';
import PageFooter from '../../../components/pc/pageFooter';
import UserCard from '../../components/pc/userCard';
import ProjectCard from '../../components/pc/projectCard';
import CardContainer from '../../components/pc/cardContainer';
import PageFooter from '../../components/pc/pageFooter';
export default {
......@@ -99,17 +75,25 @@
data(){
return{
labelList: ['我的消息','私信'],
selected:'项目'
selected:'none'
}
},
components:{
UserCard,ProjectCard,CardContainer,PageFooter
},
watch:{
// $route(val){
// let path = this.$route.path;
// console.log(this.$route);
// let index = path.lastIndexOf('/');
// console.log(path.substring(index+1))
//
// this.selected = path.substring(index+1);
// console.log(this.selected);
// }
// },
methods:{
showAlert(){
......@@ -130,17 +114,11 @@
mounted(){
// this.$popupbox();
// message 使用方法
// this.$message({
// message:'hellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohello',
// type:'info'
// })
}
}
</script>
<style lang="scss" scoped>
......
<template>
<div>
<div v-show="show==='right'">
<card-container key="container3" style="margin-top: 16px" :title="rightConTitle" label="换一换">
<answer-card v-for="(val,index) in rightList" :key="val.questionId" :info="val"></answer-card>
</card-container>
<pagination key="container5" style="margin:20px auto;" :pages="pages" v-on:listenPageChange="changePage"></pagination>
</div>
</div>
</template>
<script>
import ProjectCard from '../../../components/pc/projectCard';
import AnswerCard from '../../../components/pc/answerCard';
import CardContainer from '../../../components/pc/cardContainer';
import config from '../../../action/config';
import Pagination from "../../../components/pc/pagination";
export default {
name:'answer',
props:{
show:String
},
data(){
return{
rightConType:1,
leftList:[],
rightList:[],
pages:1,
}
},
computed:{
rightConTitle(){ return this.rightConType===1?'我创建的问题':'我参与的问题'},
},
components:{
ProjectCard,CardContainer,AnswerCard,Pagination
},
created(){
this.rightConType = this.$route.query.type==="1"?1:2;
this.changePage();
},
methods:{
dataGetMyAnswer(currentPage){
this.$axios.$get(config.api.get.Question.myCreated,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
if(this.rightConType===1){
this.rightList = response.data.dataList;
this.pages = response.data.totalPage;
}else{
this.leftList = response.data.dataList;
}
})
},
dataGetNoticeAnswer(currentPage){
this.$axios.$get(config.api.get.Question.myParticipated,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
if(this.rightConType===2){
this.rightList = response.data.dataList;
this.pages = response.data.totalPage;
}else{
this.leftList = response.data.dataList;
}
})
},
changePage(currentPage){
//返回页数 请求新的数据
if(this.rightConType===1){
this.dataGetMyAnswer(currentPage);
}
if(this.rightConType===2){
this.dataGetNoticeAnswer(currentPage);
}
}
},
}
</script>
<style lang="scss">
</style>
<template>
<div>
<div v-show="show==='right'">
<card-container key="container3" style="margin-top: 16px" :title="rightConTitle" label="换一换">
<blog-card v-for="(val,index) in rightList" :key="val.blogId" :info="val"></blog-card>
</card-container>
<pagination key="container5" style="margin:20px auto;" :pages="pages" v-on:listenPageChange="changePage"></pagination>
</div>
</div>
</template>
<script>
import BlogCard from '../../../components/pc/projectCard';
import CardContainer from '../../../components/pc/cardContainer';
import config from '../../../action/config';
import Pagination from "../../../components/pc/pagination";
export default {
name:'blog',
props:{
show:String
},
data(){
return{
rightConType:1,
leftList:[],
rightList:[],
pages:1,
}
},
computed:{
rightConTitle(){ return this.rightConType===1?'我的博客':'我关注的话题'},
},
components:{
BlogCard,CardContainer,Pagination
},
methods:{
dataGetBlog(currentPage){
this.$axios.$get(config.api.get.Blog.myList,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
this.rightList = response.data.dataList;
this.pages = response.data.totalPage;
})
},
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetBlog(currentPage);
}
},
}
</script>
<style lang="scss">
</style>
<template>
<div>
<div v-show="show==='right'">
<release-card style="margin-top: 16px"></release-card>
<social-card v-for="(val,index) in rightList" :key="val.blogId" :info="val"></social-card>
<pagination key="container5" style="margin:20px auto;" :pages="pages" v-on:listenPageChange="changePage"></pagination>
</div>
</div>
</template>
<script>
import SocialCard from '../../../components/pc/socialContactCard';
import ReleaseCard from '../../../components/pc/releaseCard';
import CardContainer from '../../../components/pc/cardContainer';
import config from '../../../action/config';
import Pagination from "../../../components/pc/pagination";
export default {
name:'dynamic',
props:{
show:String
},
data(){
return{
rightConType:1,
leftList:[],
rightList:[],
pages:1,
}
},
computed:{
rightConTitle(){ return this.rightConType===1?'我的动态':'我关注的话题'},
},
components:{
SocialCard,CardContainer,Pagination,ReleaseCard
},
methods:{
dataGetDynamic(currentPage){
this.$axios.$get(config.api.get.Post.myList,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
this.rightList = response.data.dataList;
this.pages = response.data.totalPage;
})
},
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetDynamic(currentPage);
}
},
}
</script>
<style lang="scss">
</style>
<template>
<div>
<div v-show="show==='right'">
<card-container key="container3" style="margin-top: 16px" :title="rightConTitle" label="换一换">
<project-card v-for="(val,index) in rightList" :key="val.projectId" :info="val"></project-card>
</card-container>
<pagination key="container5" style="margin:20px auto;" :pages="pages" v-on:listenPageChange="changePage"></pagination>
</div>
</div>
</template>
<script>
import ProjectCard from '../../../components/pc/projectCard';
import CardContainer from '../../../components/pc/cardContainer';
import config from '../../../action/config';
import Pagination from "../../../components/pc/pagination";
export default {
name:'project',
props:{
show:String
},
data(){
return{
rightConType:1,
leftList:[],
rightList:[],
pages:1,
}
},
computed:{
rightConTitle(){ return this.rightConType===1?'我参与的项目':'我关注的话题'},
},
components:{
ProjectCard,CardContainer,Pagination
},
methods:{
dataGetProject(currentPage){
this.$axios.$get(config.api.get.Project.myList,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
this.rightList = response.data.dataList;
this.pages = response.data.totalPage;
})
},
changePage(currentPage){
//返回页数 请求新的数据
this.dataGetProject(currentPage);
}
},
}
</script>
<style lang="scss">
</style>
<template>
<div>
<div v-show="show==='right'">
<card-container key="container3" style="margin-top: 16px" :title="rightConTitle" label="换一换">
<topic-card v-for="(val,index) in rightList" :key="val.topicId" :info="val"></topic-card>
</card-container>
<pagination key="container5" style="margin:20px auto;" :pages="pages" v-on:listenPageChange="changePage"></pagination>
</div>
</div>
</template>
<script>
import ProjectCard from '../../../components/pc/projectCard';
import TopicCard from '../../../components/pc/topicCard';
import CardContainer from '../../../components/pc/cardContainer';
import config from '../../../action/config';
import Pagination from "../../../components/pc/pagination";
export default {
name:'topic',
props:{
show:String
},
data(){
return{
rightConType:1,
leftList:[],
rightList:[],
pages:1,
}
},
computed:{
rightConTitle(){ return this.rightConType===1?'我创建的话题':'我关注的话题'},
},
components:{
ProjectCard,CardContainer,TopicCard,Pagination
},
created(){
this.rightConType = this.$route.query.type==="1"?1:2;
this.changePage();
},
methods:{
dataGetMyTopic(currentPage){
this.$axios.$get(config.api.get.Topic.myList,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
if(this.rightConType===1){
this.rightList = this.myTopicList = response.data.dataList;
this.pages = this.pages1 = response.data.totalPage;
}else{
this.leftList=this.myTopicList = response.data.dataList;
this.pages1 = response.data.totalPage;
}
})
},
dataGetNoticeTopic(currentPage){
this.$axios.$get(config.api.get.Topic.myfollowedList,{
params:{
page:currentPage,
size:10
}
}).then((response)=>{
console.log(response.data);
if(this.rightConType===2){
console.log(1)
this.rightList =this.noticeTopicList = response.data.records;
this.pages = this.pages2 = response.data.pages;
console.log(this.rightList)
console.log(this.pages)
}else{
console.log(2)
this.leftList=this.noticeTopicList = response.data.records;
this.pages2 = response.data.pages;
}
})
},
changePage(currentPage){
//返回页数 请求新的数据
if(this.rightConType===1){
this.dataGetMyTopic(currentPage);
}
if(this.rightConType===2){
this.dataGetNoticeTopic(currentPage);
}
}
},
}
</script>
<style lang="scss">
</style>
<template>
<div class="topic-container">
<div class="topic-container__main">
<div class="topic-container__left">
<nav-wrap
width="106px"
:list="list"
></nav-wrap>
</div>
<div class="topic-container__center">
<card-container
width="816px"
height="1070px"
:title="labelTitle"
>
<topic-card></topic-card>
</card-container>
<div class="pagination">
<pagination style="margin: 0 auto;"></pagination>
</div>
</div>
<div class="topic-container__right">
<card-container
title="话题热搜榜"
label="实时更新"
more="更多"
width="302px"
height="430px"
></card-container>
</div>
</div>
</div>
</template>
<script>
import NavWrap from "../../components/pc/nav/navWrap";
import CardContainer from "../../components/pc/cardContainer";
import ProjectCard from "../../components/pc/projectCard";
import Pagination from "../../components/pc/pagination";
import TopicCard from "../../components/pc/topicCard";
export default {
components: {TopicCard, Pagination, ProjectCard, CardContainer, NavWrap},
data(){
return{
list: [
{
label: '推荐',
address: '/topic',
id: '推荐'
},
{
label: '热门',
address: '/topic',
id: '热门'
},
{
label: '关注',
address: '/topic',
id: '关注'
},
{
label: '最新',
address: '/topic',
id: '最新'
}
]
}
},
created() {
this.$router.replace({
path: '/topic',
query: {
id: '推荐'
}
});
},
computed: {
labelTitle: function () {
return this.$route.query.id + '话题'
}
}
}
</script>
<style lang="scss" scoped>
.topic-container{
> .topic-container__main{
width: $pageWidth;
margin: 0 auto;
padding-top: 16*$length;
padding-bottom: 32*$length;
@extend %flex-row-spb;
align-items: start;
.topic-container__left{}
.topic-container__center{
.pagination{
margin: 32*$length;
}
}
.topic-container__right{
.right__write-topic{
width: 302*$length;
background-color: #fff;
@include fontStyle(14,56,500,#00AAE6,center);
@include border-radius(4*$length);
@extend %animate-transition;
&:hover {
color: #fff;
background-color: #00AAE6;
}
}
}
}
}
</style>
<template>
<div class="topic-detail-container">
<div class="topic-detail-container__search">
<div class="search-box">
<input type="text" />
<div class="icon-box">
<yun-icon name="search"></yun-icon>
</div>
</div>
</div>
<div class="topic-detail-container__main">
<div class="main__part1">
<topic-card :info="topicCardInfo" style="border-radius: 4px;overflow: hidden"></topic-card>
<div class="part1__bottom">
<div class="__left">
<nav-wrap
width="106px"
:list="list"
></nav-wrap>
</div>
<div class="__right">
<release-card></release-card>
<social-contact-card></social-contact-card>
<social-contact-card></social-contact-card>
<social-contact-card></social-contact-card>
<social-contact-card></social-contact-card>
<social-contact-card></social-contact-card>
</div>
</div>
</div>
<div class="main-part2">
<card-container
title="话题发起人"
more="更多"
width="302px"
></card-container>
<card-container
title="活跃用户"
label="换一换"
more="更多"
width="302px"
style="margin-top: 16px"
></card-container>
</div>
</div>
</div>
</template>
<script>
import NavWrap from "../../../components/pc/nav/navWrap";
import CardContainer from "../../../components/pc/cardContainer";
import Pagination from "../../../components/pc/pagination";
import TopicCard from "../../../components/pc/topicCard";
import ReleaseCard from '../../../components/pc/releaseCard';
import SocialContactCard from '../../../components/pc/socialContactCard';
import config from '../../../action/config'
export default {
components: {TopicCard, Pagination, CardContainer, NavWrap,ReleaseCard,SocialContactCard},
data(){
return{
list: [
{
label: '推荐',
address: '/topic/detail',
id: '推荐'
},
{
label: '热门',
address: '/topic/detail',
id: '热门'
},
{
label: '关注',
address: '/topic/detail',
id: '关注'
},
{
label: '我的',
address: '/topic/detail',
id: '我的'
},
{
label: '文字',
address: '/topic/detail',
id: '文字'
},
{
label: '视频',
address: '/topic/detail',
id: '视频'
},
{
label: '图片',
address: '/topic/detail',
id: '图片'
},
{
label: '项目',
address: '/topic/detail',
id: '项目'
},
{
label: '代码',
address: '/topic/detail',
id: '代码'
},
],
topicCardInfo:{},
}
},
created() {
let path = this.$route.path;
let index = path.lastIndexOf('/');
let id = path.substring(index+1);
this.dataGetTopicInfo(id);
this.$router.replace({
path: path,
query: {
id: '推荐'
}
});
},
computed: {
labelTitle: function () {
return this.$route.query.id + '话题'
}
},
methods:{
dataGetTopicInfo(id){
if(id!=='detail'){
this.$axios.$get(config.api.get.Topic.detail+id).then((response)=>{
console.log(response.data);
this.topicCardInfo = response.data;
})
}
}
},
}
</script>
<style lang="scss" scoped>
.topic-detail-container{
> .topic-detail-container__search{
width: 100%;
height:160*$length;
background-image: url("../../../assets/img/search_bg.png");
background-position: 50% 50%;
background-size: 100% 100%;
background-repeat: repeat;
@extend %flex-row-center;
.search-box{
width:408*$length;
height:40*$length;
@extend %flex-row-spb;
border-radius: 4*$length;
overflow: hidden;
input{
width: 318*$length;
height:40*$length;
padding:12*$length 16*$length;
@include fontStyle(12,40,500,#333,left);
}
.icon-box{
width:90*$length;
height:40*$length;
@extend %flex-row-center;
background-color: #00AAE6;
@include fontStyle(12,40,500,#333,left);
@extend %cursorPointer;
i{
color:#fff;
font-size: 12*$font-size;
}
}
}
}
> .topic-detail-container__main{
width: $pageWidth;
margin: 0 auto;
padding-bottom: 32*$length;
@extend %flex-row-spb;
align-items: start;
margin-top: 24*$length;
.main__part1{
width:938*$length;
.part1__bottom{
@extend %flex-row-spb;
align-items: flex-start;
margin-top: 16*$length;
.__left{
width:106*$length;
}
.__right{
width:816*$length;
}
}
}
.main__part2{
width:302*$length;
}
}
}
</style>
......@@ -35,13 +35,12 @@
<script>
import NavWrap from "../../components/pc/nav/navWrap";
import CardContainer from "../../components/pc/cardContainer";
import ProjectCard from "../../components/pc/projectCard";
import Pagination from "../../components/pc/pagination";
import TopicCard from "../../components/pc/topicCard";
import config from '../../action/config';
export default {
components: {TopicCard, Pagination, ProjectCard, CardContainer, NavWrap},
components: {TopicCard, Pagination, CardContainer, NavWrap},
data(){
return{
list: [
......
......@@ -3,7 +3,7 @@ Frame Function Args
00180232080 0018005D44E (0018021D639, 0018021DC39, 0018022E2F0, 000FFFFB720)
00180232080 00180046609 (C0C0C000008080, FF000000808080, FFFF000000FF00, FF00FF000000FF)
00180232080 00180046642 (0018021D616, 000000001E7, 0018022E2F0, 80808000C0C0C0)
00180232080 001800433C3 (00000000000, 00180232080, 7FFDD001888E, 001800004EC)
00180232080 001800433C3 (00000000000, 00180232080, 7FFF4409888E, 001800004EC)
00180232080 0018006B581 (C0C0C000008080, FF000000808080, FFFF000000FF00, FF00FF000000FF)
00180232080 0018006C3CC (00000000000, 0010065D4A8, 00000000000, 00000000000)
00180232080 0018006E4E6 (00000000000, 00000000008, 0006C57D890, 00000000000)
......@@ -13,7 +13,7 @@ Frame Function Args
00000000001 0010057F413 (00000000008, 001006642E0, 00000000000, 00000000000)
00000000001 001005747F6 (00000000000, 0005A6D26A9, 0001772867C, 00000010000)
00000000001 001005D381B (00000000001, 0006B7E1F10, 00180053BD3, 00100666620)
00600049080 001005E0BAA (00000000020, 001802DA8E0, 00180047B96, 00180046BA0)
00600049090 001005E0BAA (00000000020, 001802DA8E0, 00180047B96, 00180046BA0)
000FFFFCCB0 00180047C07 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000 00180045873 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace (more stack frames may be present)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment