上传代码
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.uni-link[data-v-44511933]{cursor:pointer}.uni-link--withline[data-v-44511933]{text-decoration:underline}.container[data-v-a60c8e9c]{padding:20px;font-size:14px;line-height:24px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import{m as t,o as e,c as n,r as s,n as i,a as o,b as r,w as a,d as l,t as d,i as u,e as f,f as h,g as c}from"./index-lwf-acfi.js";const p=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n};const w=p({name:"uniLink",props:{href:{type:String,default:""},text:{type:String,default:""},download:{type:String,default:""},showUnderLine:{type:[Boolean,String],default:!0},copyTips:{type:String,default:"已自动复制网址,请在手机浏览器里粘贴该网址"},color:{type:String,default:"#999999"},fontSize:{type:[Number,String],default:14}},computed:{isShowA(){return this._isH5=!0,!(!this.isMail()&&!this.isTel()||!0!==this._isH5)}},created(){this._isH5=null},methods:{isMail(){return this.href.startsWith("mailto:")},isTel(){return this.href.startsWith("tel:")},openURL(){window.open(this.href)},makePhoneCall(e){t({phoneNumber:e})}}},[["render",function(t,f,h,c,p,w){const y=u;return w.isShowA?(e(),n("a",{key:0,class:i(["uni-link",{"uni-link--withline":!0===h.showUnderLine||"true"===h.showUnderLine}]),href:h.href,style:o({color:h.color,fontSize:h.fontSize+"px"}),download:h.download},[s(t.$slots,"default",{},(()=>[l(d(h.text),1)]),!0)],14,["href","download"])):(e(),r(y,{key:1,class:i(["uni-link",{"uni-link--withline":!0===h.showUnderLine||"true"===h.showUnderLine}]),style:o({color:h.color,fontSize:h.fontSize+"px"}),onClick:w.openURL},{default:a((()=>[s(t.$slots,"default",{},(()=>[l(d(h.text),1)]),!0)])),_:3},8,["class","style","onClick"]))}],["__scopeId","data-v-44511933"]]);const y=p({data:()=>({href:"https://uniapp.dcloud.io/component/README?id=uniui"}),methods:{}},[["render",function(t,n,s,i,o,d){const p=h,y=u,S=(m=f("uni-link"),_=w,"string"==typeof m?_:m);var m,_;return e(),r(p,{class:"container"},{default:a((()=>[c(p,{class:"intro"},{default:a((()=>[l("本项目已包含uni ui组件,无需import和注册,可直接使用。在代码区键入字母u,即可通过代码助手列出所有可用组件。光标置于组件名称处按F1,即可查看组件文档。")])),_:1}),c(y,{class:"intro"},{default:a((()=>[l("详见:")])),_:1}),c(S,{href:o.href,text:o.href},null,8,["href","text"])])),_:1})}],["__scopeId","data-v-a60c8e9c"]]);export{y as default};
|
||||
@@ -0,0 +1 @@
|
||||
uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-word;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px}
|
||||
Reference in New Issue
Block a user