This commit is contained in:
shuhongfan
2023-09-04 16:40:17 +08:00
commit cf5ac25c14
8267 changed files with 1305066 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "index",
props: {
btnText: {
type: String,
default: "\u786E\u5B9A"
},
isActive: {
type: Boolean,
default: false
}
},
emits: ["@confirm"],
setup(__props, { emit: emits }) {
const handleClick = () => {
emits("confirm");
};
return (_ctx, _cache) => {
return {
a: common_vendor.t(__props.btnText),
b: common_vendor.n(__props.isActive ? "active" : ""),
c: common_vendor.o(handleClick)
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0e2d1a4f"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/BtnFooter/index.vue"]]);
wx.createComponent(Component);

View File

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

View File

@@ -0,0 +1 @@
<view class="BtnFooter data-v-0e2d1a4f"><view class="{{['btn', 'data-v-0e2d1a4f', b]}}" bindtap="{{c}}">{{a}}</view></view>

View File

@@ -0,0 +1,23 @@
/* 水平间距 */
/* 水平间距 */
.BtnFooter.data-v-0e2d1a4f {
position: fixed;
bottom: 0;
height: 172rpx;
width: 100%;
background-color: white;
}
.BtnFooter .btn.data-v-0e2d1a4f {
width: 404rpx;
height: 88rpx;
background: #CCCCCC;
border-radius: 44rpx;
color: white;
font-size: 30rpx;
text-align: center;
line-height: 88rpx;
margin: 24rpx auto 0;
}
.BtnFooter .btn.active.data-v-0e2d1a4f {
background-color: #E84134;
}