问题修复,增加点单智能推荐页面

This commit is contained in:
2025-11-20 15:55:50 +08:00
parent 8fa21b3404
commit bb4c2676e7
11 changed files with 201 additions and 40 deletions

View File

@@ -3,9 +3,9 @@
<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-333 u-font-28">
<view> 用户昵称 </view>
<view> {{ item.shopUserName }} </view>
<view class="u-m-t-4">
<text class="color-333 font-bold"> {{ item.shopUserName }}</text>
<text class="color-333 "> {{ item.shopUserPhone }}</text>
</view>
</view>
<view>
@@ -82,7 +82,7 @@
>是否确认重置分销组 重置后将会按照用户的实际数据匹配分销组</view
>
</view>
<view class="u-p-48 u-flex" v-if="modalData.key == 'cancel-group'">
<view class="u-p-48 u-flex" v-if="modalData.key == 'cancel-fenxiao'">
<up-icon name="info-circle" color="#FF2F2F" size="20"></up-icon>
<view class="u-font-32 color-333 u-m-l-20">是否确认取消分销员</view>
</view>
@@ -179,6 +179,8 @@ async function handleConfirm() {
id: modalData.data.id,
shopId: uni.getSystemInfoSync("shopInfo").id || "",
});
emits("refresh");
}
if (modalData.key == "change-group") {
const level=distributionStore.config.levelConfigList.find((item) => item.id == group.value)
@@ -204,6 +206,10 @@ async function handleConfirm() {
});
emits("refresh");
}
uni.showToast({
title:'操作成功',
icon:'none'
})
group.value = "";
modalData.show = false;
}

View File

@@ -12,9 +12,9 @@
</view>
<view class="u-flex u-row-between u-m-t-16">
<view class="color-333 u-font-28 color-666">
<view> 用户昵称 </view>
<view> {{item.nickName}} </view>
<view class="u-m-t-4">
<text class=""> {{ item.nickName }}</text>
<text class=""> {{ item.phone }}</text>
</view>
</view>
<text class="color-main u-font-32 font-700">{{ item.changeAmount }}</text>