Initial commit to Gitea

This commit is contained in:
root
2026-05-04 00:43:20 +08:00
parent 1e0b2b125b
commit d76c7d5eac
422 changed files with 5233 additions and 1514 deletions
@@ -1,10 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-subsection/u-subsection"],{903:function(t,e,n){"use strict";n.r(e);var i=n(904),r=n(906);for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n(909);var o,c=n(46),s=Object(c["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,"78c1286e",null,!1,i["components"],o);s.options.__file="uni_modules/uview-ui/components/u-subsection/u-subsection.vue",e["default"]=s.exports},904:function(t,e,n){"use strict";n.r(e);var i=n(905);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},905:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return u})),n.d(e,"components",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__get_style([t.$u.addStyle(t.customStyle),t.wrapperStyle])),i=t.__get_style([t.barStyle]),r=t.current>0&&t.current<t.list.length-1&&"subsection"===t.mode&&"u-subsection__bar--center",u=t.current===t.list.length-1&&"subsection"===t.mode&&"u-subsection__bar--last",o=t.__map(t.list,(function(e,n){var i=t.__get_orig(e),r=t.__get_style([t.itemStyle(n)]),u=n<t.list.length-1&&"u-subsection__item--no-border-right",o=n===t.list.length-1&&"u-subsection__item--last",c=t.__get_style([t.textStyle(n)]),s=t.getText(e);return{$orig:i,s2:r,g2:u,g3:o,s3:c,m0:s}}));t.$mp.data=Object.assign({},{$root:{s0:n,s1:i,g0:r,g1:u,l0:o}})},u=!1,o=[];r._withStripped=!0},906:function(t,e,n){"use strict";n.r(e);var i=n(907),r=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=r.a},907:function(t,e,n){"use strict";(function(t){var i=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(13)),u=i(n(908)),o={name:"u-subsection",mixins:[t.$u.mpMixin,t.$u.mixin,u.default],data:function(){return{itemRect:{width:0,height:0}}},watch:{list:function(t,e){this.init()},current:{immediate:!0,handler:function(t){}}},computed:{wrapperStyle:function(){var t={};return"button"===this.mode&&(t.backgroundColor=this.bgColor),t},barStyle:function(){var t={};return t.width="".concat(this.itemRect.width,"px"),t.height="".concat(this.itemRect.height,"px"),t.transform="translateX(".concat(this.current*this.itemRect.width,"px)"),"subsection"===this.mode&&(t.backgroundColor=this.activeColor),t},itemStyle:function(t){var e=this;return function(t){var n={};return"subsection"===e.mode&&(n.borderColor=e.activeColor,n.borderWidth="1px",n.borderStyle="solid"),n}},textStyle:function(e){var n=this;return function(e){var i={};return i.fontWeight=n.bold&&n.current===e?"bold":"normal",i.fontSize=t.$u.addUnit(n.fontSize),"subsection"===n.mode?i.color=n.current===e?"#fff":n.inactiveColor:i.color=n.current===e?n.activeColor:n.inactiveColor,i}}},mounted:function(){this.init()},methods:{init:function(){var e=this;t.$u.sleep().then((function(){return e.getRect()}))},getText:function(t){return"object"===(0,r.default)(t)?t[this.keyName]:t},getRect:function(){var t=this;this.$uGetRect(".u-subsection__item--0").then((function(e){t.itemRect=e}))},clickHandler:function(t){this.$emit("change",t)}}};e.default=o}).call(this,n(2)["default"])},909:function(t,e,n){"use strict";n.r(e);var i=n(910),r=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=r.a},910:function(t,e,n){}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-subsection/u-subsection"],{843:function(t,e,n){"use strict";n.r(e);var i=n(844),r=n(846);for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n(849);var o,c=n(46),s=Object(c["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,"78c1286e",null,!1,i["components"],o);s.options.__file="uni_modules/uview-ui/components/u-subsection/u-subsection.vue",e["default"]=s.exports},844:function(t,e,n){"use strict";n.r(e);var i=n(845);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},845:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return u})),n.d(e,"components",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__get_style([t.$u.addStyle(t.customStyle),t.wrapperStyle])),i=t.__get_style([t.barStyle]),r=t.current>0&&t.current<t.list.length-1&&"subsection"===t.mode&&"u-subsection__bar--center",u=t.current===t.list.length-1&&"subsection"===t.mode&&"u-subsection__bar--last",o=t.__map(t.list,(function(e,n){var i=t.__get_orig(e),r=t.__get_style([t.itemStyle(n)]),u=n<t.list.length-1&&"u-subsection__item--no-border-right",o=n===t.list.length-1&&"u-subsection__item--last",c=t.__get_style([t.textStyle(n)]),s=t.getText(e);return{$orig:i,s2:r,g2:u,g3:o,s3:c,m0:s}}));t.$mp.data=Object.assign({},{$root:{s0:n,s1:i,g0:r,g1:u,l0:o}})},u=!1,o=[];r._withStripped=!0},846:function(t,e,n){"use strict";n.r(e);var i=n(847),r=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=r.a},847:function(t,e,n){"use strict";(function(t){var i=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(13)),u=i(n(848)),o={name:"u-subsection",mixins:[t.$u.mpMixin,t.$u.mixin,u.default],data:function(){return{itemRect:{width:0,height:0}}},watch:{list:function(t,e){this.init()},current:{immediate:!0,handler:function(t){}}},computed:{wrapperStyle:function(){var t={};return"button"===this.mode&&(t.backgroundColor=this.bgColor),t},barStyle:function(){var t={};return t.width="".concat(this.itemRect.width,"px"),t.height="".concat(this.itemRect.height,"px"),t.transform="translateX(".concat(this.current*this.itemRect.width,"px)"),"subsection"===this.mode&&(t.backgroundColor=this.activeColor),t},itemStyle:function(t){var e=this;return function(t){var n={};return"subsection"===e.mode&&(n.borderColor=e.activeColor,n.borderWidth="1px",n.borderStyle="solid"),n}},textStyle:function(e){var n=this;return function(e){var i={};return i.fontWeight=n.bold&&n.current===e?"bold":"normal",i.fontSize=t.$u.addUnit(n.fontSize),"subsection"===n.mode?i.color=n.current===e?"#fff":n.inactiveColor:i.color=n.current===e?n.activeColor:n.inactiveColor,i}}},mounted:function(){this.init()},methods:{init:function(){var e=this;t.$u.sleep().then((function(){return e.getRect()}))},getText:function(t){return"object"===(0,r.default)(t)?t[this.keyName]:t},getRect:function(){var t=this;this.$uGetRect(".u-subsection__item--0").then((function(e){t.itemRect=e}))},clickHandler:function(t){this.$emit("change",t)}}};e.default=o}).call(this,n(2)["default"])},849:function(t,e,n){"use strict";n.r(e);var i=n(850),r=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=r.a},850:function(t,e,n){}}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-subsection/u-subsection.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-subsection/u-subsection-create-component',
{
'uni_modules/uview-ui/components/u-subsection/u-subsection-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(903))
__webpack_require__('2')['createComponent'](__webpack_require__(843))
})
},
[['uni_modules/uview-ui/components/u-subsection/u-subsection-create-component']]
@@ -14,6 +14,13 @@
/* 颜色变量 */
/* uni.scss */
.u-line-1.data-v-78c1286e {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -22,6 +29,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-2.data-v-78c1286e {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -30,6 +44,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-3.data-v-78c1286e {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -38,6 +59,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-4.data-v-78c1286e {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -46,6 +74,13 @@
-webkit-box-orient: vertical !important;
}
.u-line-5.data-v-78c1286e {
display: -webkit-box !important;
overflow: hidden;
text-overflow: ellipsis;
@@ -88,6 +123,7 @@
.u-reset-button.data-v-78c1286e {
padding: 0;
background-color: transparent;
font-size: inherit;
line-height: inherit;
color: inherit;
@@ -264,7 +300,9 @@ view.data-v-78c1286e, scroll-view.data-v-78c1286e, swiper-item.data-v-78c1286e {
align-content: flex-start;
}
.u-subsection.data-v-78c1286e {
display: flex;
flex-direction: row;
position: relative;
overflow: hidden;
@@ -312,7 +350,9 @@ view.data-v-78c1286e, scroll-view.data-v-78c1286e, swiper-item.data-v-78c1286e {
border-bottom-right-radius: 3px;
}
.u-subsection__item.data-v-78c1286e {
display: flex;
flex-direction: row;
flex: 1;
justify-content: center;
@@ -333,10 +373,11 @@ view.data-v-78c1286e, scroll-view.data-v-78c1286e, swiper-item.data-v-78c1286e {
.u-subsection__item__text.data-v-78c1286e {
font-size: 12px;
line-height: 12px;
display: flex;
flex-direction: row;
align-items: center;
transition-property: color;
transition-duration: 0.3s;
}