Forráskód Böngészése

盘点*下架*审核未完成

Alex 11 hónapja
szülő
commit
0772d5cb65

+ 1 - 5
pages/index/wms/speedy-check-add.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="container speedy-add">
+	<view class="container" style="padding-top: 84px;padding-bottom: 10px;">
         <u-navbar title="选择商品" :border="false" fixed safe-area-inset-top bgColor="#22ac38"
         titleStyle="font-size:36rpx;color:#fff">
             <template #left>
@@ -109,10 +109,6 @@
 </script>
 
 <style lang="scss" scoped>
-    .speedy-add{
-        padding-top: 44px;
-        padding-bottom: 70px;
-    }
 	.location-info {
 		background-color: #fff;
 		padding: 20rpx;

+ 3 - 3
pages/index/wms/speedy-check.vue

@@ -1,5 +1,5 @@
 <template>
-    <view class="container">
+    <view class="container" style="padding-top: 44px;padding-bottom: 10px;">
         <u-navbar title="快速盘点" :border="false" fixed safe-area-inset-top bgColor="#22ac38"
         titleStyle="font-size:36rpx;color:#fff">
             <template #left>
@@ -97,7 +97,7 @@
         </view>
 
         <view class="add-btn" @click="handleAdd">
-            <u-icon name="plus-circle" size="40" color="#19be6b" @click="openScan"></u-icon>
+            <u-icon name="plus-circle" size="40" color="#19be6b"></u-icon>
         </view>
 
         <!-- 底部扫码输入框 -->
@@ -340,7 +340,7 @@ onUnload(() => {
 }
 
 .add-btn {
-    position: absolute;
+    position: fixed;
     right: 0;
     bottom: 30%;
     z-index: 99;

+ 188 - 170
pages/my/my.vue

@@ -1,177 +1,195 @@
 <template>
-	<view class="settings-page">
-		<!-- 顶部用户信息 -->
-		<view class="user-header">
-			<view class="user-info">
-				<u-avatar :size="60"
-					src="https://img20.360buyimg.com/da/jfs/t1/141592/25/8861/261559/5f68d8c1E33ed78ab/698ad655bfcfbaed.png"></u-avatar>
-
-				<view class="greeting">
-					<text class="time">{{ greeting }}!</text>
-					<text class="name">涨涨涨</text>
-				</view>
-			</view>
-		</view>
-
-		<!-- 设置列表 -->
-		<view class="settings-list">
-			<u-cell-group :border="false">
-				<u-cell v-for="(item, index) in settingsList" :key="index" :title="item.title" :isLink="true"
-					@click="handleClick(item)" :border="index == settingsList.length - 1 ? false : true">
-					<template #icon>
-						<view class="cell-icon">
-							<u-icon :name="item.icon || 'setting'" size="22" color="#333"></u-icon>
-						</view>
-					</template>
-				</u-cell>
-			</u-cell-group>
-		</view>
-	</view>
+    <view class="settings-page">
+        <!-- 顶部用户信息 -->
+        <view class="user-header">
+            <view class="user-info">
+                <u-avatar :size="60" :src="avatar || defaultAvatar"></u-avatar>
+
+                <view class="greeting">
+                    <text class="time">{{ greeting }}!</text>
+                    <text class="name">{{ userName }}</text>
+                </view>
+            </view>
+        </view>
+
+        <!-- 设置列表 -->
+        <view class="settings-list">
+            <u-cell-group :border="false">
+                <u-cell
+                    v-for="(item, index) in settingsList"
+                    :key="index"
+                    :title="item.title"
+                    :isLink="true"
+                    @click="handleClick(item)"
+                    :border="index == settingsList.length - 1 ? false : true"
+                >
+                    <template #icon>
+                        <view class="cell-icon">
+                            <u-icon :name="item.icon || 'setting'" size="22" color="#333"></u-icon>
+                        </view>
+                    </template>
+                </u-cell>
+            </u-cell-group>
+        </view>
+    </view>
 </template>
 
 <script setup>
-	import {
-		ref,
-		onMounted
-	} from 'vue'
-
-	const settingsList = ref([{
-			title: '用户信息',
-			path: '/pages/my/page/user-info',
-		},
-		{
-			title: '默认仓库',
-			path: '/pages/my/page/warehouse',
-		},
-		{
-			title: '学校设置',
-			path: '/pages/my/page/school'
-		},
-		{
-			title: '审核未完成',
-			path: '/pages/my/page/audit-unfinished',
-		},
-		{
-			title: '版本设置',
-			path: '/pages/my/page/version',
-			icon: 'tags'
-		},
-		{
-			title: '音频设置',
-			path: '/pages/my/page/volume',
-		},
-		{
-			title: '图书显示设置',
-			path: '/pages/my/page/book-display',
-		},
-		{
-			title: '修改密码',
-			icon: 'lock',
-			path: '/pages/my/page/password'
-		},
-		{
-			title: '退出账号',
-			path: '/pages/my/page/logout',
-			type: 'logout'
-		}
-	])
-
-	const greeting = ref('')
-
-	const updateGreeting = () => {
-		const hour = new Date().getHours()
-		if (hour >= 5 && hour < 12) {
-			greeting.value = '早上好'
-		} else if (hour >= 12 && hour < 14) {
-			greeting.value = '中午好'
-		} else if (hour >= 14 && hour < 18) {
-			greeting.value = '下午好'
-		} else if (hour >= 18 && hour < 22) {
-			greeting.value = '晚上好'
-		} else {
-			greeting.value = '夜深了'
-		}
-	}
-
-	// 初始化时更新问候语
-	onMounted(() => {
-		updateGreeting()
-		// 可选:每分钟更新一次问候语
-		setInterval(updateGreeting, 60*60*1000)
-	})
-
-	const handleClick = (item) => {
-		if (item.type === 'logout') {
-			uni.showModal({
-				title: '提示',
-				content: '确定要退出登录吗?',
-				success: (res) => {
-					if (res.confirm) {
-						// 执行退出登录逻辑
-						uni.clearStorageSync()
-						uni.reLaunch({
-							url: '/pages/login/login'
-						})
-					}
-				}
-			})
-			return
-		}
-		uni.navigateTo({
-			url: item.path
-		})
-	}
+import { ref, onMounted } from "vue";
+import { onLoad } from "@dcloudio/uni-app";
+
+let defaultAvatar =
+    "https://img20.360buyimg.com/da/jfs/t1/141592/25/8861/261559/5f68d8c1E33ed78ab/698ad655bfcfbaed.png";
+
+const settingsList = ref([
+    {
+        title: "用户信息",
+        path: "/pages/my/page/user-info",
+    },
+    {
+        title: "默认仓库",
+        path: "/pages/my/page/warehouse",
+    },
+    {
+        title: "学校设置",
+        path: "/pages/my/page/school",
+    },
+    {
+        title: "审核未完成",
+        path: "/pages/my/page/audit-unfinished",
+    },
+    {
+        title: "版本设置",
+        path: "/pages/my/page/version",
+        icon: "tags",
+    },
+    {
+        title: "音频设置",
+        path: "/pages/my/page/volume",
+    },
+    {
+        title: "图书显示设置",
+        path: "/pages/my/page/book-display",
+    },
+    {
+        title: "修改密码",
+        icon: "lock",
+        path: "/pages/my/page/password",
+    },
+    {
+        title: "退出账号",
+        path: "/pages/my/page/logout",
+        type: "logout",
+    },
+]);
+
+const greeting = ref("");
+
+const updateGreeting = () => {
+    const hour = new Date().getHours();
+    if (hour >= 5 && hour < 12) {
+        greeting.value = "早上好";
+    } else if (hour >= 12 && hour < 14) {
+        greeting.value = "中午好";
+    } else if (hour >= 14 && hour < 18) {
+        greeting.value = "下午好";
+    } else if (hour >= 18 && hour < 22) {
+        greeting.value = "晚上好";
+    } else {
+        greeting.value = "夜深了";
+    }
+};
+const userName = ref('-');
+const avatar = ref('');
+//获取登录者信息
+function getUserInfo() {
+    uni.$u.http.get("/app/appUser/getUserInfoById").then((res) => {
+        if (res.code == 200) {
+            userName.value = res.data.userName;
+            avatar.value = res.data.avatar;
+        }
+    });
+}
+
+// 初始化时更新问候语
+onLoad(() => {
+    updateGreeting();
+    // 可选:每分钟更新一次问候语
+    setInterval(updateGreeting, 60 * 60 * 1000);
+    getUserInfo();
+});
+
+const handleClick = (item) => {
+    if (item.type === "logout") {
+        uni.showModal({
+            title: "提示",
+            content: "确定要退出登录吗?",
+            success: (res) => {
+                if (res.confirm) {
+                    // 执行退出登录逻辑
+                    uni.clearStorageSync();
+                    uni.reLaunch({
+                        url: "/pages/login/login",
+                    });
+                }
+            },
+        });
+        return;
+    }
+    uni.navigateTo({
+        url: item.path,
+    });
+};
 </script>
 
 <style lang="scss" scoped>
-	.settings-page {
-
-		.user-header {
-			background: #3cb150;
-			padding: 40rpx 32rpx;
-
-			.user-info {
-				display: flex;
-				align-items: center;
-
-				.greeting {
-					display: flex;
-					flex-direction: column;
-					margin-left: 20rpx;
-
-					.time {
-						font-size: 36rpx;
-						color: #FFFFFF;
-						margin-bottom: 8rpx;
-					}
-
-					.name {
-						font-size: 40rpx;
-						color: #FFFFFF;
-						font-weight: 500;
-					}
-				}
-			}
-		}
-
-		:deep(.u-cell) {
-			.u-cell__body {
-				padding: 15px;
-			}
-
-			.u-cell__title-text {
-				font-size: 34rpx;
-			}
-		}
-
-		.settings-list {
-			padding: 20rpx;
-
-			:deep(.u-cell-group) {
-				border-radius: 16rpx;
-				overflow: hidden;
-				background: #FFFFFF;
-			}
-		}
-	}
-</style>
+.settings-page {
+    .user-header {
+        background: #22ac38;
+        padding: 40rpx 32rpx;
+
+        .user-info {
+            display: flex;
+            align-items: center;
+
+            .greeting {
+                display: flex;
+                flex-direction: column;
+                margin-left: 20rpx;
+
+                .time {
+                    font-size: 36rpx;
+                    color: #ffffff;
+                    margin-bottom: 8rpx;
+                }
+
+                .name {
+                    font-size: 40rpx;
+                    color: #ffffff;
+                    font-weight: 500;
+                }
+            }
+        }
+    }
+
+    :deep(.u-cell) {
+        .u-cell__body {
+            padding: 15px;
+        }
+
+        .u-cell__title-text {
+            font-size: 34rpx;
+        }
+    }
+
+    .settings-list {
+        padding: 20rpx;
+
+        :deep(.u-cell-group) {
+            border-radius: 16rpx;
+            overflow: hidden;
+            background: #ffffff;
+        }
+    }
+}
+</style>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 314 - 142
unpackage/dist/dev/app-plus/app-service.js


+ 8 - 130
unpackage/dist/dev/app-plus/pages/index/wms/speedy-check-add.css

@@ -112,135 +112,6 @@ uni-view[data-v-ac70166d], uni-scroll-view[data-v-ac70166d], uni-swiper-item[dat
 /* 垂直间距 */
 /* 透明度 */
 /* 文章场景相关 */
-uni-view[data-v-12f6646d], uni-scroll-view[data-v-12f6646d], uni-swiper-item[data-v-12f6646d] {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-link[data-v-12f6646d] {
-  line-height: 1;
-
-  display: flex;
-
-  flex-direction: row;
-  flex-wrap: wrap;
-  flex: 1;
-}
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
-/**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
-/* 颜色变量 */
-/* 行为相关颜色 */
-/* 文字基本颜色 */
-/* 背景颜色 */
-/* 边框颜色 */
-/* 尺寸变量 */
-/* 文字尺寸 */
-/* 图片尺寸 */
-/* Border Radius */
-/* 水平间距 */
-/* 垂直间距 */
-/* 透明度 */
-/* 文章场景相关 */
-uni-view[data-v-0a574502], uni-scroll-view[data-v-0a574502], uni-swiper-item[data-v-0a574502] {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-text[data-v-0a574502] {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  flex-wrap: nowrap;
-  flex: 1;
-  width: 100%;
-}
-.u-text__price[data-v-0a574502] {
-  font-size: 14px;
-  color: #606266;
-}
-.u-text__value[data-v-0a574502] {
-  font-size: 14px;
-
-  display: flex;
-
-  flex-direction: row;
-  color: #606266;
-  flex-wrap: wrap;
-  text-overflow: ellipsis;
-  align-items: center;
-}
-.u-text__value--primary[data-v-0a574502] {
-  color: #22ac38;
-}
-.u-text__value--warning[data-v-0a574502] {
-  color: #f9ae3d;
-}
-.u-text__value--success[data-v-0a574502] {
-  color: #22ac38;
-}
-.u-text__value--info[data-v-0a574502] {
-  color: #909399;
-}
-.u-text__value--error[data-v-0a574502] {
-  color: #f56c6c;
-}
-.u-text__value--main[data-v-0a574502] {
-  color: #303133;
-}
-.u-text__value--content[data-v-0a574502] {
-  color: #606266;
-}
-.u-text__value--tips[data-v-0a574502] {
-  color: #909193;
-}
-.u-text__value--light[data-v-0a574502] {
-  color: #c0c4cc;
-}
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
-/**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
-/* 颜色变量 */
-/* 行为相关颜色 */
-/* 文字基本颜色 */
-/* 背景颜色 */
-/* 边框颜色 */
-/* 尺寸变量 */
-/* 文字尺寸 */
-/* 图片尺寸 */
-/* Border Radius */
-/* 水平间距 */
-/* 垂直间距 */
-/* 透明度 */
-/* 文章场景相关 */
 .u-status-bar[data-v-eb8e0cdd] {
   width: 100%;
 }
@@ -417,10 +288,17 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
 .location-info[data-v-dabb4347] {
   background-color: #fff;
   padding: 0.625rem;
-  text-align: center;
+  text-align: left;
   font-size: 1rem;
   margin-bottom: 0.5rem;
 }
+.location-info uni-text[data-v-dabb4347] {
+  display: block;
+  margin-bottom: 0.3125rem;
+}
+.location-info uni-text[data-v-dabb4347]:last-child {
+  margin-bottom: 0;
+}
 .product-details[data-v-dabb4347] {
   margin-bottom: 3.125rem;
 }

+ 274 - 130
unpackage/dist/dev/app-plus/pages/index/wms/speedy-check.css

@@ -112,135 +112,6 @@ uni-view[data-v-ac70166d], uni-scroll-view[data-v-ac70166d], uni-swiper-item[dat
 /* 垂直间距 */
 /* 透明度 */
 /* 文章场景相关 */
-uni-view[data-v-12f6646d], uni-scroll-view[data-v-12f6646d], uni-swiper-item[data-v-12f6646d] {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-link[data-v-12f6646d] {
-  line-height: 1;
-
-  display: flex;
-
-  flex-direction: row;
-  flex-wrap: wrap;
-  flex: 1;
-}
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
-/**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
-/* 颜色变量 */
-/* 行为相关颜色 */
-/* 文字基本颜色 */
-/* 背景颜色 */
-/* 边框颜色 */
-/* 尺寸变量 */
-/* 文字尺寸 */
-/* 图片尺寸 */
-/* Border Radius */
-/* 水平间距 */
-/* 垂直间距 */
-/* 透明度 */
-/* 文章场景相关 */
-uni-view[data-v-0a574502], uni-scroll-view[data-v-0a574502], uni-swiper-item[data-v-0a574502] {
-  display: flex;
-  flex-direction: column;
-  flex-shrink: 0;
-  flex-grow: 0;
-  flex-basis: auto;
-  align-items: stretch;
-  align-content: flex-start;
-}
-.u-text[data-v-0a574502] {
-
-  display: flex;
-
-  flex-direction: row;
-  align-items: center;
-  flex-wrap: nowrap;
-  flex: 1;
-  width: 100%;
-}
-.u-text__price[data-v-0a574502] {
-  font-size: 14px;
-  color: #606266;
-}
-.u-text__value[data-v-0a574502] {
-  font-size: 14px;
-
-  display: flex;
-
-  flex-direction: row;
-  color: #606266;
-  flex-wrap: wrap;
-  text-overflow: ellipsis;
-  align-items: center;
-}
-.u-text__value--primary[data-v-0a574502] {
-  color: #22ac38;
-}
-.u-text__value--warning[data-v-0a574502] {
-  color: #f9ae3d;
-}
-.u-text__value--success[data-v-0a574502] {
-  color: #22ac38;
-}
-.u-text__value--info[data-v-0a574502] {
-  color: #909399;
-}
-.u-text__value--error[data-v-0a574502] {
-  color: #f56c6c;
-}
-.u-text__value--main[data-v-0a574502] {
-  color: #303133;
-}
-.u-text__value--content[data-v-0a574502] {
-  color: #606266;
-}
-.u-text__value--tips[data-v-0a574502] {
-  color: #909193;
-}
-.u-text__value--light[data-v-0a574502] {
-  color: #c0c4cc;
-}
-/**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
-/**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
-/* 颜色变量 */
-/* 行为相关颜色 */
-/* 文字基本颜色 */
-/* 背景颜色 */
-/* 边框颜色 */
-/* 尺寸变量 */
-/* 文字尺寸 */
-/* 图片尺寸 */
-/* Border Radius */
-/* 水平间距 */
-/* 垂直间距 */
-/* 透明度 */
-/* 文章场景相关 */
 .u-status-bar[data-v-eb8e0cdd] {
   width: 100%;
 }
@@ -1150,6 +1021,233 @@ uni-view[data-v-91b05052], uni-scroll-view[data-v-91b05052], uni-swiper-item[dat
 /* 垂直间距 */
 /* 透明度 */
 /* 文章场景相关 */
+uni-view[data-v-12f6646d], uni-scroll-view[data-v-12f6646d], uni-swiper-item[data-v-12f6646d] {
+  display: flex;
+  flex-direction: column;
+  flex-shrink: 0;
+  flex-grow: 0;
+  flex-basis: auto;
+  align-items: stretch;
+  align-content: flex-start;
+}
+.u-link[data-v-12f6646d] {
+  line-height: 1;
+
+  display: flex;
+
+  flex-direction: row;
+  flex-wrap: wrap;
+  flex: 1;
+}
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
+uni-view[data-v-0a574502], uni-scroll-view[data-v-0a574502], uni-swiper-item[data-v-0a574502] {
+  display: flex;
+  flex-direction: column;
+  flex-shrink: 0;
+  flex-grow: 0;
+  flex-basis: auto;
+  align-items: stretch;
+  align-content: flex-start;
+}
+.u-text[data-v-0a574502] {
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  flex-wrap: nowrap;
+  flex: 1;
+  width: 100%;
+}
+.u-text__price[data-v-0a574502] {
+  font-size: 14px;
+  color: #606266;
+}
+.u-text__value[data-v-0a574502] {
+  font-size: 14px;
+
+  display: flex;
+
+  flex-direction: row;
+  color: #606266;
+  flex-wrap: wrap;
+  text-overflow: ellipsis;
+  align-items: center;
+}
+.u-text__value--primary[data-v-0a574502] {
+  color: #22ac38;
+}
+.u-text__value--warning[data-v-0a574502] {
+  color: #f9ae3d;
+}
+.u-text__value--success[data-v-0a574502] {
+  color: #22ac38;
+}
+.u-text__value--info[data-v-0a574502] {
+  color: #909399;
+}
+.u-text__value--error[data-v-0a574502] {
+  color: #f56c6c;
+}
+.u-text__value--main[data-v-0a574502] {
+  color: #303133;
+}
+.u-text__value--content[data-v-0a574502] {
+  color: #606266;
+}
+.u-text__value--tips[data-v-0a574502] {
+  color: #909193;
+}
+.u-text__value--light[data-v-0a574502] {
+  color: #c0c4cc;
+}
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
+uni-view[data-v-df79975b], uni-scroll-view[data-v-df79975b], uni-swiper-item[data-v-df79975b] {
+  display: flex;
+  flex-direction: column;
+  flex-shrink: 0;
+  flex-grow: 0;
+  flex-basis: auto;
+  align-items: stretch;
+  align-content: flex-start;
+}
+.u-input[data-v-df79975b] {
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  justify-content: space-between;
+  flex: 1;
+}
+.u-input--radius[data-v-df79975b], .u-input--square[data-v-df79975b] {
+  border-radius: 4px;
+}
+.u-input--no-radius[data-v-df79975b] {
+  border-radius: 0;
+}
+.u-input--circle[data-v-df79975b] {
+  border-radius: 100px;
+}
+.u-input__content[data-v-df79975b] {
+  flex: 1;
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  justify-content: space-between;
+}
+.u-input__content__field-wrapper[data-v-df79975b] {
+  position: relative;
+
+  display: flex;
+
+  flex-direction: row;
+  margin: 0;
+  flex: 1;
+}
+.u-input__content__field-wrapper__field[data-v-df79975b] {
+  line-height: 26px;
+  text-align: left;
+  color: #303133;
+  height: 24px;
+  font-size: 15px;
+  flex: 1;
+}
+.u-input__content__clear[data-v-df79975b] {
+  width: 20px;
+  height: 20px;
+  border-radius: 100px;
+  background-color: #c6c7cb;
+
+  display: flex;
+
+  flex-direction: row;
+  align-items: center;
+  justify-content: center;
+  transform: scale(0.82);
+  margin-left: 4px;
+}
+.u-input__content__subfix-icon[data-v-df79975b] {
+  margin-left: 4px;
+}
+.u-input__content__prefix-icon[data-v-df79975b] {
+  margin-right: 4px;
+}
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
 uni-view[data-v-e082a34a], uni-scroll-view[data-v-e082a34a], uni-swiper-item[data-v-e082a34a] {
   display: flex;
   flex-direction: column;
@@ -1336,9 +1434,55 @@ uni-view[data-v-e082a34a], uni-scroll-view[data-v-e082a34a], uni-swiper-item[dat
   box-shadow: 0 -0.0625rem 0.1875rem rgba(0, 0, 0, 0.1);
 }
 .add-btn[data-v-283ebe02] {
-  position: absolute;
+  position: fixed;
   right: 0;
   bottom: 30%;
   z-index: 99;
   cursor: pointer;
+}
+.location-input-wrapper[data-v-283ebe02] {
+  display: flex;
+  align-items: center;
+  justify-content: flex-end;
+}
+.location-popup[data-v-283ebe02] {
+  background-color: #fff;
+  padding: 0.625rem;
+}
+.location-popup-header[data-v-283ebe02] {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  padding-bottom: 0.75rem;
+  border-bottom: 1px solid #eee;
+  position: relative;
+}
+.location-popup-header uni-text[data-v-283ebe02] {
+  font-size: 1rem;
+  font-weight: 500;
+  flex: 1;
+}
+.location-popup-header .u-button[data-v-283ebe02] {
+  position: absolute;
+  right: 0.625rem;
+}
+.location-popup-content[data-v-283ebe02] {
+  padding: 0.625rem 0;
+  max-height: 18.75rem;
+  overflow-y: auto;
+}
+.location-list[data-v-283ebe02] {
+  margin-top: 0.625rem;
+  max-height: 12.5rem;
+  overflow-y: auto;
+}
+.location-item[data-v-283ebe02] {
+  padding: 0.625rem;
+  border-bottom: 1px solid #eee;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+}
+.location-item--selected[data-v-283ebe02] {
+  color: #19be6b;
 }

+ 2 - 0
unpackage/dist/dev/app-plus/pages/index/wms/task-detail.css

@@ -750,3 +750,5 @@ uni-view[data-v-e082a34a], uni-scroll-view[data-v-e082a34a], uni-swiper-item[dat
     padding: 0.3125rem 0;
     padding-left: 0.9375rem;
 }
+.container[data-v-ca763ad9] {
+}

+ 4 - 4
unpackage/dist/dev/app-plus/pages/my/my.css

@@ -498,7 +498,7 @@ uni-view[data-v-014d39dc], uni-scroll-view[data-v-014d39dc], uni-swiper-item[dat
 /* 透明度 */
 /* 文章场景相关 */
 .settings-page .user-header[data-v-2f1ef635] {
-  background: #3cb150;
+  background: #22ac38;
   padding: 1.25rem 1rem;
 }
 .settings-page .user-header .user-info[data-v-2f1ef635] {
@@ -512,12 +512,12 @@ uni-view[data-v-014d39dc], uni-scroll-view[data-v-014d39dc], uni-swiper-item[dat
 }
 .settings-page .user-header .user-info .greeting .time[data-v-2f1ef635] {
   font-size: 1.125rem;
-  color: #FFFFFF;
+  color: #ffffff;
   margin-bottom: 0.25rem;
 }
 .settings-page .user-header .user-info .greeting .name[data-v-2f1ef635] {
   font-size: 1.25rem;
-  color: #FFFFFF;
+  color: #ffffff;
   font-weight: 500;
 }
 .settings-page[data-v-2f1ef635] .u-cell .u-cell__body {
@@ -532,5 +532,5 @@ uni-view[data-v-014d39dc], uni-scroll-view[data-v-014d39dc], uni-swiper-item[dat
 .settings-page .settings-list[data-v-2f1ef635] .u-cell-group {
   border-radius: 0.5rem;
   overflow: hidden;
-  background: #FFFFFF;
+  background: #ffffff;
 }

+ 241 - 0
unpackage/dist/dev/app-plus/pages/my/page/audit-unfinished.css

@@ -526,6 +526,247 @@ uni-view[data-v-5ce41ee6], uni-scroll-view[data-v-5ce41ee6], uni-swiper-item[dat
   height: 1.875rem;
   font-size: 0.8125rem;
 }
+
+/* 无任何数据的空布局 */
+.mescroll-empty[data-v-7cefd855] {
+	box-sizing: border-box;
+	width: 100%;
+	padding: 3.125rem 1.5625rem;
+	text-align: center;
+}
+.mescroll-empty.empty-fixed[data-v-7cefd855] {
+	z-index: 99;
+	position: absolute; /*transform会使fixed失效,最终会降级为absolute */
+	top: 3.125rem;
+	left: 0;
+}
+.mescroll-empty .empty-icon[data-v-7cefd855] {
+	width: 8.75rem;
+	height: 8.75rem;
+}
+.mescroll-empty .empty-tip[data-v-7cefd855] {
+	margin-top: 0.625rem;
+	height: 1.25rem;
+	font-size: 0.875rem;
+	font-family: PingFangSC;
+	font-weight: 500;
+	color: #666666;
+	line-height: 1.25rem;
+}
+.mescroll-empty .empty-btn[data-v-7cefd855] {
+	display: inline-block;
+	margin-top: 1.25rem;
+	min-width: 6.25rem;
+	padding: 0.5625rem;
+	font-size: 0.875rem;
+	border: 0.03125rem solid #e04b28;
+	border-radius: 1.875rem;
+	color: #e04b28;
+}
+.mescroll-empty .empty-btn[data-v-7cefd855]:active {
+	opacity: 0.75;
+}
+
+
+/* 回到顶部的按钮 */
+.mescroll-totop[data-v-49fff3a8] {
+	z-index: 9990;
+	position: fixed !important; /* 加上important避免编译到H5,在多mescroll中定位失效 */
+	right: 0.625rem;
+	bottom: 3.75rem;
+	width: 2.25rem;
+	height: auto;
+	border-radius: 50%;
+	opacity: 0;
+	transition: opacity 0.5s; /* 过渡 */
+	margin-bottom: var(--window-bottom); /* css变量 */
+}
+
+/* 适配 iPhoneX */
+@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
+.mescroll-totop-safearea[data-v-49fff3a8] {
+		margin-bottom: calc(var(--window-bottom) + constant(safe-area-inset-bottom)); /* window-bottom + 适配 iPhoneX */
+		margin-bottom: calc(var(--window-bottom) + env(safe-area-inset-bottom));
+}
+}
+
+/* 显示 -- 淡入 */
+.mescroll-totop-in[data-v-49fff3a8] {
+	opacity: 1;
+}
+
+/* 隐藏 -- 淡出且不接收事件*/
+.mescroll-totop-out[data-v-49fff3a8] {
+	opacity: 0;
+	pointer-events: none;
+}
+
+.mescroll-uni-warp[data-v-97b1664c] {
+	height: 100%;
+}
+.mescroll-uni-content[data-v-97b1664c] {
+	height: 100%;
+}
+.mescroll-uni[data-v-97b1664c] {
+	position: relative;
+	width: 100%;
+	height: 100%;
+	min-height: 6.25rem;
+	overflow-y: auto;
+	box-sizing: border-box;
+	/* 避免设置padding出现双滚动条的问题 */
+}
+
+/* 定位的方式固定高度 */
+.mescroll-uni-fixed[data-v-97b1664c] {
+	z-index: 1;
+	position: fixed;
+	top: 0;
+	left: 0;
+	right: 0;
+	bottom: 0;
+	width: auto;
+	/* 使right生效 */
+	height: auto;
+	/* 使bottom生效 */
+}
+
+/* 适配 iPhoneX */
+@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
+.mescroll-safearea[data-v-97b1664c] {
+		padding-bottom: constant(safe-area-inset-bottom);
+		padding-bottom: env(safe-area-inset-bottom);
+}
+}
+
+/* 下拉刷新区域 */
+.mescroll-downwarp[data-v-97b1664c] {
+	position: absolute;
+	top: -100%;
+	left: 0;
+	width: 100%;
+	height: 100%;
+	text-align: center;
+}
+
+/* 下拉刷新--内容区,定位于区域底部 */
+.mescroll-downwarp .downwarp-content[data-v-97b1664c] {
+	position: absolute;
+	left: 0;
+	bottom: 0;
+	width: 100%;
+	min-height: 1.875rem;
+	padding: 0.625rem 0;
+	text-align: center;
+}
+
+/* 下拉刷新--提示文本 */
+.mescroll-downwarp .downwarp-tip[data-v-97b1664c] {
+	display: inline-block;
+	font-size: 0.875rem;
+	vertical-align: middle;
+	margin-left: 0.5rem;
+	/* color: gray; 已在style设置color,此处删去*/
+}
+
+/* 下拉刷新--旋转进度条 */
+.mescroll-downwarp .downwarp-progress[data-v-97b1664c] {
+	display: inline-block;
+	width: 1rem;
+	height: 1rem;
+	border-radius: 50%;
+	border: 0.0625rem solid gray;
+	border-bottom-color: transparent !important; /*已在style设置border-color,此处需加 !important*/
+	vertical-align: middle;
+}
+
+/* 旋转动画 */
+.mescroll-downwarp .mescroll-rotate[data-v-97b1664c] {
+	animation: mescrollDownRotate-97b1664c 0.6s linear infinite;
+}
+@keyframes mescrollDownRotate-97b1664c {
+0% {
+		transform: rotate(0deg);
+}
+100% {
+		transform: rotate(360deg);
+}
+}
+
+/* 上拉加载区域 */
+.mescroll-upwarp[data-v-97b1664c] {
+	box-sizing: border-box;
+	min-height: 3.4375rem;
+	padding: 0.9375rem 0;
+	text-align: center;
+	clear: both;
+}
+
+/*提示文本 */
+.mescroll-upwarp .upwarp-tip[data-v-97b1664c],
+.mescroll-upwarp .upwarp-nodata[data-v-97b1664c] {
+	display: inline-block;
+	font-size: 0.875rem;
+	vertical-align: middle;
+	/* color: gray; 已在style设置color,此处删去*/
+}
+.mescroll-upwarp .upwarp-tip[data-v-97b1664c] {
+	margin-left: 0.5rem;
+}
+
+/*旋转进度条 */
+.mescroll-upwarp .upwarp-progress[data-v-97b1664c] {
+	display: inline-block;
+	width: 1rem;
+	height: 1rem;
+	border-radius: 50%;
+	border: 0.0625rem solid gray;
+	border-bottom-color: transparent !important; /*已在style设置border-color,此处需加 !important*/
+	vertical-align: middle;
+}
+
+/* 旋转动画 */
+.mescroll-upwarp .mescroll-rotate[data-v-97b1664c] {
+	animation: mescrollUpRotate-97b1664c 0.6s linear infinite;
+}
+@keyframes mescrollUpRotate-97b1664c {
+0% {
+		transform: rotate(0deg);
+}
+100% {
+		transform: rotate(360deg);
+}
+}
+
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
+.item[data-v-30bc23e1] {
+  line-height: 4.6875rem;
+  border-bottom: 1px solid #ccc;
+}
 /**
  * 这里是uni-app内置的常用样式变量
  *

BIN
unpackage/dist/dev/app-plus/static/img/location-active.png


BIN
unpackage/dist/dev/app-plus/static/img/location.png


BIN
unpackage/dist/dev/app-plus/static/img/share.png


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott