123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {{dataPositionObj.width}}{{dataPositionObj.height}}{{dataPositionObj.top}}{{dataPositionObj.left}}
- {{dataPositionObj.width}}{{dataPositionObj.height}}
- <view class='content'>
- <view class='made-content'>
- <view class='made-img-box'>
- <image class='made-img-image' src='{{obverseImgObject[isActive]}}' mode="aspectFill"></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="{{touchStatic}}">{{fontContent}}</view>
- <view class='made-box'>
-
- <view wx:if="" class='edit-content' style='top:{{imgTouch.y}}px;left:{{imgTouch.x}}px;width:{{dataPositionObj.width}}rpx;height:{{dataPositionObj.height}}rpx'>
- <view animation="{{imgAnimationData}}">
- <image src="{{imgTouch.src}}" mode="aspectFit" style='width:{{imgTouch.width}}rpx;height:{{imgTouch.height}}rpx'></image>
- </view>
- </view>
-
- <view wx:if="" class='made-prompt made-font' style='color:{{fontTouch.isColor}};font-size:{{fontTouch.fontSize}}px;width:{{dataPositionObj.width}}rpx;height:{{dataPositionObj.height}}rpx'>
- <view class='font-content' style='top:{{fontTouch.y}}px;left:{{fontTouch.x}}px'>
- <view animation="{{fontAnimationData}}">{{fontTouch.fontContent}}</view>
- </view>
- </view>
- </view>
- </made-solid>
- </view>
- </view>
- <view class='btn-box'>
- <view class='f-box f-justify-content-between'>
- <button type="default" hover-class="none" bindtap="changeCup" data-id='1' class='{{isActive === "1" ? "active" : ""}}' size="mini">正面</button>
- <button type="default" hover-class="none" bindtap="changeCup" data-id='2' class='{{isActive === "2" ? "active" : ""}}' size="mini">背面</button>
- </view>
- <view class='f-box f-justify-content-between'>
- <button type="default" hover-class="none" bindtap="changeCup" data-id='3' class='{{isActive === "3" ? "active" : ""}}' size="mini">手柄</button>
- <button type="default" hover-class="none" bindtap="changeCup" data-id='4' class='{{isActive === "4" ? "active" : ""}}' size="mini">杯底</button>
- </view>
- </view>
- <view class='footer f-box f-justify-content-between'>
- <view class='f-item footer-btn' bindtap='addImgRouter'>添加图片</view>
- <view class='f-item footer-btn' bindtap='addFontRouter'>添加文字</view>
- <view class='f-item footer-btn' bindtap='finishDesign'>完成设计</view>
- </view>
- </view>
|