123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <view>
- <movable-area class="move-area-ser">
- <movable-view direction="all" :x="pageX" :y="pageY" class="move-view-ser">
- <!-- <view class="contact-block" @tap="goIM">
- <view class="contact-wrapper"> -->
- <image class="contact-img" mode="aspectFit"
- src="https://mall.zhaijieshi.cc/file/jzmall-dy/ser-online-2.png" @longpress="goIM" @tap="goIM">
- </image>
- <!-- </view>
- </view> -->
- </movable-view>
- </movable-area>
- </view>
- </template>
- <script>
- export default {
- props: {
- pageX: {
- type: Number,
- default: 0
- },
- pageY: {
- type: Number,
- default: 300
- }
- },
- methods: {
- goIM() {
- console.info('goIm');
- uni.navigateTo({
- url: '/pages/chat/im/im'
- });
- },
- }
- }
- </script>
- <style scoped>
- .move-area-ser {
- width: 750rpx;
- height: 100vh;
- top: 0rpx;
- /* pointer-events: auto; */
- position: fixed;
- pointer-events: none;
- }
- .move-view-ser {
- pointer-events: auto;
- width: 159rpx;
- height: 171rpx;
- }
- .contact-img {
- width: 159rpx;
- height: 171rpx;
- margin: 0;
- }
- </style>
|