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
## 1.0.12(2024-06-05)
......
{
"id": "f-multi-text-01",
"displayName": "f-multi-text-01",
"version": "1.0.0",
"version": "1.0.1",
"description": "通用表单项",
"keywords": [
"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
## 1.0.2(2024-05-29)
......
......@@ -2,7 +2,8 @@
<view class="f-status-view flex-column" :style="[style]">
<uni-load-more v-if="statusUI.value == 'loading'" :status="statusUI.value" :showText="false"
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>
</view>
</template>
......@@ -35,10 +36,18 @@
type: Object,
default: statusViewUI.status.error
},
height: {
type: String,
default: ''
}
},
watch: {
status(newVal, oldVal) {
this.statusTextInit(newVal)
},
height(newVal, oldVal) {
console.log("watch height: ", newVal + "-" + oldVal);
this.style.height = newVal
}
},
created() {
......@@ -46,6 +55,7 @@
width: ui.statusViewUI.width + "px",
height: ui.statusViewUI.height + "px"
}
console.log("created this.style.height: ", this.style.height);
this.statusTextInit(this.status)
},
methods: {
......@@ -71,12 +81,12 @@
}
.i-status {
width: 480rpx;
height: 480rpx;
width: 500rpx;
height: 500rpx;
}
.t-status {
color: $uni-text-color-grey;
font-size: 28rpx;
font-size: 24rpx;
}
</style>
\ No newline at end of file
{
"id": "f-status-view",
"displayName": "f-status-view",
"version": "1.0.0",
"version": "1.0.3",
"description": "页面状态(loading、empty、error)",
"keywords": [
"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
## 1.0.0(2024-06-07)
......
<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>
<text class="t-txt" :style="[ui.uiTxt.style]">{{ ui.uiTxt.value }}</text>
</view>
......@@ -21,7 +21,7 @@
},
uiIcon: {
value: "",
value: ""
},
uiTxt: {
value: "",
......@@ -32,11 +32,6 @@
},
required: true,
}
},
methods: {
onClick() {
this.$emit("click")
}
}
}
</script>
......
{
"id": "f-text-01",
"displayName": "f-text-01",
"version": "1.0.1",
"description": "f-text-01",
"version": "1.0.3",
"description": "带按钮文本",
"keywords": [
"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
## 1.0.4(2024-05-31)
......
<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>
</view>
</template>
......@@ -13,6 +13,12 @@
padding: "",
}
},
props: {
backgroundColor: {
type: String,
default: "white"
}
},
created() {
this.width = ui.appUI.screenWidth + "px"
this.padding = `5px 0 ${ui.appUI.saftBottom+'px'} 0`
......
{
"id": "f-view-bottom-fixed",
"displayName": "f-view-bottom-fixed",
"version": "1.0.0",
"version": "1.0.3",
"description": "底部按钮父view",
"keywords": [
"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