Commit 1a5a35f2 authored by tangfh's avatar tangfh

+

parent d6a24957
## 1.0.1(2024-06-07)
1.0.1
## 1.0.0(2024-06-07) ## 1.0.0(2024-06-07)
1.0.0 1.0.0
## 1.0.12(2024-06-05) ## 1.0.12(2024-06-05)
......
...@@ -130,4 +130,4 @@ ...@@ -130,4 +130,4 @@
height: 48rpx; height: 48rpx;
margin-left: 8rpx; margin-left: 8rpx;
} }
</style> </style>
\ No newline at end of file
{ {
"id": "f-multi-text-01", "id": "f-multi-text-01",
"displayName": "f-multi-text-01", "displayName": "f-multi-text-01",
"version": "1.0.0", "version": "1.0.1",
"description": "通用表单项", "description": "通用表单项",
"keywords": [ "keywords": [
"f-multi-text-01" "f-multi-text-01"
......
## 1.0.3(2024-06-07)
1.0.3
## 1.0.2(2024-06-07)
1.0.2
## 1.0.1(2024-06-07)
1.0.1
## 1.0.0(2024-06-07) ## 1.0.0(2024-06-07)
1.0.0 1.0.0
## 1.0.2(2024-05-29) ## 1.0.2(2024-05-29)
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<view class="f-status-view flex-column" :style="[style]"> <view class="f-status-view flex-column" :style="[style]">
<uni-load-more v-if="statusUI.value == 'loading'" :status="statusUI.value" :showText="false" <uni-load-more v-if="statusUI.value == 'loading'" :status="statusUI.value" :showText="false"
style="margin-top: -44px;"></uni-load-more> style="margin-top: -44px;"></uni-load-more>
<image class="i-status" v-if="statusUI.value != 'loading'" :src="statusUI.src" style="margin-top: -44px;"></image> <image class="i-status" v-if="statusUI.value != 'loading'" :src="statusUI.src" style="margin-top: -44px;">
</image>
<text class="t-status">{{ statusUI.text }}</text> <text class="t-status">{{ statusUI.text }}</text>
</view> </view>
</template> </template>
...@@ -35,10 +36,18 @@ ...@@ -35,10 +36,18 @@
type: Object, type: Object,
default: statusViewUI.status.error default: statusViewUI.status.error
}, },
height: {
type: String,
default: ''
}
}, },
watch: { watch: {
status(newVal, oldVal) { status(newVal, oldVal) {
this.statusTextInit(newVal) this.statusTextInit(newVal)
},
height(newVal, oldVal) {
console.log("watch height: ", newVal + "-" + oldVal);
this.style.height = newVal
} }
}, },
created() { created() {
...@@ -46,6 +55,7 @@ ...@@ -46,6 +55,7 @@
width: ui.statusViewUI.width + "px", width: ui.statusViewUI.width + "px",
height: ui.statusViewUI.height + "px" height: ui.statusViewUI.height + "px"
} }
console.log("created this.style.height: ", this.style.height);
this.statusTextInit(this.status) this.statusTextInit(this.status)
}, },
methods: { methods: {
...@@ -71,12 +81,12 @@ ...@@ -71,12 +81,12 @@
} }
.i-status { .i-status {
width: 480rpx; width: 500rpx;
height: 480rpx; height: 500rpx;
} }
.t-status { .t-status {
color: $uni-text-color-grey; color: $uni-text-color-grey;
font-size: 28rpx; font-size: 24rpx;
} }
</style> </style>
\ No newline at end of file
{ {
"id": "f-status-view", "id": "f-status-view",
"displayName": "f-status-view", "displayName": "f-status-view",
"version": "1.0.0", "version": "1.0.3",
"description": "页面状态(loading、empty、error)", "description": "页面状态(loading、empty、error)",
"keywords": [ "keywords": [
"f-status-view" "f-status-view"
......
## 1.0.3(2024-06-07)
1.0.3
## 1.0.2(2024-06-07)
1.0.2
## 1.0.1(2024-06-07) ## 1.0.1(2024-06-07)
1.0.1 1.0.1
## 1.0.0(2024-06-07) ## 1.0.0(2024-06-07)
......
<template> <template>
<view class="flex-row row-center-v" :style="[ui.style]" @click.stop="" @click="onClick"> <view class="flex-row row-center-v" :style="[ui.style]">
<image class="i-icon" :src="ui.uiIcon.value"></image> <image class="i-icon" :src="ui.uiIcon.value"></image>
<text class="t-txt" :style="[ui.uiTxt.style]">{{ ui.uiTxt.value }}</text> <text class="t-txt" :style="[ui.uiTxt.style]">{{ ui.uiTxt.value }}</text>
</view> </view>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
}, },
uiIcon: { uiIcon: {
value: "", value: ""
}, },
uiTxt: { uiTxt: {
value: "", value: "",
...@@ -32,11 +32,6 @@ ...@@ -32,11 +32,6 @@
}, },
required: true, required: true,
} }
},
methods: {
onClick() {
this.$emit("click")
}
} }
} }
</script> </script>
......
{ {
"id": "f-text-01", "id": "f-text-01",
"displayName": "f-text-01", "displayName": "f-text-01",
"version": "1.0.1", "version": "1.0.3",
"description": "f-text-01", "description": "带按钮文本",
"keywords": [ "keywords": [
"f-text-01" "f-text-01"
], ],
......
## 1.0.3(2024-06-07)
1.0.3
## 1.0.2(2024-06-07)
1.0.2
## 1.0.1(2024-06-07)
1.0.1
## 1.0.0(2024-06-07) ## 1.0.0(2024-06-07)
1.0.0 1.0.0
## 1.0.4(2024-05-31) ## 1.0.4(2024-05-31)
......
<template> <template>
<view class="v-row-bottom-fixed" :style="{'width': width, 'padding': padding}"> <view class="v-row-bottom-fixed" :style="{'width': width, 'padding': padding, 'background-color': backgroundColor}">
<slot></slot> <slot></slot>
</view> </view>
</template> </template>
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
padding: "", padding: "",
} }
}, },
props: {
backgroundColor: {
type: String,
default: "white"
}
},
created() { created() {
this.width = ui.appUI.screenWidth + "px" this.width = ui.appUI.screenWidth + "px"
this.padding = `5px 0 ${ui.appUI.saftBottom+'px'} 0` this.padding = `5px 0 ${ui.appUI.saftBottom+'px'} 0`
......
{ {
"id": "f-view-bottom-fixed", "id": "f-view-bottom-fixed",
"displayName": "f-view-bottom-fixed", "displayName": "f-view-bottom-fixed",
"version": "1.0.0", "version": "1.0.3",
"description": "底部按钮父view", "description": "底部按钮父view",
"keywords": [ "keywords": [
"f-view-bottom-fixed" "f-view-bottom-fixed"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment