初步联调装表

This commit is contained in:
2025-11-03 16:26:30 +08:00
parent fe590353df
commit 1539304999
35 changed files with 1495 additions and 100 deletions

View File

@@ -0,0 +1,27 @@
// pages/workBenchNew/components/operateButton/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
text: String,
style: String,
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
handleClick() {
this.triggerEvent("click")
}
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--pages/workBenchNew/components/operateButton/index.wxml-->
<view class="buttonWrapper" style="{{style}}" bind:tap="handleClick"> {{ text }} </view>

View File

@@ -0,0 +1,12 @@
/* pages/workBenchNew/components/operateButton/index.wxss */
.buttonWrapper {
height: 100rpx;
display: flex;
justify-content: center;
align-items: center;
border: 1rpx solid #ccc;
border-radius: 10rpx;
margin-bottom: 24rpx;
margin-top: 24rpx;
}