初始化项目, 添加TDesign等包

This commit is contained in:
zhengw
2025-11-28 16:49:36 +08:00
commit 3e53beb7bb
980 changed files with 39201 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { SuperComponent } from '../common/src/index';
export default class ScrollView extends SuperComponent {
externalClasses: string[];
behaviors: string[];
properties: {
scrollIntoView: {
type: StringConstructor;
};
};
}

View File

@@ -0,0 +1 @@
import{__decorate}from"tslib";import{SuperComponent,wxComponent}from"../common/src/index";import config from"../common/config";import{canUseProxyScrollView}from"../common/version";const{prefix:prefix}=config;let ScrollView=class extends SuperComponent{constructor(){super(...arguments),this.externalClasses=[`${prefix}-class`],this.behaviors=canUseProxyScrollView()?["wx://proxy-scroll-view"]:[],this.properties={scrollIntoView:{type:String}}}};ScrollView=__decorate([wxComponent()],ScrollView);export default ScrollView;

View File

@@ -0,0 +1 @@
{"component":true,"styleIsolation":"apply-shared","usingComponents":{}}

View File

@@ -0,0 +1 @@
<scroll-view class="class {{prefix}}-class" type="list" scroll-y enhanced show-scrollbar="{{false}}" scroll-into-view="{{ scrollIntoView }}"><slot></slot></scroll-view>

View File

@@ -0,0 +1 @@
@import '../common/style/index.wxss';