فهرست منبع

图片不能拖动问题

sharp-agezi 5 سال پیش
والد
کامیت
12b6a2a39a
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      customized/pages/boxMade/boxMadeImg/boxMadeImg.wxml
  2. 1 1
      customized/pages/oneMade/oneMadeImg/oneMadeImg.wxml
  3. 1 1
      readme.md

+ 1 - 1
customized/pages/boxMade/boxMadeImg/boxMadeImg.wxml

@@ -1,7 +1,7 @@
 <view class='container'>
   <view class='made-content'>
     <view class='made-img-box'>
-    <image class='made-img-image_1'  src='{{obverseImgObject[imgTouch.isActive+"_1"]}}' mode="aspectFill"></image>
+    <image class='made-img-image_1'  src='{{obverseImgObject[imgTouch.isActive+"_1"]}}' mode="aspectFill" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchend"></image>
       <image class='made-image' src='{{obverseImgObject[imgTouch.isActive]}}'></image>
       <made-solid prop-position="{{dataPositionObj}}" prop-size="{{propSize}}">
         <view class='f-box f-align-items-center f-justify-content-center made-prompt' wx:if="{{!madeStatic}}">{{fontContent}}</view>

+ 1 - 1
customized/pages/oneMade/oneMadeImg/oneMadeImg.wxml

@@ -1,7 +1,7 @@
 <view class='container'>
   <view class='made-content'>
     <view class='made-img-box'>
-    <image class='made-img-image_1' src='{{obverseImgObject[imgTouch.isActive+"_1"]}}' mode="aspectFill"></image>
+    <image class='made-img-image_1' src='{{obverseImgObject[imgTouch.isActive+"_1"]}}' mode="aspectFill"  bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchend"></image>
       <image class='made-image' src='{{obverseImgObject[imgTouch.isActive]}}'></image>
       <made-solid prop-position="{{dataPositionObj}}" prop-size="{{propSize}}">
         <view class='f-box f-align-items-center f-justify-content-center made-prompt' wx:if="{{!madeStatic}}">{{fontContent}}</view>

+ 1 - 1
readme.md

@@ -17,4 +17,4 @@
       y = -高度/2
       fillRect(x,y,宽度,高度)
 ### 缺少详情页,字体加粗、字体定制
-v:3.0.5
+v:3.0.6