legend3---8、烦请节约时间
一、总结
一句话总结:
时间不要浪费在垃圾情绪和无效社交上面。
1、商标不能以个人的名义注册?
可以先注册个体工商户,然后再可以注册商标
2、注册一个商标大概花多少钱?
注册商标大概花1000块钱,1100的样子
3、网页的页面宽度改变事件?
window.onresize=function(){ 需要执行的代码 }
{{--小屏幕端的时候去除 内容中container 的左右缩进--}}
<script>
function remove_container() {
if($(window).width()>720){
$('#content_container').addClass('container');
}else{
$('#content_container').removeClass('container');
}
$('#content_wrapper').show();
}
remove_container();
$(function () {
window.onresize=function(){
//console.log("宽度改变了!");
remove_container();
}
});
</script>
4、支付怎么用个人的收款码啊?
上接口,或者改改代码,支付换成直接创建订单,订单为个人二维码后台手动确认,或者第三方接口
5、lavarel如何调整时区?
打开 config 下的 app.php 找到 ‘timezone’,'timezone' => 'UTC',将UTC 改为 PRC 即可
6、lavarel变量输出报错情况?
if判断一下变量是否存在:@if(isset($d->blog->b_title)) {{$d->blog->b_title}} @endif
7、jquery让按钮不可点击?
$("#btn").attr("disabled", true);
8、html中字符超出截断?
CSS截断显示内容主要通过white-space,overflow,text-overflow三个属性实现。
html
<div class="hello substr">
hello world!
<div>
css
.hello{
40px;
}
.substr{
white-space:nowrap;
overflow:hidden;
text-overflow: ellipsis;
}
9、禁止textarea框拉动改变大小?
resize:none;
10、css布局实现左边固定宽度,右边剩余宽度?
原理是左边float:left; 右边margin左边的宽度多一点就好
二、内容在总结中