- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 App
<template><divid="app"><divclass="containder"><mt-headerfixed:title="$route.meta.title"><spanslot="left"@click="goBack"v-show="showBack"><mt-buttonicon="back">返回</mt-button&...
2020-10-26 23:11:41 138
原创 auth.js
varauth={getAuthorization(){returnlocalStorage.getItem('Authorization')},setAuthorization(Authorization){localStorage.setItem('Authorization',Authorization)}}exportdefault{install:function(vue){vue.prototype.$au...
2020-10-26 23:11:00 1115
原创 axios
importaxiosfrom'axios'//import{config}from'vue/types/umd'exportdefault{install:function(vue){varauth=vue.prototype.$auth//创建一个axiosvarresult=axios.create({baseURL:'http://tpadmin.test/api/'})//添加...
2020-10-26 23:10:25 225
原创 main
importVuefrom'vue'importAppfrom'./App.vue'importrouterfrom'./router'importstorefrom'./store'//导入mintui组件库importMintUIfrom'mint-ui'import'mint-ui/lib/style.css'//导入mui框架样式import'./lib/mui/css/mui.css'import'./lib/mui/css/icons-...
2020-10-26 23:09:42 111
原创 store
===store/index.js=====importVuefrom'vue'importVuexfrom'vuex'importuserfrom'./modules/user.js'Vue.use(Vuex)exportdefaultnewVuex.Store({state:{},mutations:{},actions:{},modules:{user}})===store/modules/us...
2020-10-26 23:09:09 78
原创 router/index.js
====index.js====importVuefrom'vue'importVueRouterfrom'vue-router'importHomefrom'../pages/Home.vue'importCategoryfrom'../pages/Category.vue'importShopcartfrom'../pages/Shopcart.vue'importUserfrom'../pages/User.vue'importLoginfrom...
2020-10-26 23:08:25 1504
原创 page
===Home====<template><divclass="home"><!--<imgalt="Vuelogo"src="../assets/logo.png">--><swiper:imgList="imgList"></swiper><ulclass="mui-table-viewmui-grid-viewmui-grid-9"><li...
2020-10-26 23:07:29 235
原创 .prettierrc.js-.eslintrc.js
====.eslintrc.js====module.exports={root:true,env:{node:true},extends:['plugin:vue/essential','@vue/standard'],parserOptions:{parser:'babel-eslint'},rules:{'no-console':process.env.NODE_ENV==='...
2020-10-26 23:06:08 411
原创 components
====tabbar===<template><navclass="mui-barmui-bar-tab"><router-linkclass="mui-tab-item"to="/home"><spanclass="mui-iconmui-icon-home"></span><spanclass="mui-tab-label">首页</span><...
2020-10-26 23:05:35 146
转载 C4.5算法
原文在这里 http://isilic.iteye.com/blog/1844097Decision Tree:ID3、C4.5 ID3(Iterative Dichotomiser 3)算法是判定树算法(Decision Tree Learning)的典型代表算法,由Ross Quinlan在1975年提出。ID3是作为C4.5的先驱,在Machine Learni
2017-06-07 21:46:56 873
原创 统计学习方法之感知机对偶形式Java实现代码
理论部分请参照李航博士的统计学习方法一书Point类表示需要分类的样本点package com.czb.ganzhiji;public class Point { double x[]=new double[2]; double y; public Point(){ } public Point(double x[],double y){ this.x=x;
2016-12-19 22:08:30 665
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人