<!--pagesA/selectFace/selectFace.wxml-->   
  <view class='show' bindtouchstart='start' bindtouchmove='move' style='width:{{screenW}}px;height:{{screenW}}px;'>
    <!-- <scroll-view scroll-x='true' scroll-y='true' style='height:{{screenW}}px' bindscroll='scroll'>
      <image src='{{imgSrc}}' style=' width:{{width}}px; height:{{height}}px'></image>
    </scroll-view> -->
    <!-- <view class='cut' style='width:{{cut_}}px; height:{{cut_}}px'></view>
    <canvas  canvas-id='canvas' style='width:{{width}}px; height:{{height}}px;opacity: 0;'></canvas>
    -->
    <canvas canvas-id='myCanvas'></canvas>
    <movable-area scale-area hidden="{{hidden}}">
      <movable-view  x="{{x}}" y="{{y}}" direction="all" out-of-bounds bindchange="onChange" bindscale="onScale" scale scale-min="0.5" scale-max="4" scale-value="{{scale}}" style="left:{{image.initialX}}px;top:{{image.initialY}}px;width:{{image.initialWidth}}px;height:{{image.initialHeight}}px">
        <image src='{{src.path}}' mode='scaleToFill'></image>
      </movable-view>
    </movable-area>
  </view> 
  <view class="d-position-fixed d-flex pa-2 bg-fff operate d-flex">
    <van-button type="info" round class="w-50 px-2 box-sizing-border" bindtap="takePhoto">选取图片</van-button>
    <van-button type="info" round class="w-50 px-2 box-sizing-border" bindtap="crop">确定</van-button>
  </view>
