删除部分图片,增加超级会员页面功能

This commit is contained in:
2025-12-02 15:56:41 +08:00
parent 4faa482380
commit da321e3afc
81 changed files with 4395 additions and 712 deletions

View File

@@ -0,0 +1,336 @@
<template>
<view class="box">
<view class="u-m-t-32 container" style="padding-left: 0; padding-right: 0">
<view class="x-padding">
<view class="u-flex u-row-between custome">
<text class="font-bold color-333">提交生日/姓名</text>
<up-radio-group v-model="form.isSubmitInfo" placement="row">
<up-radio :key="1" :name="1">
<template #label>
<text> </text>
</template>
</up-radio>
<up-radio :key="0" :name="0">
<template #label>
<text> </text>
</template>
</up-radio>
</up-radio-group>
</view>
<view class="color-999 u-font-24 u-m-t-10"
>*成为会员前需提交生日姓名性别信息</view
>
</view>
</view>
<view class="u-m-t-32 container" style="padding-left: 0; padding-right: 0">
<view class="x-padding">
<view class="u-flex u-row-between custome">
<text class="font-bold color-333">会员开通方式</text>
<up-radio-group v-model="form.openType" placement="row">
<up-radio key="PAY" name="PAY">
<template #label>
<text> 购买开通 </text>
</template>
</up-radio>
<up-radio key="CONDITION" name="CONDITION">
<template #label>
<text> 条件开通 </text>
</template>
</up-radio>
</up-radio-group>
</view>
<view class="u-m-t-24">
<up-line></up-line>
</view>
<template v-if="form.openType == 'PAY'">
<view
class="u-flex u-row-between u-p-t-26"
@click="go.to('PAGES_MARKET_SUPER_VIP_VIP_PLANS')"
>
<text class="font-bold color-333">会员周期列表</text>
<view class="u-flex">
<text class="u-font-24 color-main">去设置</text>
<up-icon name="arrow-right" color="#318AFE"></up-icon>
</view>
</view>
</template>
<template v-if="form.openType == 'CONDITION'">
<view class="u-flex u-row-between u-col-baseline u-m-t-32">
<text class="font-bold color-333">成为会员条件</text>
<view class="u-flex-1 u-p-l-32">
<view v-for="(item, index) in conditionLists" :key="index">
<up-checkbox usedAlone v-model:checked="item.checked">
<template #label>
<view> {{ item.label }} </view>
</template>
</up-checkbox>
<view class="u-m-t-24 u-m-b-24">
<up-number-box
:inputWidth="100"
:decimalLength="item.precision || 0"
v-if="item.label != '绑定手机号' && item.checked"
v-model="item.value"
:step="item.step"
:min="item.min || 0"
></up-number-box>
</view>
</view>
</view>
</view>
</template>
</view>
</view>
<view class="u-m-t-32 container">
<view class="font-bold color-333 u-m-b-16">可用门店</view>
<my-shop-select
@shop-select="shopSelect"
v-model:selShops="form.memberPriceShopIdList"
v-model:useType="form.memberPriceShopType"
></my-shop-select>
</view>
<view class="u-m-t-32 container">
<view class="font-bold color-333 u-m-b-16">规则说明</view>
<up-textarea
v-model="form.remark"
placeholder="请输入规则说明"
></up-textarea>
</view>
<view class="u-m-t-32 container">
<view class="font-bold color-333">获取成长值升级</view>
<view class="u-m-t-6 color-999 u-font-24"
>*两个条件必选有一条是大于0的数值</view
>
<view class="u-flex u-m-t-26 gap-20">
<text>每消费1元获得成长值</text>
<up-number-box
v-model="form.costReward"
inputWidth="80"
placeholder="请输入内容"
></up-number-box>
</view>
<view class="u-flex u-m-t-26 gap-20">
<text>每充值1元获得成长值</text>
<up-number-box
v-model="form.rechargeReward"
inputWidth="80"
placeholder="请输入内容"
></up-number-box>
</view>
</view>
<my-bottom-btn-group @save="save" @cancel="cancel"></my-bottom-btn-group>
</view>
</template>
<script setup>
import { reactive, computed, onMounted, ref, inject, watch } from "vue";
import userTypes from "./user-types.vue";
import {
onLoad,
onReady,
onShow,
onPageScroll,
onReachBottom,
onBackPress,
} from "@dcloudio/uni-app";
import go from "@/commons/utils/go.js";
const conditionLists = ref([
{ label: "绑定手机号", checked: false, code: "BIND_PHONE" },
{
label: "订单达成指定次数",
checked: false,
value: "",
code: "ORDER",
step: 1,
stepStrictly: true,
min: 1,
},
{
label: "消费达到指定金额",
checked: false,
value: "",
code: "COST_AMOUNT",
precision: 2,
min: 0.01,
},
{
label: "充值达到指定金额",
checked: false,
value: "",
code: "RECHARGE_AMOUNT",
precision: 2,
min: 0.01,
},
]);
const superVipStore = inject("superVipStore");
//分销奖励次数
const isLimitCount = ref(0);
const isLimitCounts = [
{
value: 0,
label: "限制",
},
{
value: 1,
label: "不限制",
},
];
//开通方式
const opentypes = [
{
value: "auto",
label: "自动开通",
},
{
value: "manual",
label: "手动开通",
},
{
value: "pay",
label: "付费开通",
},
];
const form = reactive({
isSubmitInfo: 1,
openType: "PAY",
configList: [],
memberPriceShopType: "ALL",
remark: "",
costReward: 0,
rechargeReward: 0,
memberPriceShopIdList: [],
isMemberPrice: 1,
isOpen: 0,
});
watch(
() => isLimitCount.value,
(newval) => {
if (newval) {
form.rewardCount = -1;
} else {
form.rewardCount = "";
}
}
);
async function save() {
console.log(form);
const submitData = {
...form,
};
const res = await superVipStore.editConfig(submitData);
uni.showToast({
title: "更新成功",
icon: "none",
duration: 2000,
});
}
function cancel() {
uni.navigateBack();
}
watch(
() => superVipStore.config,
(newval) => {
setForm(newval);
}
);
function setForm(data) {
if (data.rewardCount == -1) {
isLimitCount.value = 1;
}
Object.assign(form, data);
console.log(form);
}
onMounted(() => {
setForm(superVipStore.config);
});
</script>
<style lang="scss" scoped>
.x-padding {
padding: 0 24rpx;
}
.text-tips {
color: #999999;
font-size: 14px;
padding: 0 28rpx;
border-radius: 6rpx 0 0 6rpx;
border: 2rpx solid #d9d9d9;
background-color: #f7f7fa;
line-height: 60rpx;
}
.text-tips1 {
border-radius: 0 6rpx 6rpx 0;
}
.gap-40 {
gap: 40rpx;
}
.my-input {
border: 2rpx solid #d9d9d9;
height: 60rpx;
border-right: none;
width: 240rpx;
text-align: center;
padding: 0 2px;
font-size: 14px;
}
.box {
padding: 0 28rpx;
font-size: 28rpx;
}
.container {
background: #fff;
padding: 32rpx 24rpx;
margin-top: 32rpx;
border-radius: 16rpx;
overflow: hidden;
}
.add {
padding: 8rpx 32rpx;
border-radius: 12rpx;
background: #318afe;
color: #ffffff;
font-size: 28rpx;
line-height: 56rpx;
margin: 0;
}
.color-red {
color: #ff2f2f;
}
$height: 70rpx;
.number-box {
font-size: 28rpx;
padding: 0 26rpx;
border-radius: 6rpx 0 0 6rpx;
border-top: 2rpx solid #d9d9d9;
border-bottom: 2rpx solid #d9d9d9;
border-left: 2rpx solid #d9d9d9;
background: #fff;
box-sizing: border-box;
height: $height;
flex: 1;
line-height: $height;
}
.unit {
display: flex;
padding: 0 38rpx;
height: $height;
line-height: $height;
align-items: center;
border-radius: 0 6rpx 6rpx 0;
border: 2rpx solid #d9d9d9;
background: #f7f7fa;
font-size: 28rpx;
color: #999999;
}
:deep(.custome .u-radio-group) {
justify-content: flex-end;
}
</style>

View File

@@ -0,0 +1,110 @@
<template>
<view>
<view
class="u-flex u-row-between u-m-b-24"
style="gap: 40rpx"
v-for="(item, index) in modelValue"
:key="index"
>
<view
class="choose-coupon u-flex-1 u-flex u-row-between"
@click="showCoupon(item, index)"
>
<template v-if="item.coupon.title">
<text>{{ item.coupon.title }}</text>
<view class="u-flex" @click.stop="clearCoupon(index)">
<up-icon name="close" size="14"></up-icon>
</view>
</template>
<template v-else>
<text class="color-999">选择赠送券</text>
<up-icon name="arrow-down" size="14"></up-icon>
</template>
</view>
<view class="u-flex-1 u-flex">
<view class="u-flex-1 input-number-box u-flex">
<input
class="u-flex-1 input"
type="number"
v-model="item.num"
placeholder=""
placeholder-class="color-999 u-font-28"
/>
<text class="no-wrap color-999 number">数量</text>
</view>
<view class="u-m-l-20">
<up-icon
name="minus-circle-fill"
color="#EB4F4F"
size="18"
@click="removeCoupon(index)"
></up-icon>
</view>
</view>
</view>
<chooseCoupon
v-model="chooseCouponData.couponId"
v-model:show="chooseCouponData.show"
@confirm="confirmCoupon"
:list="couponList"
></chooseCoupon>
</view>
</template>
<script setup>
import { reactive, ref, onMounted } from "vue";
import chooseCoupon from "@/pageMarket/components/choose-coupon.vue";
import { couponPage } from "@/http/api/market/index.js";
const chooseCouponData = reactive({
couponId: "",
show: false,
index: -1,
item: null,
});
const modelValue = defineModel({
type: Array,
default: () => [],
});
function clearCoupon(index) {
modelValue.value[index].coupon = { id: null };
}
const couponList = ref([]);
function showCoupon(item, index) {
chooseCouponData.couponId = item ? item.id : "";
chooseCouponData.show = true;
chooseCouponData.index = index;
chooseCouponData.item = item;
}
function confirmCoupon(e) {
modelValue.value[chooseCouponData.index].coupon = e
}
function removeCoupon(index) {
modelValue.value.splice(index, 1);
}
onMounted(() => {
couponPage({ size: 999 }).then((res) => {
couponList.value = res.records;
});
});
</script>
<style lang="scss" scoped>
.choose-coupon {
padding: 10rpx 20rpx;
border-radius: 8rpx;
border: 1px solid #d9d9d9;
}
.input-number-box {
border-radius: 8rpx;
border: 1px solid #d9d9d9;
.input {
padding: 10rpx 20rpx;
}
}
.number {
background-color: #f7f7fa;
padding: 10rpx 20rpx;
}
</style>

View File

@@ -0,0 +1,197 @@
<template>
<view class="list u-font-28">
<view class="u-m-t-32 item" v-for="item in list" :key="item.id">
<view class="u-flex u-row-between">
<view class="color-666 u-font-24 u-flex">
<text class="no-wrap"> 关联订单:</text>
<text> {{ item.orderNo }} </text>
</view>
<view class="status" :class="[item.status]">
{{ returnStatus(item.status) }}</view
>
</view>
<view class="u-flex u-row-between u-m-t-16">
<view>
<view class="color-333 u-font-28 u-flex u-line-1">
<text class="font-bold"> 分销员 </text>
<text class="color-666 u-font-24 u-m-l-28">
{{ item.nickName }}
</text>
<text class="color-666 u-font-24 u-m-l-10"> {{ item.phone }} </text>
</view>
<view class="color-333 u-font-28 u-flex u-m-t-16 u-line-1">
<text class="font-bold"> 下级用户 </text>
<text class="color-666 u-font-24 u-m-l-28">
{{ item.sourceNickName }}
</text>
<text class="color-666 u-font-24 u-m-l-10"> {{ item.sourcePhone }} </text>
</view>
<view class="color-333 u-font-28 u-flex u-m-t-16 u-line-1">
<text class="font-bold"> 创建时间 </text>
<text class="color-666 u-font-24 u-m-l-28">
{{ item.sourceNickName }}
</text>
<text class="color-666 u-font-24 u-m-l-10"> {{ item.createTime }} </text>
</view>
</view>
<view>
<view
class="text-center color-main font-bold"
:class="[ item.status == 'refund' ? 'color-red' : '']"
>{{ item.rewardAmount }}</view
>
<view class="color-66 u-font-24">{{
item.level == 1 ? "直接分成" : "间接分成"
}}</view>
</view>
</view>
</view>
<view class="u-p-30">
<up-loadmore :status="isEnd ? 'nomore' : 'loading'"></up-loadmore>
</view>
</view>
</template>
<script setup>
import {
ref,
reactive,
watch,
toRaw,
onMounted,
onUnmounted,
inject,
} from "vue";
const props = defineProps({
list: {
type: Array,
default: () => [],
},
isEnd: {
type: Boolean,
default: false,
},
});
const statusMap = {
success: "已入账",
refund: "已退款",
pending: "待入账",
};
function returnStatus(status) {
return status in statusMap ? statusMap[status] : status;
}
const $actions = [
{
name: "更改分销组",
value: "change-group",
},
{
name: "重置分销组",
value: "reset-group",
},
{
name: "恢复分销员",
value: "back-fenxiao",
},
{
name: "取消分销员",
value: "cancel-fenxiao",
},
];
const actions = ref($actions);
const emits = defineEmits(["refresh"]);
</script>
<style lang="scss">
.list {
padding: 0 30rpx;
.item {
padding: 32rpx 24rpx;
border-radius: 14rpx;
background-color: #fff;
overflow: hidden;
}
}
.tag {
border-radius: 12rpx;
padding: 8rpx 22rpx;
font-size: 28rpx;
&.success {
background-color: #edfff0;
color: #5bbc6d;
}
&.end {
background-color: #f7f7f7;
color: #999;
}
}
.my-btn {
font-size: 28rpx;
line-height: 36rpx;
padding: 8rpx 32rpx;
border-radius: 12rpx;
margin: 0;
}
.money {
background-color: #f8f8f8;
border-radius: 8rpx;
padding: 16rpx 28rpx;
}
.more {
display: flex;
height: 56rpx;
padding: 8rpx 28rpx;
justify-content: center;
align-items: center;
gap: 20rpx;
border-radius: 28rpx;
border: 2rpx solid $my-main-color;
color: $my-main-color;
background: #fff;
}
.bottom {
position: fixed;
bottom: calc(env(safe-area-inset-bottom) + 30rpx);
left: 30rpx;
right: 30rpx;
}
.status {
display: flex;
padding: 8rpx 18rpx;
justify-content: center;
align-items: center;
gap: 20rpx;
font-size: 28rpx;
border-radius: 0 0 8rpx 8rpx;
border: 1px solid transparent;
&.success {
color: rgba(123, 209, 54, 1);
border-color: rgba(123, 209, 54, 1);
background-color: rgba(123, 209, 54, 0.12);
}
&.refund {
border-color: rgba(249, 50, 40, 1);
background-color: rgba(209, 64, 54, 0.12);
color: rgba(255, 47, 47, 1);
}
&.pending {
border-color: rgba(153, 153, 153, 1);
background-color: rgba(153, 153, 153, 0.12);
color: rgba(153, 153, 153, 1);
}
}
.color-red {
color: #ff2f2f;
}
.text-center{
text-align: center;
}
</style>

View File

@@ -0,0 +1,258 @@
<template>
<view class="list u-font-28">
<view class="u-m-t-32 item" v-for="item in list" :key="item.id">
<view class="u-flex u-row-between">
<view class="color-666 u-font-24 u-flex">
<text class="no-wrap"> 订单号:</text>
<text> {{ item.orderNo }} </text>
</view>
</view>
<view class="u-m-t-32 u-flex u-row-between">
<view class="color-333 u-font-28">
<view>
<text> {{ item.nickName }} </text>
<text> {{ item.phone }}</text>
</view>
<view class="u-m-t-8 color-999 u-font-24">
<view>{{ item.createTime }}</view>
</view>
</view>
<view class="text-center">
<view class="color-red u-font-32 font-700">
{{ item.amount }}
</view>
<view class="u-m-t-2 color-999 u-font-24">
<view>{{ item.circleTime }}{{ item.circleUnit }}</view>
</view>
</view>
</view>
</view>
<view class="u-p-30">
<up-loadmore :status="isEnd ? 'nomore' : 'loading'"></up-loadmore>
</view>
<up-action-sheet
:show="showActions"
:actions="actions"
@select="handleSelect"
@close="showActions = false"
cancel-text="取消"
></up-action-sheet>
<Modal
v-model="modalData.show"
:title="modalData.title"
@confirm="handleConfirm"
>
<view class="u-p-48" v-if="modalData.key == 'change-group'">
<view class="u-m-r-36 u-m-b-24">分销组</view>
<up-radio-group v-model="group" placement="row" place="row">
<up-radio
v-for="item in distributionStore.config.levelConfigList"
:key="item.id"
:name="item.id"
:label="item.name"
>
<template #label>
<text>
{{ item.name }}
</text>
</template>
</up-radio>
</up-radio-group>
</view>
<view class="u-p-48 u-flex" v-if="modalData.key == 'reset-group'">
<up-icon name="info-circle" color="#FF2F2F" size="20"></up-icon>
<view class="u-font-32 color-333 u-m-l-20"
>是否确认重置分销组 重置后将会按照用户的实际数据匹配分销组</view
>
</view>
<view class="u-p-48 u-flex" v-if="modalData.key == 'cancel-group'">
<up-icon name="info-circle" color="#FF2F2F" size="20"></up-icon>
<view class="u-font-32 color-333 u-m-l-20">是否确认取消分销员</view>
</view>
</Modal>
</view>
</template>
<script setup>
import {
ref,
reactive,
watch,
toRaw,
onMounted,
onUnmounted,
inject,
} from "vue";
import go from "@/commons/utils/go.js";
import Modal from "@/pageMarket/components/modal.vue";
const props = defineProps({
list: {
type: Array,
default: () => [],
},
isEnd: {
type: Boolean,
default: false,
},
});
//选中的分销组
const group = ref("");
const distributionStore = inject("distributionStore");
const distributionApi = inject("distributionApi");
const modalData = reactive({
show: false,
title: "",
key: "",
data: null,
});
const showActions = ref(false);
const $actions = [
{
name: "更改分销组",
value: "change-group",
},
{
name: "重置分销组",
value: "reset-group",
},
{
name: "恢复分销员",
value: "back-fenxiao",
},
{
name: "取消分销员",
value: "cancel-fenxiao",
},
];
const actions = ref($actions);
function moreShow(item) {
modalData.data = item;
group.value = item.distributionLevelId;
if (item.isAssignLevel == 0) {
actions.value = $actions.filter((item) => item.value !== "reset-group");
} else {
actions.value = $actions.filter((item) => item.value !== "change-group");
}
if (item.status == 1) {
actions.value = actions.value.filter(
(item) => item.value !== "back-fenxiao"
);
}
if (item.status == 9) {
actions.value = actions.value.filter(
(item) => item.value !== "cancel-fenxiao"
);
}
showActions.value = true;
}
function handleSelect(item) {
console.log(item);
modalData.title = item.name;
modalData.key = item.value;
showActions.value = false;
modalData.show = true;
}
const emits = defineEmits(["refresh"]);
async function handleConfirm() {
if (modalData.key == "reset-group") {
await distributionApi.resetLevel({
id: modalData.data.id,
shopId: uni.getSystemInfoSync("shopInfo").id || "",
});
}
if (modalData.key == "change-group") {
const level = distributionStore.config.levelConfigList.find(
(item) => item.id == group.value
);
await distributionApi.editDistributionUser({
id: modalData.data.id,
isAssignLevel: 1,
distributionLevelId: group.value,
distributionLevelName: level.name,
});
emits("refresh");
}
if (modalData.key == "cancel-fenxiao") {
await distributionApi.editDistributionUser({
id: modalData.data.id,
status: 9,
});
emits("refresh");
}
if (modalData.key == "back-fenxiao") {
await distributionApi.editDistributionUser({
id: modalData.data.id,
status: 1,
});
emits("refresh");
}
group.value = "";
modalData.show = false;
}
</script>
<style lang="scss">
.list {
padding: 0 30rpx;
.item {
padding: 32rpx 24rpx;
border-radius: 14rpx;
background-color: #fff;
overflow: hidden;
}
}
.tag {
border-radius: 12rpx;
padding: 8rpx 22rpx;
font-size: 28rpx;
&.success {
background-color: #edfff0;
color: #5bbc6d;
}
&.end {
background-color: #f7f7f7;
color: #999;
}
}
.my-btn {
font-size: 28rpx;
line-height: 36rpx;
padding: 8rpx 32rpx;
border-radius: 12rpx;
margin: 0;
}
.money {
background-color: #f8f8f8;
border-radius: 8rpx;
padding: 16rpx 28rpx;
}
.more {
display: flex;
height: 56rpx;
padding: 8rpx 28rpx;
justify-content: center;
align-items: center;
gap: 20rpx;
border-radius: 28rpx;
border: 2rpx solid $my-main-color;
color: $my-main-color;
background: #fff;
}
.bottom {
position: fixed;
bottom: calc(env(safe-area-inset-bottom) + 30rpx);
left: 30rpx;
right: 30rpx;
}
</style>

View File

@@ -0,0 +1,70 @@
<template>
<view>
<up-radio-group v-model="userType" placement="row">
<up-radio
v-for="item in userTypeList"
:key="item.value"
:name="item.value"
:label="item.label"
>
<template #label>
<text>
{{ item.label }}
</text>
<text v-if="item.desc" class="color-666 u-font-24">
{{ item.desc }}
</text>
</template>
</up-radio>
</up-radio-group>
</view>
</template>
<script setup>
import { onMounted, reactive, ref, watch } from "vue";
const userType = defineModel({
default: () => "all",
type: String,
});
const userTypeList = [
{
value: "all",
label: "全部用户",
},
{
value: "new",
label: "仅限新用户",
},
{
value: "vip",
label: "仅会员",
desc:'(分店需开启超级会员可用)'
},
];
</script>
<style lang="scss">
.box {
margin-top: 16rpx;
display: flex;
flex-direction: row;
align-items: top;
flex-wrap: wrap;
padding: 10rpx 24rpx;
border: 2rpx solid #e5e5e5;
position: relative;
.icon {
position: absolute;
top: 50%;
right: 24rpx;
transform: translateY(-50%);
}
}
.shop-item {
padding: 4rpx 8rpx 4rpx 16rpx;
border-radius: 4rpx;
border: 2rpx solid #f0f0f0;
background-color: #f5f5f5;
margin-bottom: 16rpx;
margin-left: 16rpx;
}
</style>

View File

@@ -0,0 +1,172 @@
<template>
<view class="list u-font-28 color-333">
<view class="u-m-t-32 item" v-for="(item, index) in list" :key="item.id">
<view class="color-000 font-bold u-font-32">
<view> {{ item.name }} </view>
</view>
<view class="u-m-t-32 u-flex">
<view class="u-flex-1">
<text class="color-666">所需成长值</text>
<text>{{ item.experienceValue || 0 }}</text>
</view>
<view class="u-flex-1">
<text class="color-666">会员折扣</text>
<text>{{ item.discount || 100 }}%</text>
</view>
</view>
<view class="u-m-t-32 u-flex u-row-right gap-20">
<view class="del" @click="delItem(item)" v-if="index != 0">删除</view>
<view class="edit" @click="editItem(item)">编辑</view>
</view>
</view>
<view class="u-p-30">
<up-loadmore :status="isEnd ? 'nomore' : 'loading'"></up-loadmore>
</view>
<view style="height: 100rpx"></view>
<view class="bottom">
<my-button @click="go.to('PAGES_MARKET_SUPER_VIP_LV_ADD')">
<view class="u-flex">
<text>+ 添加会员等级</text>
</view>
</my-button>
</view>
</view>
</template>
<script setup>
import {
ref,
reactive,
watch,
toRaw,
onMounted,
onUnmounted,
inject,
} from "vue";
import go from "@/commons/utils/go.js";
const memberApi=inject('memberApi')
const props = defineProps({
list: {
type: Array,
default: () => [],
},
isEnd: {
type: Boolean,
default: false,
},
});
function delItem(item) {
uni.showModal({
title: "提示",
content: "确定删除该会员等级吗?",
success: (res) => {
if (res.confirm) {
memberApi.levelDel(item.id).then((res) => {
if (res) {
uni.showToast({
title: "删除成功",
icon: "none",
});
emits("refresh");
}
});
}
},
});
}
function editItem(item) {
go.to("PAGES_MARKET_SUPER_VIP_LV_ADD", {
id: item.id,
type: "edit",
});
}
const emits = defineEmits(["refresh"]);
</script>
<style lang="scss">
.list {
padding: 0 30rpx;
.item {
padding: 32rpx 24rpx;
border-radius: 14rpx;
background-color: #fff;
overflow: hidden;
}
}
.tag {
border-radius: 12rpx;
padding: 8rpx 22rpx;
font-size: 28rpx;
&.success {
background-color: #edfff0;
color: #5bbc6d;
}
&.end {
background-color: #f7f7f7;
color: #999;
}
}
.my-btn {
font-size: 28rpx;
line-height: 36rpx;
padding: 8rpx 32rpx;
border-radius: 12rpx;
margin: 0;
}
.money {
background-color: #f8f8f8;
border-radius: 8rpx;
padding: 16rpx 28rpx;
}
.more {
display: flex;
height: 56rpx;
padding: 8rpx 28rpx;
justify-content: center;
align-items: center;
gap: 20rpx;
border-radius: 28rpx;
border: 2rpx solid $my-main-color;
color: $my-main-color;
background: #fff;
}
.del {
display: flex;
height: 56rpx;
padding: 8rpx 28rpx;
justify-content: center;
align-items: center;
gap: 20rpx;
border-radius: 28rpx;
border: 2rpx solid #f7f7fa;
color: #999;
background: #f7f7fa;
}
.edit {
display: flex;
height: 56rpx;
padding: 8rpx 28rpx;
justify-content: center;
align-items: center;
gap: 20rpx;
border-radius: 28rpx;
border: 2rpx solid $my-main-color;
color: #fff;
background: $my-main-color;
}
.bottom {
position: fixed;
bottom: calc(env(safe-area-inset-bottom) + 30rpx);
left: 30rpx;
right: 30rpx;
}
</style>