收藏
回答

textarea在手机上测试不随页面滚动

操作系统 操作系统版本 手机型号 微信版本
iOS 10.3.3(14G60) iphone6 6.6.1

你想反馈一个 Bug


* Bug 表现 在开发者工具测试正常,在手机上测试不随页面滚动,修改一下会调整回来,一滚动又错位

* 预期表现希望在手机上测试也随页面滚动




* 代码如


<view class="{{showOrderSet?'':'hide'}} remheight">

<view class="textarea_input1">

<!--抄送 -->

<view class="listitem_input1tt"><view>Copy TO</view> <view>抄送</view></view>

<textarea class="listitem_input1left textareaheight" name="copyto" value="{{copyto}}" bindblur='CopyToEmailCheack'/>

</view>

<picker name="CopyTo_picker" class="listitem_input1right" mode="selector" range="{{_CopyToSource}}" range-key="value" bindchange="CopyToPicker">

<text class='fontcolor'>></text>

</picker>

</view>



回答关注问题邀请回答
收藏

13 个回答

  • 杨振明
    杨振明
    2018-01-19

    <view class="container">

    <form bindsubmit="formSubmit" bindreset="formReset">

    <view class='mainview'>

    <button type='primary' class="primarybutton mainview_top" bindtap="ScanBar" disabled="{{_LoginSuccess}}">Scan</button>


    <scroll-view scroll-y class="scrollviewMain mainview_middle">

    <scroll-view class=" {{showOrderSet?'scrollviewTopShow':'scrollviewTopHint'}}">



    <view class="M_listitem {{showOrderSet?'':'M_right_hide'}}">

    <image src="" class="left1" />

    <view class="M_middle {{showOrderSet?'':'M_right_hide'}}">

    <view class="M_middleLeft {{showOrderSet?'':'M_middleLeft_last'}} ">

    <view class="listitem_input1">

    <!--快递客户 -->

    <view class="listitem_input1tt"><view>Courier Cust</view> <view>快递客户</view></view>

    <input class="listitem_input1left" name="cus_no" value="{{cus_no}}" type="number" maxlength="4" bindinput="ClientNOKeyInput" />

    </view>

    <picker name="cus_no_picker" class="listitem_input1right" mode="selector" range="{{_custSource}}" range-key="text" bindchange="Cus_noPicker">

    <text class='fontcolor'>></text>

    </picker>


    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--客户简称 -->

    <view class="listitem_input1tt"><view>Customer</view> <view>客户简称</view></view>

    <input class="listitem_input1left" name="SNM" value="{{SNM}}" bindinput="SNMKeyInput" />

    </view>

    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--分仓地址 -->

    <view class="listitem_input1tt"><view>Address</view> <view>分仓地址</view></view>

    <input class="listitem_input1left" name="fencangNo" value="{{fencangNo}}" bindinput="fencangNoKeyInput" />

    </view>

    <picker name="sale" class="listitem_input1right" mode="selector" range="{{_fencangPickerSource}}" range-key="text" bindchange="fencangPicker">

    <text class='fontcolor'>></text>

    </picker>

    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--联系人名称 -->

    <view class="listitem_input1tt"><view>Contact</view> <view>联系人名</view></view>

    <input class="listitem_input1left" name="linkUserName" value="{{linkUserName}}" bindinput="linkUserNameKeyInput" />


    </view>

    <picker name="Contact" class="listitem_input1right" mode="selector" range="{{_ContactPickerSource}}" range-key="text" bindchange="ContactPicker">

    <text class='fontcolor'>></text>

    </picker>

    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--联系人电话 -->

    <view class="listitem_input1tt"><view>Tel No.</view> <view>联系人电话</view></view>

    <input class="listitem_input1left" name="linkUserTel" value="{{linkUserTel}}" bindinput="linkUserTelKeyInput" />

    </view>

    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <!--联系人邮箱 -->

    <view class="listitem_input1">

    <view class="listitem_input1tt"><view>Email</view> <view>联系人邮箱</view></view>

    <input class="listitem_input1left" name="cus_email" focus="{{ClientEmail_focus}}" value="{{cus_email}}" bindinput="ClientEmailKeyInput" bindblur='ClientEmailCheack' />

    </view>

    </view>


    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--快递公司 -->

    <view class="listitem_input1tt"><view>Courier</view> <view>快递公司</view></view>

    <input class="listitem_input1left" name="KD_NAME" value="{{KD_NAME}}" bindinput="KD_NAMEKeyInput" />

    </view>

    <picker name="KD_NAME_picker" class="listitem_input1right" mode="selector" range="{{_KD_NAMESource}}" bindchange="KD_NAMEPicker">

    <text class='fontcolor'>></text>

    </picker>

    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--地区 -->

    <view class="listitem_input1tt"><view>Country</view> <view>地区</view></view>

    <input class="listitem_input1left" name="adr" value="{{adr}}" bindinput="adrKeyInput" />

    </view>

    </view>

    <view class="{{showOrderSet?'':'hide'}} remheight">

    <view class="textarea_input1">

    <!--板房备注 -->

    <view class="listitem_input1tt"><view>Remark to Sample Room</view> <view>板房备注</view></view>

    <input class="listitem_input1left textareaheight" name="rem" value="{{rem}}" bindblur="remKeyInput" />

    </view>

    </view>

    <view class="{{showOrderSet?'':'hide'}} remheight">

    <view class="textarea_input1">

    <!--快递备注 -->

    <view class="listitem_input1tt"><view>Remark to Courier</view> <view>快递备注</view></view>

    <input class="listitem_input1left textareaheight" name="rem" value="{{courierrem}}" bindblur="courierremKeyInput" />

    </view>

    </view>

    <view class="M_middleLeft {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--寄件频率 -->

    <view class="listitem_input1tt"><view>Delivery Request</view> <view>寄件频率</view></view>

    <input class="listitem_input1left" disabled ="true" name="DeliveryRequest" value="{{DeliveryRequest_Show}}" />

    </view>

    <picker name="DeliveryRequestpicker" class="listitem_input1right" mode="selector" range="{{_DeliveryRequestSource}}" range-key="text" bindchange="DeliveryRequestPicker">

    <text class='fontcolor'>></text>

    </picker>

    </view>

    <view class="M_middleLeft   {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--交板时间 -->

    <view class="listitem_input1tt"><view>Delivery Time</view> <view>交板时间</view></view>

    <view  class="listitem_input1nr">

    <input class="listitem_input1left" disabled ="true" name="DeliveryTime" value="{{DeliveryTime}}" />

    </view>

    </view>

    <picker name="DeliveryRequestpicker" class="listitem_input1right" mode="date" value="{{DeliveryTime}}" bindchange="DeliveryTimePicker">

    <text class='fontcolor'>></text>

    </picker>

    </view>

    <view class="M_middleLeft  {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <view class="listitem_input1tt"><view>Sales</view> <view>销售 </view></view>

    <view  class="listitem_input1nr">

    <picker class="listitem_input1Left" name="sale" mode="selector" range="{{_salesemailSource}}" range-key="value" bindchange="SalePicker">

    <text class="fontcolor" name="sale">{{_sale}}</text>

    </picker>


    </view>

    </view>

    </view>


    <view class="M_middleLeft {{showOrderSet?'':'hide'}} ">

    <view class="listitem_input1">

    <!--样板客户 -->

    <view class="listitem_input1tt"><view>Customer</view> <view>样板客户</view></view>

    <input class="listitem_input1left" name="cus_jj" value="{{cus_jj}}" type="number" maxlength="4" bindinput="ClientjjKeyInput" />

    </view>

    <picker name="cus_jj_picker" class="listitem_input1right" mode="selector" range="{{_custSource}}" range-key="text" bindchange="Cus_jjPicker">

    <text class='fontcolor'>></text>

    </picker>


    </view>


    <view class="M_middleLeft {{showOrderSet?'':'hide'}} ">

    <view class="listitem_input1">

    <!--最终客户 -->

    <view class="listitem_input1tt"><view>End Buyer</view> <view>最终客户</view></view>

    <input class="listitem_input1left" name="cus_sug" value="{{cus_sug}}" type="number" maxlength="4" bindinput="ClientsugKeyInput" />

    </view>

    <picker name="cus_sug_picker" class="listitem_input1right" mode="selector" range="{{_custSource}}" range-key="text" bindchange="Cus_sugPicker">

    <text class='fontcolor'>></text>

    </picker>


    </view>

    <view class="{{showOrderSet?'':'hide'}} remheight">

    <view class="textarea_input1">

    <!--抄送 -->

    <view class="listitem_input1tt"><view>Copy TO</view> <view>抄送</view></view>

    <input class="listitem_input1left textareaheight" name="copyto" value="{{copyto}}" bindblur='CopyToEmailCheack'/>

    </view>

    <picker name="CopyTo_picker" class="listitem_input1right" mode="selector" range="{{_CopyToSource}}" range-key="value" bindchange="CopyToPicker">

    <text class='fontcolor'>></text>

    </picker>

    </view>


    <view class="M_middleLeft M_middleLeft_last {{showOrderSet?'':'hide'}}">

    <view class="listitem_input1">

    <!--价格标签 -->

    <view class="listitem_input1tt"><view>Price Label</view> <view>价格标签</view></view>

    <switch class='listitem_input1left' checked="{{pricelable}}"  bindchange="PriceLabelChange" />

    </view>

    </view>


    </view>

    <view class="M_right">

    <text bindtap="M_listitemClick" class="M_rightTop fontcolor">{{OrderSetVal}}</text>

    <text bindtap="M_listitemClick" class="M_rightBottom fontcolor {{showOrderSet?'':'hide'}}">{{OrderSetVal}}</text>

    </view>

    </view>

    </scroll-view>

    <scroll-view scroll-y class="scrollviewMiddle">



    <view class="listitem_set ">

    <!--{{ScanIndex.length>0?'hide':''}}-->

    <image src="" class="left" />

    <view class="right">

    <view class="rightLeft">

    <view class="tr-Design fontweight_Nomal">

    <picker name="Prefix" mode="selector" range="{{_prefixSource}}" bindchange="PrefixPicker">

    <text>字头{{_prefix}} </text>

    <text class="fontcolor">></text>

    </picker>

    </view>

    <view class="tr-Design fontweight_Nomal">

    <picker name="color_picker" class="" mode="selector" range="{{_colorSource}}" bindchange="colorPicker">

    <text>颜色{{_color}} </text>

    <text class='fontcolor'>></text>

    </picker>

    </view>

    </view>

    <view class="rightRight">

    <view class="{{showView?'rightRightItemEdit':'rightRightItem'}}">

    <view class="tr-qty">

    <picker data-name="QtyHANGER" mode="selector" range="{{_qtySource}}" bindchange="QtyPicker">

    <text>挂版 {{_qtyHANGER}} </text>

    <text class="fontcolor">></text>

    </picker>

    </view>

    <view class="tr-type">

    <!--<picker name="Type" mode="selector" range="{{_typeSource}}" bindchange="TypePicker">-->

    <text>HANGER</text>

    <!--{{_type}}<text class="fontcolor">></text>-->

    <!--</picker>-->

    </view>

    </view>

    <view class="{{showView?'rightRightItemEdit':'rightRightItem'}}">

    <view class="tr-qty">

    <picker data-name="QtySWATCH" mode="selector" range="{{_qtySource}}" bindchange="QtyPicker">

    <text>中板 {{_qtySWATCH}} </text>

    <text class="fontcolor">></text>

    </picker>

    </view>

    <view class="tr-type">

    <text>SWATCH</text>

    </view>

    </view>

    <view class="{{showView?'rightRightItemEdit':'rightRightItem'}}">

    <view class="tr-qty">

    <picker data-name="QtyYARDAGE" mode="selector" range="{{_qtySource}}" bindchange="QtyPicker">

    <text>米板 {{_qtyYARDAGE}} </text>

    <text class="fontcolor">></text>

    </picker>

    </view>

    <view class="tr-type">

    <text>YARDAGE</text>

    </view>

    </view>

    </view>

    </view>

    </view>



    <scroll-view scroll-y class="scrollview {{(ScanIndex.length>0 && !showOrderSet)?'scrollviewHeight3':(ScanIndex.length>0?'scrollviewHeight1':(showOrderSet?'':'scrollviewHeight2'))}}">


    <view wx:for="{{ScanProduct}}" wx:key="">

    <view class="listitem {{ item.Type=='SWATCH'?'typeSwatch':(item.Type=='YARDAGE'?'typeYardage':'')}}">


    <view class="left">

    <icon class="leftradio {{showView?'show':'hide'}}" data-index="{{index}}" type="{{item.isTouchMove==true?'success':'circle'}}" size="20" color="#3366FF" bindtap='ScanProductIconTouch' />

    </view>

    <view class="right ">


    <view class="rightLeft">

    <view class="tr-Design">

    <input  name="Design" data-index="{{index}}" class="listitem_input2" value="{{item.Design}} " bindblur="DesignKeyInput" />

    </view>

    <view class="tr-Color">

    <input  name="Design" data-index="{{index}}" class="listitem_input2" value="{{item.Color}} " bindblur="ColorKeyInput" />

    <!-- <text>{{item.Color}}</text>-->

    </view>

    </view>


    <view class="rightRight">


    <view class="{{showView?'rightRightItemEdit':'rightRightItem'}}">

    <view class="rightRightQtyBrowser  {{showView?'hide':'show'}}">

    <text>{{item.QtyHanger}}</text>

    </view>

    <view class="rightRightQtyBrowser {{showView?'tr_qty_edit':'hide'}} ">

    <button bindtap='qty_cut' class="addButton" data-name="Hanger" data-index="{{index}}">-</button>

    <text class="tr_qty_middle">{{item.QtyHanger}}</text>

    <button bindtap='qty_add' class="addButton" data-name="Hanger" data-index="{{index}}">+</button>

    </view>

    </view>

    <view class="{{showView?'rightRightItemEdit':'rightRightItem'}}">

    <view class="rightRightQtyBrowser {{showView?'hide':'show'}}">

    <text>{{item.QtySwatch}}</text>

    </view>

    <view class="rightRightQtyBrowser {{showView?'tr_qty_edit':'hide'}} ">

    <button bindtap='qty_cut' class="addButton" data-name="Swatch" data-index="{{index}}">-</button>

    <text class="tr_qty_middle">{{item.QtySwatch}}</text>

    <button bindtap='qty_add' class="addButton" data-name="Swatch" data-index="{{index}}">+</button>

    </view>

    </view>

    <view class="{{showView?'rightRightItemEdit':'rightRightItem'}}">

    <view class="rightRightQtyBrowser {{showView?'hide':'show'}}">

    <text>{{item.QtyYardage}}</text>

    </view>

    <view class="rightRightQtyBrowser {{showView?'tr_qty_edit':'hide'}} ">

    <button bindtap='qty_cut' class="addButton" data-name="Yardage" data-index="{{index}}">-</button>

    <text class="tr_qty_middle">{{item.QtyYardage}}</text>

    <button bindtap='qty_add' class="addButton" data-name="Yardage" data-index="{{index}}">+</button>

    </view>

    </view>


    </view>


    </view>

    </view>



    </view>


    </scroll-view>

    </scroll-view>

    </scroll-view>

    <view class="mainview_bottom total">

    <view class="Totalleft">

    <icon class="totalleftradio {{showView?'show':'hide'}}" data-index="{{index}}" type="{{_all==true?'success':'circle'}}" size="20" color="#3366FF" bindtap='totalScanProductIconTouch' />

    <text class="totalAll {{showView?'show':'hide'}}.">ALL</text>

    </view>

    <view class="Totalright">

    <view class='TotalrightLeft'>

    <view class="{{showView?'hide':'show'}}">

    <button bindtap="ScanEdit" size='mini' data-name="Edit" class='TotalComplete'>Edit</button>

    <button bindtap="saveReset" size='mini' data-name="Save&Reset" class='TotalSave'>Save</button>

    </view>

    <view class="{{showView?'show':'hide'}}">

    <button bindtap="ScanEdit" size='mini' class='TotalComplete'> Complete </button>

    <button bindtap="ScanDelete" type="warn" size='mini' class='TotalDelete'> Delete </button>

    </view>

    </view>

    <view class="TotalrightRight {{showView?'hide':'show'}}">

    </view>

    </view>

    </view>

    </view>

    </form>

    </view>




    2018-01-19
    有用
    回复
  • August
    August
    2018-01-19
    <view class="page">
      <view class="input">
        <!--textarea.wxml-->
        <view class="section">
          <textarea value="{{pythonCode}}" bindinput='bindinputHandler' />


    2018-01-19
    有用
    回复
  • August
    August
    2018-01-19

    没有

    2018-01-19
    有用
    回复

正在加载...

登录 后发表内容