You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
708 B

3 months ago
<template>
<view>
<image @click="buyTaozi" class="taozi" src="https://des.dayunyuanjian.cn/epicSoul/taozi/taozi.png" mode=""></image>
3 months ago
</view>
</template>
<script>
export default {
methods: {
buyTaozi() {
uni.setClipboardData({
data: 'https://www.xiaohongshu.com/goods-detail/684beba28a6cef0001a9ed2c',
success: function() {
uni.showToast({
title: '链接已复制,请打开小红书APP查看',
icon: 'none',
duration: 2000
});
}
});
}
}
};
</script>
<style lang="scss" scoped>
.taozi {
width: 80rpx;
height: 80rpx;
position: fixed;
right: 0;
top: 25%;
z-index: 9;
&:active {
transform: scale(0.9);
}
}
</style>