问题类型选取页
wxml:
<view class="wrap">
<view class="hd">问题类型</view>
<block wx:for="{
{typelist}}" wx:key="{
{index}}" bindtap='gettype'>
<view class="item" data-id="{
{index}}" bindtap='gettype'>{
{item}}</view>
</block>
</view>
wxss:
.wrap{
padding:20rpx 40rpx;
}
.hd{
height:40px;
line-height:40px;
text-align: center;
color: #000;
font-size: 22px;
border-bottom: 2px solid #2fb7f7;
color:#2fb7f7;
margin-bottom:10px;
}
.item{
height:auto;
line-height: 18px;
border-bottom: 1px dashed #ccc;
padding:10px 0;
}
js:
Page({
data: {
typelist: ["举报违规建坟、违规土葬等行为", "举报违章建筑、占道经营等行为", "举报侵