Commit 1714dc04 by mamingqun

添加了百度统计 注释了没有更多

parent 5f395a22
...@@ -510,7 +510,7 @@ export default { ...@@ -510,7 +510,7 @@ export default {
this.ruweidot = { backgroundColor: 'transparent' }; this.ruweidot = { backgroundColor: 'transparent' };
Toast({ Toast({
message: '没有更多' // message: '没有更多'
}); });
return return
......
...@@ -42,7 +42,7 @@ Vue.component(Actionsheet.name, Actionsheet); ...@@ -42,7 +42,7 @@ Vue.component(Actionsheet.name, Actionsheet);
var _hmt = _hmt || []; var _hmt = _hmt || [];
(function () { (function () {
var hm = document.createElement("script"); var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?9e7d7b9d4d2ff4da5330771a1b957aa1"; hm.src = "https://hm.baidu.com/hm.js?9d8ec2aaf5ef1d1f6eb8e977e4731950";
var s = document.getElementsByTagName("script")[0]; var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s); s.parentNode.insertBefore(hm, s);
})(); })();
......
...@@ -29,7 +29,7 @@ import store from '../../modules/store'; ...@@ -29,7 +29,7 @@ import store from '../../modules/store';
var _hmt = _hmt || []; var _hmt = _hmt || [];
(function () { (function () {
var hm = document.createElement("script"); var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?9e7d7b9d4d2ff4da5330771a1b957aa1"; hm.src = "https://hm.baidu.com/hm.js?9d8ec2aaf5ef1d1f6eb8e977e4731950";
var s = document.getElementsByTagName("script")[0]; var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s); s.parentNode.insertBefore(hm, s);
})(); })();
...@@ -61,7 +61,7 @@ router.beforeEach((to, from, next) => { ...@@ -61,7 +61,7 @@ router.beforeEach((to, from, next) => {
}) })
Vue.prototype.$randomText = function() { Vue.prototype.$randomText = function () {
function RandomNumBoth(Min, Max) { function RandomNumBoth(Min, Max) {
var Range = Max - Min; var Range = Max - Min;
var Rand = Math.random(); var Rand = Math.random();
...@@ -69,7 +69,7 @@ Vue.prototype.$randomText = function() { ...@@ -69,7 +69,7 @@ Vue.prototype.$randomText = function() {
return num; return num;
} }
var num = RandomNumBoth(1,11); var num = RandomNumBoth(1, 11);
var str = null; var str = null;
switch (num) { switch (num) {
...@@ -103,6 +103,8 @@ Vue.prototype.$randomText = function() { ...@@ -103,6 +103,8 @@ Vue.prototype.$randomText = function() {
new Vue({ new Vue({
el: '#app', el: '#app',
router, router,
components: { App }, components: {
App
},
template: '<App/>' template: '<App/>'
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment