@ -32,6 +32,11 @@ Page({
})
this.fetchPolicyArtice()
},
onHiddenPopView () {
this.setData({
show:false,
onShowAllButton () {
console.log('show All tbn')
const show = this.data.show
@ -12,7 +12,7 @@
<image class="arrow_btn" src="/images/billboard/arrow-down.png"></image>
</view>
<view class="page_bd">
<view class="page_bd" bindtap="onHiddenPopView">
<rich-text nodes="{{nodes}}"></rich-text>
<e-empty empty="{{nodes.length <= 0}}" message="暂无数据"/>
@ -36,20 +36,21 @@
}
/* 弹出视图 */
.pop_view {
position: absolute;
position: fixed;
left: 0;
right: 0;
top: 0px;
top: 40px;
height: 150px;
overflow: scroll;
background-color: white;
transform-origin: 0 0;
transition: 0.2s all ease-in-out;
.pop_show {
top: 0;
transform: scaleY(1);
.pop_hidden {
top: -150px;
transform: scaleY(0);
.pop_view_layout {
/* 布局 */