|
|
@@ -91,12 +91,23 @@
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="preSell()">预售管理</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="orderRecord()">下单记录</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="copyCreate()">复制新建</button></view>
|
|
|
- <view style="width:100vw;margin-top:8upx;"><button @click="shareItem()">分享</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="breakMore()">拆散</button></view>
|
|
|
+ <view style="width:100vw;margin-top:8upx;"><button @click="shareItem()">分享</button></view>
|
|
|
+ <view style="width:100vw;margin-top:8upx;"><button @click="getPoster(0)">分享海报(花店)</button></view>
|
|
|
+ <view style="width:100vw;margin-top:8upx;"><button @click="getPoster(1)">分享海报(散客)</button></view>
|
|
|
<view style="width:100vw;margin-top:30upx;"><button @click="closeRightShow()">取消</button></view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
+ <uni-popup ref="posterShow" background-color="#fff" type="center" :animation="true" class="class-popup-style">
|
|
|
+ <view style="display:flex;width:100vw;padding:20upx 20upx 40upx 20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">
|
|
|
+ <image class="image" :src="posterUrl" mode="widthFix"></image>
|
|
|
+ <view style="width:100%;margin-top:20upx;text-align:center;">
|
|
|
+ <button class="admin-button-com big blue" style="width:300upx;" @click="downloadImg">保存到手机</button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -136,7 +147,8 @@ export default {
|
|
|
currentInfo:{},
|
|
|
breakNum:'',
|
|
|
breakFocus:false,
|
|
|
- breakShow:false
|
|
|
+ breakShow:false,
|
|
|
+ posterUrl:''
|
|
|
};
|
|
|
},
|
|
|
computed:{
|
|
|
@@ -163,6 +175,13 @@ export default {
|
|
|
that.$util.confirmModal({content:'确定拆1'+item.bigUnit+'?'},() => {
|
|
|
that.breakAction()
|
|
|
})
|
|
|
+ },
|
|
|
+ getPoster(type){
|
|
|
+ this.closeRightShow()
|
|
|
+ this.$refs.posterShow.open('top')
|
|
|
+ },
|
|
|
+ downloadImg(){
|
|
|
+
|
|
|
},
|
|
|
breakMore(){
|
|
|
this.closeRightShow()
|