diff --git a/src/components/ListItem.vue b/src/components/ListItem.vue
deleted file mode 100644
index 3b5604f..0000000
--- a/src/components/ListItem.vue
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/popupView.vue b/src/components/popupView.vue
index 40e534d..9cbae90 100644
--- a/src/components/popupView.vue
+++ b/src/components/popupView.vue
@@ -193,8 +193,6 @@ onMounted(() => {
display: flex;
justify-content: space-between;
align-items: center;
- background: rgba(183, 288, 231, 0.1);
-
.btn {
flex: 1;
text-align: center;
diff --git a/src/components/topNav.vue b/src/components/topNav.vue
index 6793c19..65e5614 100644
--- a/src/components/topNav.vue
+++ b/src/components/topNav.vue
@@ -4,7 +4,7 @@
- {{ navTitle }}
+ {{ title }}
{{
rightTitle
@@ -17,7 +17,7 @@
import { ref, onMounted, defineEmits } from "vue";
import router from "../router";
const props = defineProps({
- navTitle: String, //标题
+ title: String, //标题
showRight: Boolean, //是否显示右侧菜单图标
rightTitle: String, //右侧内容
showLeft: {
@@ -34,36 +34,15 @@ const themeVars = {
paddingMd: "11px",
};
const showThemeSetting = ref(false); //下拉菜单
-const defaultThemeQp = ref("light"); //默认的右侧气泡框主题
-const isbody = ref("body");
const emit = defineEmits(["clickRight"]);
-//是否显示右侧下拉菜单
-const actions = [
- {
- text: "退出",
- },
-];
onMounted(() => {
- isbody.value = ".headBlue";
- defaultThemeQp.value = getStorage("themeSetting")
- ? getStorage("themeSetting")
- : "dark";
});
+
//回退
function onCLickFh() {
router.back();
}
-
-// 清除所有cookie
-function clearnAllCookie() {
- var keys = document.cookie.match(/[^=;]+(?=\=)/g)
- if (keys) {
- for (let i = keys.length; i--;) {
- document.cookie = keys[i] + '0;expires=' + new Date(0).toUTCString()
- }
- }
-}
//点击右侧按钮
function onClickRight() {
if (props.rightIcon == "weapp-nav" && !props.rightTitle) showThemeSetting.value = true;
diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue
index a4de39d..764b748 100644
--- a/src/pages/my/index.vue
+++ b/src/pages/my/index.vue
@@ -1,95 +1,98 @@
-
-