Handy_Cao 2 年之前
父节点
当前提交
e28bdf6416

+ 1 - 1
GuangZuan/miniprogram/mHome/pages/goodsdetail/index.wxml

@@ -148,7 +148,7 @@
     <text class="title">询价申请</text>
     <text class="message">确认要询价申请吗?</text>
     <van-field label="价格:" model:value="{{ orderPrice }}" placeholder="请输入询价价格" type="digit" required clearable border="{{ false }}" bind:input="getInputNum" ></van-field>
-    <van-field label="备注:" model:value="{{ remark }}" placeholder="请输入备注信息" type="textarea"  required clearable border="{{ false }}" ></van-field>
+    <van-field label="备注:" model:value="{{ remark }}" placeholder="请输入备注信息" type="textarea" required clearable border="{{ false }}" ></van-field>
     <view class="button-view" style="padding-bottom: {{ safeBottom }}px;">
       <van-button bind:click="onClose" color="#999" round block>取消</van-button>
       <van-button bind:click="doBargainApply" color="#407DB8" round block>确定</van-button>

+ 1 - 1
GuangZuan/miniprogram/pages/home/index.wxml

@@ -51,7 +51,7 @@
   <view class="memberinfo" style="background-color: white;">
     <view class="memberinfo__top">
       <text class="title">会员风采</text>
-      <text class="more" bindtap="goToMemberInfo">更多 >></text>
+      <text class="more" bindtap="goToMemberInfo">更多...</text>
     </view>
     <view class="memberinfo__list">
       <view class="memberinfo__list__item" wx:for="{{ members }}" wx:for-index="idx" wx:for-item="itm" wx:key="idx">

+ 4 - 0
GuangZuan/miniprogram/pages/trade/index.ts

@@ -13,6 +13,8 @@ Page({
    * 页面的初始数据
    */
   data: {
+    /// top高度
+    topHeight: 64.0,
     /// 状态栏高度
     statusBarHeight: getApp().globalData.statusBarHeight,
     /// 导航栏高度
@@ -314,8 +316,10 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad() {
+    const height = this.data.statusBarHeight+this.data.navHeight
     /// 显示默认数据
     this.setData({
+      topHeight: height > 64 ? height : 74.0,
       /// 形状
       shapes: [{ value: 0, text: '形状' }].concat(getEnumList('ZSShapeType').map(obj => {
         return {

+ 3 - 3
GuangZuan/miniprogram/pages/trade/index.wxml

@@ -1,9 +1,9 @@
 <!-- 头部视图 -->
 <view class="top-view" style="position: sticky; top: 0; z-index: 999;"> 
   <!-- 导航视图 --> 
-  <view class="nav-view" style="height: {{ statusBarHeight + navHeight + 10}}px;">
+  <view class="nav-view" style="height: {{ topHeight}}px;">
     <!-- tabs -->
-    <view class="tab-view" style="padding-top: {{ statusBarHeight }}px; height: {{ navHeight }}px;">
+    <view class="tab-view" style="padding-top: {{ statusBarHeight }}px;">
       <van-tabs active="{{ active }}" custom-class="van-tabs" nav-class="van-tabs__nav" sticky animated bind:change="onTabChange" color="#fff" line-width="20px" title-active-color="#fff" title-inactive-color="#CAE5FF">
         <van-tab wx:for="{{ tabs }}" wx:for-item="itm" wx:key="id" id="{{ itm.id }}" title="{{ itm.name }}"/>
       </van-tabs>  
@@ -34,7 +34,7 @@
 </view>
 
 <!-- 内容滚动视图 --> 
-<scroll-view wx:if="{{ !isEmpty }}" class="content-view" style="padding-bottom: {{ length > 3 ? safeBottom+navHeight+15 : 5  }}px;">
+<scroll-view wx:if="false" class="content-view" style="padding-bottom: {{ length > 3 ? safeBottom+navHeight+15 : 5  }}px;">
   <!-- 数据 --> 
   <van-swipe-cell wx:for="{{ active === 0 ? sellOrders : askOrders }}" wx:for-item="itm" wx:for-index="idx" wx:key="wrtradeorderid" right-width="50" >
     <view class="vanSwipeCell-item">

+ 2 - 1
GuangZuan/project.private.config.json

@@ -3,7 +3,8 @@
   "setting": {
     "compileHotReLoad": false,
     "bigPackageSizeSupport": true,
-    "urlCheck": false
+    "urlCheck": false,
+    "preloadBackgroundData": false
   },
   "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "condition": {