import{_ as s,bh as t,bi as a,b as e,d as l,p as o,w as n,H as i,i as c,o as u,f as d,k as r,R as f}from"./index-2PZN6pGH.js";const p=s({data:()=>({title:"vibrateLong/vibrateShort"}),onLoad(){},methods:{longshock(){t({success:function(){console.log("success")}})},shortshock(){a({success:function(){console.log("success")}})}}},[["render",function(s,t,a,p,_,h){const k=e(l("page-head"),i),b=f,g=c;return u(),o(g,null,{default:n((()=>[d(k,{title:_.title},null,8,["title"]),d(g,{class:"uni-padding-wrap"},{default:n((()=>[d(b,{class:"uni-button",type:"primary",onClick:h.longshock},{default:n((()=>[r("长震动")])),_:1},8,["onClick"]),d(b,{class:"uni-button",onClick:h.shortshock},{default:n((()=>[r("短震动")])),_:1},8,["onClick"]),d(g,{class:"uni-tips"},{default:n((()=>[d(g,null,{default:n((()=>[r("Tips")])),_:1}),d(g,{class:"uni-tips-text"},{default:n((()=>[r("iOS上只有长震动，没有短震动")])),_:1}),d(g,{class:"uni-tips-text"},{default:n((()=>[r("iOS上需要手机设置“打开响铃时震动”或“静音时震动”，否则无法震动")])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-78e63b3e"]]);export{p as default};
