parent
21390d9fe9
commit
4dee21bf63
@ -1 +1,12 @@
|
||||
<text>纪念哦</text>
|
||||
<view class="button-container">
|
||||
<button bindtap="showPage1" class="b1">纪念票</button>
|
||||
<button bindtap="showPage2" class="b2">纪念册</button>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{currentPage === 'page1'}}" class="v1" style="width:max-width; height:1000rpx;">
|
||||
<text>1</text>>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{currentPage === 'page2'}}" class="v2" style="width:max-width; height:1000rpx;">
|
||||
<text>2</text>>
|
||||
</view>
|
@ -1 +1,23 @@
|
||||
/* pages/commemorate/commemorate.wxss */
|
||||
.button-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
background-color:rgb(99, 195, 240)
|
||||
}
|
||||
|
||||
.b1 {
|
||||
background-color: rgb(171, 238, 16);
|
||||
}
|
||||
|
||||
.b2 {
|
||||
background-color: rgb(221, 218, 55);
|
||||
}
|
||||
|
||||
.v1 {
|
||||
background-color: rgb(99, 195, 240);
|
||||
}
|
||||
|
||||
.v2 {
|
||||
background-color: rgb(99, 195, 240);
|
||||
}
|
Loading…
Reference in new issue