上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页
摘要: 1、父组件 <template> <div> <!--使用子组件标签,并定义变量--> <v-son :title='title' :homemsg='msg' :run='run' :home='this'></v-son> </div> </template> <script> import s 阅读全文
posted @ 2020-03-20 09:17 小白啊小白,Fighting 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 1、原型: 2、实现搜索功能代码 <template> <div class="safetyInfo"> <strong>用户名:</strong><input type="text" name="" id="username" placeholder="用户名" v-model="username 阅读全文
posted @ 2020-03-19 21:07 小白啊小白,Fighting 阅读(5039) 评论(0) 推荐(0) 编辑
摘要: 1、安装 npm install vue-resource --save 2、在main.js中添加 import VueResource from 'vue-resource' //全局注册 Vue.use(VueResource) 3、vue-resource发送请求 a)对象参数,post请求 阅读全文
posted @ 2020-03-19 21:04 小白啊小白,Fighting 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1、打包运行的时候,过滤eslint语法检查,即报这个错的时候: Errors: 3 http://eslint.org/docs/rules/indent You may use special comments to disable some warnings. Use // eslint-di 阅读全文
posted @ 2020-03-19 14:31 小白啊小白,Fighting 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 整合bootstrap可参考:https://www.cnblogs.com/aoshuang/p/10691893.html 整合Jquery过程如下: 1、在package.json中添加jquery,如下图所示 "dependencies": { "jsdom": "^16.2.0", "lo 阅读全文
posted @ 2020-02-27 10:52 小白啊小白,Fighting 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 1、安装路由插件 npm install --save vue-router 2、在components目录下编写两个vue组件,home.vue和about.vue <template> <div> <h1>about</h1> <p>{{aboutMsg}}</p> </div> </templ 阅读全文
posted @ 2020-02-27 10:37 小白啊小白,Fighting 阅读(886) 评论(0) 推荐(0) 编辑
摘要: 第一次打包,还成功了,可能也是运气问题吧,因为自己在百度的时候发现很多人都打包有问题,现在我就讲述下我的打包配置 1、第一步,在build/utils.js中添加:publicPath:"../../", 如下所示: if (options.extract) { return ExtractText 阅读全文
posted @ 2020-02-26 16:25 小白啊小白,Fighting 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 技术点:springcloud + kafka + hbase + mogodb 1、建立实体对象 浏览商品行为 ScanProductLog 收藏商品行为 CollectProductLog 购物车行为 BuyCartProductLog 关注商品行为 AttentionProductLog 2、 阅读全文
posted @ 2020-02-23 13:10 小白啊小白,Fighting 阅读(934) 评论(0) 推荐(0) 编辑
摘要: 注意,整个任务的流程如下: * Task执行过程:环境配置 > 获取输入数据 > map操作(数据打标签,存入hbase) > groupby(分组) > reduce(根据标签聚合) >sink(存入mongodb) 1、Task任务 package com.youfan.task; import 阅读全文
posted @ 2020-02-21 22:28 小白啊小白,Fighting 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: 代码如下: import tensorflow as tf import csv import numpy as np import matplotlib.pyplot as plt # 设置学习率 learning_rate = 0.01 # 设置训练次数 train_steps = 1000 # 阅读全文
posted @ 2020-02-13 13:42 小白啊小白,Fighting 阅读(668) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页