@@ -38,7 +31,12 @@
开启
编辑
+ style="margin-right: 8px;">编辑
+
+
管理
+
+
@@ -63,6 +61,7 @@
import { ref } from 'vue';
import utils from '@/utils/utils.js';
import shop from '@/api/store/shop.js';
+import system from '@/api/modules/system.js';
import myTabbar from "../components/myTabbar/index.vue";
import kevyloading from "@/components/kevy-loading/kevy-loading";
import { useMessage } from '@/uni_modules/wot-design-uni';
@@ -106,7 +105,6 @@ const changeS = async (row) => {
})
}
})
-
}
const syncGoods = (row) => {
@@ -132,7 +130,6 @@ const syncGoods = (row) => {
});
};
-
/**
* 获取数据的函数
*/
@@ -145,6 +142,34 @@ const getShopList = () => {
});
};
+const tableLogin = async (id) => {
+ console.log(system);
+ try {
+ const res = await system.loginShop({
+ shop_id: id
+ });
+
+ if (res.code === 0) {
+ uni.setStorageSync("token", res.data.access_token);
+ uni.setStorageSync("mall_token", res.data.access_token);
+ uni.setStorageSync("mall_info", res.data.user_info);
+ // uni.showToast({
+ // icon: "none",
+ // title: "登录成功",
+ // });
+ utils.toUrl("/mall/index/index")
+ } {
+ uni.showToast({
+ title: menu.message,
+ icon: "none"
+ });
+ return false;
+ }
+ } catch (error) {
+ return false;
+ }
+}
+
// 初始化调用获取一行数据
onShow(() => {
getShopList();
diff --git a/store/shop/to.vue b/store/shop/to.vue
new file mode 100644
index 0000000..98c16a3
--- /dev/null
+++ b/store/shop/to.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+ {{ shop.name }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/store/user/edit.vue b/store/user/edit.vue
index 9fd27b8..56adfdf 100644
--- a/store/user/edit.vue
+++ b/store/user/edit.vue
@@ -25,7 +25,8 @@
v {{ userInfo.user_merge.member_level }}
-
修改等级
+
修改等级
diff --git a/store/user/list.vue b/store/user/list.vue
index 06a10f3..488040e 100644
--- a/store/user/list.vue
+++ b/store/user/list.vue
@@ -31,7 +31,7 @@
-
+
diff --git a/uni_modules/wot-design-uni/changelog.md b/uni_modules/wot-design-uni/changelog.md
index e9fc741..ce11637 100644
--- a/uni_modules/wot-design-uni/changelog.md
+++ b/uni_modules/wot-design-uni/changelog.md
@@ -1,18 +1,33 @@
-## 0.2.11(2024-01-09)
-### [0.2.11](https://github.com/Moonofweisheng/wot-design-uni/compare/v0.2.10...v0.2.11) (2024-01-09)
+## 0.2.13(2024-01-12)
+### [0.2.13](https://github.com/Moonofweisheng/wot-design-uni/compare/v0.2.12...v0.2.13) (2024-01-12)
### Bug Fixes | Bug 修复
-* 修复 Overlay 类型声明错误的问题 ([930e59a](https://github.com/Moonofweisheng/wot-design-uni/commit/930e59a9b09aee535ec4c316e44ed3c0e31be628))
+* 修复演示文档刷新后指向localhost的问题 ([4cd8b16](https://github.com/Moonofweisheng/wot-design-uni/commit/4cd8b16bdf5ea8e93cff85396025844e9ebd031c))
+
+# 更新日志
-### Documentation | 文档
+### [0.2.13](https://github.com/Moonofweisheng/wot-design-uni/compare/v0.2.12...v0.2.13) (2024-01-12)
-* 提供托管在Giteee上的文档网站 ([6d62e9e](https://github.com/Moonofweisheng/wot-design-uni/commit/6d62e9e7ddda0bd9f51f2ad9e2893f1ed3709c63))
-# 更新日志
+### 🐛 Bug Fixes | Bug 修复
+
+* 🐛 修复演示文档刷新后指向localhost的问题 ([4cd8b16](https://github.com/Moonofweisheng/wot-design-uni/commit/4cd8b16bdf5ea8e93cff85396025844e9ebd031c))
+
+### [0.2.12](https://github.com/Moonofweisheng/wot-design-uni/compare/v0.2.11...v0.2.12) (2024-01-11)
+
+
+### 🐛 Bug Fixes | Bug 修复
+
+* 🐛 修复 Tabbar 错误地抛出提示信息的问题 ([1c89ed0](https://github.com/Moonofweisheng/wot-design-uni/commit/1c89ed0a7158e79556e83c6aeb89bd1e93e4ea0d))
+
+
+### ✏️ Documentation | 文档
+* ✏️ 增加 Circle 组件使用插槽的示例 ([6341594](https://github.com/Moonofweisheng/wot-design-uni/commit/6341594295732dac951c465d95537f36addbbf9c))
+* ✏️ 增加展示gitee的star徽标 ([1abf962](https://github.com/Moonofweisheng/wot-design-uni/commit/1abf962e37e27c1c1688bed2026c66022e63ce9b))
### [0.2.11](https://github.com/Moonofweisheng/wot-design-uni/compare/v0.2.10...v0.2.11) (2024-01-09)
diff --git a/uni_modules/wot-design-uni/components/wd-circle/wd-circle.vue b/uni_modules/wot-design-uni/components/wd-circle/wd-circle.vue
index 59b7675..84f17cf 100644
--- a/uni_modules/wot-design-uni/components/wd-circle/wd-circle.vue
+++ b/uni_modules/wot-design-uni/components/wd-circle/wd-circle.vue
@@ -51,8 +51,6 @@ interface Props {
customClass?: string
// 自定义style
customStyle?: string
- // 目标进度
- rate?: number | string
// 圆环直径,默认单位为 px
size?: number
// 进度条颜色,传入对象格式可以定义渐变色
@@ -80,16 +78,12 @@ const props = withDefaults(defineProps(), {
customClass: '',
// 自定义style
customStyle: '',
- // 目标进度
- rate: 100,
// 圆环直径,默认单位为 px
size: 100,
// 进度条颜色,传入对象格式可以定义渐变色
color: '#4d80f0',
// 轨道颜色
layerColor: '#EBEEF5',
- // 填充颜色
- fill: '#ffffff',
// 动画速度(单位为 rate/s)
speed: 50,
// 进度条宽度 默认单位px
diff --git a/uni_modules/wot-design-uni/components/wd-tabbar-item/wd-tabbar-item.vue b/uni_modules/wot-design-uni/components/wd-tabbar-item/wd-tabbar-item.vue
index 91a36b8..788706c 100644
--- a/uni_modules/wot-design-uni/components/wd-tabbar-item/wd-tabbar-item.vue
+++ b/uni_modules/wot-design-uni/components/wd-tabbar-item/wd-tabbar-item.vue
@@ -24,7 +24,7 @@ export default {
}