【修改】 消息框样式修改
This commit is contained in:
@@ -68,12 +68,14 @@
|
|||||||
|
|
||||||
<view class="modal-mask" bindtap="hideModal" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
|
<view class="modal-mask" bindtap="hideModal" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
|
||||||
<view class="modal-dialog" wx:if="{{showModal}}">
|
<view class="modal-dialog" wx:if="{{showModal}}">
|
||||||
|
<view class="modal-img">
|
||||||
|
<image src="../../assets/images/msg.png" style="width:200rpx;height:200rpx; position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);"></image>
|
||||||
|
</view>
|
||||||
<view class="modal-content">
|
<view class="modal-content">
|
||||||
<image src="../../assets/images/msg.png" style="width:200rpx;height:200rpx; position: absolute;top: 50%;left: 50%;transform: translate(-50%,-146%);"></image>
|
|
||||||
<!-- {{content}} -->
|
<!-- {{content}} -->
|
||||||
<view class="title">{{clickItem.currentTarget.dataset.message.titile_dictText}}</view>
|
<view class="title">{{clickItem.currentTarget.dataset.message.titile_dictText}}</view>
|
||||||
<!-- rich-text 会解析html模板中的html标签 -->
|
<!-- rich-text 会解析html模板中的html标签 -->
|
||||||
<rich-text nodes="{{content}}"></rich-text>
|
<view> <rich-text nodes="{{content}}"></rich-text></view>
|
||||||
<text wx:if="{{signUpBool}}" style="color:#069f99" bindtap="goSignUpPage"> 去报名 </text>
|
<text wx:if="{{signUpBool}}" style="color:#069f99" bindtap="goSignUpPage"> 去报名 </text>
|
||||||
</view>
|
</view>
|
||||||
<view class="modal-footer">
|
<view class="modal-footer">
|
||||||
|
|||||||
@@ -194,4 +194,7 @@ page{
|
|||||||
background: #069F99;
|
background: #069F99;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-right: 1px solid #dedede;
|
border-right: 1px solid #dedede;
|
||||||
|
}
|
||||||
|
.modal-img {
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user