分析题
运行结果
![](https://img-blog.csdnimg.cn/direct/fb99edae7a864b758607ead609334db8.png)
代码
logs.wxml
<view class="container">
<view class="layout-top">
<view class="screen">3x8</view>
</view>
<view class="layout-bottom">
<view class="btnGroup">
<view class="item orange">C</view>
<view class="item orange">^</view>
<view class="item orange">#</view>
<view class="item orange">+</view>
</view>
<view class="btnGroup">
<view class="item blue">9</view>
<view class="item blue">8</view>
<view class="item blue">7</view>
<view class="item blue">-</view>
</view>
<view class="btnGroup">
<view class="item blue">6</view>
<view class="item blue">5</view>
<view class="item blue">4</view>
<view class="item orange">×</view>
</view>
<view class="btnGroup">
<view class="item blue">3</view>
<view class="item blue">2</view>
<view class="item blue">1</view>
<view class="item orange">÷</view>
</view>
<view class="btnGroup">
<view class="item blue zero">0</view>
<view class="item blue">.</view>
<view class="item orange">=</view>
</view>
</view>
</view>
app.wxss
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
}
logs.wxss
.content{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
background-color: #ccc;
font-family: "Microsoft Yahei";
overflow-x:hidden;
}
.layout-top{
width: 100%;
margin-bottom: 30px;
}
.layout-bottom{
width: 100%;
}
.screen{
text-align: right;
width: 100%;
line-height: 130rpx;
padding: 0 10rpx;
font-weight: bold;
font-size: 60px;
box-sizing: border-box;
border-top: 1px solid #fff;
}
.btnGroup{
display: flex;
flex-direction: row;
float: 1;
width: 100%;
height: 4rem;
background-color: #fff;
}
.item{
width: 25%;
display: flex;
align-items: center;
justify-content: center;
margin-top: 1px;
margin-right: 1px;
}
.zero{
width: 50%;
}
.orange{
color: #fef4e9;
background: #f78d1d;
font-weight: bold;
}
.blue{
color: #d9eef7;
background-color: #0095cd;
}
操作题
运行结果
![](https://img-blog.csdnimg.cn/direct/ff6137c19e9f4c0e84b382525a2514dd.png)
index.wxml
<view class="whh">
<text>行业趋势指南 V</text>
<text>年度趋势指南 V</text>
</view>
<view class="whhh"></view>
<view class="whhs">
<text>最新发布</text>
<text>单品</text>
<text>色彩</text>
<text>风格</text>
<text>细节</text>
<text>面料</text>
</view>
<view class="big-wang"></view>
<view class="xian"></view>
<View class="img-liang">
<image src="img/img_01.jpg"></image>
<image src="img/img_02.jpg"></image>
</View>
<view class="img-wl">
<image src="img/img_03.jpg"></image>
<image src="img/img_07.jpg"></image>
</view>
<view class="img-wll">
<image src="img/img_08.jpg"></image>
<image src="img/img_09.jpg"></image>
</view>
index.wxss
.whh{
height: 50px;
line-height: 50px;
margin: auto 40px;
display: flex;
justify-content: space-between;
}
.whhh{
width: 100%;
height: 2px;
background: rgba(175, 172, 172, 0.932);
}
.whhs{
height: 50px;
line-height: 50px;
margin: auto 30px;
display: flex;
justify-content: space-between;
}
.big-wang{
width: 60px;
height: 4px;
margin-left: 30px;
background: rgb(32, 32, 32);
}
.img-liang image{
width: 150px;
height: 150px;
}
.img-wl image{
width: 150px;
height: 150px;
}
.img-wll image{
width: 150px;
height: 150px;
}
.img-liang,.img-wl,.img-wll{
margin: 10px 20px;
display: flex;
justify-content: space-between;
}
创建一个新的文件夹,放照片
![](https://img-blog.csdnimg.cn/direct/7a5adc1f152f413d9d48c703f45eb239.png)