|
|
@@ -1,12 +1,13 @@
|
|
|
-<!-- 导航栏 -->
|
|
|
-<van-nav-bar custom-style="background-color: #fff">
|
|
|
- <van-icon slot="left" name="arrow-left" size="25px" color="#333" bind:click="backToParent"/>
|
|
|
- <text slot="title" style="color: #333;">钻石价格计算器</text>
|
|
|
-</van-nav-bar>
|
|
|
-
|
|
|
-<view class="container" style="position: relative; height: {{windowHeight-safeBottom}}px;">
|
|
|
- <!-- 形状 -->
|
|
|
- <view class="cell-view zsshape" wx:if="{{active !== 2}}">
|
|
|
+<view class="container" style="position: relative; height: {{ windowHeight-safeBottom }}px;">
|
|
|
+ <view class="top-view" style="position: sticky; top: 0; z-index: 999;">
|
|
|
+ <!-- 导航栏 -->
|
|
|
+ <van-nav-bar custom-style="background-color: #fff">
|
|
|
+ <van-icon slot="left" name="arrow-left" size="25px" color="#333" bind:click="backToParent"/>
|
|
|
+ <text slot="title" style="color: #333;">钻石价格计算器</text>
|
|
|
+ </van-nav-bar>
|
|
|
+ </view>
|
|
|
+ <!-- 形状 -->
|
|
|
+ <view class="cell-view zsshape" wx:if="{{active !== 2}}">
|
|
|
<text>形状</text>
|
|
|
<view class="content zsshape">
|
|
|
<button wx:for="{{zsshapes}}" wx:for-item="itm" wx:for-index="idx" class="{{itm.isCheck ? 'active' : ''}}" id="zsshape {{itm.id}}" wx:key="id" bindtap="onButtonPressed">{{itm.name}}</button>
|