更换版本

This commit is contained in:
2024-01-22 18:48:00 +08:00
parent 9f65ea8fd9
commit 00e6dcaec0
1158 changed files with 70609 additions and 51780 deletions

View File

@@ -0,0 +1,18 @@
Component({
properties: {
items: { type: Array, value: [] },
color: { type: Array, value: ["#333333", "#999999", "#999999"] },
fontSize: { type: Array, value: ["36rpx", "24rpx", "24rpx"] },
background: { type: String, value: "" },
padding: { type: String, value: "25rpx" },
border: { type: Array, value: ["none", "", ""] },
borderRadius: { type: String, value: "10rpx" },
lineHeight: { type: String, value: "1.5em" },
},
methods: {
taped: function (e) {
var r = e.currentTarget.dataset.index;
this.triggerEvent("taped", r);
},
},
});

View File

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

View File

@@ -0,0 +1,11 @@
<view class="grace-box-banner" style="background:{{background}}; padding-top:{{padding}}; padding-bottom:{{padding}}; border-radius:{{borderRadius}};">
<view catchtap="taped" class="grace-box-items" data-index="{{index}}" style="border-right:{{index+1>=items.length?'0rpx':border[0]+' '+border[1]+' '+border[2]}};" wx:for="{{items}}" wx:key="index">
<view class="grace-box-banner-line" style="line-height:{{lineHeight}};">
<text class="grace-box-banner-line-text1" style="color:{{color[0]}}; font-size:{{fontSize[0]}};">{{item[0]}}</text>
<text class="grace-box-banner-line-text2" style="color:{{color[1]}}; font-size:{{fontSize[1]}};">{{item[1]}}</text>
</view>
<view class="grace-box-banner-line" style="padding-bottom:3px">
<text style="color:{{color[2]}}; font-size:{{fontSize[2]}};">{{item[2]}}</text>
</view>
</view>
</view>

View File

@@ -0,0 +1,22 @@
.grace-box-banner {
display: -webkit-flex;
display: flex;
flex-wrap: nowrap;
overflow: hidden;
padding: 26rpx 0;
}
.grace-box-items {
width: 100%;
}
.grace-box-banner-line {
align-items: center;
display: -webkit-flex;
display: flex;
justify-content: center;
overflow: hidden;
padding-top: 8rpx;
width: 100%;
}
.grace-box-banner-line-text2 {
margin-left: 3px;
}

View File

@@ -0,0 +1,16 @@
Component({
properties: {
items: { type: Array, value: new Array() },
height: { type: String, value: "60rpx" },
bgColor: { type: String, default: "#F8F8F8" },
color: { type: String, value: "#3688FF" },
fontSize: { type: String, value: "26rpx" },
current: { type: Number, value: 0 },
},
methods: {
changeSC: function (e) {
var t = Number(e.currentTarget.dataset.index);
this.triggerEvent("change", t), this.setData({ current: t });
},
},
});

View File

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

View File

@@ -0,0 +1,3 @@
<view class="gui-segmented-Control" style="height:{{height}}; background:{{bgColor}};">
<view catchtap="changeSC" class="gui-segmented-Control-item" data-index="{{index}}" style="height:{{height}}; line-height:{{height}}; color:{{current==index?'#FFFFFF':color}}; background:{{current==index?color:''}}; fontSize:{{fontSize}};" wx:for="{{items}}" wx:key="index">{{item}}</view>
</view>

View File

@@ -0,0 +1,15 @@
.gui-segmented-Control {
background-color: #f5f6f8;
border-radius: 10rpx;
display: -webkit-flex;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
padding: 6rpx;
width: 100%;
}
.gui-segmented-Control-item {
border-radius: 8rpx;
text-align: center;
width: 700rpx;
}

258
graceUI/reporlist.wxss Normal file
View File

@@ -0,0 +1,258 @@
.statusView {
right: 15px;
}
.refundView,
.statusView {
align-items: center;
border-radius: 8rpx;
color: #fff;
font-size: 12px;
height: 20px;
line-height: 20px;
position: absolute;
text-align: center;
top: 104rpx;
width: 60px;
}
.refundView {
right: 85px;
}
.underwayView {
background-color: #3d61f0;
}
.ingView {
background-color: #54db54;
}
.successView {
background-color: red;
}
.noneView {
display: none;
}
.noneOrder {
color: grey;
font-size: 32rpx;
margin-top: 150rpx;
text-align: center;
}
.cancelView {
background-color: #000;
}
.repair-img {
height: 30vh;
width: 100vw;
}
.nav {
background: #fff;
z-index: 99;
}
.nav,
.positionFixed {
box-shadow: 0rpx -1.2rpx 10rpx 4rpx hsla(0, 0%, 87%, 0.6);
}
.positionFixed {
left: 0;
position: fixed;
top: 0;
}
.topTabSwiper:after {
clear: both;
content: "";
display: block;
}
.one-tab {
float: left;
height: 5.2vh;
line-height: 4.6vh;
padding: 10rpx 0;
text-align: center;
width: 32vw;
}
.tab-title-select {
font-size: 35rpx;
font-weight: 700;
}
.tab-title {
font-size: 32rpx;
}
.one-tab-line {
border-bottom: 6rpx solid #3688ff;
margin-bottom: 0.2vh;
margin-top: 1vh;
width: 20vw;
}
.center-tab {
float: left;
height: 20px;
height: 5.2vh;
line-height: 4.6vh;
margin-left: 4vw;
padding: 10rpx 0rpx;
text-align: center;
width: 20vw;
}
.two-tab-line {
border-bottom: 6rpx solid #3688ff;
margin-bottom: 0.2vh;
margin-top: 1vh;
width: 20vw;
}
.tab {
float: left;
height: 5.2vh;
line-height: 4.6vh;
padding: 10rpx 0;
text-align: center;
width: 26vw;
}
.pageView {
background-color: #f1f5f6;
margin-top: 2vh;
}
.recommend-img {
height: 36vh;
width: 100vw;
}
.contentView {
align-items: flex-start;
background-color: #fff;
color: #333;
display: -webkit-flex;
display: flex;
flex-direction: column;
font-size: 30rpx;
height: 100%;
justify-items: flex-start;
margin-top: 1vh;
padding: 20rpx 30rpx;
position: relative;
}
.orderNum {
font-size: 26rpx;
font-weight: 700;
}
.lineView {
background-color: #f1f5f6;
height: 1px;
margin: 17px 6px 6px;
width: 98%;
}
.adressView {
align-items: center;
display: -webkit-flex;
display: flex;
justify-items: center;
width: 100%;
}
.icon {
border-radius: 100%;
height: 20rpx;
margin: 15px 10px 10px 0;
width: 20rpx;
}
.startHeaderIconView {
background-color: #2d2d33;
}
.endHeaderIconView {
background-color: #69c73e;
}
.urgentView {
align-content: space-between;
align-items: center;
justify-content: space-between;
justify-items: center;
padding-top: 10px;
width: 100%;
}
.urgentView,
.urgentViewLeft {
display: -webkit-flex;
display: flex;
}
.urgentViewLeft {
align-items: flex-start;
flex-direction: column;
}
.pricePaidView {
background-color: #fff;
color: #333;
display: -webkit-flex;
display: flex;
font-size: 30rpx;
justify-content: space-between;
margin: 0 10px 10px;
padding: 10px;
}
.marginText {
margin-top: 8px;
}
.urgentText {
font-size: 12px;
}
.priceText {
color: #ff4500;
font-size: 20px;
}
.grayText {
color: grey;
}
.swiper-tab {
display: -webkit-flex;
display: flex;
flex-direction: row;
justify-content: center;
line-height: 80rpx;
text-align: center;
width: 100%;
}
.tab-item {
color: #777;
display: inline-block;
flex: 1;
font-size: 30rpx;
}
.on {
border-bottom: 5rpx solid #69c73e;
color: #69c73e;
}
.swiper {
display: block;
height: 100%;
overflow: hidden;
width: 100%;
}
.swiper view {
text-align: center;
}
.logo-img {
max-height: 150rpx;
padding-top: 20px;
vertical-align: top;
width: 110rpx;
}
.text-view {
display: inline-block;
height: 150rpx;
margin-left: 25rpx;
width: 60%;
}
.name-text {
color: #000;
}
.hui-text,
.name-text {
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
display: block;
display: -webkit-box;
font-size: 30rpx;
height: 55rpx;
line-height: 55rpx;
overflow: hidden;
text-overflow: ellipsis;
width: 200px;
word-break: break-all;
}
.hui-text {
color: #aaa;
}