Commit 6a43cac414d3d530ccf6495f19b585e0ae89029d

Authored by 后端研发-苏泰源
2 parents 9bfdb099 8806a441

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

packageB/pages/AI-test-skin/success_result/success_result.js
1 /* 1 /*
2 * @Author: abson 2 * @Author: abson
3 * @Date: 2022-02-16 15:36:47 3 * @Date: 2022-02-16 15:36:47
4 - * @LastEditTime: 2022-02-18 17:40:05 4 + * @LastEditTime: 2022-02-18 18:02:00
5 * @LastEditors: Please set LastEditors 5 * @LastEditors: Please set LastEditors
6 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE 6 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7 * @FilePath: \MShopWeApp\packageB\pages\AI-test-skin\success_result\success_result.js 7 * @FilePath: \MShopWeApp\packageB\pages\AI-test-skin\success_result\success_result.js
@@ -33,6 +33,16 @@ Page({ @@ -33,6 +33,16 @@ Page({
33 onLoad: function (options) { 33 onLoad: function (options) {
34 34
35 }, 35 },
  36 + lo(){
  37 + this.setData({
  38 + oo:"hei_tou"
  39 + })
  40 + },
  41 + lo1(){
  42 + this.setData({
  43 + oo:"zong_he"
  44 + })
  45 + },
36 46
37 /** 47 /**
38 * 生命周期函数--监听页面初次渲染完成 48 * 生命周期函数--监听页面初次渲染完成
packageB/pages/AI-test-skin/success_result/success_result.json
1 { 1 {
2 - "usingComponents": {} 2 + "usingComponents": {},
  3 + "navigationBarTitleText": "测肤报告"
3 } 4 }
4 \ No newline at end of file 5 \ No newline at end of file
packageB/pages/AI-test-skin/success_result/success_result.wxml
1 -<scroll-view enable-flex scroll-x style="height: 100rpx;">  
2 - <view class="tab_scroll"> 1 +<view style="height: 100rpx;">
  2 + <scroll-view enable-flex scroll-into-view="{{tab_id}}" scroll-x class="tab_scroll">
  3 + <view class="flex" style="height: 100%;">
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 <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 {{item.name}} 5 {{item.name}}
5 </view> 6 </view>
6 </view> 7 </view>
7 </scroll-view> 8 </scroll-view>
  9 +</view>
8 10
9 -<scroll-view enable-flex scroll-into-view="{{tab_id}}">  
10 - <view class="analyse_by_people" id="zong_he"> 11 +<scroll-view enable-flex scroll-into-view="{{oo}}" style="height: 1000px;">
  12 + <view bindtap="lo" class="analyse_by_people" id="zong_he" >
11 <view class="analyse"> 13 <view class="analyse">
12 <view class="analyse_left"> 14 <view class="analyse_left">
13 <view class="mark">毛孔 较粗大</view> 15 <view class="mark">毛孔 较粗大</view>
@@ -60,8 +62,7 @@ @@ -60,8 +62,7 @@
60 </view> 62 </view>
61 </view> 63 </view>
62 </view> 64 </view>
63 -  
64 - <view class="content"> 65 + <view bindtap="lo1" class="content" id="hei_tou">
65 <view class="mb_b5"> 66 <view class="mb_b5">
66 <view class="analyse_classify bg_white"> 67 <view class="analyse_classify bg_white">
67 <view class="analyse_classify_header"> 68 <view class="analyse_classify_header">
@@ -250,7 +251,7 @@ @@ -250,7 +251,7 @@
250 <text class="iconfont icon-checked" style="font-size: 26rpx;margin-right: 10rpx;"></text> 251 <text class="iconfont icon-checked" style="font-size: 26rpx;margin-right: 10rpx;"></text>
251 <text class="fs26">皮脂腺分泌旺盛</text> 252 <text class="fs26">皮脂腺分泌旺盛</text>
252 </view> 253 </view>
253 - <view class="mr20"> 254 + <view class="mr20">
254 <text class="iconfont icon-checked" style="font-size: 26rpx;margin-right: 10rpx;"></text> 255 <text class="iconfont icon-checked" style="font-size: 26rpx;margin-right: 10rpx;"></text>
255 <text class="fs26">皮脂腺分泌旺盛</text> 256 <text class="fs26">皮脂腺分泌旺盛</text>
256 </view> 257 </view>
@@ -386,7 +387,7 @@ @@ -386,7 +387,7 @@
386 <text class="iconfont icon-checked" style="font-size: 26rpx;margin-right: 10rpx;"></text> 387 <text class="iconfont icon-checked" style="font-size: 26rpx;margin-right: 10rpx;"></text>
387 <text class="fs26">皮脂腺分泌旺盛</text> 388 <text class="fs26">皮脂腺分泌旺盛</text>
388 </view> 389 </view>
389 - 390 +
390 </view> 391 </view>
391 </view> 392 </view>
392 393
packageB/pages/AI-test-skin/success_result/success_result.wxss
@@ -7,6 +7,7 @@ page { @@ -7,6 +7,7 @@ page {
7 7
8 .tab_scroll { 8 .tab_scroll {
9 position: fixed; 9 position: fixed;
  10 + top: 0;
10 z-index: 99; 11 z-index: 99;
11 display: flex; 12 display: flex;
12 height: 100rpx; 13 height: 100rpx;