Commit cb32d1dedf35265fcd936251f7cf75511e801f01
1 parent
36cacc4c
分析报告页分享按钮
Showing
2 changed files
with
20 additions
and
3 deletions
packageB/pages/AI-test-skin/success_result/success_result.wxml
| 1 | -<scroll-view enable-flex scroll-x> | |
| 1 | +<scroll-view enable-flex scroll-x style="height: 100rpx;"> | |
| 2 | 2 | <view class="tab_scroll"> |
| 3 | 3 | <view wx:for="{{tab}}" wx:key="id" id="{{item.id}}" bindtap="clickTab" data-tab_id="{{item.id}}" data-index="{{index}}" class="tab_scroll_item {{currentIndex==index?'active':''}}"> |
| 4 | 4 | {{item.name}} |
| ... | ... | @@ -479,7 +479,7 @@ |
| 479 | 479 | <view class="fs26" style="display: flex;align-items: center;"> |
| 480 | 480 | <text>问题标注</text> |
| 481 | 481 | <text class="iconfont icon-xia"></text> |
| 482 | - | |
| 482 | + | |
| 483 | 483 | </view> |
| 484 | 484 | </view> |
| 485 | 485 | </view> |
| ... | ... | @@ -629,4 +629,8 @@ |
| 629 | 629 | </view> |
| 630 | 630 | </scroll-view> |
| 631 | 631 | |
| 632 | -<view class="mask" hidden="{{showDialog}}"></view> | |
| 633 | 632 | \ No newline at end of file |
| 633 | +<view class="mask" wx:if="{{showDialog}}"></view> | |
| 634 | +<cover-view class="share fs28"> | |
| 635 | + <text class="iconfont icon-zhuanfa1" style="padding: 0 10rpx;"></text> | |
| 636 | + <text>分享</text> | |
| 637 | +</cover-view> | |
| 634 | 638 | \ No newline at end of file | ... | ... |
packageB/pages/AI-test-skin/success_result/success_result.wxss
| ... | ... | @@ -6,9 +6,22 @@ page { |
| 6 | 6 | } |
| 7 | 7 | |
| 8 | 8 | .tab_scroll { |
| 9 | + position: fixed; | |
| 10 | + z-index: 99; | |
| 9 | 11 | display: flex; |
| 10 | 12 | height: 100rpx; |
| 11 | 13 | } |
| 14 | +.share { | |
| 15 | + position: fixed; | |
| 16 | + bottom: 100rpx; | |
| 17 | + right: 0; | |
| 18 | + padding: 20rpx; | |
| 19 | + background-color: #fff; | |
| 20 | + border: 2rpx solid #f0f0f0; | |
| 21 | + /* color: #FFF; */ | |
| 22 | + border-radius: 40rpx 0 0 40rpx; | |
| 23 | + z-index: 99; | |
| 24 | +} | |
| 12 | 25 | |
| 13 | 26 | .tab_scroll_item { |
| 14 | 27 | position: relative; | ... | ... |