吕天方 4 weeks ago
commit e153d434a4

@ -1,6 +1,6 @@
{
"name" : "江宁城管app",
"appid" : "__UNI__EE8CBC2",
"appid" : "__UNI__9199720",
"description" : "",
"versionName" : "1.1.0",
"versionCode" : "100",

@ -5,6 +5,9 @@
<text class="nav-right"></text>
</view>
</u-navbar> -->
<u-search height="75rpx" placeholder="输入评级规则查询" v-model="queryParams.rateRuleName" shape="square"
:showAction="false" :clearabled="true" class="view-global" bgColor="#fff" @search="onSearch"
@clear="onClear"></u-search>
<view class="list-item">
<view class="list-item-box">
<view class="list-item-box-top">
@ -24,6 +27,23 @@
{{titleObj.sbLevel==3?'红牌':titleObj.sbLevel==4?'黄牌':titleObj.sbLevel==5?'绿牌':'暂无'}}
</view>
</view>
<view class="list-item-box">
<view class="list-item-box-top">
三包等级凭证:
</view>
<view class="list-item-box-bottom">
暂无
</view>
</view>
<view class="list-item-box">
<view class="list-item-box-top">
有效期:
</view>
<view class="list-item-box-bottom">
长期有效
</view>
</view>
</view>
<view class="list-item">
<view class="list-item-title">{{levelList[0].rateRuleName || ''}}</view>
@ -34,12 +54,12 @@
</view>
<view class="mytext" v-html="levelList[0].rateRuleContent">
</view>
<!-- <view class="mytext">
<!-- <view class="mytext">
<u-parse :content="levelList[0].rateRuleContent" :tag-style="style"></u-parse>
</view> -->
</view>
<u-toast ref="uToast"></u-toast>
</view>
</view>
</template>
@ -61,6 +81,7 @@
}],
//
queryParams: {
rateRuleName: "",
sbLevelName: null,
pageNum: 1,
pageSize: 10,
@ -71,7 +92,7 @@
shopName: "",
},
style: {
p:'font-size:20rpx;!important'
p: 'font-size:20rpx;!important'
}
};
},
@ -101,11 +122,20 @@
}
},
onSearch() {
this.getList();
// this.getList();
this.$refs.uToast.show({
type: 'default',
title: '默认主题',
message: "暂无更多评级规则",
complete() {
}
})
},
onClear() {
this.queryParams.sbLevelName = "";
this.getList();
// this.getList();
},
getList() {
listraterule(this.queryParams).then((res) => {
@ -248,5 +278,4 @@
color: yellowgreen;
}
}
</style>
Loading…
Cancel
Save