"use strict";var r=require("../../../../../common/vendor.js");const o={props:{option:Object,value:!1},computed:{mOption(){return this.option||{}},left(){return this.mOption.left?this.addUnit(this.mOption.left):"auto"},right(){return this.mOption.left?"auto":this.addUnit(this.mOption.right)}},methods:{addUnit(e){return e?typeof e=="number"?e+"rpx":e:0},toTopClick(){this.$emit("input",!1),this.$emit("click")}}};function m(e,a,i,l,d,t){return r.e({a:t.mOption.src},t.mOption.src?{b:r.n(i.value?"mescroll-totop-in":"mescroll-totop-out"),c:r.n({"mescroll-totop-safearea":t.mOption.safearea}),d:t.mOption.zIndex,e:t.left,f:t.right,g:t.addUnit(t.mOption.bottom),h:t.addUnit(t.mOption.width),i:t.addUnit(t.mOption.radius),j:t.mOption.src,k:r.o((...n)=>t.toTopClick&&t.toTopClick(...n))}:{})}var c=r._export_sfc(o,[["render",m],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/uni_modules/mescroll-uni/components/mescroll-uni/components/mescroll-top.vue"]]);wx.createComponent(c);
