吕天方 4 weeks ago
commit e153d434a4

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

@ -5,6 +5,9 @@
<text class="nav-right"></text> <text class="nav-right"></text>
</view> </view>
</u-navbar> --> </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">
<view class="list-item-box"> <view class="list-item-box">
<view class="list-item-box-top"> <view class="list-item-box-top">
@ -24,6 +27,23 @@
{{titleObj.sbLevel==3?'红牌':titleObj.sbLevel==4?'黄牌':titleObj.sbLevel==5?'绿牌':'暂无'}} {{titleObj.sbLevel==3?'红牌':titleObj.sbLevel==4?'黄牌':titleObj.sbLevel==5?'绿牌':'暂无'}}
</view> </view>
</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>
<view class="list-item"> <view class="list-item">
<view class="list-item-title">{{levelList[0].rateRuleName || ''}}</view> <view class="list-item-title">{{levelList[0].rateRuleName || ''}}</view>
@ -34,12 +54,12 @@
</view> </view>
<view class="mytext" v-html="levelList[0].rateRuleContent"> <view class="mytext" v-html="levelList[0].rateRuleContent">
</view> </view>
<!-- <view class="mytext"> <!-- <view class="mytext">
<u-parse :content="levelList[0].rateRuleContent" :tag-style="style"></u-parse> <u-parse :content="levelList[0].rateRuleContent" :tag-style="style"></u-parse>
</view> --> </view> -->
</view> </view>
<u-toast ref="uToast"></u-toast>
</view> </view>
</view> </view>
</template> </template>
@ -61,6 +81,7 @@
}], }],
// //
queryParams: { queryParams: {
rateRuleName: "",
sbLevelName: null, sbLevelName: null,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
@ -71,7 +92,7 @@
shopName: "", shopName: "",
}, },
style: { style: {
p:'font-size:20rpx;!important' p: 'font-size:20rpx;!important'
} }
}; };
}, },
@ -101,11 +122,20 @@
} }
}, },
onSearch() { onSearch() {
this.getList(); // this.getList();
this.$refs.uToast.show({
type: 'default',
title: '默认主题',
message: "暂无更多评级规则",
complete() {
}
})
}, },
onClear() { onClear() {
this.queryParams.sbLevelName = ""; this.queryParams.sbLevelName = "";
this.getList(); // this.getList();
}, },
getList() { getList() {
listraterule(this.queryParams).then((res) => { listraterule(this.queryParams).then((res) => {
@ -248,5 +278,4 @@
color: yellowgreen; color: yellowgreen;
} }
} }
</style> </style>
Loading…
Cancel
Save