├── static ├── .gitkeep └── img │ ├── head.jpg │ ├── long.png │ ├── mao.png │ ├── snjz.jpg │ ├── timg.jpg │ ├── tou.jpg │ ├── tou.png │ ├── up.png │ ├── upto.png │ ├── web.ico │ ├── headbg.jpg │ ├── heart.png │ ├── heart.psd │ ├── maoto.png │ ├── scroll.png │ ├── aboutme.jpg │ ├── aimee │ ├── QQ.jpg │ ├── gzh.jpg │ ├── erwm.jpg │ ├── meishi.jpg │ └── wechat.jpg │ ├── favicon.ico │ ├── footer01.png │ ├── headbg02.jpg │ ├── headbg03.jpg │ ├── headbg04.jpg │ ├── headbg05.jpg │ ├── headtou.jpg │ ├── headtou02.jpg │ ├── heart02.png │ ├── message0.jpg │ ├── qinlh │ ├── qq.jpg │ └── wechat.jpg │ └── emot │ └── image │ ├── han.gif │ ├── ku.gif │ ├── kun.gif │ ├── lai.gif │ ├── lei.gif │ ├── no.gif │ ├── nu.gif │ ├── ok.gif │ ├── ruo.gif │ ├── se.gif │ ├── tu.gif │ ├── xin.gif │ ├── xu.gif │ ├── ye.gif │ ├── yun.gif │ ├── zan.gif │ ├── zhu.gif │ ├── aini.gif │ ├── bishi.gif │ ├── bizui.gif │ ├── fennu.gif │ ├── fuyun.gif │ ├── geili.gif │ ├── good.gif │ ├── haha.gif │ ├── heng.gif │ ├── hufen.gif │ ├── jiong.gif │ ├── jiyan.gif │ ├── keai.gif │ ├── lazhu.gif │ ├── numa.gif │ ├── qian.gif │ ├── shuai.gif │ ├── shui.gif │ ├── sikao.gif │ ├── tuzi.gif │ ├── wabi.gif │ ├── weiqu.gif │ ├── weiwu.gif │ ├── xixi.gif │ ├── yiwen.gif │ ├── baibai.gif │ ├── baiyan.gif │ ├── baobao.gif │ ├── beishang.gif │ ├── caonima.gif │ ├── chanzui.gif │ ├── chijing.gif │ ├── dangao.gif │ ├── ganmao.gif │ ├── guzhang.gif │ ├── haixiu.gif │ ├── haqian.gif │ ├── heixian.gif │ ├── huatong.gif │ ├── kelian.gif │ ├── qinqin.gif │ ├── shangxin.gif │ ├── shenma.gif │ ├── shiwang.gif │ ├── shudaizi.gif │ ├── touxiao.gif │ ├── weiguan.gif │ ├── weixiao.gif │ ├── xiongmao.gif │ ├── yinxian.gif │ ├── fahongbao.gif │ ├── shengbing.gif │ ├── taikaixin.gif │ ├── zhuakuang.gif │ ├── youhengheng.gif │ └── zuohengheng.gif ├── src ├── assets │ ├── css │ │ ├── style.css │ │ ├── style.less │ │ ├── sigmar.css │ │ └── shCoreDefault.css │ └── logo.png ├── store │ └── index.js ├── main.js ├── pages │ ├── Share.vue │ ├── Message.vue │ ├── Reward.vue │ ├── LikeCollect.vue │ ├── Home.vue │ ├── Aboutme.vue │ ├── FriendsLink.vue │ └── DetailShare.vue ├── components │ ├── temMSG.vue │ ├── temAbout.vue │ ├── temFriends.vue │ ├── temReward.vue │ ├── temLikeList.vue │ ├── temSharelist.vue │ └── temDetail.vue ├── router │ └── index.js ├── App.vue └── utils │ ├── server.js │ └── theater.js ├── config ├── prod.env.js ├── dev.env.js └── index.js ├── dist ├── static │ ├── img │ │ ├── head.jpg │ │ ├── long.png │ │ ├── mao.png │ │ ├── snjz.jpg │ │ ├── timg.jpg │ │ ├── tou.jpg │ │ ├── tou.png │ │ ├── up.png │ │ ├── upto.png │ │ ├── web.ico │ │ ├── headbg.jpg │ │ ├── heart.png │ │ ├── heart.psd │ │ ├── maoto.png │ │ ├── scroll.png │ │ ├── aboutme.jpg │ │ ├── aimee │ │ │ ├── QQ.jpg │ │ │ ├── gzh.jpg │ │ │ ├── erwm.jpg │ │ │ ├── meishi.jpg │ │ │ └── wechat.jpg │ │ ├── favicon.ico │ │ ├── footer01.png │ │ ├── headbg02.jpg │ │ ├── headbg03.jpg │ │ ├── headbg04.jpg │ │ ├── headbg05.jpg │ │ ├── headtou.jpg │ │ ├── headtou02.jpg │ │ ├── heart02.png │ │ ├── message0.jpg │ │ ├── qinlh │ │ │ ├── qq.jpg │ │ │ └── wechat.jpg │ │ └── emot │ │ │ └── image │ │ │ ├── han.gif │ │ │ ├── ku.gif │ │ │ ├── kun.gif │ │ │ ├── lai.gif │ │ │ ├── lei.gif │ │ │ ├── no.gif │ │ │ ├── nu.gif │ │ │ ├── ok.gif │ │ │ ├── ruo.gif │ │ │ ├── se.gif │ │ │ ├── tu.gif │ │ │ ├── xin.gif │ │ │ ├── xu.gif │ │ │ ├── ye.gif │ │ │ ├── yun.gif │ │ │ ├── zan.gif │ │ │ ├── zhu.gif │ │ │ ├── aini.gif │ │ │ ├── bishi.gif │ │ │ ├── bizui.gif │ │ │ ├── fennu.gif │ │ │ ├── fuyun.gif │ │ │ ├── geili.gif │ │ │ ├── good.gif │ │ │ ├── haha.gif │ │ │ ├── heng.gif │ │ │ ├── hufen.gif │ │ │ ├── jiong.gif │ │ │ ├── jiyan.gif │ │ │ ├── keai.gif │ │ │ ├── lazhu.gif │ │ │ ├── numa.gif │ │ │ ├── qian.gif │ │ │ ├── shuai.gif │ │ │ ├── shui.gif │ │ │ ├── sikao.gif │ │ │ ├── tuzi.gif │ │ │ ├── wabi.gif │ │ │ ├── weiqu.gif │ │ │ ├── weiwu.gif │ │ │ ├── xixi.gif │ │ │ ├── yiwen.gif │ │ │ ├── baibai.gif │ │ │ ├── baiyan.gif │ │ │ ├── baobao.gif │ │ │ ├── beishang.gif │ │ │ ├── caonima.gif │ │ │ ├── chanzui.gif │ │ │ ├── chijing.gif │ │ │ ├── dangao.gif │ │ │ ├── ganmao.gif │ │ │ ├── guzhang.gif │ │ │ ├── haixiu.gif │ │ │ ├── haqian.gif │ │ │ ├── heixian.gif │ │ │ ├── huatong.gif │ │ │ ├── kelian.gif │ │ │ ├── qinqin.gif │ │ │ ├── shangxin.gif │ │ │ ├── shenma.gif │ │ │ ├── shiwang.gif │ │ │ ├── shudaizi.gif │ │ │ ├── touxiao.gif │ │ │ ├── weiguan.gif │ │ │ ├── weixiao.gif │ │ │ ├── xiongmao.gif │ │ │ ├── yinxian.gif │ │ │ ├── fahongbao.gif │ │ │ ├── shengbing.gif │ │ │ ├── taikaixin.gif │ │ │ ├── zhuakuang.gif │ │ │ ├── youhengheng.gif │ │ │ └── zuohengheng.gif │ ├── fonts │ │ └── element-icons.ttf │ └── js │ │ ├── 3.js │ │ ├── 8.js │ │ ├── manifest.js │ │ ├── 5.js │ │ ├── 4.js │ │ ├── app.js │ │ ├── 7.js │ │ ├── 1.js │ │ ├── 2.js │ │ ├── 6.js │ │ ├── 9.js │ │ └── 10.js └── index.html ├── .editorconfig ├── .gitignore ├── .babelrc ├── .postcssrc.js ├── README.md ├── package.json └── index.html /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/css/style.css: -------------------------------------------------------------------------------- 1 | /******reset********/ 2 | -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /static/img/head.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/head.jpg -------------------------------------------------------------------------------- /static/img/long.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/long.png -------------------------------------------------------------------------------- /static/img/mao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/mao.png -------------------------------------------------------------------------------- /static/img/snjz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/snjz.jpg -------------------------------------------------------------------------------- /static/img/timg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/timg.jpg -------------------------------------------------------------------------------- /static/img/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/tou.jpg -------------------------------------------------------------------------------- /static/img/tou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/tou.png -------------------------------------------------------------------------------- /static/img/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/up.png -------------------------------------------------------------------------------- /static/img/upto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/upto.png -------------------------------------------------------------------------------- /static/img/web.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/web.ico -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /static/img/headbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headbg.jpg -------------------------------------------------------------------------------- /static/img/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/heart.png -------------------------------------------------------------------------------- /static/img/heart.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/heart.psd -------------------------------------------------------------------------------- /static/img/maoto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/maoto.png -------------------------------------------------------------------------------- /static/img/scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/scroll.png -------------------------------------------------------------------------------- /dist/static/img/head.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/head.jpg -------------------------------------------------------------------------------- /dist/static/img/long.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/long.png -------------------------------------------------------------------------------- /dist/static/img/mao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/mao.png -------------------------------------------------------------------------------- /dist/static/img/snjz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/snjz.jpg -------------------------------------------------------------------------------- /dist/static/img/timg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/timg.jpg -------------------------------------------------------------------------------- /dist/static/img/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/tou.jpg -------------------------------------------------------------------------------- /dist/static/img/tou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/tou.png -------------------------------------------------------------------------------- /dist/static/img/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/up.png -------------------------------------------------------------------------------- /dist/static/img/upto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/upto.png -------------------------------------------------------------------------------- /dist/static/img/web.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/web.ico -------------------------------------------------------------------------------- /static/img/aboutme.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/aboutme.jpg -------------------------------------------------------------------------------- /static/img/aimee/QQ.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/aimee/QQ.jpg -------------------------------------------------------------------------------- /static/img/aimee/gzh.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/aimee/gzh.jpg -------------------------------------------------------------------------------- /static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/favicon.ico -------------------------------------------------------------------------------- /static/img/footer01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/footer01.png -------------------------------------------------------------------------------- /static/img/headbg02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headbg02.jpg -------------------------------------------------------------------------------- /static/img/headbg03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headbg03.jpg -------------------------------------------------------------------------------- /static/img/headbg04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headbg04.jpg -------------------------------------------------------------------------------- /static/img/headbg05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headbg05.jpg -------------------------------------------------------------------------------- /static/img/headtou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headtou.jpg -------------------------------------------------------------------------------- /static/img/headtou02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/headtou02.jpg -------------------------------------------------------------------------------- /static/img/heart02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/heart02.png -------------------------------------------------------------------------------- /static/img/message0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/message0.jpg -------------------------------------------------------------------------------- /static/img/qinlh/qq.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/qinlh/qq.jpg -------------------------------------------------------------------------------- /dist/static/img/headbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headbg.jpg -------------------------------------------------------------------------------- /dist/static/img/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/heart.png -------------------------------------------------------------------------------- /dist/static/img/heart.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/heart.psd -------------------------------------------------------------------------------- /dist/static/img/maoto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/maoto.png -------------------------------------------------------------------------------- /dist/static/img/scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/scroll.png -------------------------------------------------------------------------------- /static/img/aimee/erwm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/aimee/erwm.jpg -------------------------------------------------------------------------------- /dist/static/img/aboutme.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/aboutme.jpg -------------------------------------------------------------------------------- /dist/static/img/aimee/QQ.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/aimee/QQ.jpg -------------------------------------------------------------------------------- /dist/static/img/aimee/gzh.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/aimee/gzh.jpg -------------------------------------------------------------------------------- /dist/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/favicon.ico -------------------------------------------------------------------------------- /dist/static/img/footer01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/footer01.png -------------------------------------------------------------------------------- /dist/static/img/headbg02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headbg02.jpg -------------------------------------------------------------------------------- /dist/static/img/headbg03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headbg03.jpg -------------------------------------------------------------------------------- /dist/static/img/headbg04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headbg04.jpg -------------------------------------------------------------------------------- /dist/static/img/headbg05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headbg05.jpg -------------------------------------------------------------------------------- /dist/static/img/headtou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headtou.jpg -------------------------------------------------------------------------------- /dist/static/img/headtou02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/headtou02.jpg -------------------------------------------------------------------------------- /dist/static/img/heart02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/heart02.png -------------------------------------------------------------------------------- /dist/static/img/message0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/message0.jpg -------------------------------------------------------------------------------- /dist/static/img/qinlh/qq.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/qinlh/qq.jpg -------------------------------------------------------------------------------- /static/img/aimee/meishi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/aimee/meishi.jpg -------------------------------------------------------------------------------- /static/img/aimee/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/aimee/wechat.jpg -------------------------------------------------------------------------------- /static/img/emot/image/han.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/han.gif -------------------------------------------------------------------------------- /static/img/emot/image/ku.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/ku.gif -------------------------------------------------------------------------------- /static/img/emot/image/kun.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/kun.gif -------------------------------------------------------------------------------- /static/img/emot/image/lai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/lai.gif -------------------------------------------------------------------------------- /static/img/emot/image/lei.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/lei.gif -------------------------------------------------------------------------------- /static/img/emot/image/no.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/no.gif -------------------------------------------------------------------------------- /static/img/emot/image/nu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/nu.gif -------------------------------------------------------------------------------- /static/img/emot/image/ok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/ok.gif -------------------------------------------------------------------------------- /static/img/emot/image/ruo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/ruo.gif -------------------------------------------------------------------------------- /static/img/emot/image/se.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/se.gif -------------------------------------------------------------------------------- /static/img/emot/image/tu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/tu.gif -------------------------------------------------------------------------------- /static/img/emot/image/xin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/xin.gif -------------------------------------------------------------------------------- /static/img/emot/image/xu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/xu.gif -------------------------------------------------------------------------------- /static/img/emot/image/ye.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/ye.gif -------------------------------------------------------------------------------- /static/img/emot/image/yun.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/yun.gif -------------------------------------------------------------------------------- /static/img/emot/image/zan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/zan.gif -------------------------------------------------------------------------------- /static/img/emot/image/zhu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/zhu.gif -------------------------------------------------------------------------------- /static/img/qinlh/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/qinlh/wechat.jpg -------------------------------------------------------------------------------- /dist/static/img/aimee/erwm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/aimee/erwm.jpg -------------------------------------------------------------------------------- /static/img/emot/image/aini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/aini.gif -------------------------------------------------------------------------------- /static/img/emot/image/bishi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/bishi.gif -------------------------------------------------------------------------------- /static/img/emot/image/bizui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/bizui.gif -------------------------------------------------------------------------------- /static/img/emot/image/fennu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/fennu.gif -------------------------------------------------------------------------------- /static/img/emot/image/fuyun.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/fuyun.gif -------------------------------------------------------------------------------- /static/img/emot/image/geili.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/geili.gif -------------------------------------------------------------------------------- /static/img/emot/image/good.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/good.gif -------------------------------------------------------------------------------- /static/img/emot/image/haha.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/haha.gif -------------------------------------------------------------------------------- /static/img/emot/image/heng.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/heng.gif -------------------------------------------------------------------------------- /static/img/emot/image/hufen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/hufen.gif -------------------------------------------------------------------------------- /static/img/emot/image/jiong.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/jiong.gif -------------------------------------------------------------------------------- /static/img/emot/image/jiyan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/jiyan.gif -------------------------------------------------------------------------------- /static/img/emot/image/keai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/keai.gif -------------------------------------------------------------------------------- /static/img/emot/image/lazhu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/lazhu.gif -------------------------------------------------------------------------------- /static/img/emot/image/numa.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/numa.gif -------------------------------------------------------------------------------- /static/img/emot/image/qian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/qian.gif -------------------------------------------------------------------------------- /static/img/emot/image/shuai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shuai.gif -------------------------------------------------------------------------------- /static/img/emot/image/shui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shui.gif -------------------------------------------------------------------------------- /static/img/emot/image/sikao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/sikao.gif -------------------------------------------------------------------------------- /static/img/emot/image/tuzi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/tuzi.gif -------------------------------------------------------------------------------- /static/img/emot/image/wabi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/wabi.gif -------------------------------------------------------------------------------- /static/img/emot/image/weiqu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/weiqu.gif -------------------------------------------------------------------------------- /static/img/emot/image/weiwu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/weiwu.gif -------------------------------------------------------------------------------- /static/img/emot/image/xixi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/xixi.gif -------------------------------------------------------------------------------- /static/img/emot/image/yiwen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/yiwen.gif -------------------------------------------------------------------------------- /dist/static/img/aimee/meishi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/aimee/meishi.jpg -------------------------------------------------------------------------------- /dist/static/img/aimee/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/aimee/wechat.jpg -------------------------------------------------------------------------------- /dist/static/img/emot/image/han.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/han.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/ku.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/ku.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/kun.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/kun.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/lai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/lai.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/lei.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/lei.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/no.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/no.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/nu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/nu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/ok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/ok.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/ruo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/ruo.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/se.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/se.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/tu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/tu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/xin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/xin.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/xu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/xu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/ye.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/ye.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/yun.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/yun.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/zan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/zan.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/zhu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/zhu.gif -------------------------------------------------------------------------------- /dist/static/img/qinlh/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/qinlh/wechat.jpg -------------------------------------------------------------------------------- /static/img/emot/image/baibai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/baibai.gif -------------------------------------------------------------------------------- /static/img/emot/image/baiyan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/baiyan.gif -------------------------------------------------------------------------------- /static/img/emot/image/baobao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/baobao.gif -------------------------------------------------------------------------------- /static/img/emot/image/beishang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/beishang.gif -------------------------------------------------------------------------------- /static/img/emot/image/caonima.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/caonima.gif -------------------------------------------------------------------------------- /static/img/emot/image/chanzui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/chanzui.gif -------------------------------------------------------------------------------- /static/img/emot/image/chijing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/chijing.gif -------------------------------------------------------------------------------- /static/img/emot/image/dangao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/dangao.gif -------------------------------------------------------------------------------- /static/img/emot/image/ganmao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/ganmao.gif -------------------------------------------------------------------------------- /static/img/emot/image/guzhang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/guzhang.gif -------------------------------------------------------------------------------- /static/img/emot/image/haixiu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/haixiu.gif -------------------------------------------------------------------------------- /static/img/emot/image/haqian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/haqian.gif -------------------------------------------------------------------------------- /static/img/emot/image/heixian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/heixian.gif -------------------------------------------------------------------------------- /static/img/emot/image/huatong.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/huatong.gif -------------------------------------------------------------------------------- /static/img/emot/image/kelian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/kelian.gif -------------------------------------------------------------------------------- /static/img/emot/image/qinqin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/qinqin.gif -------------------------------------------------------------------------------- /static/img/emot/image/shangxin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shangxin.gif -------------------------------------------------------------------------------- /static/img/emot/image/shenma.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shenma.gif -------------------------------------------------------------------------------- /static/img/emot/image/shiwang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shiwang.gif -------------------------------------------------------------------------------- /static/img/emot/image/shudaizi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shudaizi.gif -------------------------------------------------------------------------------- /static/img/emot/image/touxiao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/touxiao.gif -------------------------------------------------------------------------------- /static/img/emot/image/weiguan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/weiguan.gif -------------------------------------------------------------------------------- /static/img/emot/image/weixiao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/weixiao.gif -------------------------------------------------------------------------------- /static/img/emot/image/xiongmao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/xiongmao.gif -------------------------------------------------------------------------------- /static/img/emot/image/yinxian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/yinxian.gif -------------------------------------------------------------------------------- /dist/static/fonts/element-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/fonts/element-icons.ttf -------------------------------------------------------------------------------- /dist/static/img/emot/image/aini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/aini.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/bishi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/bishi.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/bizui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/bizui.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/fennu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/fennu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/fuyun.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/fuyun.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/geili.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/geili.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/good.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/good.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/haha.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/haha.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/heng.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/heng.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/hufen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/hufen.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/jiong.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/jiong.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/jiyan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/jiyan.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/keai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/keai.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/lazhu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/lazhu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/numa.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/numa.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/qian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/qian.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shuai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shuai.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shui.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/sikao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/sikao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/tuzi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/tuzi.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/wabi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/wabi.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/weiqu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/weiqu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/weiwu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/weiwu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/xixi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/xixi.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/yiwen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/yiwen.gif -------------------------------------------------------------------------------- /static/img/emot/image/fahongbao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/fahongbao.gif -------------------------------------------------------------------------------- /static/img/emot/image/shengbing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/shengbing.gif -------------------------------------------------------------------------------- /static/img/emot/image/taikaixin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/taikaixin.gif -------------------------------------------------------------------------------- /static/img/emot/image/zhuakuang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/zhuakuang.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/baibai.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/baibai.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/baiyan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/baiyan.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/baobao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/baobao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/beishang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/beishang.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/caonima.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/caonima.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/chanzui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/chanzui.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/chijing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/chijing.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/dangao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/dangao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/ganmao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/ganmao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/guzhang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/guzhang.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/haixiu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/haixiu.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/haqian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/haqian.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/heixian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/heixian.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/huatong.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/huatong.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/kelian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/kelian.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/qinqin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/qinqin.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shangxin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shangxin.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shenma.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shenma.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shiwang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shiwang.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shudaizi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shudaizi.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/touxiao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/touxiao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/weiguan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/weiguan.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/weixiao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/weixiao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/xiongmao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/xiongmao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/yinxian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/yinxian.gif -------------------------------------------------------------------------------- /src/assets/css/style.less: -------------------------------------------------------------------------------- 1 | // "out": true 2 | /******reset********/ 3 | @import "./sigmar.css"; 4 | @import "./shCoreDefault.css"; 5 | -------------------------------------------------------------------------------- /static/img/emot/image/youhengheng.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/youhengheng.gif -------------------------------------------------------------------------------- /static/img/emot/image/zuohengheng.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/static/img/emot/image/zuohengheng.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/fahongbao.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/fahongbao.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/shengbing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/shengbing.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/taikaixin.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/taikaixin.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/zhuakuang.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/zhuakuang.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/youhengheng.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/youhengheng.gif -------------------------------------------------------------------------------- /dist/static/img/emot/image/zuohengheng.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aimee1608/myblogvue/HEAD/dist/static/img/emot/image/zuohengheng.gif -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"' 7 | }) 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | #/dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | .vscode 11 | *.suo 12 | *.ntvs* 13 | *.njsproj 14 | *.sln 15 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 7 | } 8 | }], 9 | "stage-2" 10 | ], 11 | "plugins": ["transform-vue-jsx", "transform-runtime"] 12 | } 13 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | "postcss-import": {}, 6 | "postcss-url": {}, 7 | // to edit target browsers: use "browserslist" field in package.json 8 | "autoprefixer": {} 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | // import * as getters from './getters.js' 4 | 5 | Vue.use(Vuex) 6 | 7 | /** 状态定义 */ 8 | export const state = { 9 | loading: false, 10 | UserList: [111,222,333], //用户列表 11 | themeObj: 0,//主题 12 | aboutmeObj:'',//关于我的信息 13 | host:"http://"+window.location.host+"/port/",//接口路径 14 | keywords:'',//关键词 15 | errorImg: 'this.onerror=null;this.src="' + require('../../static/img/tou.jpg') +'"' 16 | } 17 | 18 | export default new Vuex.Store({ 19 | state, 20 | }) 21 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | // The Vue build version to load with the `import` command 2 | // (runtime-only or standalone) has been set in webpack.base.conf with an alias. 3 | import Vue from 'vue' 4 | import App from './App' 5 | import router from './router' 6 | import ElementUI from 'element-ui' 7 | import 'element-ui/lib/theme-default/index.css' 8 | import './assets/css/style.less' 9 | import store from './store' 10 | 11 | Vue.config.productionTip = false 12 | Vue.use(ElementUI) 13 | 14 | /* eslint-disable no-new */ 15 | new Vue({ 16 | el: '#app', 17 | router, 18 | components: { App }, 19 | template: '', 20 | store 21 | }) 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # myblogvue 2 | 已更新至 https://github.com/Aimee1608/myblog2.0 3 | 4 | 5 | 用于技术分享和总结的个人博客,兼容pc和移动端,用户可通过邮箱注册,邮箱验证通过后,可以登录博客,实现收藏点赞以及留言评论回复等功能,还可以展示个人链接,未登录状态可以以游客方式留言 6 | 7 | 使用 vue.js 框架和Element UI来实现前端组件及数据交互,使用 webpack 构建,另外使用shCore.js实现代码样式 8 | 9 | > A Vue.js project 10 | 11 | ## Build Setup 12 | 13 | ``` bash 14 | # install dependencies 15 | npm install 16 | 17 | # serve with hot reload at localhost:8080 18 | npm run dev 19 | 20 | # build for production with minification 21 | npm run build 22 | 23 | # build for production and view the bundle analyzer report 24 | npm run build --report 25 | ``` 26 | 27 | For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 28 | -------------------------------------------------------------------------------- /src/pages/Share.vue: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 46 | 47 | 50 | -------------------------------------------------------------------------------- /src/components/temMSG.vue: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 41 | 42 | 51 | -------------------------------------------------------------------------------- /src/pages/Message.vue: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 49 | 50 | 53 | -------------------------------------------------------------------------------- /src/pages/Reward.vue: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 48 | 49 | 52 | -------------------------------------------------------------------------------- /src/assets/css/sigmar.css: -------------------------------------------------------------------------------- 1 | /* vietnamese */ 2 | @font-face { 3 | font-family: 'Sigmar One'; 4 | font-style: normal; 5 | font-weight: 200; 6 | src: local('Sigmar One Regular'), local('SigmarOne-Regular'), url(https://fonts.gstatic.com/s/sigmarone/v8/co3DmWZ8kjZuErj9Ta3do6vppkDi.woff2) format('woff2'); 7 | unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; 8 | } 9 | /* latin-ext */ 10 | @font-face { 11 | font-family: 'Sigmar One'; 12 | font-style: normal; 13 | font-weight: 200; 14 | src: local('Sigmar One Regular'), local('SigmarOne-Regular'), url(https://fonts.gstatic.com/s/sigmarone/v8/co3DmWZ8kjZuErj9Ta3do6rppkDi.woff2) format('woff2'); 15 | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; 16 | } 17 | /* latin */ 18 | @font-face { 19 | font-family: 'Sigmar One'; 20 | font-style: normal; 21 | font-weight: 200; 22 | src: local('Sigmar One Regular'), local('SigmarOne-Regular'), url(https://fonts.gstatic.com/s/sigmarone/v8/co3DmWZ8kjZuErj9Ta3do6Tppg.woff2) format('woff2'); 23 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; 24 | } 25 | -------------------------------------------------------------------------------- /src/pages/LikeCollect.vue: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 39 | 40 | 58 | -------------------------------------------------------------------------------- /src/pages/Home.vue: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 45 | 46 | 49 | -------------------------------------------------------------------------------- /src/pages/Aboutme.vue: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 49 | 50 | 53 | -------------------------------------------------------------------------------- /dist/static/js/3.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([3],{"7DI/":function(t,e){},kEhC:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("Cz8s"),a=s("mzkE"),i=s("ZsVV"),r=s("9jkD"),c={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tMSGbox tcommonBox"},[e("header",[e("h1",[e("a",{attrs:{href:"#/DetailShare",target:"_blank"}},[this._v("\n 留言板\n ")])])]),this._v(" "),e("section",[e("h2",[this._v("走过路过不要错过!交流、咨询、吐槽、感叹、勾搭都在这里,尽情畅谈!")]),this._v(" "),e("div",{},[e("img",{staticClass:"maxW",attrs:{src:"static/img/timg.jpg",alt:""}})])])])}]};var o=s("VU/8")({data:function(){return{}},methods:{},watch:{},components:{},created:function(){}},c,!1,function(t){s("7DI/")},null,null).exports,l={name:"Message",data:function(){return{}},methods:{},components:{"wbc-nav":n.a,"wbc-message":r.a,"wbc-msg":o,"wbc-rightlist":i.a,"wbc-footer":a.a},created:function(){}},u={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("wbc-nav"),this._v(" "),e("div",{staticClass:"container"},[e("el-row",{attrs:{gutter:30}},[e("el-col",{staticStyle:{transition:"all .5s ease-out","margin-bottom":"30px"},attrs:{sm:24,md:16}},[e("wbc-msg"),this._v(" "),e("wbc-message")],1),this._v(" "),e("el-col",{attrs:{sm:24,md:8}},[e("wbc-rightlist")],1)],1)],1),this._v(" "),e("wbc-footer")],1)},staticRenderFns:[]};var h=s("VU/8")(l,u,!1,function(t){s("xXsy")},null,null);e.default=h.exports},xXsy:function(t,e){}}); -------------------------------------------------------------------------------- /src/pages/FriendsLink.vue: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 48 | 49 | 52 | -------------------------------------------------------------------------------- /dist/static/js/8.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([8],{SLOm:function(t,e){},c49X:function(t,e){},pUly:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n("Cz8s"),r=n("mzkE"),i=n("1pQF"),a={data:function(){return{friendslink:""}},methods:{},components:{},created:function(){var t=this;Object(i.e)(function(e){t.friendslink=e})}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tFriendsBox"},[n("h1",[t._v("棒棒哒")]),t._v(" "),n("el-row",t._l(t.friendslink,function(e,s){return n("el-col",{key:"f"+s,staticClass:"tf-item",attrs:{span:12}},[n("a",{attrs:{href:e.url,target:"_blank"}},[n("img",{attrs:{src:e.image?e.image:"static/img/tou.jpg",onerror:t.$store.state.errorImg}}),t._v(" "),n("h4",[t._v(t._s(e.name))]),t._v(" "),n("p",[t._v(t._s(e.description))])])])}))],1)},staticRenderFns:[]};var o=n("VU/8")(a,c,!1,function(t){n("SLOm")},null,null).exports,l=n("ZsVV"),u=n("9jkD"),f={name:"FriendsLink",data:function(){return{}},methods:{},components:{"wbc-nav":s.a,"wbc-message":u.a,"wbc-friends":o,"wbc-rightlist":l.a,"wbc-footer":r.a},created:function(){}},d={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("wbc-nav"),this._v(" "),e("div",{staticClass:"container"},[e("el-row",{attrs:{gutter:30}},[e("el-col",{staticStyle:{transition:"all .5s ease-out","margin-bottom":"30px"},attrs:{sm:24,md:16}},[e("wbc-friends"),this._v(" "),e("wbc-message")],1),this._v(" "),e("el-col",{attrs:{sm:24,md:8}},[e("wbc-rightlist")],1)],1)],1),this._v(" "),e("wbc-footer")],1)},staticRenderFns:[]};var m=n("VU/8")(f,d,!1,function(t){n("c49X")},null,null);e.default=m.exports}}); -------------------------------------------------------------------------------- /dist/static/js/manifest.js: -------------------------------------------------------------------------------- 1 | !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var f,i,u,d=0,s=[];d 2 | 31 | 32 | 50 | 51 | 69 | -------------------------------------------------------------------------------- /src/pages/DetailShare.vue: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 58 | 59 | 62 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myblogvue", 3 | "version": "1.0.0", 4 | "description": "代码代码...码码码", 5 | "author": "aimee", 6 | "private": true, 7 | "scripts": { 8 | "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", 9 | "start": "npm run dev", 10 | "build": "node build/build.js" 11 | }, 12 | "dependencies": { 13 | "axios": "^0.17.0", 14 | "element-ui": "^1.4.12", 15 | "vue": "^2.5.2", 16 | "vue-router": "^3.0.1", 17 | "vuex": "^3.0.1" 18 | }, 19 | "devDependencies": { 20 | "autoprefixer": "^7.1.2", 21 | "babel-core": "^6.22.1", 22 | "babel-helper-vue-jsx-merge-props": "^2.0.3", 23 | "babel-loader": "^7.1.1", 24 | "babel-plugin-syntax-jsx": "^6.18.0", 25 | "babel-plugin-transform-runtime": "^6.22.0", 26 | "babel-plugin-transform-vue-jsx": "^3.5.0", 27 | "babel-preset-env": "^1.3.2", 28 | "babel-preset-stage-2": "^6.22.0", 29 | "chalk": "^2.0.1", 30 | "copy-webpack-plugin": "^4.0.1", 31 | "css-loader": "^0.28.0", 32 | "extract-text-webpack-plugin": "^3.0.0", 33 | "file-loader": "^1.1.4", 34 | "friendly-errors-webpack-plugin": "^1.6.1", 35 | "less": "^2.7.2", 36 | "less-loader": "^4.0.5", 37 | "html-webpack-plugin": "^2.30.1", 38 | "node-notifier": "^5.1.2", 39 | "optimize-css-assets-webpack-plugin": "^3.2.0", 40 | "ora": "^1.2.0", 41 | "portfinder": "^1.0.13", 42 | "postcss-import": "^11.0.0", 43 | "postcss-loader": "^2.0.8", 44 | "postcss-url": "^7.2.1", 45 | "rimraf": "^2.6.0", 46 | "semver": "^5.3.0", 47 | "shelljs": "^0.7.6", 48 | "uglifyjs-webpack-plugin": "^1.1.1", 49 | "url-loader": "^0.5.8", 50 | "vue-loader": "^13.3.0", 51 | "vue-style-loader": "^3.0.1", 52 | "vue-template-compiler": "^2.5.2", 53 | "webpack": "^3.6.0", 54 | "webpack-bundle-analyzer": "^2.9.0", 55 | "webpack-dev-server": "^2.9.1", 56 | "webpack-merge": "^4.1.0" 57 | }, 58 | "engines": { 59 | "node": ">= 6.0.0", 60 | "npm": ">= 3.0.0" 61 | }, 62 | "browserslist": [ 63 | "> 1%", 64 | "last 2 versions", 65 | "not ie <= 8" 66 | ] 67 | } 68 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Write the Code. Change the World. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 26 | 47 | 48 | 49 |
50 | 51 | 52 | -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // Template version: 1.3.1 3 | // see http://vuejs-templates.github.io/webpack for documentation. 4 | 5 | const path = require('path') 6 | 7 | module.exports = { 8 | dev: { 9 | 10 | // Paths 11 | assetsSubDirectory: 'static', 12 | assetsPublicPath: '/', 13 | proxyTable: {}, 14 | 15 | // Various Dev Server settings 16 | host: 'localhost', // can be overwritten by process.env.HOST 17 | port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined 18 | autoOpenBrowser: false, 19 | errorOverlay: true, 20 | notifyOnErrors: true, 21 | poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- 22 | 23 | 24 | /** 25 | * Source Maps 26 | */ 27 | 28 | // https://webpack.js.org/configuration/devtool/#development 29 | devtool: 'cheap-module-eval-source-map', 30 | 31 | // If you have problems debugging vue-files in devtools, 32 | // set this to false - it *may* help 33 | // https://vue-loader.vuejs.org/en/options.html#cachebusting 34 | cacheBusting: true, 35 | 36 | cssSourceMap: true 37 | }, 38 | 39 | build: { 40 | // Template for index.html 41 | index: path.resolve(__dirname, '../dist/index.html'), 42 | 43 | // Paths 44 | assetsRoot: path.resolve(__dirname, '../dist'), 45 | assetsSubDirectory: 'static', 46 | assetsPublicPath: './', 47 | 48 | /** 49 | * Source Maps 50 | */ 51 | 52 | productionSourceMap: false, 53 | // https://webpack.js.org/configuration/devtool/#production 54 | devtool: '#source-map', 55 | 56 | // Gzip off by default as many popular static hosts such as 57 | // Surge or Netlify already gzip all static assets for you. 58 | // Before setting to `true`, make sure to: 59 | // npm install --save-dev compression-webpack-plugin 60 | productionGzip: false, 61 | productionGzipExtensions: ['js', 'css'], 62 | 63 | // Run the build command with an extra argument to 64 | // View the bundle analyzer report after build finishes: 65 | // `npm run build --report` 66 | // Set to `true` or `false` to always turn it on or off 67 | bundleAnalyzerReport: process.env.npm_config_report 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /src/components/temFriends.vue: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 40 | 41 | 95 | -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Write the Code. Change the World. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 26 | 47 | 48 | 49 |
50 | 51 | 52 | -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Router from 'vue-router' 3 | Vue.use(Router) 4 | 5 | export default new Router({ 6 | scrollBehavior(to, from, savePosition) { // 在点击浏览器的“前进/后退”,或者切换导航的时候触发。 7 | if (savePosition) { 8 | return savePosition; 9 | } else { 10 | var top; 11 | if (window.innerWidth >= 700) { 12 | top = 676 13 | } else { 14 | top = 267 15 | } 16 | return { 17 | x: 0, 18 | y: top 19 | } 20 | } 21 | }, 22 | routes: [{ 23 | path: '/', 24 | component: resolve => require(['../pages/Home.vue'], resolve), 25 | meta: { 26 | auth: true 27 | }, 28 | name: 'Home' 29 | }, //首页 30 | { 31 | path: '/Home', 32 | component: resolve => require(['../pages/Home.vue'], resolve), 33 | meta: { 34 | auth: true 35 | }, 36 | name: 'Home' 37 | }, //首页 38 | { 39 | path: '/Share', 40 | component: resolve => require(['../pages/Share.vue'], resolve), 41 | meta: { 42 | auth: true 43 | }, 44 | name: 'Share' 45 | }, //分类 46 | { 47 | path: '/DetailShare', 48 | component: resolve => require(['../pages/DetailShare.vue'], resolve), 49 | meta: { 50 | auth: true 51 | }, 52 | name: 'DetailShare' 53 | }, //分享详情 54 | { 55 | path: '/Reward', 56 | component: resolve => require(['../pages/Reward.vue'], resolve), 57 | meta: { 58 | auth: true 59 | }, 60 | name: 'Reward' 61 | }, //赞赏 62 | { 63 | path: '/FriendsLink', 64 | component: resolve => require(['../pages/FriendsLink.vue'], resolve), 65 | meta: { 66 | auth: true 67 | }, 68 | name: 'FriendsLink' 69 | }, //伙伴 70 | { 71 | path: '/Message', 72 | component: resolve => require(['../pages/Message.vue'], resolve), 73 | meta: { 74 | auth: true 75 | }, 76 | name: 'Message' 77 | }, //留言板 78 | { 79 | path: '/Aboutme', 80 | component: resolve => require(['../pages/Aboutme.vue'], resolve), 81 | meta: { 82 | auth: true 83 | }, 84 | name: 'Aboutme' 85 | }, //关于 86 | { 87 | path: '/Login', 88 | component: resolve => require(['../pages/Login.vue'], resolve), 89 | meta: { 90 | auth: false 91 | }, 92 | name: 'Login' 93 | }, //注册登录 94 | { 95 | path: '/UserInfo', 96 | component: resolve => require(['../pages/UserInfo.vue'], resolve), 97 | meta: { 98 | auth: true 99 | }, 100 | name: 'UserInfo' 101 | }, //用户个人中心 102 | { 103 | path: '/LikeCollect', 104 | component: resolve => require(['../pages/LikeCollect.vue'], resolve), 105 | meta: { 106 | auth: true 107 | }, 108 | name: 'LikeCollect' 109 | } //用户个人中心 110 | ] 111 | }) 112 | -------------------------------------------------------------------------------- /dist/static/js/4.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([4],{"08KE":function(t,a){},"8tcH":function(t,a){},gejy:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=e("Cz8s"),s=e("mzkE"),n=e("ZsVV"),i=e("1pQF"),c={data:function(){return{rewardData:"",tableData:[{date:"2016-05-02",name:"王小虎",address:"555"}]}},methods:{showInitDate:function(t,a){return Object(i.t)(t,a)}},components:{},created:function(){var t=this;Object(i.b)(function(a){t.tableData=a.data,t.rewardData=a.admire_code})}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"tRewardBox tcommonBox"},[t._m(0),t._v(" "),e("section",[t._m(1),t._v(" "),e("h1",[t._v("@赞赏说明:")]),t._v(" "),e("p",[t._v("\n 若无特殊说明,赞赏之款项用于给我补充大脑(*/∇\*)\n ")]),t._v(" "),e("p",[t._v("如果我给你带来过欢乐,或者对你有所帮助,欢迎赞赏支持:)")]),t._v(" "),e("p",[t._v("有任何疑问请在下面留言。")]),t._v(" "),e("hr"),t._v(" "),e("h1",[t._v("@赞赏方式:")]),t._v(" "),e("el-row",{attrs:{gutter:30}},[e("el-col",{staticClass:"donate-item",attrs:{span:12}},[e("div",{staticClass:"donate-tip"},[e("img",{attrs:{src:t.rewardData.wechat_image?t.rewardData.wechat_image:"static/img/tou.jpg",onerror:t.$store.state.errorImg}}),t._v(" "),e("span",[t._v("微信扫一扫,向我赞赏")])])]),t._v(" "),e("el-col",{staticClass:"donate-item",attrs:{span:12}},[e("div",{staticClass:"donate-tip"},[e("img",{attrs:{src:t.rewardData.alipay_image?t.rewardData.alipay_image:"static/img/tou.jpg",onerror:t.$store.state.errorImg}}),t._v(" "),e("span",[t._v("支付宝扫一扫,向我赞赏")])])])],1),t._v(" "),e("h1",[t._v("@赞赏记录:")]),t._v(" "),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:""}},[e("el-table-column",{attrs:{prop:"pay_time",label:"日期",align:"center"}}),t._v(" "),e("el-table-column",{attrs:{prop:"name",label:"赞赏人",align:"center"}}),t._v(" "),e("el-table-column",{attrs:{prop:"money",label:"金额",align:"center"}})],1)],1)])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("header",[a("h1",[a("a",{attrs:{href:"#/DetailShare",target:"_blank"}},[this._v("\n 赞赏\n ")])])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{},[a("img",{staticClass:"maxW",attrs:{src:"static/img/timg.jpg",alt:""}})])}]};var o=e("VU/8")(c,l,!1,function(t){e("08KE")},null,null).exports,_=e("9jkD"),m={name:"Reward",data:function(){return{}},methods:{},components:{"wbc-nav":r.a,"wbc-message":_.a,"wbc-reward":o,"wbc-rightlist":n.a,"wbc-footer":s.a},created:function(){}},d={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("wbc-nav"),this._v(" "),a("div",{staticClass:"container"},[a("el-row",{attrs:{gutter:30}},[a("el-col",{staticStyle:{transition:"all .5s ease-out","margin-bottom":"30px"},attrs:{sm:24,md:16}},[a("wbc-reward"),this._v(" "),a("wbc-message")],1),this._v(" "),a("el-col",{attrs:{sm:24,md:8}},[a("wbc-rightlist")],1)],1)],1),this._v(" "),a("wbc-footer")],1)},staticRenderFns:[]};var v=e("VU/8")(m,d,!1,function(t){e("8tcH")},null,null);a.default=v.exports}}); -------------------------------------------------------------------------------- /dist/static/js/app.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([12],{JXLx:function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{include:["Aboutme","Message","FriendsLink","Reward"]}},[n("router-view")],1)],1)},staticRenderFns:[]};var i=t("VU/8")({name:"App"},o,!1,function(e){t("JXLx")},null,null).exports,r=t("/ocq");a.default.use(r.a);var u=new r.a({scrollBehavior:function(e,n,t){return t||{x:0,y:window.innerWidth>=700?676:267}},routes:[{path:"/",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("HXef")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"Home"},{path:"/Home",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("HXef")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"Home"},{path:"/Share",component:function(e){return Promise.all([t.e(0),t.e(2)]).then(function(){var n=[t("zJHd")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"Share"},{path:"/DetailShare",component:function(e){return Promise.all([t.e(0),t.e(6)]).then(function(){var n=[t("vo1k")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"DetailShare"},{path:"/Reward",component:function(e){return Promise.all([t.e(0),t.e(4)]).then(function(){var n=[t("gejy")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"Reward"},{path:"/FriendsLink",component:function(e){return Promise.all([t.e(0),t.e(8)]).then(function(){var n=[t("pUly")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"FriendsLink"},{path:"/Message",component:function(e){return Promise.all([t.e(0),t.e(3)]).then(function(){var n=[t("kEhC")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"Message"},{path:"/Aboutme",component:function(e){return Promise.all([t.e(0),t.e(5)]).then(function(){var n=[t("caxs")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"Aboutme"},{path:"/Login",component:function(e){return Promise.all([t.e(0),t.e(9)]).then(function(){var n=[t("P7ry")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!1},name:"Login"},{path:"/UserInfo",component:function(e){return Promise.all([t.e(0),t.e(10)]).then(function(){var n=[t("psK5")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"UserInfo"},{path:"/LikeCollect",component:function(e){return Promise.all([t.e(0),t.e(7)]).then(function(){var n=[t("vjmD")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{auth:!0},name:"LikeCollect"}]}),l=t("zL8q"),c=t.n(l),h=(t("q8zI"),t("PijW"),t("NYxO"));a.default.use(h.a);var p={loading:!1,UserList:[111,222,333],themeObj:0,aboutmeObj:"",host:"http://"+window.location.host+"/port/",keywords:"",errorImg:'this.onerror=null;this.src="'+t("jQBE")+'"'},s=new h.a.Store({state:p});a.default.config.productionTip=!1,a.default.use(c.a),new a.default({el:"#app",router:u,components:{App:i},template:"",store:s})},PijW:function(e,n){},jQBE:function(e,n,t){e.exports=t.p+"static/img/tou.jpg?v=9656b6d"},q8zI:function(e,n){}},["NHnr"]); -------------------------------------------------------------------------------- /src/components/temReward.vue: -------------------------------------------------------------------------------- 1 | 2 | 46 | 47 | 78 | 79 | 133 | -------------------------------------------------------------------------------- /dist/static/js/7.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([7],{CI7N:function(t,e){},vLHC:function(t,e){},vjmD:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("Cz8s"),i=a("mzkE"),n=a("1pQF"),r={data:function(){return{artId:0,hasMore:!0,articleList:"",like:1,articleName:"",userId:""}},methods:{showInitDate:function(t,e){return Object(n.t)(t,e)},cancelLikeCollect:function(t){var e=this;Object(n.o)(e.userId,t,e.like,function(t){e.routeChange()})},showLikeCollectList:function(t){var e=this;localStorage.getItem("userInfo")&&(e.userInfo=JSON.parse(localStorage.getItem("userInfo")),e.userId=e.userInfo.userId),e.like=void 0==e.$route.query.like?1:parseInt(e.$route.query.like),e.articleName=e.$store.state.keywords,t&&(e.artId=0,e.articleList=[]),Object(n.q)(e.userId,e.artId,e.articleName,e.like,function(t){if(1001==t.code){var a=t.data;a.length>0&&a.length<8?e.hasMore=!1:e.hasMore=!0,e.articleList=e.articleList.concat(a),e.artId=a[a.length-1].id}else 1003==t.code&&(e.hasMore=!1)})},addMoreFun:function(){this.showLikeCollectList(!1)},routeChange:function(){this.showLikeCollectList(!0)}},components:{},watch:{$route:"routeChange","$store.state.keywords":"routeChange"},created:function(){this.routeChange()}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"container"},[a("el-row",[a("div",{staticClass:"likeBoxTitle"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:1==t.like,expression:"like==1"}]},[a("i",{staticClass:"fa fa-wa fa-heart"}),t._v("喜欢的文章")]),t._v(" "),a("h1",{directives:[{name:"show",rawName:"v-show",value:1!=t.like,expression:"like!=1"}]},[a("i",{staticClass:"fa fa-wa fa-star"}),t._v("收藏的文章")])]),t._v(" "),t._l(t.articleList,function(e,s){return a("el-col",{key:"like"+s,staticClass:"s-item tcommonBox",attrs:{span:24}},[a("span",{staticClass:"s-round-date"},[a("span",{staticClass:"month"},[t._v(t._s(t.showInitDate(e.create_time,"month"))+"月")]),t._v(" "),a("span",{staticClass:"day"},[t._v(t._s(t.showInitDate(e.create_time,"date")))])]),t._v(" "),a("header",[a("h1",[a("a",{attrs:{href:"#/DetailShare?aid="+e.id,target:"_blank"}},[t._v("\n "+t._s(e.title)+"\n ")])]),t._v(" "),a("h2",[a("i",{staticClass:"fa fa-fw fa-user"}),t._v("发表于\n "),a("i",{staticClass:"fa fa-fw fa-clock-o"}),t._v(t._s(t.showInitDate(e.create_time,"newDate"))+" •\n "),a("i",{staticClass:"fa fa-fw fa-eye"}),t._v(t._s(e.browse_count)+" 次围观 •\n "),a("i",{staticClass:"fa fa-fw fa-comments"}),t._v("活捉 "+t._s(e.comment_count)+" 条 •\n "),a("span",{staticClass:"rateBox"},[a("i",{staticClass:"fa fa-fw fa-heart"}),t._v(t._s(e.like_count?e.like_count:0)+"点赞 •\n "),a("i",{staticClass:"fa fa-fw fa-star"}),t._v(t._s(e.collect_count?e.collect_count:0)+"收藏\n ")])])]),t._v(" "),a("div",{staticClass:"article-content"},[a("p",{staticStyle:{"text-indent":"2em"}},[t._v("\n "+t._s(e.description)+"\n ")]),t._v(" "),a("p",{staticStyle:{"max-height":"300px",overflow:"hidden","text-align":"center"}},[a("img",{staticClass:"maxW",attrs:{src:e.image,alt:""}})])]),t._v(" "),a("div",{staticClass:"viewdetail"},[a("a",{staticClass:"cancelbtn tcolors-bg",attrs:{href:"javascript:void(0);"},on:{click:function(a){t.cancelLikeCollect(e.id)}}},[t._v("取消"+t._s(1==t.like?"喜欢":"收藏"))]),t._v("    \n "),a("a",{staticClass:"tcolors-bg",attrs:{href:"#/DetailShare?aid="+e.id,target:"_blank"}},[t._v("\n 阅读全文>>\n ")])])])}),t._v(" "),a("el-col",{staticClass:"viewmore"},[a("a",{directives:[{name:"show",rawName:"v-show",value:t.hasMore,expression:"hasMore"}],staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"},on:{click:t.addMoreFun}},[t._v("点击加载更多")]),t._v(" "),a("a",{directives:[{name:"show",rawName:"v-show",value:!t.hasMore,expression:"!hasMore"}],staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"}},[t._v("暂无更多数据")])])],2)],1)])},staticRenderFns:[]};var c=a("VU/8")(r,o,!1,function(t){a("vLHC")},null,null).exports,l={name:"LikeCollect",data:function(){return{}},methods:{},components:{"wbc-nav":s.a,"wbc-footer":i.a,"wbc-like":c},watch:{},created:function(){}},v={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("wbc-nav"),this._v(" "),e("wbc-like"),this._v(" "),e("wbc-footer")],1)},staticRenderFns:[]};var f=a("VU/8")(l,v,!1,function(t){a("CI7N")},null,null);e.default=f.exports}}); -------------------------------------------------------------------------------- /dist/static/js/1.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([1],{HXef:function(s,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=t("Cz8s"),r=t("mzkE"),i=t("y4Yx"),c=t("ZsVV"),l={name:"Home",data:function(){return{}},methods:{},components:{"wbc-nav":e.a,"wbc-sharelist":i.a,"wbc-rightlist":c.a,"wbc-footer":r.a},created:function(){}},n={render:function(){var s=this.$createElement,a=this._self._c||s;return a("div",[a("wbc-nav"),this._v(" "),a("div",{staticClass:"container"},[a("el-row",{attrs:{gutter:30}},[a("el-col",{staticStyle:{transition:"all .5s ease-out","margin-bottom":"30px"},attrs:{sm:24,md:16}},[a("wbc-sharelist")],1),this._v(" "),a("el-col",{attrs:{sm:24,md:8}},[a("wbc-rightlist")],1)],1)],1),this._v(" "),a("wbc-footer")],1)},staticRenderFns:[]};var o=t("VU/8")(l,n,!1,function(s){t("WyRD")},null,null);a.default=o.exports},LeXr:function(s,a){},WyRD:function(s,a){},y4Yx:function(s,a,t){"use strict";var e=t("1pQF"),r={name:"Share",data:function(){return{artId:0,classId:0,sendId:"",className:"",sonclassList:"",classtwoId:5,keywords:"",hasMore:!0,level:1,shareClass:[{classId:1,name:"技术分享",detshare:[{classId:5,name:"移动端H5",pid:1},{classId:6,name:"pc端web",pid:1},{classId:7,name:"小程序",pid:1},{classId:8,name:"php",pid:1},{classId:9,name:"nodejs",pid:1},{classId:10,name:"软件",pid:1},{classId:11,name:"其他",pid:1}]},{classId:2,name:"闲言碎语"},{classId:3,name:"事件簿"},{classId:4,name:"创作集"}],queryClass:1,articleList:""}},methods:{showInitDate:function(s,a){return Object(e.t)(s,a)},showSearchShowList:function(s){var a=this;a.classId=void 0==a.$route.query.classId?0:parseInt(a.$route.query.classId),a.keywords=a.$store.state.keywords,a.classtwoId=void 0==a.$route.query.classtwoId?"":parseInt(a.$route.query.classtwoId),a.sendId=a.classtwoId?a.classtwoId:a.classId,a.level=a.keywords?0:a.classtwoId?0:1,Object(e.c)(function(s){a.shareClass=s});for(var t=0;t0?a.sonclassList=a.shareClass[t].ChildsSon:a.sonclassList="");a.artId=s?0:a.artId,Object(e.j)(a.artId,a.sendId,a.keywords,a.level,function(t){if(1001==t.code){var e=t.data;e.length>0&&e.length<10?a.hasMore=!1:a.hasMore=!0,a.articleList=s?e:a.articleList.concat(e),a.artId=e[e.length-1].id}else a.hasMore=!1,a.articleList=s?[]:a.articleList})},addMoreFun:function(){this.showSearchShowList(!1)},routeChange:function(){this.showSearchShowList(!0)}},components:{},watch:{$route:"routeChange","$store.state.keywords":"routeChange"},created:function(){this.routeChange()}},i={render:function(){var s=this,a=s.$createElement,t=s._self._c||a;return t("el-row",{staticClass:"sharelistBox"},["Share"!=this.$route.name||this.$route.query.keywords?s._e():t("div",{staticClass:"shareTitle"},[t("div",{staticClass:"ui label"},[t("a",{attrs:{href:"#/Share?classId="+s.classId}},[s._v(s._s(s.className))])]),s._v(" "),s.sonclassList?t("ul",{staticClass:"shareclassTwo"},s._l(s.sonclassList,function(a,e){return t("li",[t("a",{class:a.class_id==s.classtwoId?"active":"",attrs:{href:"#/Share?classId="+s.classId+"&classtwoId="+a.class_id}},[s._v(s._s(a.cate_name))])])})):s._e()]),s._v(" "),s._l(s.articleList,function(a,e){return t("el-col",{key:"article"+e,staticClass:"s-item tcommonBox",attrs:{span:24}},[t("span",{staticClass:"s-round-date"},[t("span",{staticClass:"month",domProps:{innerHTML:s._s(s.showInitDate(a.create_time,"month")+"月")}}),s._v(" "),t("span",{staticClass:"day",domProps:{innerHTML:s._s(s.showInitDate(a.create_time,"date"))}})]),s._v(" "),t("header",[t("h1",[t("a",{attrs:{href:"#/DetailShare?aid="+a.id,target:"_blank"}},[s._v("\n "+s._s(a.title)+"\n ")])]),s._v(" "),t("h2",[t("i",{staticClass:"fa fa-fw fa-user"}),s._v("发表于\n "),t("i",{staticClass:"fa fa-fw fa-clock-o"}),t("span",{domProps:{innerHTML:s._s(s.showInitDate(a.create_time,"all"))}},[s._v(s._s(s.showInitDate(a.create_time,"all")))]),s._v(" •\n "),t("i",{staticClass:"fa fa-fw fa-eye"}),s._v(s._s(a.browse_count)+" 次围观 •\n "),t("i",{staticClass:"fa fa-fw fa-comments"}),s._v("活捉 "+s._s(a.comment_count)+" 条 •\n "),t("span",{staticClass:"rateBox"},[t("i",{staticClass:"fa fa-fw fa-heart"}),s._v(s._s(a.like_count?a.like_count:0)+"点赞 •\n "),t("i",{staticClass:"fa fa-fw fa-star"}),s._v(s._s(a.collect_count?a.collect_count:0)+"收藏\n ")])]),s._v(" "),t("div",{staticClass:"ui label"},[t("a",{attrs:{href:"#/Share?classId="+a.class_id}},[s._v(s._s(a.cate_name))])])]),s._v(" "),t("div",{staticClass:"article-content"},[t("p",{staticStyle:{"text-indent":"2em"}},[s._v("\n "+s._s(a.description)+"\n ")]),s._v(" "),t("p",{staticStyle:{"max-height":"300px",overflow:"hidden","text-align":"center"}},[t("img",{staticClass:"maxW",attrs:{src:a.image,alt:""}})])]),s._v(" "),t("div",{staticClass:"viewdetail"},[t("a",{staticClass:"tcolors-bg",attrs:{href:"#/DetailShare?aid="+a.id,target:"_blank"}},[s._v("\n 阅读全文>>\n ")])])])}),s._v(" "),t("el-col",{staticClass:"viewmore"},[t("a",{directives:[{name:"show",rawName:"v-show",value:s.hasMore,expression:"hasMore"}],staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"},on:{click:s.addMoreFun}},[s._v("点击加载更多")]),s._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!s.hasMore,expression:"!hasMore"}],staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"}},[s._v("暂无更多数据")])])],2)},staticRenderFns:[]};var c=t("VU/8")(r,i,!1,function(s){t("LeXr")},null,null);a.a=c.exports}}); -------------------------------------------------------------------------------- /dist/static/js/2.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([2],{LeXr:function(s,a){},XMba:function(s,a){},y4Yx:function(s,a,t){"use strict";var e=t("1pQF"),r={name:"Share",data:function(){return{artId:0,classId:0,sendId:"",className:"",sonclassList:"",classtwoId:5,keywords:"",hasMore:!0,level:1,shareClass:[{classId:1,name:"技术分享",detshare:[{classId:5,name:"移动端H5",pid:1},{classId:6,name:"pc端web",pid:1},{classId:7,name:"小程序",pid:1},{classId:8,name:"php",pid:1},{classId:9,name:"nodejs",pid:1},{classId:10,name:"软件",pid:1},{classId:11,name:"其他",pid:1}]},{classId:2,name:"闲言碎语"},{classId:3,name:"事件簿"},{classId:4,name:"创作集"}],queryClass:1,articleList:""}},methods:{showInitDate:function(s,a){return Object(e.t)(s,a)},showSearchShowList:function(s){var a=this;a.classId=void 0==a.$route.query.classId?0:parseInt(a.$route.query.classId),a.keywords=a.$store.state.keywords,a.classtwoId=void 0==a.$route.query.classtwoId?"":parseInt(a.$route.query.classtwoId),a.sendId=a.classtwoId?a.classtwoId:a.classId,a.level=a.keywords?0:a.classtwoId?0:1,Object(e.c)(function(s){a.shareClass=s});for(var t=0;t0?a.sonclassList=a.shareClass[t].ChildsSon:a.sonclassList="");a.artId=s?0:a.artId,Object(e.j)(a.artId,a.sendId,a.keywords,a.level,function(t){if(1001==t.code){var e=t.data;e.length>0&&e.length<10?a.hasMore=!1:a.hasMore=!0,a.articleList=s?e:a.articleList.concat(e),a.artId=e[e.length-1].id}else a.hasMore=!1,a.articleList=s?[]:a.articleList})},addMoreFun:function(){this.showSearchShowList(!1)},routeChange:function(){this.showSearchShowList(!0)}},components:{},watch:{$route:"routeChange","$store.state.keywords":"routeChange"},created:function(){this.routeChange()}},i={render:function(){var s=this,a=s.$createElement,t=s._self._c||a;return t("el-row",{staticClass:"sharelistBox"},["Share"!=this.$route.name||this.$route.query.keywords?s._e():t("div",{staticClass:"shareTitle"},[t("div",{staticClass:"ui label"},[t("a",{attrs:{href:"#/Share?classId="+s.classId}},[s._v(s._s(s.className))])]),s._v(" "),s.sonclassList?t("ul",{staticClass:"shareclassTwo"},s._l(s.sonclassList,function(a,e){return t("li",[t("a",{class:a.class_id==s.classtwoId?"active":"",attrs:{href:"#/Share?classId="+s.classId+"&classtwoId="+a.class_id}},[s._v(s._s(a.cate_name))])])})):s._e()]),s._v(" "),s._l(s.articleList,function(a,e){return t("el-col",{key:"article"+e,staticClass:"s-item tcommonBox",attrs:{span:24}},[t("span",{staticClass:"s-round-date"},[t("span",{staticClass:"month",domProps:{innerHTML:s._s(s.showInitDate(a.create_time,"month")+"月")}}),s._v(" "),t("span",{staticClass:"day",domProps:{innerHTML:s._s(s.showInitDate(a.create_time,"date"))}})]),s._v(" "),t("header",[t("h1",[t("a",{attrs:{href:"#/DetailShare?aid="+a.id,target:"_blank"}},[s._v("\n "+s._s(a.title)+"\n ")])]),s._v(" "),t("h2",[t("i",{staticClass:"fa fa-fw fa-user"}),s._v("发表于\n "),t("i",{staticClass:"fa fa-fw fa-clock-o"}),t("span",{domProps:{innerHTML:s._s(s.showInitDate(a.create_time,"all"))}},[s._v(s._s(s.showInitDate(a.create_time,"all")))]),s._v(" •\n "),t("i",{staticClass:"fa fa-fw fa-eye"}),s._v(s._s(a.browse_count)+" 次围观 •\n "),t("i",{staticClass:"fa fa-fw fa-comments"}),s._v("活捉 "+s._s(a.comment_count)+" 条 •\n "),t("span",{staticClass:"rateBox"},[t("i",{staticClass:"fa fa-fw fa-heart"}),s._v(s._s(a.like_count?a.like_count:0)+"点赞 •\n "),t("i",{staticClass:"fa fa-fw fa-star"}),s._v(s._s(a.collect_count?a.collect_count:0)+"收藏\n ")])]),s._v(" "),t("div",{staticClass:"ui label"},[t("a",{attrs:{href:"#/Share?classId="+a.class_id}},[s._v(s._s(a.cate_name))])])]),s._v(" "),t("div",{staticClass:"article-content"},[t("p",{staticStyle:{"text-indent":"2em"}},[s._v("\n "+s._s(a.description)+"\n ")]),s._v(" "),t("p",{staticStyle:{"max-height":"300px",overflow:"hidden","text-align":"center"}},[t("img",{staticClass:"maxW",attrs:{src:a.image,alt:""}})])]),s._v(" "),t("div",{staticClass:"viewdetail"},[t("a",{staticClass:"tcolors-bg",attrs:{href:"#/DetailShare?aid="+a.id,target:"_blank"}},[s._v("\n 阅读全文>>\n ")])])])}),s._v(" "),t("el-col",{staticClass:"viewmore"},[t("a",{directives:[{name:"show",rawName:"v-show",value:s.hasMore,expression:"hasMore"}],staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"},on:{click:s.addMoreFun}},[s._v("点击加载更多")]),s._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!s.hasMore,expression:"!hasMore"}],staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"}},[s._v("暂无更多数据")])])],2)},staticRenderFns:[]};var c=t("VU/8")(r,i,!1,function(s){t("LeXr")},null,null);a.a=c.exports},zJHd:function(s,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=t("Cz8s"),r=t("mzkE"),i=t("y4Yx"),c=t("ZsVV"),l={name:"Share",data:function(){return{}},methods:{},components:{"wbc-nav":e.a,"wbc-sharelist":i.a,"wbc-rightlist":c.a,"wbc-footer":r.a},created:function(){}},n={render:function(){var s=this.$createElement,a=this._self._c||s;return a("div",[a("wbc-nav"),this._v(" "),a("div",{staticClass:"container"},[a("el-row",{attrs:{gutter:30}},[a("el-col",{staticStyle:{transition:"all .5s ease-out","margin-bottom":"30px"},attrs:{sm:24,md:16}},[a("wbc-sharelist")],1),this._v(" "),a("el-col",{attrs:{sm:24,md:8}},[a("wbc-rightlist")],1)],1)],1),this._v(" "),a("wbc-footer")],1)},staticRenderFns:[]};var o=t("VU/8")(l,n,!1,function(s){t("XMba")},null,null);a.default=o.exports}}); -------------------------------------------------------------------------------- /dist/static/js/6.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([6],{"/mGD":function(t,a){},"7S8w":function(t,a){},vo1k:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("Cz8s"),i=e("mzkE"),o=e("ZsVV"),n=e("1pQF"),c={data:function(){return{aid:"",pdonate:!0,detailObj:"",likeArt:!1,likeCount:400,collectCount:500,collectArt:!1,haslogin:!1,userId:"",create_time:""}},methods:{showInitDate:function(t,a){return Object(n.t)(t,a)},likecollectHandle:function(t){var a=this;if(localStorage.getItem("userInfo")){var e="";1==t?a.likeArt?(a.likeCount-=1,a.likeArt=!1,e="已取消点赞"):(a.likeCount+=1,a.likeArt=!0,e="已点赞"):a.collectArt?(a.collectCount-=1,a.collectArt=!1,e="已取消收藏"):(a.collectCount+=1,a.collectArt=!0,e="已收藏"),Object(n.o)(a.userId,a.aid,t,function(t){a.$message({message:e,type:"success"})})}else a.$confirm("登录后即可点赞和收藏,是否前往登录页面?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){localStorage.setItem("logUrl",a.$route.fullPath),a.$router.push({path:"/Login?login=1"})}).catch(function(){})},routeChange:function(){var t=this;t.aid=void 0==t.$route.query.aid?1:parseInt(t.$route.query.aid),localStorage.getItem("userInfo")?(t.haslogin=!0,t.userInfo=JSON.parse(localStorage.getItem("userInfo")),t.userId=t.userInfo.userId):t.haslogin=!1,Object(n.p)(t.aid,t.userId,function(a){t.detailObj=a,t.likeCount=a.like_count?a.like_count:0,t.collectCount=a.collect_count?a.collect_count:0,t.likeArt=0!=a.user_like_start,t.collectArt=0!=a.user_collect_start,t.create_time=Object(n.t)(t.detailObj.create_time,"all")})}},watch:{$route:"routeChange"},components:{},created:function(){this.routeChange()}},l={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"detailBox tcommonBox"},[e("span",{staticClass:"s-round-date"},[e("span",{staticClass:"month",domProps:{innerHTML:t._s(t.showInitDate(t.detailObj.create_time,"month")+"月")}}),t._v(" "),e("span",{staticClass:"day",domProps:{innerHTML:t._s(t.showInitDate(t.detailObj.create_time,"date"))}})]),t._v(" "),e("header",[e("h1",[e("a",{attrs:{href:"#/DetailShare?aid="+t.detailObj.id,target:"_blank"}},[t._v("\n "+t._s(t.detailObj.title)+"\n ")])]),t._v(" "),e("h2",[e("i",{staticClass:"fa fa-fw fa-user"}),t._v("发表于 "),e("span",[t._v(t._s(t.create_time))]),t._v(" •\n "),e("i",{staticClass:"fa fa-fw fa-eye"}),t._v(t._s(t.detailObj.browse_count)+" 次围观 •\n "),e("i",{staticClass:"fa fa-fw fa-comments"}),t._v("活捉 "+t._s(t.detailObj.comment_count)+" 条 •\n "),e("span",{staticClass:"rateBox"},[e("i",{staticClass:"fa fa-fw fa-heart"}),t._v(t._s(t.likeCount)+"点赞\n "),e("i",{staticClass:"fa fa-fw fa-star"}),t._v(t._s(t.collectCount)+"收藏\n ")])]),t._v(" "),e("div",{staticClass:"ui label"},[e("a",{attrs:{href:"#/Share?classId="+t.detailObj.class_id}},[t._v(t._s(t.detailObj.cate_name))])])]),t._v(" "),e("div",{staticClass:"article-content",domProps:{innerHTML:t._s(t.detailObj.content)}}),t._v(" "),e("div",{staticClass:"dshareBox bdsharebuttonbox",attrs:{"data-tag":"share_1"}},[t._v("\n 分享到:\n "),e("a",{staticClass:"ds-weibo fa fa-fw fa-weibo",attrs:{href:"javascript:void(0);","data-cmd":"tsina"}}),t._v(" "),e("a",{staticClass:"ds-qq fa fa-fw fa-qq",attrs:{href:"javascript:void(0);","data-cmd":"tqq"}}),t._v(" "),e("a",{staticClass:"ds-wechat fa fa-fw fa-wechat",attrs:{href:"javascript:void(0);","data-cmd":"weixin"}}),t._v(" "),e("div",{staticClass:"dlikeColBox"},[e("div",{staticClass:"dlikeBox",on:{click:function(a){t.likecollectHandle(1)}}},[e("i",{class:t.likeArt?"fa fa-fw fa-heart":"fa fa-fw fa-heart-o"}),t._v("喜欢 | "+t._s(t.likeCount)+"\n ")]),t._v(" "),e("div",{staticClass:"dcollectBox",on:{click:function(a){t.likecollectHandle(2)}}},[e("i",{class:t.collectArt?"fa fa-fw fa-star":"fa fa-fw fa-star-o"}),t._v("收藏 | "+t._s(t.collectCount)+"\n ")])])]),t._v(" "),e("div",{staticClass:"donate"},[e("div",{staticClass:"donate-word"},[e("span",{on:{click:function(a){t.pdonate=!t.pdonate}}},[t._v("赞赏")])]),t._v(" "),e("el-row",{class:t.pdonate?"donate-body":"donate-body donate-body-show",attrs:{gutter:30}},[e("el-col",{staticClass:"donate-item",attrs:{span:12}},[e("div",{staticClass:"donate-tip"},[e("img",{attrs:{src:t.detailObj.wechat_image?t.detailObj.wechat_image:"static/img/tou.jpg",onerror:t.$store.state.errorImg}}),t._v(" "),e("span",[t._v("微信扫一扫,向我赞赏")])])]),t._v(" "),e("el-col",{staticClass:"donate-item",attrs:{span:12}},[e("div",{staticClass:"donate-tip"},[e("img",{attrs:{src:t.detailObj.alipay_image?t.detailObj.alipay_image:"static/img/tou.jpg",onerror:t.$store.state.errorImg}}),t._v(" "),e("span",[t._v("支付宝扫一扫,向我赞赏")])])])],1)],1)])},staticRenderFns:[]};var r=e("VU/8")(c,l,!1,function(t){e("/mGD")},null,null).exports,d=e("9jkD"),u={name:"DetailShare",data:function(){return{}},methods:{},components:{"wbc-nav":s.a,"wbc-detail":r,"wbc-message":d.a,"wbc-rightlist":o.a,"wbc-footer":i.a},created:function(){},mounted:function(){var t=document.querySelector("#detail").offsetTop-60;document.body.scrollTop=t,document.documentElement.scrollTop=t,window.pageYOffset=t}},f={render:function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("wbc-nav"),this._v(" "),a("div",{staticClass:"container",attrs:{id:"detail"}},[a("el-row",{attrs:{gutter:30}},[a("el-col",{staticStyle:{transition:"all .5s ease-out","margin-bottom":"30px"},attrs:{sm:24,md:16}},[a("wbc-detail"),this._v(" "),a("wbc-message")],1),this._v(" "),a("el-col",{attrs:{sm:24,md:8}},[a("wbc-rightlist")],1)],1)],1),this._v(" "),a("wbc-footer")],1)},staticRenderFns:[]};var _=e("VU/8")(u,f,!1,function(t){e("7S8w")},null,null);a.default=_.exports}}); -------------------------------------------------------------------------------- /src/assets/css/shCoreDefault.css: -------------------------------------------------------------------------------- 1 | .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter,.syntaxhighlighter td,.syntaxhighlighter tr,.syntaxhighlighter tbody,.syntaxhighlighter thead,.syntaxhighlighter caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0!important;-webkit-border-radius:0 0 0 0!important;background:none!important;border:0!important;bottom:auto!important;float:none!important;left:auto!important;line-height:1.1em!important;margin:0!important;outline:0!important;overflow:visible!important;padding:0!important;position:static!important;right:auto!important;text-align:left!important;top:auto!important;vertical-align:baseline!important;width:auto!important;box-sizing:content-box!important;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-weight:normal!important;font-style:normal!important;min-height:inherit!important;min-height:auto!important;font-size:13px!important}.syntaxhighlighter{width:100%!important;margin:.3em 0 .3em 0!important;position:relative!important;overflow:auto!important;background-color:#f5f5f5!important;border:1px solid #ccc!important;border-radius:4px!important;border-collapse:separate!important}.syntaxhighlighter.source{overflow:hidden!important}.syntaxhighlighter .bold{font-weight:bold!important}.syntaxhighlighter .italic{font-style:italic!important}.syntaxhighlighter .gutter div{white-space:pre!important;word-wrap:normal}.syntaxhighlighter caption{text-align:left!important;padding:.5em 0 .5em 1em!important}.syntaxhighlighter td.code{width:100%!important}.syntaxhighlighter td.code .container{position:relative!important}.syntaxhighlighter td.code .container textarea{box-sizing:border-box!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;border:none!important;background:white!important;padding-left:1em!important;overflow:hidden!important;white-space:pre!important}.syntaxhighlighter td.gutter .line{text-align:right!important;padding:0 .5em 0 1em!important}.syntaxhighlighter td.code .line{padding:0 1em!important}.syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0!important}.syntaxhighlighter.show{display:block!important}.syntaxhighlighter.collapsed table{display:none!important}.syntaxhighlighter.collapsed .toolbar{padding:.1em .8em 0 .8em!important;font-size:1em!important;position:static!important;width:auto!important}.syntaxhighlighter.collapsed .toolbar span{display:inline!important;margin-right:1em!important}.syntaxhighlighter.collapsed .toolbar span a{padding:0!important;display:none!important}.syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline!important}.syntaxhighlighter .toolbar{position:absolute!important;right:1px!important;top:1px!important;width:11px!important;height:11px!important;font-size:10px!important;z-index:10!important}.syntaxhighlighter .toolbar span.title{display:inline!important}.syntaxhighlighter .toolbar a{display:block!important;text-align:center!important;text-decoration:none!important;padding-top:1px!important}.syntaxhighlighter .toolbar a.expandSource{display:none!important}.syntaxhighlighter.ie{font-size:.9em!important;padding:1px 0 1px 0!important}.syntaxhighlighter.ie .toolbar{line-height:8px!important}.syntaxhighlighter.ie .toolbar a{padding-top:0!important}.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none!important}.syntaxhighlighter.printing .line .number{color:#bbb!important}.syntaxhighlighter.printing .line .content{color:black!important}.syntaxhighlighter.printing .toolbar{display:none!important}.syntaxhighlighter.printing a{text-decoration:none!important}.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black!important}.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200!important}.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue!important}.syntaxhighlighter.printing .keyword{color:#ff7800!important;font-weight:bold!important}.syntaxhighlighter.printing .preprocessor{color:gray!important}.syntaxhighlighter.printing .variable{color:#a70!important}.syntaxhighlighter.printing .value{color:#090!important}.syntaxhighlighter.printing .functions{color:#ff1493!important}.syntaxhighlighter.printing .constants{color:#06c!important}.syntaxhighlighter.printing .script{font-weight:bold!important}.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray!important}.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493!important}.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red!important}.syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black!important}.syntaxhighlighter{background-color:#f5f5f5!important}.syntaxhighlighter .line.highlighted.number{color:black!important}.syntaxhighlighter caption{color:black!important}.syntaxhighlighter .gutter{color:#afafaf!important;background-color:#f7f7f9!important;border-right:1px solid #e1e1e8!important;padding:9.5px 0 9.5px 9.5px!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important;user-select:none!important;-moz-user-select:none!important;-webkit-user-select:none!important}.syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c!important;color:white!important}.syntaxhighlighter.printing .line .content{border:none!important}.syntaxhighlighter.collapsed{overflow:visible!important}.syntaxhighlighter.collapsed .toolbar{color:blue!important;background:white!important;border:1px solid #6ce26c!important}.syntaxhighlighter.collapsed .toolbar a{color:blue!important}.syntaxhighlighter.collapsed .toolbar a:hover{color:red!important}.syntaxhighlighter .toolbar{color:white!important;background:#6ce26c!important;border:none!important}.syntaxhighlighter .toolbar a{color:white!important}.syntaxhighlighter .toolbar a:hover{color:black!important}.syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black!important}.syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200!important}.syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue!important}.syntaxhighlighter .keyword{color:#ff7800!important}.syntaxhighlighter .preprocessor{color:gray!important}.syntaxhighlighter .variable{color:#a70!important}.syntaxhighlighter .value{color:#090!important}.syntaxhighlighter .functions{color:#ff1493!important}.syntaxhighlighter .constants{color:#06c!important}.syntaxhighlighter .script{font-weight:bold!important;color:#ff7800!important;background-color:none!important}.syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray!important}.syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493!important}.syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red!important}.syntaxhighlighter .keyword{font-weight:bold!important} -------------------------------------------------------------------------------- /src/components/temLikeList.vue: -------------------------------------------------------------------------------- 1 | 2 | 58 | 59 | 140 | 141 | 163 | -------------------------------------------------------------------------------- /dist/static/js/9.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([9],{P7ry:function(e,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=s("mvHQ"),a=s.n(t),i=s("1pQF"),n={name:"Login",data:function(){return{username:"",email:"",password:"",nusername:"",nemail:"",npassword:"",npassword2:"",login:0,emailErr:!1,passwordErr:!1,loginErr:!1,loginTitle:"用户名或密码错误",nusernameErr:!1,nemailErr:!1,npasswordErr:!1,npassword2Err:!1,registerErr:!1,registerTitle:"该邮箱已注册",err2005:!1,step:1,fullscreenLoading:!1,urlstate:0}},methods:{routeChange:function(){this.login=void 0==this.$route.query.login?1:parseInt(this.$route.query.login),this.urlstate=void 0==this.$route.query.urlstate?0:this.$route.query.urlstate,0==this.urlstate?(this.err2005=!1,this.step=1):"urlInvalid"==this.urlstate?(this.err2005=!0,this.step=2):"urlErr"==this.urlstate&&(this.err2005=!0,this.step=1)},loginEnterFun:function(e){13==(window.event?e.keyCode:e.which)&&this.gotoHome()},gotoHome:function(){var e=this;/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/.test(e.email)?e.emailErr=!1:e.emailErr=!0,e.password&&/^(\w){6,12}$/.test(e.password)?e.passwordErr=!1:e.passwordErr=!0,e.emailErr||e.passwordErr||Object(i.m)(e.email,e.password,function(r){1010==r.code?(localStorage.setItem("userInfo",a()(r.data)),localStorage.setItem("accessToken",r.token),localStorage.getItem("logUrl")?e.$router.push({path:localStorage.getItem("logUrl")}):e.$router.push({path:"/"})):2008==r.code||2007==r.code?(e.loginErr=!0,e.loginTitle="邮箱或密码错误"):2009==r.code?(e.loginErr=!0,e.loginTitle="该邮箱注册码未激活,请前往邮箱激活"):2005==r.code?e.err2005=!0:(e.loginErr=!0,e.loginTitle="登录失败")})},registerEnterFun:function(e){13==(window.event?e.keyCode:e.which)&&this.newRegister()},newRegister:function(){var e=this;e.nusername?e.nusernameErr=!1:e.nusernameErr=!0,/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/.test(e.nemail)?e.nemailErr=!1:e.nemailErr=!0,e.npassword&&/^(\w){6,12}$/.test(e.npassword)?(e.npasswordErr=!1,e.npassword==e.npassword2?e.npassword2Err=!1:e.npassword2Err=!0):e.npasswordErr=!0,e.nusernameErr||e.nemailErr||e.npasswordErr||(e.fullscreenLoading=!0,Object(i.r)(e.nusername,e.npassword,e.nemail,function(r){if(1010==r.code)var s=setTimeout(function(){e.fullscreenLoading=!1,e.err2005=!0,e.step=1,clearTimeout(s)},3e3);else 2002==r.code?(e.fullscreenLoading=!1,e.registerErr=!0,e.registerTitle="该邮箱已注册,可直接登录"):(e.fullscreenLoading=!1,e.registerErr=!0,e.registerTitle="注册失败")}))},goLogin:function(){this.err2005=!1,this.$router.push({path:"/Login?login=1"})},goRegister:function(){this.err2005=!1,this.$router.push({path:"/Login?login=0"})}},components:{},watch:{$route:"routeChange"},created:function(){this.routeChange()}},o={render:function(){var e=this,r=e.$createElement,s=e._self._c||r;return s("div",[s("div",{staticClass:"container"},[s("h1",{staticClass:"loginTitle"},[s("a",{attrs:{href:"#/"}},[e._v(e._s(0!=this.$store.state.themeObj.user_start?"Aimee 的博客":"Qinlh 的博客"))])]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!e.err2005,expression:"!err2005"}]},[1==e.login?s("div",{staticClass:"loginBox"},[e._m(0),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.loginErr,expression:"loginErr"}],attrs:{title:e.loginTitle,type:"error","show-icon":"",closable:!1}}),e._v(" "),s("el-input",{attrs:{type:"email",placeholder:"邮箱"},model:{value:e.email,callback:function(r){e.email=r},expression:"email"}}),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.emailErr,expression:"emailErr"}],attrs:{title:"请输入邮箱",type:"error","show-icon":"",closable:!1}}),e._v(" "),s("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(r){return"button"in r||!e._k(r.keyCode,"enter",13,r.key,"Enter")?e.loginEnterFun(r):null}},model:{value:e.password,callback:function(r){e.password=r},expression:"password"}}),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.passwordErr,expression:"passwordErr"}],attrs:{title:"请输入密码",type:"error","show-icon":"",closable:!1}}),e._v(" "),e._m(1),e._v(" "),s("div",{staticClass:"lr-btn tcolors-bg",on:{click:e.gotoHome}},[e._v("登录")]),e._v(" "),e._m(2)],1):s("div",{staticClass:"registerBox"},[e._m(3),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.registerErr,expression:"registerErr"}],attrs:{title:e.registerTitle,type:"error","show-icon":"",closable:!1}}),e._v(" "),s("el-input",{attrs:{type:"text",placeholder:"用户名"},model:{value:e.nusername,callback:function(r){e.nusername=r},expression:"nusername"}}),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.nusernameErr,expression:"nusernameErr"}],attrs:{title:"用户名错误",type:"error","show-icon":"",closable:!1}}),e._v(" "),s("el-input",{attrs:{type:"email",placeholder:"邮箱"},model:{value:e.nemail,callback:function(r){e.nemail=r},expression:"nemail"}}),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.nemailErr,expression:"nemailErr"}],attrs:{title:"邮箱错误",type:"error","show-icon":"",closable:!1}}),e._v(" "),s("el-input",{attrs:{type:"password",placeholder:"密码:6-12位英文、数字、下划线"},model:{value:e.npassword,callback:function(r){e.npassword=r},expression:"npassword"}}),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.npasswordErr,expression:"npasswordErr"}],attrs:{title:"密码错误",type:"error","show-icon":"",closable:!1}}),e._v(" "),s("el-input",{attrs:{type:"password",placeholder:"确认密码"},nativeOn:{keyup:function(r){return"button"in r||!e._k(r.keyCode,"enter",13,r.key,"Enter")?e.registerEnterFun(r):null}},model:{value:e.npassword2,callback:function(r){e.npassword2=r},expression:"npassword2"}}),e._v(" "),s("el-alert",{directives:[{name:"show",rawName:"v-show",value:e.npassword2Err,expression:"npassword2Err"}],attrs:{title:"重复密码有误",type:"error","show-icon":"",closable:!1}}),e._v(" "),s("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:e.fullscreenLoading,expression:"fullscreenLoading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"lr-btn tcolors-bg",attrs:{"element-loading-text":"提交中"},on:{click:e.newRegister}},[e._v("注册")])],1)]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.err2005,expression:"err2005"}],staticClass:"registerSuc"},[s("div",{staticClass:"sucIcon"},[s("el-steps",{attrs:{space:100,active:e.step,"finish-status":"success"}},[s("el-step",{attrs:{title:"注册"}}),e._v(" "),s("el-step",{attrs:{title:"验证"}}),e._v(" "),s("el-step",{attrs:{title:"登录"}})],1)],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:0==e.urlstate,expression:"urlstate==0"}],staticClass:"sucContent"},[e._v("\n 账号激活链接已发送至您的邮箱:"+e._s(e.nemail)+"\n "),s("p",[e._v("请您在24小时内登录邮箱,按邮件中的提示完成账号激活操作")])]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:"urlInvalid"==e.urlstate,expression:"urlstate=='urlInvalid'"}],staticClass:"sucContent"},[e._v("\n 账号已激活,现在去登录   "),s("span",{staticClass:"tcolors-bg lastbtn",on:{click:e.goLogin}},[e._v("登录")])]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:"urlErr"==e.urlstate,expression:"urlstate=='urlErr'"}],staticClass:"sucContent"},[e._v("\n OwO邮箱激活地址已超时,验证失败,请重新注册   "),s("span",{staticClass:"tcolors-bg lastbtn",on:{click:e.goRegister}},[e._v("注册")])])])])])},staticRenderFns:[function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"lr-title"},[r("h1",[this._v("登录")]),this._v(" "),r("p",[this._v("\n 新用户"),r("a",{staticClass:"tcolors",attrs:{href:"#/Login?login=0"}},[this._v("注册")])])])},function(){var e=this.$createElement,r=this._self._c||e;return r("h3",[r("a",{attrs:{href:""}},[this._v("忘记密码?")])])},function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"otherLogin"},[r("a",{attrs:{href:"javascript:void(0)"}},[r("i",{staticClass:"fa fa-fw fa-wechat"})]),this._v(" "),r("a",{attrs:{href:"javascript:void(0)"}},[r("i",{staticClass:"fa fa-fw fa-qq"})]),this._v(" "),r("a",{attrs:{href:"javascript:void(0)"}},[r("i",{staticClass:"fa fa-fw fa-weibo"})])])},function(){var e=this.$createElement,r=this._self._c||e;return r("div",{staticClass:"lr-title"},[r("h1",[this._v("注册")]),this._v(" "),r("p",[this._v("\n 已有账号"),r("a",{staticClass:"tcolors",attrs:{href:"#/Login?login=1"}},[this._v("登录")])])])}]};var l=s("VU/8")(n,o,!1,function(e){s("tCC8")},null,null);r.default=l.exports},tCC8:function(e,r){}}); -------------------------------------------------------------------------------- /src/components/temSharelist.vue: -------------------------------------------------------------------------------- 1 | 2 | 59 | 60 | 165 | 166 | 212 | -------------------------------------------------------------------------------- /dist/static/js/10.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([10],{fXMu:function(s,e){},psK5:function(s,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=a("Cz8s"),r=a("mzkE"),i=a("1pQF"),o={name:"UserInfo",data:function(){return{isEdit:!1,userInfo:"",userInfoObj:"",state:!0,usertabChosed:"天然呆",usertab:["天然呆","小萌新","学霸","萌萌哒","技术宅","忠实粉"],wwwHost:"http://"+window.location.host}},methods:{handleAvatarSuccess:function(s,e){1001==s.code?(this.userInfoObj.avatar=s.image_name,this.userInfoObj.head_start=1):this.$message.error("上传图片失败")},beforeAvatarUpload:function(s){var e="image/png"==s.type||"image/jpg"==s.type||"image/jpeg"==s.type,a=s.size/1024/1024<1;return e||this.$message.error("上传头像图片只能是 JPG/JPEG/PNG 格式!"),a||this.$message.error("上传头像图片大小不能超过 1MB!"),e&&a},handleLogoSuccess:function(s,e){1001==s.code?(this.userInfoObj.image=s.image_name,this.userInfoObj.logo_start=1):this.$message.error("上传图片失败")},beforeLogoUpload:function(s){var e="image/png"==s.type||"image/jpg"==s.type||"image/jpeg"==s.type,a=s.size/1024/1024<1;return e||this.$message.error("上传头像图片只能是 JPG/JPEG/PNG 格式!"),a||this.$message.error("上传头像图片大小不能超过 1MB!"),e&&a},saveInfoFun:function(){var s=this;if(s.userInfoObj.username){if(s.state){if(!s.userInfoObj.url||!/(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/.test(s.userInfoObj.url))return void s.$message.error("请正确填写网址,如http://www.xxx.com");if(!s.userInfoObj.name)return void s.$message.error("请填写网站名称");if(!s.userInfoObj.description)return void s.$message.error("请填写网站简介")}s.userInfoObj.state=Number(s.state),Object(i.l)(s.userInfoObj,function(e){s.$message.success("保存成功!"),s.isEdit=!1,s.routeChange()})}else s.$message.error("昵称为必填项,请填写昵称")},routeChange:function(){var s=this;localStorage.getItem("userInfo")?(s.haslogin=!0,s.userInfo=JSON.parse(localStorage.getItem("userInfo")),s.userId=s.userInfo.userId,Object(i.s)(s.userId,function(e){s.userInfoObj=e.data,s.userInfoObj.head_start=0,s.userInfoObj.logo_start=0,s.state=1==e.data.state})):s.haslogin=!1}},components:{"wbc-nav":t.a,"wbc-footer":r.a},watch:{$route:"routeChange"},created:function(){this.routeChange()}},l={render:function(){var s=this,e=s.$createElement,a=s._self._c||e;return a("div",[a("wbc-nav"),s._v(" "),a("div",{staticClass:"container"},[a("div",{directives:[{name:"show",rawName:"v-show",value:s.isEdit,expression:"isEdit"}],staticClass:"tcommonBox"},[s._m(0),s._v(" "),a("section",[a("ul",{staticClass:"userInfoBox"},[a("li",{staticClass:"avatarlist"},[a("span",{staticClass:"leftTitle"},[s._v("头像")]),s._v(" "),a("el-upload",{staticClass:"avatar-uploader",attrs:{action:this.$store.state.host+"Userinfo/UploadImg","show-file-list":!1,"on-success":s.handleAvatarSuccess,"before-upload":s.beforeAvatarUpload}},[s.userInfoObj.avatar?a("img",{staticClass:"avatar",attrs:{src:s.userInfoObj.avatar?s.wwwHost+s.userInfoObj.avatar:"static/img/tou.jpg",onerror:s.$store.state.errorImg}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),s._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[s._v("点击上传头像,只能上传jpg/png文件,且不超过1mb")])])],1),s._v(" "),a("li",{staticClass:"username"},[a("span",{staticClass:"leftTitle"},[s._v("昵称")]),s._v(" "),a("el-input",{attrs:{placeholder:"昵称"},model:{value:s.userInfoObj.username,callback:function(e){s.$set(s.userInfoObj,"username",e)},expression:"userInfoObj.username"}}),s._v(" "),a("i",{staticClass:"fa fa-wa fa-asterisk"})],1),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("电子邮件")]),s._v(" "),a("span",[s._v(s._s(s.userInfoObj.email))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("性别")]),s._v(" "),[a("el-radio",{staticClass:"radio",attrs:{label:"0"},model:{value:s.userInfoObj.sex,callback:function(e){s.$set(s.userInfoObj,"sex",e)},expression:"userInfoObj.sex"}},[s._v("男")]),s._v(" "),a("el-radio",{staticClass:"radio",attrs:{label:"1"},model:{value:s.userInfoObj.sex,callback:function(e){s.$set(s.userInfoObj,"sex",e)},expression:"userInfoObj.sex"}},[s._v("女")])]],2),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("个性标签")]),s._v(" "),[a("el-radio-group",{model:{value:s.userInfoObj.label,callback:function(e){s.$set(s.userInfoObj,"label",e)},expression:"userInfoObj.label"}},s._l(s.usertab,function(e,t){return a("el-radio",{key:"usertab"+t,attrs:{label:e}},[s._v(s._s(e))])}))]],2),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("是否展示友链")]),s._v(" "),a("el-switch",{attrs:{"on-color":"#13ce66","off-color":"#aaa"},model:{value:s.state,callback:function(e){s.state=e},expression:"state"}})],1),s._v(" "),a("li",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}]},[a("span",{staticClass:"leftTitle"},[s._v("网站名称")]),s._v(" "),a("el-input",{attrs:{placeholder:"网站名称"},model:{value:s.userInfoObj.name,callback:function(e){s.$set(s.userInfoObj,"name",e)},expression:"userInfoObj.name"}}),a("i",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}],staticClass:"fa fa-wa fa-asterisk"})],1),s._v(" "),a("li",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}]},[a("span",{staticClass:"leftTitle"},[s._v("网站地址")]),s._v(" "),a("el-input",{attrs:{placeholder:"网站",value:"userWeb"},model:{value:s.userInfoObj.url,callback:function(e){s.$set(s.userInfoObj,"url",e)},expression:"userInfoObj.url"}}),s._v(" "),a("i",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}],staticClass:"fa fa-wa fa-asterisk"})],1),s._v(" "),a("li",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}]},[a("span",{staticClass:"leftTitle"},[s._v("网站简介")]),s._v(" "),a("el-input",{attrs:{type:"textarea",rows:3,placeholder:"请输入内容"},model:{value:s.userInfoObj.description,callback:function(e){s.$set(s.userInfoObj,"description",e)},expression:"userInfoObj.description"}}),a("i",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}],staticClass:"fa fa-wa fa-asterisk"})],1),s._v(" "),a("li",{directives:[{name:"show",rawName:"v-show",value:s.state,expression:"state"}],staticClass:"avatarlist"},[a("span",{staticClass:"leftTitle"},[s._v("网站logo")]),s._v(" "),a("el-upload",{staticClass:"avatar-uploader",attrs:{action:this.$store.state.host+"Userinfo/UploadImg","show-file-list":!1,"on-success":s.handleLogoSuccess,"before-upload":s.beforeLogoUpload}},[s.userInfoObj.image?a("img",{staticClass:"avatar",attrs:{src:s.userInfoObj.image?s.wwwHost+s.userInfoObj.image:"static/img/tou.jpg",onerror:s.$store.state.errorImg}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"}),s._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[s._v("点击上传头像,只能上传jpg/png文件,且不超过1mb")])])],1)]),s._v(" "),a("div",{staticClass:" saveInfobtn"},[a("a",{staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"},on:{click:function(e){s.isEdit=!s.isEdit}}},[s._v("返 回")]),s._v(" "),a("a",{staticClass:"tcolors-bg",attrs:{href:"javascript:void(0);"},on:{click:s.saveInfoFun}},[s._v("保 存")])])])]),s._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!s.isEdit,expression:"!isEdit"}],staticClass:"tcommonBox"},[a("header",[a("h1",[s._v("\n 个人中心\n "),a("span",{staticClass:"gotoEdit",on:{click:function(e){s.isEdit=!s.isEdit}}},[a("i",{staticClass:"fa fa-wa fa-edit"}),s._v("编辑")])])]),s._v(" "),a("section",[a("ul",{staticClass:"userInfoBox"},[a("li",{staticClass:"avatarlist"},[a("span",{staticClass:"leftTitle"},[s._v("头像")]),s._v(" "),a("div",{staticClass:"avatar-uploader"},[a("img",{staticClass:"avatar",attrs:{src:s.userInfoObj.avatar?s.wwwHost+s.userInfoObj.avatar:"static/img/tou.jpg",onerror:s.$store.state.errorImg}})])]),s._v(" "),a("li",{staticClass:"username"},[a("span",{staticClass:"leftTitle"},[s._v("昵称")]),s._v(" "),a("span",[s._v(s._s(s.userInfoObj.username?s.userInfoObj.username:"无"))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("电子邮件")]),s._v(" "),a("span",[s._v(s._s(s.userInfoObj.email?s.userInfoObj.email:"无"))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("性别")]),s._v(" "),a("span",[s._v(s._s(0==s.userInfoObj.sex?"男":"女"))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("个性标签")]),s._v(" "),a("span",[s._v(s._s(s.userInfoObj.label?s.userInfoObj.label:"未设置"))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("是否展示友链")]),s._v(" "),a("el-switch",{attrs:{disabled:""},model:{value:s.state,callback:function(e){s.state=e},expression:"state"}})],1),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("网站名称")]),s._v(" "),a("span",[s._v(s._s(s.userInfoObj.name?s.userInfoObj.name:"无"))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("网站地址")]),s._v(" "),a("p",{staticClass:"rightInner"},[s._v(s._s(s.userInfoObj.url?s.userInfoObj.url:"无"))])]),s._v(" "),a("li",[a("span",{staticClass:"leftTitle"},[s._v("网站简介")]),s._v(" "),a("p",{staticClass:"rightInner"},[s._v(s._s(s.userInfoObj.description?s.userInfoObj.description:"无"))])]),s._v(" "),a("li",{staticClass:"avatarlist"},[a("span",{staticClass:"leftTitle"},[s._v("网站logo")]),s._v(" "),a("div",{staticClass:"avatar-uploader"},[a("img",{staticClass:"avatar",attrs:{src:s.userInfoObj.image?s.wwwHost+s.userInfoObj.image:"static/img/tou.jpg",onerror:s.$store.state.errorImg}})])])])])])]),s._v(" "),a("wbc-footer")],1)},staticRenderFns:[function(){var s=this.$createElement,e=this._self._c||s;return e("header",[e("h1",[this._v("\n 编辑个人资料\n ")])])}]};var n=a("VU/8")(o,l,!1,function(s){a("fXMu")},null,null);e.default=n.exports}}); -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 14 | 15 | 453 | -------------------------------------------------------------------------------- /src/utils/server.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import axios from 'axios' 3 | //公共路径 4 | // let portUrl = "http://www.mangoya.cn/port/"; 5 | let portUrl = "http://"+window.location.host+"/port/"; 6 | 7 | //用户注册 8 | const getRegister = (username,password,email,callback) =>{ 9 | let url = portUrl+'login/getRegister?username='+username+'&email='+email+'&password='+password; 10 | axios.get(url).then(num => { 11 | callback && callback(num.data) 12 | }) 13 | } 14 | 15 | //用户登录 16 | const UserLogin = (email,password,callback) =>{ 17 | let url = portUrl + 'login/UserLogin?email='+email+'&password='+password; 18 | axios.get(url).then(num => { 19 | callback && callback(num.data); 20 | }) 21 | } 22 | //用户退出 23 | const LoginOut = (token,callback) =>{ 24 | let url = portUrl + 'login/LoginOut?token='+token; 25 | axios.get(url).then(num => { 26 | callback && callback(num.data); 27 | }) 28 | } 29 | 30 | //文章分类查询 31 | const ArtClassData = (callback) => { 32 | if(sessionStorage.getItem('classList')){ 33 | var data = JSON.parse(sessionStorage.getItem('classList')); 34 | callback && callback(data) 35 | }else{ 36 | let url = portUrl + 'article/ArtClassData'; 37 | axios.get(url).then(num => { 38 | // console.log(num); 39 | if(num.data.code==1001){ 40 | sessionStorage.setItem('classList',JSON.stringify(num.data.data)); 41 | callback && callback(num.data.data) 42 | }else{ 43 | alert("查询失败") 44 | } 45 | }) 46 | } 47 | } 48 | 49 | //实验室 列表项目 50 | const navMenList = (callback) => { 51 | if(sessionStorage.getItem('navMenList')){ 52 | var data = JSON.parse(sessionStorage.getItem('navMenList')); 53 | callback && callback(data) 54 | }else{ 55 | let url = portUrl + 'nav/navMenList'; 56 | axios.get(url).then(num => { 57 | // console.log(num); 58 | if(num.data.code==1001){ 59 | sessionStorage.setItem('navMenList',JSON.stringify(num.data.data)); 60 | callback && callback(num.data.data) 61 | }else{ 62 | alert("查询失败") 63 | } 64 | }) 65 | } 66 | } 67 | 68 | //查询文章列表 69 | const ShowArticleAll = (artId,cateId,articleName,level,callback) =>{ 70 | if(level == 1){ 71 | var url = portUrl + 'nav/ActiveClassAllData?art_id='+artId+'&cate_id='+cateId+'&article_name='+articleName; 72 | }else{ 73 | var url = portUrl + 'article/ShowArticleAll?art_id='+artId+'&cate_id='+cateId+'&article_name='+articleName; 74 | } 75 | axios.get(url).then(num => { 76 | callback && callback(num.data); 77 | }) 78 | } 79 | 80 | //查询文章详情 81 | const getArticleInfo = (artId,userId,callback) =>{ 82 | let url = portUrl + 'article/getArticleInfo?art_id='+artId+'&user_id='+userId; 83 | axios.get(url).then(num => { 84 | if(num.data.code==1001){ 85 | callback && callback(num.data.data); 86 | }else{ 87 | alert("查询失败"); 88 | } 89 | }) 90 | } 91 | 92 | //查询浏览量最多的10篇文章数据 93 | const ShowBrowseCount = (callback) =>{ 94 | let url = portUrl + 'article/ShowBrowseCount'; 95 | axios.get(url).then(num => { 96 | if(num.data.code==1001){ 97 | callback && callback(num.data.data); 98 | }else if(num.data.code==1005){ 99 | return; 100 | }else{ 101 | alert("查询失败"); 102 | } 103 | }) 104 | } 105 | 106 | //查询文章评论量最大的10篇文章 107 | const ShowArtCommentCount = (callback) =>{ 108 | let url = portUrl + 'article/ShowArtCommentCount'; 109 | axios.get(url).then(num => { 110 | if(num.data.code==1001){ 111 | callback && callback(num.data.data); 112 | }else if(num.data.code==1005){ 113 | return; 114 | }else{ 115 | alert("查询失败"); 116 | } 117 | }) 118 | } 119 | //查询文章评论数据 120 | const ArticleComment = (artId,commentId,callback) =>{ 121 | let url = portUrl + 'comment/ArticleComment?art_id='+artId+'&comment_id='+commentId; 122 | axios.get(url).then(num => { 123 | callback && callback(num.data); 124 | }) 125 | } 126 | 127 | //查询其他评论数据 128 | const OtherComment = (leaveId,commentId,callback) =>{//分类类型ID(1:赞赏 2:友情链接 3:留言板 4:关于我) 129 | let url = portUrl + 'comment/OtherComment?leave_id='+leaveId+'&comment_id='+commentId; 130 | axios.get(url).then(num => { 131 | callback && callback(num.data); 132 | }) 133 | } 134 | 135 | //文章评论 136 | const setArticleComment = (content,user_id,article_id,leave_pid,pid,callback) =>{ 137 | let url = portUrl + 'comment/setArticleComment?content='+content+'&user_id='+user_id+'&article_id='+article_id+'&leave_pid='+leave_pid+'&pid='+pid; 138 | axios.get(url).then(num => { 139 | callback && callback(num.data); 140 | }) 141 | } 142 | 143 | //其他评论 144 | const setOuthComment = (content,user_id,article_id,leave_id,leave_pid,pid,callback) =>{ 145 | let url = portUrl + 'comment/setOuthComment?content='+content+'&user_id='+user_id+'&article_id='+article_id+'&leave_id='+leave_id+'&leave_pid='+leave_pid+'&pid='+pid; 146 | axios.get(url).then(num => { 147 | callback && callback(num.data); 148 | }) 149 | } 150 | 151 | //查询网址点赞总数 152 | const showLikeData = (callback) =>{ 153 | let url = portUrl + 'outh/showLikeData'; 154 | axios.get(url).then(num => { 155 | if(num.data.code==1001){ 156 | // console.log(num.data,parseInt(num.data)); 157 | callback && callback(num.data.data); 158 | }else{ 159 | alert("查询失败"); 160 | } 161 | }) 162 | } 163 | 164 | //点赞功能修改 165 | const GetLike = (like_num,callback) =>{ 166 | let url = portUrl + 'outh/GetLike?like_num='+like_num; 167 | axios.get(url).then(num => { 168 | if(num.data.code==1001){ 169 | callback && callback(num.data.msg); 170 | }else{ 171 | alert("点赞失败"); 172 | } 173 | }) 174 | } 175 | 176 | //查询友情链接数据 177 | const FriendUrlData = (callback) =>{ 178 | let url = portUrl + 'outh/FriendUrlData'; 179 | axios.get(url).then(num => { 180 | if(num.data.code==1001){ 181 | callback && callback(num.data.data); 182 | }else if(num.data.code==1005){ 183 | return; 184 | }else{ 185 | alert("查询失败"); 186 | } 187 | }) 188 | } 189 | 190 | //查询关于我 191 | const AboutMeData = (callback) =>{ 192 | if(sessionStorage.getItem('AboutMeData')){ 193 | var data = JSON.parse(sessionStorage.getItem('AboutMeData')); 194 | callback && callback(data) 195 | }else{ 196 | let url = portUrl + 'outh/AboutMeData'; 197 | axios.get(url).then(num => { 198 | if(num.data.code==1001){ 199 | sessionStorage.setItem('AboutMeData',JSON.stringify(num.data.data)); 200 | callback && callback(num.data.data); 201 | }else if(num.data.code==1005){ 202 | return; 203 | }else{ 204 | alert("查询失败"); 205 | } 206 | }) 207 | } 208 | } 209 | 210 | //文章点击收藏 点击喜欢 211 | const getArtLikeCollect = (userId,artId,islike,callback) =>{ 212 | var url = ''; 213 | if(islike==1){ 214 | url = portUrl + 'article/getArtLike?user_id='+userId+'&art_id='+artId; 215 | }else{ 216 | url = portUrl + 'article/getArtCollect?user_id='+userId+'&art_id='+artId; 217 | } 218 | axios.get(url).then(num => { 219 | if(num.data.code==1001){ 220 | callback && callback(num.data.msg); 221 | }else{ 222 | alert("查询失败"); 223 | } 224 | }) 225 | } 226 | 227 | //查询赞赏数据 228 | const AdmireData = (callback) => { 229 | let url = portUrl + 'outh/AdmireData'; 230 | axios.get(url).then(num => { 231 | if(num.data.code==1001){ 232 | callback && callback(num.data); 233 | }else{ 234 | alert("查询失败"); 235 | } 236 | }) 237 | } 238 | 239 | //查询用户喜欢列表,查询用户收藏列表 240 | const getLikeCollectList = (userId,artId,articleName,islike,callback)=>{ 241 | var url = ''; 242 | if(islike==1){ 243 | url = portUrl + 'article/getLikeList?user_id='+userId+'&art_id='+artId+'&article_name='+articleName; 244 | }else{ 245 | url = portUrl + 'article/getCollectList?user_id='+userId+'&art_id='+artId+'&article_name='+articleName; 246 | } 247 | axios.get(url).then(num => { 248 | callback && callback(num.data); 249 | }) 250 | } 251 | 252 | //查询用户信息 253 | const getUserInfo = (userId,callback)=>{ 254 | let url = portUrl + 'Userinfo/getUserInfo?user_id='+userId; 255 | axios.get(url).then(num => { 256 | if(num.data.code==1001){ 257 | callback && callback(num.data); 258 | }else{ 259 | alert("查询失败"); 260 | } 261 | }) 262 | } 263 | //修改用户信息 264 | const UserInfoSave = (obj,callback) =>{ 265 | let url = portUrl + 'Userinfo/UserInfoSave'; 266 | var data = { 267 | 'username':obj.username, 268 | 'user_img':obj.avatar, 269 | 'email':obj.email, 270 | 'sex':obj.sex, 271 | 'friend_start':obj.state, 272 | 'user_id':obj.user_id, 273 | 'frie_name':obj.name, 274 | 'frie_url':obj.url, 275 | 'frie_description':obj.description, 276 | 'friend_img':obj.image, 277 | 'label':obj.label, 278 | 'head_start':obj.head_start, 279 | 'logo_start':obj.logo_start 280 | }; 281 | // console.log(data); 282 | axios.get(url,{params:data}).then(num => { 283 | if(num.data.code==1001){ 284 | callback && callback(num.data.msg); 285 | }else{ 286 | alert("保存失败"); 287 | } 288 | }) 289 | } 290 | 291 | //初始化时间 292 | const initDate = (oldDate,full) => { 293 | var odate = new Date(oldDate); 294 | var year = odate.getFullYear(); 295 | var month = odate.getMonth()<9? '0' + (odate.getMonth()+1) : odate.getMonth()+1; 296 | var date = odate.getDate()<10? '0'+odate.getDate() : odate.getDate(); 297 | if(full=='all'){ 298 | var t = oldDate.split(" ")[0]; 299 | // console.log(oldDate,t.split('-')[0],t.split('-')[1],t.split('-')[2]); 300 | return t.split('-')[0]+'年'+t.split('-')[1]+'月'+t.split('-')[2]+'日'; 301 | }else if(full=='year'){ 302 | return year 303 | }else if(full== 'month'){ 304 | return odate.getMonth()+1 305 | }else if(full == 'date'){ 306 | return date 307 | }else if(full== 'newDate'){ 308 | return year+'年'+month+'月'+date+'日'; 309 | } 310 | } 311 | 312 | //获取主题信息 313 | const changeTheme = (callback) => { 314 | if(sessionStorage.getItem('changeThemeObj')){ 315 | var data = JSON.parse(sessionStorage.getItem('changeThemeObj')); 316 | callback && callback(data) 317 | }else{ 318 | let url = portUrl + 'outh/ThemeMy'; 319 | axios.get(url).then(num => { 320 | if(num.data.code==1001){ 321 | sessionStorage.setItem('changeThemeObj',JSON.stringify(num.data.data)) 322 | callback && callback(num.data.data); 323 | }else{ 324 | alert("查询失败"); 325 | } 326 | }) 327 | } 328 | } 329 | 330 | export { 331 | getRegister,//注册 332 | UserLogin,//登录 333 | LoginOut,//退出登录 334 | ArtClassData,//分类 335 | navMenList,//导航信息 336 | ShowArticleAll,//查询文章列表 337 | getArticleInfo,//文章详情 338 | ShowBrowseCount,//流量量做多的文章 339 | ShowArtCommentCount,//评论最多的文章 340 | ArticleComment,//文章评论列表 341 | OtherComment,//其他评论列表 342 | setArticleComment,//设置文章评论 343 | setOuthComment,//设置其他评论 344 | showLikeData,//do you like me 345 | GetLike,//设置 do you like me 346 | FriendUrlData,//友情链接数据 347 | AboutMeData,//关于我文章编写 348 | getArtLikeCollect,//文章收藏 文章点赞 349 | AdmireData,//赞赏数据 350 | getLikeCollectList,//用户收藏喜欢列表 351 | getUserInfo,//用户信息查询 352 | UserInfoSave,//修改用户信息 353 | initDate,//设置时间 354 | changeTheme,//获取主题信息 355 | } 356 | -------------------------------------------------------------------------------- /src/components/temDetail.vue: -------------------------------------------------------------------------------- 1 | 2 | 63 | 64 | 172 | 173 | 359 | -------------------------------------------------------------------------------- /src/utils/theater.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The MIT License (MIT) 3 | * 4 | * Copyright (c) 2015 Gabin Aureche 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in 14 | * all copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | * THE SOFTWARE. 23 | * 24 | */ 25 | 26 | (function (w, d) { 27 | function TheaterJS (options) { 28 | var self = this, 29 | defaults = { autoplay: true, erase: true }; 30 | 31 | self.events = {}; 32 | self.scene = -1; // iterator through the scenario list 33 | self.scenario = []; // list of action to execute 34 | self.options = self.utils.merge(defaults, options || {}); // merge defaults with given options 35 | self.casting = {}; // list of described actors 36 | self.current = {}; // actor currently used as params 37 | self.state = "ready"; // theater's state (ready or playing) 38 | } 39 | 40 | TheaterJS.prototype = { 41 | constructor: TheaterJS, 42 | 43 | 44 | // Set actor's voice value depending on its type 45 | set: function (value, args) { 46 | var self = this; 47 | 48 | self.current.model = value; 49 | 50 | switch (self.current.type) { 51 | case "function": 52 | self.current.voice.apply(self, args); 53 | break; 54 | 55 | default: 56 | self.current.voice.innerHTML = value; 57 | break; 58 | } 59 | 60 | return self; 61 | }, 62 | 63 | 64 | getSayingSpeed: function (filter, constant) { 65 | if (typeof filter !== "number") { 66 | constant = filter; 67 | filter = 0; 68 | } 69 | 70 | var self = this, 71 | experience = self.current.experience + filter, 72 | skill = constant ? experience : self.utils.randomFloat(experience, 1); 73 | 74 | return self.utils.getPercentageBetween(1000, 50, skill); 75 | }, 76 | 77 | 78 | 79 | getInvincibility: function () { 80 | var self = this; 81 | return self.current.experience * 10; 82 | }, 83 | 84 | 85 | isMistaking: function () { 86 | var self = this; 87 | return self.current.experience < self.utils.randomFloat(0, 1.4); 88 | }, 89 | 90 | 91 | utils: { 92 | merge: function (dest, origin) { 93 | for (var key in origin) if (origin.hasOwnProperty(key)) dest[key] = origin[key]; 94 | return dest; 95 | }, 96 | 97 | getPercentageBetween: function (min, max, perc) { 98 | return (min - (min * perc)) + (max * perc); 99 | }, 100 | 101 | randomChar: function () { 102 | var utils = this, 103 | chars = "abcdefghijklmnopqrstuvwxyz"; 104 | 105 | return chars.charAt(utils.randomNumber(0, chars.length - 1)); 106 | }, 107 | 108 | randomNumber: function (min, max) { 109 | return Math.floor(Math.random() * (max - min + 1)) + min; 110 | }, 111 | 112 | randomFloat: function (min, max) { 113 | return Math.round((Math.random() * (max - min) + min) * 10) / 10; 114 | }, 115 | 116 | hasClass: function (el, className) { 117 | if (el.classList) return el.classList.contains(className); 118 | else return new RegExp('(^| )' + className + '( |$)', 'gi').test(el.className); 119 | }, 120 | 121 | addClass: function (el, className) { 122 | if (el.classList) el.classList.add(className); 123 | else el.className += ' ' + className; 124 | }, 125 | 126 | removeClass: function (el, className) { 127 | if (el.classList) el.classList.remove(className); 128 | else el.className = el.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') + '(\\b|$)', 'gi'), ' '); 129 | } 130 | }, 131 | 132 | 133 | // When describing a new actor, train merges its attributes with the defaults 134 | train: function (actor) { 135 | var self = this, 136 | defaults = { 137 | experience: .6, 138 | voice: function (newValue, newChar, prevChar, str) { console.log(newValue); }, 139 | type: "function", 140 | model: "" 141 | }; 142 | 143 | return self.utils.merge(defaults, actor); 144 | }, 145 | 146 | 147 | // Add a new actor to the casting 148 | describe: function (name, experience, voice) { 149 | if (typeof name !== "string") throw("actor's name has wrong type: " + typeof name); 150 | 151 | var self = this, 152 | actor = { name: name }; 153 | 154 | if (experience !== void 0) actor.experience = experience; 155 | 156 | if (voice !== void 0) { 157 | actor.type = typeof voice === "function" ? "function" : "DOM"; 158 | 159 | // If actor's voice is a DOM element and a string, assume it's a query selector 160 | if (actor.type === "DOM") actor.voice = typeof voice === "string" ? d.querySelector(voice) : voice; 161 | else actor.voice = voice; 162 | } 163 | 164 | self.casting[name] = self.train(actor); 165 | return self; 166 | }, 167 | 168 | 169 | // Add a scene to the scenario 170 | write: function () { 171 | var self = this, 172 | scenes = Array.prototype.splice.apply(arguments, [0]), // the write function can have an infinite number of params 173 | scene; 174 | 175 | for (var i = 0, l = scenes.length; i < l; i++) { 176 | scene = scenes[i]; 177 | 178 | if (typeof scene === "string") { 179 | var params = scene.split(":"), 180 | hasActor = params.length > 1, 181 | actor = hasActor ? params[0].trim() : null, 182 | speech = hasActor ? params[1] : params[0]; 183 | 184 | if (hasActor) self.write({ name: "actor", args: [actor] }); 185 | if (self.options.erase && hasActor) self.write({ name: "erase" }); 186 | self.write({ name: "say", args: [speech, !hasActor] }); 187 | } else if (typeof scene === "number") { 188 | if (scene < 0) self.write({ name: "erase", args: [scene] }); 189 | else self.write({ name: "wait", args: [scene] }); 190 | } else if (typeof scene === "function") { 191 | self.write({ name: "call", args: [scene] }); 192 | } else if (scene instanceof Object) { 193 | self.scenario.push(scene); 194 | } 195 | } 196 | 197 | // autolaunch scenario everytime something is added to the scenario 198 | if (self.options.autoplay) self.play(); 199 | return self; 200 | }, 201 | 202 | 203 | // Play the scenario 204 | play: function (restart) { 205 | var self = this; 206 | 207 | // if restart is passed as true, start from scratch 208 | if (restart === true) self.scene = -1; 209 | 210 | // if scenario is not yet playing, do it! 211 | if (self.state === "ready") self.next(); 212 | 213 | return self; 214 | }, 215 | 216 | 217 | // register event 218 | on: function (events, fn) { 219 | var self = this; 220 | 221 | events = events.split(","); 222 | 223 | for (var i = 0, l = events.length, event; i < l; i++) { 224 | event = events[i] = events[i].trim(); 225 | (self.events[event] || (self.events[event] = [])).push(fn); 226 | } 227 | 228 | return self; 229 | }, 230 | 231 | 232 | // emit event 233 | emit: function (scope, event, args) { 234 | if (typeof scope !== "string") throw("emit: scope missing"); 235 | 236 | if (typeof event !== "string") event = void 0; 237 | else if (event !== void 0 && args === void 0) args = event; 238 | 239 | var self = this, 240 | eventName = scope + (event ? ":" + event : ""); 241 | 242 | self 243 | .trigger(eventName, args) 244 | .trigger("*", [eventName].concat(args)); 245 | 246 | return self; 247 | }, 248 | 249 | 250 | trigger: function (eventName, args) { 251 | var self = this, 252 | events = self.events[eventName] || []; 253 | 254 | (args instanceof Array || (args = [args])); 255 | for (var i = 0, l = events.length; i < l; i++) events[i].apply(self, [eventName].concat(args)); 256 | 257 | return self; 258 | }, 259 | 260 | 261 | // Call a function 262 | call: function (fn, async) { 263 | var self = this; 264 | 265 | fn.apply(self); 266 | return !async ? self.next() : self; 267 | }, 268 | 269 | 270 | // Play the next scene 271 | next: function () { 272 | var self = this, 273 | prevScene = self.scenario[self.scene]; 274 | 275 | if (prevScene) self.emit(prevScene.name, "end", [prevScene.name].concat(prevScene.args)); 276 | 277 | if (self.scene + 1 >= self.scenario.length) { 278 | // If there's no next scene, set state to ready 279 | self.state = "ready"; 280 | } else { 281 | // Otherwise, scenario is playing 282 | self.state = "playing"; 283 | 284 | var nextScene = self.scenario[++self.scene]; 285 | 286 | self.emit(nextScene.name, "start", [nextScene.name].concat(nextScene.args)); 287 | self[nextScene.name].apply(self, nextScene.args); 288 | } 289 | 290 | return self; 291 | }, 292 | 293 | 294 | actor: function (actor) { 295 | var self = this; 296 | 297 | self.current = self.casting[actor]; // set current actor from scene's actor name 298 | return self.next(); 299 | }, 300 | 301 | 302 | say: function (speech, append) { 303 | var self = this, 304 | mistaken = false, 305 | invincible = self.getInvincibility(), 306 | cursor, model; 307 | 308 | if (append) { 309 | // When appending instead of replacing, there's several things we need to do: 310 | // 1: Keep current value and append 311 | // 2: Set the cursor to the end of the current model's value 312 | // 3: Speech becomes model's value + speech 313 | model = self.current.model; 314 | cursor = self.current.model.length - 1; 315 | speech = model + speech; 316 | } else { 317 | model = self.current.model = ""; 318 | cursor = -1; 319 | } 320 | 321 | var timeout = setTimeout(function nextChar () { 322 | var prevChar = model.charAt(cursor), 323 | newChar, newValue; 324 | 325 | if (mistaken) { 326 | // After a mistake, depending on the current actor's experience, 327 | // there is 0% chance to make a mistake for the x next times. 328 | invincible = self.getInvincibility(); 329 | mistaken = false; 330 | newChar = null; 331 | newValue = model = model.substr(0, cursor); 332 | 333 | // Last char erased 334 | cursor--; 335 | } else { 336 | cursor++; 337 | 338 | newChar = --invincible < 0 && self.isMistaking() ? self.utils.randomChar() : speech.charAt(cursor); 339 | 340 | if (newChar !== speech.charAt(cursor)) mistaken = true; 341 | newValue = model += newChar; 342 | } 343 | 344 | self.set(newValue, [newValue, newChar, prevChar, speech]); 345 | 346 | if (mistaken || cursor < speech.length) timeout = setTimeout(nextChar, self.getSayingSpeed()); 347 | else self.next(); 348 | }, self.getSayingSpeed()); 349 | 350 | return self; 351 | }, 352 | 353 | 354 | erase: function (n) { 355 | var self = this, 356 | cursor = typeof self.current.model === "string" ? self.current.model.length : -1, 357 | min = typeof n === "number" && n < 0 ? cursor + 1 + n : 0; 358 | 359 | if (cursor < 0) return self.next(); 360 | 361 | var timeout = setTimeout(function eraseChar () { 362 | var prevChar = self.current.model.charAt(cursor), 363 | newValue = self.current.model.substr(0, --cursor); 364 | 365 | self.set(newValue, [newValue, null, prevChar, newValue]); 366 | 367 | if (cursor >= min) setTimeout(eraseChar, self.getSayingSpeed(.2, true)); 368 | else self.next(); 369 | }, self.getSayingSpeed(.2, true)); 370 | 371 | return self; 372 | }, 373 | 374 | 375 | wait: function (delay) { 376 | var self = this; 377 | setTimeout(function () { self.next(); }, delay); 378 | return self; 379 | } 380 | }; 381 | 382 | w.TheaterJS = TheaterJS; 383 | })(window, document); 384 | --------------------------------------------------------------------------------