Commit 8ec0b444 authored by Edwise's avatar Edwise 🍷

123

parent 75546213
.selectcat-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
}
.selectcat__shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.selectcat { .selectcat {
width: 721rpx; width: 721rpx;
height: 943rpx; height: 943rpx;
opacity: 1; opacity: 1;
left: 15rpx; left: 15rpx;
top: 50%; top: 300rpx;
margin-top: -472.5rpx; /* margin-top: -472.5rpx; */
position: absolute; position: absolute;
transform-origin: 50% 50% 0rpx; transform-origin: 50% 50% 0rpx;
} }
......
<view class="selectcat-modal">
<view class="selectcat__shade modal-animate-fade-in" />
<view class="selectcat modal-animate-zoom-in"> <view class="selectcat modal-animate-zoom-in">
<image class="selectcatbg" src={{resList['db53267d-4141-4d3e-afda-9b523c89be3e'].url}} /> <image class="selectcatbg" src={{resList['db53267d-4141-4d3e-afda-9b523c89be3e'].url}} />
<view class="selectcatblue"> <view class="selectcatblue">
...@@ -28,4 +27,3 @@ ...@@ -28,4 +27,3 @@
</view> </view>
<image class="selectcattrue" src={{resList['628fc38b-7dc0-4c69-aac1-279d60c8f1ed'].url}} /> <image class="selectcattrue" src={{resList['628fc38b-7dc0-4c69-aac1-279d60c8f1ed'].url}} />
</view> </view>
</view>
\ No newline at end of file
...@@ -7,5 +7,5 @@ ...@@ -7,5 +7,5 @@
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal> <rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal>
<levelup-modal a:if="{{levelupModalVisible}}" onModalClose="closeLevelupModal"></levelup-modal> <levelup-modal a:if="{{levelupModalVisible}}" onModalClose="closeLevelupModal"></levelup-modal>
<message-modal a:if="{{messageModalVisible}}" mydata="{{messageModalData}}" onModalClose="closeMessageModal"></message-modal> <message-modal a:if="{{messageModalVisible}}" mydata="{{messageModalData}}" onModalClose="closeMessageModal"></message-modal>
<selectcat-modal a:if="{{selectcatModalVisible}}" onModalClose="closeSelectcatModal"></selectcat-modal> <view class="popcontainer" a:if="{{selectcatModalVisible}}"><selectcat-modal onModalClose="closeSelectcatModal"></selectcat-modal></view>
<view class="popcontainer" a:if="{{catnameModalVisible}}" ><catname-modal onModalClose="closeCatnameModal"/></view> <view class="popcontainer" a:if="{{catnameModalVisible}}" ><catname-modal onModalClose="closeCatnameModal"/></view>
...@@ -52,7 +52,7 @@ Page({ ...@@ -52,7 +52,7 @@ Page({
console.log('on ready') console.log('on ready')
var that = this; var that = this;
setTimeout(()=>{ setTimeout(()=>{
var parameter = {name:"catnameModal"} var parameter = {name:"selectcatModal"}
var data = {netName:"mine.showModal",parameter} var data = {netName:"mine.showModal",parameter}
that.onMessage({data:data}) that.onMessage({data:data})
},2000) },2000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment