first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-fav/uni-fav"],{"174b":function(n,e,t){},"4aeb":function(n,e,t){"use strict";t.r(e);var o=t("7c91"),c=t.n(o);for(var u in o)"default"!==u&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=c.a},"7c91":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("components/uni-icons/uni-icons")]).then(function(){return resolve(t("3bb2"))}.bind(null,t)).catch(t.oe)},c={name:"UniFav",components:{uniIcons:o},props:{star:{type:[Boolean,String],default:!0},bgColor:{type:String,default:"#eeeeee"},fgColor:{type:String,default:"#666666"},bgColorChecked:{type:String,default:"#007aff"},fgColorChecked:{type:String,default:"#FFFFFF"},circle:{type:[Boolean,String],default:!1},checked:{type:Boolean,default:!1},contentText:{type:Object,default:function(){return{contentDefault:"收藏",contentFav:"已收藏"}}}},watch:{checked:function(){n.report&&(this.checked?n.report("收藏","收藏"):n.report("取消收藏","取消收藏"))}},methods:{onClick:function(){this.$emit("click")}}};e.default=c}).call(this,t("543d")["default"])},ab8d:function(n,e,t){"use strict";var o={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("components/uni-icons/uni-icons")]).then(t.bind(null,"3bb2"))}},c=function(){var n=this,e=n.$createElement;n._self._c},u=[];t.d(e,"b",(function(){return c})),t.d(e,"c",(function(){return u})),t.d(e,"a",(function(){return o}))},b125:function(n,e,t){"use strict";t.r(e);var o=t("ab8d"),c=t("4aeb");for(var u in c)"default"!==u&&function(n){t.d(e,n,(function(){return c[n]}))}(u);t("e8e8");var r,i=t("f0c5"),a=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,"7e2dcdb6",null,!1,o["a"],r);e["default"]=a.exports},e8e8:function(n,e,t){"use strict";var o=t("174b"),c=t.n(o);c.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-fav/uni-fav-create-component',
{
'components/uni-fav/uni-fav-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("b125"))
})
},
[['components/uni-fav/uni-fav-create-component']]
]);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "/components/uni-icons/uni-icons"
}
}

View File

@@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="{{['uni-fav data-v-7e2dcdb6',circle===true||circle==='true'?'uni-fav--circle':'']}}" style="{{'background-color:'+(checked?bgColorChecked:bgColor)+';'}}" bindtap="__e"><block wx:if="{{!checked&&(star===true||star==='true')}}"><uni-icons class="uni-fav-star data-v-7e2dcdb6" style="{{'color:'+(checked?fgColorChecked:fgColor)+';'}}" vue-id="040bd878-1" color="{{fgColor}}" size="14" type="star-filled" bind:__l="__l"></uni-icons></block><text class="uni-fav-text data-v-7e2dcdb6" style="{{'color:'+(checked?fgColorChecked:fgColor)+';'}}">{{checked?contentText.contentFav:contentText.contentDefault}}</text></view>

View File

@@ -0,0 +1 @@
.uni-fav.data-v-7e2dcdb6{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:60px;height:25px;line-height:25px;text-align:center;border-radius:3px}.uni-fav--circle.data-v-7e2dcdb6{border-radius:30px}.uni-fav-star.data-v-7e2dcdb6{display:-webkit-box;display:-webkit-flex;display:flex;height:25px;line-height:24px;margin-right:3px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-fav-text.data-v-7e2dcdb6{display:-webkit-box;display:-webkit-flex;display:flex;height:25px;line-height:25px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:28rpx}