Showing
6 changed files
with
37 additions
and
11 deletions
| ... | ... | @@ -44,7 +44,7 @@ page { |
| 44 | 44 | |
| 45 | 45 | .content2 .li { |
| 46 | 46 | position: relative; |
| 47 | - /* margin-top: 6rpx; */ | |
| 47 | + margin-bottom: 6rpx; | |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | .content2 .li image { |
| ... | ... | @@ -120,14 +120,15 @@ page { |
| 120 | 120 | line-height: 30rpx; |
| 121 | 121 | text-align: center; |
| 122 | 122 | height: 30rpx; |
| 123 | - margin-top: 18rpx; | |
| 123 | + margin-top: 6rpx; | |
| 124 | 124 | font-size: 24rpx; |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | .content3 .li { |
| 128 | 128 | float: left; |
| 129 | - margin-top: 10rpx; | |
| 130 | - line-height: 70rpx; | |
| 129 | + padding-bottom:30rpx; | |
| 130 | + padding-top:30rpx; | |
| 131 | + border-bottom:8rpx solid #5c5c5c; | |
| 131 | 132 | font-size: 28rpx; |
| 132 | 133 | width: 49%; |
| 133 | 134 | text-align: center; | ... | ... |
| 1 | - <view style="font-size:28rpx; height:{{windowHeight}}px;" id="the-id"> | |
| 2 | - <view class="index-advs"> | |
| 1 | + <view style="font-size:28rpx; height:{{windowHeight}}px;" class="" id="the-id"> | |
| 2 | + <view class="index-advs" animation="{{animation}}"> | |
| 3 | 3 | <swiper autoplay="{{autoplay}}" circular="{{circular}}" class="index-adcs-sqiper" duration="{{duration}}" indicator-dots="{{indicatorDots}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatoractive}}" interval="{{interval}}" style="height:612rpx"> |
| 4 | 4 | <block wx:for="{{adv}}" wx:for-index="idx"> |
| 5 | 5 | <swiper-item> |
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | </view> --> |
| 26 | 26 | <view class="content2"> |
| 27 | 27 | <block wx:for="{{list}}"> |
| 28 | - <view class="li"> | |
| 28 | + <view class="li zoomIn animated"> | |
| 29 | 29 | <navigator wx:if="{{index1 == 0}}" wx:if="{{item.type == 'career_advice'}}" url='../zyjydetail/zyjydetail?id={{item.id}}'> |
| 30 | 30 | <!--../detail/detail?id={{item.id}} --> |
| 31 | 31 | <view class="bg"> | ... | ... |
| ... | ... | @@ -333,4 +333,26 @@ swiper{ |
| 333 | 333 | text-align: center; |
| 334 | 334 | color: #7a838c; |
| 335 | 335 | margin-top: 25rpx; |
| 336 | +} | |
| 337 | + | |
| 338 | + | |
| 339 | +.animated { | |
| 340 | + animation-duration: 1s; | |
| 341 | + animation-fill-mode: both; | |
| 342 | +} | |
| 343 | + | |
| 344 | +@keyframes zoomIn { | |
| 345 | + from { | |
| 346 | + opacity: 0; | |
| 347 | + transform: scale3d(.7, .7, .7); | |
| 348 | + } | |
| 349 | + 50% { | |
| 350 | + opacity: .75; | |
| 351 | + } | |
| 352 | + 100% { | |
| 353 | + opacity: 1; | |
| 354 | + } | |
| 355 | +} | |
| 356 | +.zoomIn { | |
| 357 | + animation-name: zoomIn; | |
| 336 | 358 | } |
| \ No newline at end of file | ... | ... |
| ... | ... | @@ -641,7 +641,8 @@ Page({ |
| 641 | 641 | var information = that.data.information |
| 642 | 642 | that.setData({ |
| 643 | 643 | meng: true, |
| 644 | - block: false | |
| 644 | + block: false, | |
| 645 | + block1: false, | |
| 645 | 646 | }) |
| 646 | 647 | wx.request({ |
| 647 | 648 | url: app.url + '/mpapi/1.0.0/user/profile', |
| ... | ... | @@ -683,7 +684,8 @@ Page({ |
| 683 | 684 | var information = that.data.information |
| 684 | 685 | that.setData({ |
| 685 | 686 | meng: true, |
| 686 | - block: false | |
| 687 | + block: false, | |
| 688 | + block1:false | |
| 687 | 689 | }) |
| 688 | 690 | wx.request({ |
| 689 | 691 | url: app.url + '/mpapi/1.0.0/user/profile', | ... | ... |
Please
register
or
login
to post a comment