摘要: 设置页面布局的时候。遇到了设置图片圆角问题,然后试了几种方法,都可以 第一种: <Border CornerRadius="50" BorderBrush="Blue" BorderThickness="2" Width="200" Height="200"> <Border.Background> 阅读全文
posted @ 2019-10-09 17:09 熊大的小跟班 阅读(5925) 评论(0) 推荐(3) 编辑
摘要: Expander是一个可以展开和折叠的控件,由ContentPresenter和ToggleButton组成 <!--Expander样式--> <Style x:Key="ExpanderStyle" TargetType="{x:Type Expander}"> <Setter Property 阅读全文
posted @ 2019-09-27 16:52 熊大的小跟班 阅读(2507) 评论(0) 推荐(0) 编辑
摘要: css: js html 阅读全文
posted @ 2019-09-04 17:41 熊大的小跟班 阅读(297) 评论(0) 推荐(0) 编辑
摘要: <script> function change_pic() { var imgObj = document.getElementById("caocao_pic"); if (imgObj.getAttribute("src", 2) == "../img/jpg/1.png") { imgObj 阅读全文
posted @ 2019-08-27 16:20 熊大的小跟班 阅读(2986) 评论(0) 推荐(0) 编辑
摘要: html: <li id="divimg" class="picCon masonry-brick" style="width: 49.5%"> <div class="uiop"> <label id="lovejpg" class="number" style="display: none;"> 阅读全文
posted @ 2019-08-27 15:38 熊大的小跟班 阅读(972) 评论(0) 推荐(0) 编辑
摘要: 在input属性里面加入一段代码就行 onfocus="this.placeholder=''" onblur="this.placeholder='请输入您想搜索的内容......'" 阅读全文
posted @ 2019-08-20 11:16 熊大的小跟班 阅读(1843) 评论(0) 推荐(0) 编辑
摘要: 方法1: html: <li class="active twonav"> <label class="jpg rgb" href="#Navsola" role="tab" data-toggle="pill" >单张</label > </li> <li class="twonav"> <lab 阅读全文
posted @ 2019-08-15 17:10 熊大的小跟班 阅读(4379) 评论(0) 推荐(0) 编辑
摘要: public partial class About : Window { public About() { //弹出框居中 WindowStartupLocation = WindowStartupLocation.CenterScreen; InitializeComponent(); } } 阅读全文
posted @ 2019-07-25 10:54 熊大的小跟班 阅读(1180) 评论(0) 推荐(0) 编辑
摘要: cs .personal { background-color: #3A99FF; color: #fff; padding-left: 10px; } .personalTwo { /* color: #fff; */ width: 66px; height: 33px; color: #3A99 阅读全文
posted @ 2019-07-22 18:08 熊大的小跟班 阅读(9630) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> $(function () { <script type="text/javascript"> $(function () { //页面加载初始化数据 //当打开界面需要展示数据,就需要初始化,当打开界面点击按钮,在出现数据,就不需要初 阅读全文
posted @ 2019-07-18 11:27 熊大的小跟班 阅读(466) 评论(0) 推荐(0) 编辑