zs 1 рік тому
батько
коміт
ea01065d62

+ 1 - 10
pagesMy/follow/index.vue

@@ -1,14 +1,10 @@
 <template>
 	<view class="content">
 		我的关注
-		<up-overlay :show="show">
-			<login @showChange='showChange'></login>
-		</up-overlay>
 	</view>
 </template>
 
 <script setup lang="ts">
-	import login from "@/components/login.vue"
 	import { inject, computed, ref } from 'vue';
 	//该依赖已内置不需要单独安装
 	import { onShow, onPullDownRefresh } from "@dcloudio/uni-app";
@@ -19,8 +15,6 @@
 	const config = ref({ logo: [], file: [] });
 	const list = ref([]);
 	const total = ref(0);
-	// 遮罩层
-	const show = ref(false);
 	// user
 	const user = computed(() => {
 		return uni.getStorageSync('user');
@@ -29,7 +23,6 @@
 		await searchConfig();
 		await searchOther();
 		await search();
-		if (!user.value) show.value = true
 	})
 	// config信息
 	const searchConfig = async () => {
@@ -39,14 +32,12 @@
 	const searchOther = async () => { };
 	// 查询
 	const search = async () => { };
-	const showChange = () => {
-		show.value = false
-	}
 </script>
 <style lang="scss" scoped>
 	.content {
 		display: flex;
 		flex-direction: column;
+		min-height: 100vh;
 		background-color: var(--f1Color);
 	}
 </style>

+ 1 - 10
pagesMy/order/index.vue

@@ -1,14 +1,10 @@
 <template>
 	<view class="content">
 		我的订单
-		<up-overlay :show="show">
-			<login @showChange='showChange'></login>
-		</up-overlay>
 	</view>
 </template>
 
 <script setup lang="ts">
-	import login from "@/components/login.vue"
 	import { inject, computed, ref } from 'vue';
 	//该依赖已内置不需要单独安装
 	import { onShow, onPullDownRefresh } from "@dcloudio/uni-app";
@@ -19,8 +15,6 @@
 	const config = ref({ logo: [], file: [] });
 	const list = ref([]);
 	const total = ref(0);
-	// 遮罩层
-	const show = ref(false);
 	// user
 	const user = computed(() => {
 		return uni.getStorageSync('user');
@@ -29,7 +23,6 @@
 		await searchConfig();
 		await searchOther();
 		await search();
-		if (!user.value) show.value = true
 	})
 	// config信息
 	const searchConfig = async () => {
@@ -39,14 +32,12 @@
 	const searchOther = async () => { };
 	// 查询
 	const search = async () => { };
-	const showChange = () => {
-		show.value = false
-	}
 </script>
 <style lang="scss" scoped>
 	.content {
 		display: flex;
 		flex-direction: column;
+		min-height: 100vh;
 		background-color: var(--f1Color);
 	}
 </style>

+ 2 - 22
unpackage/dist/dev/mp-weixin/pagesMy/follow/index.js

@@ -1,14 +1,5 @@
 "use strict";
 const common_vendor = require("../../common/vendor.js");
-if (!Array) {
-  const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
-  _easycom_up_overlay2();
-}
-const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
-if (!Math) {
-  (login + _easycom_up_overlay)();
-}
-const login = () => "../../components/login.js";
 const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
   __name: "index",
   setup(__props) {
@@ -17,16 +8,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     const config = common_vendor.ref({ logo: [], file: [] });
     common_vendor.ref([]);
     common_vendor.ref(0);
-    const show = common_vendor.ref(false);
-    const user = common_vendor.computed(() => {
+    common_vendor.computed(() => {
       return common_vendor.index.getStorageSync("user");
     });
     common_vendor.onShow(async () => {
       await searchConfig();
       await searchOther();
       await search();
-      if (!user.value)
-        show.value = true;
     });
     const searchConfig = async () => {
       config.value = common_vendor.index.getStorageSync("config");
@@ -35,16 +23,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     };
     const search = async () => {
     };
-    const showChange = () => {
-      show.value = false;
-    };
     return (_ctx, _cache) => {
-      return {
-        a: common_vendor.o(showChange),
-        b: common_vendor.p({
-          show: show.value
-        })
-      };
+      return {};
     };
   }
 });

+ 1 - 4
unpackage/dist/dev/mp-weixin/pagesMy/follow/index.json

@@ -1,8 +1,5 @@
 {
   "navigationBarTitleText": "我的关注",
   "enablePullDownRefresh": true,
-  "usingComponents": {
-    "up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay",
-    "login": "../../components/login"
-  }
+  "usingComponents": {}
 }

+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesMy/follow/index.wxml

@@ -1 +1 @@
-<view class="content data-v-b6eefe39"> 我的关注 <up-overlay wx:if="{{b}}" class="data-v-b6eefe39" u-s="{{['d']}}" u-i="b6eefe39-0" bind:__l="__l" u-p="{{b}}"><login class="data-v-b6eefe39" bindshowChange="{{a}}" u-i="b6eefe39-1,b6eefe39-0" bind:__l="__l"></login></up-overlay></view>
+<view class="content data-v-b6eefe39"> 我的关注 </view>

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesMy/follow/index.wxss

@@ -3,5 +3,6 @@
 .content.data-v-b6eefe39 {
   display: flex;
   flex-direction: column;
+  min-height: 100vh;
   background-color: var(--f1Color);
 }

+ 2 - 22
unpackage/dist/dev/mp-weixin/pagesMy/order/index.js

@@ -1,14 +1,5 @@
 "use strict";
 const common_vendor = require("../../common/vendor.js");
-if (!Array) {
-  const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
-  _easycom_up_overlay2();
-}
-const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
-if (!Math) {
-  (login + _easycom_up_overlay)();
-}
-const login = () => "../../components/login.js";
 const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
   __name: "index",
   setup(__props) {
@@ -17,16 +8,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     const config = common_vendor.ref({ logo: [], file: [] });
     common_vendor.ref([]);
     common_vendor.ref(0);
-    const show = common_vendor.ref(false);
-    const user = common_vendor.computed(() => {
+    common_vendor.computed(() => {
       return common_vendor.index.getStorageSync("user");
     });
     common_vendor.onShow(async () => {
       await searchConfig();
       await searchOther();
       await search();
-      if (!user.value)
-        show.value = true;
     });
     const searchConfig = async () => {
       config.value = common_vendor.index.getStorageSync("config");
@@ -35,16 +23,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     };
     const search = async () => {
     };
-    const showChange = () => {
-      show.value = false;
-    };
     return (_ctx, _cache) => {
-      return {
-        a: common_vendor.o(showChange),
-        b: common_vendor.p({
-          show: show.value
-        })
-      };
+      return {};
     };
   }
 });

+ 1 - 4
unpackage/dist/dev/mp-weixin/pagesMy/order/index.json

@@ -1,8 +1,5 @@
 {
   "navigationBarTitleText": "我的订单",
   "enablePullDownRefresh": true,
-  "usingComponents": {
-    "up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay",
-    "login": "../../components/login"
-  }
+  "usingComponents": {}
 }

+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesMy/order/index.wxml

@@ -1 +1 @@
-<view class="content data-v-b090d311"> 我的订单 <up-overlay wx:if="{{b}}" class="data-v-b090d311" u-s="{{['d']}}" u-i="b090d311-0" bind:__l="__l" u-p="{{b}}"><login class="data-v-b090d311" bindshowChange="{{a}}" u-i="b090d311-1,b090d311-0" bind:__l="__l"></login></up-overlay></view>
+<view class="content data-v-b090d311"> 我的订单 </view>

+ 1 - 0
unpackage/dist/dev/mp-weixin/pagesMy/order/index.wxss

@@ -3,5 +3,6 @@
 .content.data-v-b090d311 {
   display: flex;
   flex-direction: column;
+  min-height: 100vh;
   background-color: var(--f1Color);
 }