一.问题叙述 项目里需要新添加一个表单页面,里面就只是几个select,这个几个select是原本封装好的组件,有自己原本的样式,而这次的原型图却没有和之前的样式统一起来,需要微调一下,这里就涉及到父组件修改子组件的样式.不想混用本地和全局样式,所以选择了>>>,但是并不起作用,就换成/deep/,其实到这里我也没有继续深入这个知识点,因为在浏览器里预览后已经实现了原型图的样式,直到打包在手机上测试,发现问题,在手机上浏览并没有将样式修改过来.如下图: 问题:①为什么使用>>…
本文继成上一篇通过hive分析nginx日志文章,详情参考下面链接: http://www.cnblogs.com/wcwen1990/p/7066230.html 接着来: 创建业务子表: drop table if exists chavin.nginx_access_log_comm; create table if not exists chavin.nginx_access_log_comm( host STRING, time STRING, request STRING, refe…
vue--组件传值 父组件传值给子组件--"props" 一.父组件--示例 <template> <child :choose-data="chooseData"></child> </template> <style scoped> </style> <script> /** * Created by *** on 2021/3/9 */ import Child from '.…
需求 使用iview,在提交时对值b进行验证,使其不能大于值a 实现 <Form ref="config" :model="config" :rules="configRules" label-position="right" inline > <FormItem prop="a" label="值a:" :label-width="86">…
文章目录 1.实现的效果: 2.前端html代码 3.js中的代码 4.后端的方法 1.实现的效果: 增加一个新的类型到数据库 2.前端html代码 需要注意的部分:prop后边是表单中的字段 v-model:绑定的数据 <el-form-item label="上架时间" required> <el-col :span="11"> <el-form-item prop="date"> <el-date-…
<div class="panel-container"> <div> <table class="table-head" width="80%"> <thead> <tr> <th class="headerTable" rowspan="2">名称</th> <th rowspan="2">…
<table> <tr> <th>地名</th> <th>结果</th> <th>人名</th> <th>性别</th> </tr> <template v-for="(item, index) in list"> <tr :key="index"> <td :rowspan="item.grou…
子组件的某一个事件(sendData)内部,通过this.$emit('事件名', 传递的值)传递数据父组件在调用子组件的地方,绑定了子组件自定义的 事件名(change-data) 定义父组件的地方,实现函数体,函数体会带有默认的参数,参数的值就是子组件传递的值…
自定义逆向工程RKM 从配置表meta_db, meta_table, meta_column, meta_key中获取生产库的元数据信息.…
<template> <div class="expense-center"> <div class="fl expense-left"> <p class="left-titles">费用中心</p> <ul class="order-con"> <router-link to="/control-home/expense-center/…