Browse Source

添加页面及修改

yangg 1 tháng trước cách đây
mục cha
commit
ec8ead4be8

+ 7 - 0
pages.json

@@ -120,6 +120,13 @@
 			"style": {
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path" : "pages/uploadResume/uploadResume",
+			"style" : 
+			{
+				"navigationBarTitleText" : ""
+			}
 		}
 	],
 	

+ 100 - 32
pages/identity-verify/identity-verify.vue

@@ -121,9 +121,17 @@
 
     <!-- 添加录制指示器 -->
     <div class="recording-indicator" v-if="isRecording">
-      <div class="recording-dot"></div>
-		<span class="recording-text">正在录制...</span>
-	    <span class="timer-text">{{ recordingTimeDisplay || '00:00 / 05:00' }}</span>
+      <!-- 替换原有的progress组件为自定义环形进度条 -->
+      <div class="circle-progress-container">
+        <div class="circle-progress" :style="{ 
+          background: `conic-gradient(${progressColor} ${progressPercent}%, ${progressBgColor} 0%)` 
+        }">
+          <div class="circle-progress-inner">
+            <span class="progress-text">{{ recordingTimeDisplay }}</span><!--  -->
+          </div>
+        </div>
+      </div>
+     <!--  <span class="timer-text">{{ recordingTimeDisplay || '00:00 / 05:00' }}</span> -->
     </div>
 
     <!-- 添加开始回答按钮 -->
@@ -264,6 +272,9 @@ export default {
       lastFollowUpQuestionId: null,
       lastUpdateTime: Date.now(), // 添加最后更新时间戳
       subtitleMap: {}, // 用于存储字幕和翻译的映射
+      progressPercent: 0, // 录制进度百分比
+      progressColor: '#05dc8b', // 进度条颜色
+      progressBgColor: 'rgba(0, 0, 0,0.3)', // 进度条背景色
     }
   },
   mounted() {
@@ -1022,8 +1033,11 @@ export default {
         this.remainingTime = Math.max(0, this.maxRecordingTime - this.recordingTimerCount);
         
         // 更新UI显示录制时长和剩余时间
-        this.recordingTimeDisplay = this.formatTime(this.recordingTimerCount) + 
-                                   ' / ' + this.formatTime(this.maxRecordingTime);
+        this.recordingTimeDisplay = this.formatTime(this.recordingTimerCount)/*  + 
+                                   ' / ' + this.formatTime(this.maxRecordingTime) */;
+        
+        // 更新进度百分比 - 确保值在0-100之间
+        this.progressPercent = (this.recordingTimerCount / this.maxRecordingTime) * 100;
         
         // 检查是否达到最大录制时间
         if (this.recordingTimerCount >= this.maxRecordingTime) {
@@ -2943,7 +2957,7 @@ export default {
       
       // 重置录制时间显示
       this.recordingTimerCount = 0;
-      this.recordingTimeDisplay = '00:00 / 05:00';
+      this.recordingTimeDisplay = '00:00 ';/* / 05:00 */
       this.remainingTime = this.maxRecordingTime;
       
       // 如果是浏览器环境,停止MediaRecorder
@@ -3203,6 +3217,37 @@ export default {
         }
       });
     },
+  },
+  computed: {
+    // 计算进度比例
+    progressRatio() {
+      return this.recordingTimerCount / this.maxRecordingTime;
+    },
+    // 右半圆旋转角度
+    half1Turn() {
+      // 初始状态为0度,小于50%时,右半圆按比例旋转
+      if (this.progressRatio <= 0.5) {
+        return this.progressRatio * 2 * 180;
+      } else {
+        // 大于50%时,右半圆固定在180度
+        return 180;
+      }
+    },
+    // 左半圆旋转角度
+    half2Turn() {
+      // 小于50%时,左半圆固定在0度
+      if (this.progressRatio <= 0.5) {
+        return 0;
+      } else {
+        // 大于50%时,左半圆按超出50%的比例旋转
+        return (this.progressRatio - 0.5) * 2 * 180;
+      }
+    },
+    // 修改进度百分比的计算方式
+    progressPercent() {
+      // 将时间进度转换为百分比(0-100)
+      return Math.min(Math.round((this.recordingTimerCount / this.maxRecordingTime) * 100), 100);
+    }
   }
 }
 </script>
@@ -3428,8 +3473,8 @@ video::-webkit-media-controls-fullscreen-button {
   width: 120px;
   height: 40px; /* 改为矩形按钮 */
   border-radius: 20px; /* 圆角矩形 */
-  background-color: #e74c3c; /* 白色背景 */
-  color: #333; /* 深色文字 */
+  background-color: #002fff; /* 白色背景 */
+  color: #fff;/* 深色文字 */
   font-size: 16px;
   border: none;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
@@ -3441,36 +3486,23 @@ video::-webkit-media-controls-fullscreen-button {
 }
 
 .recording-indicator {
-  position: absolute;
-  top: 20px;
-  left: 20px;
+  position: fixed;
+  bottom: 20px;
+  left: 17%;
+  transform: translateX(-50%);
   display: flex;
+  flex-direction: column;
   align-items: center;
-  background-color: rgba(255, 255, 255, 0.9); /* 改为白色半透明背景 */
-  padding: 5px 10px;
-  border-radius: 15px;
-  z-index: 20;
-  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
-}
-
-.recording-dot {
-  width: 12px;
-  height: 12px;
-  background-color: #ff6b00; /* 改为橙色,与图片中的颜色一致 */
-  border-radius: 50%;
-  margin-right: 8px;
-  animation: blink 1s infinite;
-}
-
-.recording-text {
-  color: #333; /* 改为深色文字 */
-  font-size: 14px;
+ /*  background-color: rgba(0, 0, 0, 0.6); */
+  padding: 10px 15px;
+  border-radius: 10px;
+  z-index: 100;
 }
 
 .timer-text {
-  color: #333; /* 改为深色文字 */
+  color: #05dc8b;
   font-size: 14px;
-  margin-left: 8px;
+  margin-top: 5px;
 }
 
 .start-recording-button-container {
@@ -3690,4 +3722,40 @@ video::-webkit-media-controls-fullscreen-button {
   /* ... 现有样式 ... */
   z-index: 20; /* 确保录制指示器在蒙层之上 */
 }
+
+/* 环形进度条样式 */
+.circle-progress-container {
+  width: 60px;
+  height: 60px;
+  position: relative;
+  margin: 0 auto 10px;
+}
+
+.circle-progress {
+  width: 100%;
+  height: 100%;
+  border-radius: 50%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  position: relative;
+  transform: rotate(-90deg); /* 从顶部开始进度 */
+}
+
+.circle-progress-inner {
+  width: 80%;
+  height: 80%;
+  background-color: rgba(255, 255, 255);
+  border-radius: 50%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  transform: rotate(90deg); /* 修正文本方向 */
+}
+
+.progress-text {
+  font-size: 14px;
+  font-weight: bold;
+   color: #05dc8b;
+}
 </style>

+ 181 - 0
pages/uploadResume/uploadResume.vue

@@ -0,0 +1,181 @@
+<template>
+	<view class="upload-container">
+		<!-- 顶部插图区域 -->
+		<view class="header-notice">
+		<image style="width: 30rpx;height: 30rpx;" src="https://data.qicai321.com/minlong/57d03f34-47de-43fe-8730-b764ed8bdda2.png" mode="aspectFit"></image>请上传简历文件,格式支持pdf及doc格式
+		</view>
+		<view class="illustration">
+			<image class="img" src="https://data.qicai321.com/minlong/09d4daa6-6507-4133-81ff-68e47b0259e5.png" mode="aspectFit"></image>
+		</view>
+		
+		<!-- 上传按钮 -->
+		<button class="upload-btn" @click="chooseFile">
+			选择并上传文件
+		</button>
+		
+		<!-- 使用说明区域 -->
+		<view class="instructions">
+			<view class="title">使用说明及注意事项</view>
+			<view class="instruction-list">
+				<view class="instruction-item">1. 点击【选择并上传文件】按钮,上传简历;</view>
+				<view class="instruction-item">2. 请在本地选择简历文件,文件小于30mb;</view>
+				<view class="instruction-item">3. 支持pdf及doc格式。</view>
+			</view>
+			
+			<!-- 隐私提示 -->
+			<view class="privacy-notice">
+				* 我们将对您的隐私保护,所内容仅用于评估岗位的匹配度。
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				fileType: ['pdf', 'doc', 'docx'],
+				maxSize: 30 * 1024 * 1024 // 30MB in bytes
+			}
+		},
+		methods: {
+			chooseFile() {
+				// #ifdef H5
+				uni.chooseFile({
+					count: 1,
+					type: 'file',
+					extension: this.fileType,
+					success: (res) => {
+						if (res.tempFiles[0].size > this.maxSize) {
+							uni.showToast({
+								title: '文件大小不能超过30MB',
+								icon: 'none'
+							})
+							return
+						}
+						this.uploadFile(res.tempFiles[0])
+					}
+				})
+				// #endif
+				
+				// #ifdef APP-PLUS || MP
+				uni.chooseMessageFile({
+					count: 1,
+					type: 'file',
+					extension: this.fileType,
+					success: (res) => {
+						if (res.tempFiles[0].size > this.maxSize) {
+							uni.showToast({
+								title: '文件大小不能超过30MB',
+								icon: 'none'
+							})
+							return
+						}
+						this.uploadFile(res.tempFiles[0])
+					}
+				})
+				// #endif
+			},
+			
+			uploadFile(file) {
+				uni.showLoading({
+					title: '上传中...'
+				})
+				
+				// 这里替换为实际的上传接口
+				uni.uploadFile({
+					url: 'YOUR_UPLOAD_API_URL',
+					filePath: file.path,
+					name: 'file',
+					success: (res) => {
+						uni.showToast({
+							title: '上传成功',
+							icon: 'success'
+						})
+					},
+					fail: (err) => {
+						uni.showToast({
+							title: '上传失败',
+							icon: 'none'
+						})
+					},
+					complete: () => {
+						uni.hideLoading()
+					}
+				})
+			}
+		}
+	}
+</script>
+
+<style lang="scss">
+.upload-container {
+	padding: 30rpx;
+	background-color: #f5f6fa;
+	min-height: 100vh;
+	.header-notice{
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		text-align: center;
+		font-size: 24rpx;
+		color: #999;
+		line-height: 1.5;
+	}
+	
+	.illustration {
+		text-align: center;
+		margin: 40rpx auto;
+		padding: 20rpx;
+		
+		border-radius: 12rpx;
+		
+		image {
+			width: 650rpx;
+			height: 550rpx;
+		}
+	}
+	
+	.upload-btn {
+		width: 90%;
+		height: 88rpx;
+		line-height: 88rpx;
+		background-color: #2b4acb;
+		color: #ffffff;
+		border-radius: 8rpx;
+		font-size: 32rpx;
+		margin: 60rpx auto;
+		text-align: center;
+		
+		&::after {
+			border: none;
+		}
+	}
+	
+	.instructions {
+		padding: 0 30rpx;
+		
+		.title {
+			font-size: 28rpx;
+			color: #333;
+			margin-bottom: 30rpx;
+		}
+		
+		.instruction-list {
+			.instruction-item {
+				font-size: 26rpx;
+				color: #666;
+				line-height: 44rpx;
+				margin-bottom: 20rpx;
+			}
+		}
+		
+		.privacy-notice {
+			margin-top: 40rpx;
+			font-size: 24rpx;
+			color: #999;
+			line-height: 1.5;
+		}
+	}
+}
+</style>

+ 1 - 0
unpackage/dist/dev/mp-weixin/app.js

@@ -21,6 +21,7 @@ if (!Math) {
   "./pages/Personal/Personal.js";
   "./pages/job-detail/job-detail.js";
   "./pages/followUp/followUp.js";
+  "./pages/uploadResume/uploadResume.js";
 }
 const _sfc_main = {
   onLaunch: function() {

+ 2 - 1
unpackage/dist/dev/mp-weixin/app.json

@@ -17,7 +17,8 @@
     "pages/test/test",
     "pages/Personal/Personal",
     "pages/job-detail/job-detail",
-    "pages/followUp/followUp"
+    "pages/followUp/followUp",
+    "pages/uploadResume/uploadResume"
   ],
   "window": {
     "navigationBarTextStyle": "black",

+ 46 - 12
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.js

@@ -131,8 +131,14 @@ const _sfc_main = {
       lastFollowUpQuestionId: null,
       lastUpdateTime: Date.now(),
       // 添加最后更新时间戳
-      subtitleMap: {}
+      subtitleMap: {},
       // 用于存储字幕和翻译的映射
+      progressPercent: 0,
+      // 录制进度百分比
+      progressColor: "#05dc8b",
+      // 进度条颜色
+      progressBgColor: "rgba(0, 0, 0,0.3)"
+      // 进度条背景色
     };
   },
   mounted() {
@@ -667,7 +673,8 @@ const _sfc_main = {
       this.recordingTimer = setInterval(() => {
         this.recordingTimerCount++;
         this.remainingTime = Math.max(0, this.maxRecordingTime - this.recordingTimerCount);
-        this.recordingTimeDisplay = this.formatTime(this.recordingTimerCount) + " / " + this.formatTime(this.maxRecordingTime);
+        this.recordingTimeDisplay = this.formatTime(this.recordingTimerCount);
+        this.progressPercent = this.recordingTimerCount / this.maxRecordingTime * 100;
         if (this.recordingTimerCount >= this.maxRecordingTime) {
           console.log("已达到最大录制时间(5分钟),自动停止录制");
           this.stopRecordingAnswer();
@@ -2043,7 +2050,7 @@ const _sfc_main = {
         this.recordingTimer = null;
       }
       this.recordingTimerCount = 0;
-      this.recordingTimeDisplay = "00:00 / 05:00";
+      this.recordingTimeDisplay = "00:00 ";
       this.remainingTime = this.maxRecordingTime;
       if (this.mediaRecorder && this.mediaRecorder.state !== "inactive") {
         this.mediaRecorder.stop();
@@ -2222,6 +2229,32 @@ const _sfc_main = {
         }
       });
     }
+  },
+  computed: {
+    // 计算进度比例
+    progressRatio() {
+      return this.recordingTimerCount / this.maxRecordingTime;
+    },
+    // 右半圆旋转角度
+    half1Turn() {
+      if (this.progressRatio <= 0.5) {
+        return this.progressRatio * 2 * 180;
+      } else {
+        return 180;
+      }
+    },
+    // 左半圆旋转角度
+    half2Turn() {
+      if (this.progressRatio <= 0.5) {
+        return 0;
+      } else {
+        return (this.progressRatio - 0.5) * 2 * 180;
+      }
+    },
+    // 修改进度百分比的计算方式
+    progressPercent() {
+      return Math.min(Math.round(this.recordingTimerCount / this.maxRecordingTime * 100), 100);
+    }
   }
 };
 function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -2276,23 +2309,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
   } : {}, {
     w: $data.isRecording
   }, $data.isRecording ? {
-    x: common_vendor.t($data.recordingTimeDisplay || "00:00 / 05:00")
+    x: common_vendor.t($data.recordingTimeDisplay),
+    y: `conic-gradient(${$data.progressColor} ${$options.progressPercent}%, ${$data.progressBgColor} 0%)`
   } : {}, {
-    y: $data.showStartRecordingButton
+    z: $data.showStartRecordingButton
   }, $data.showStartRecordingButton ? {
-    z: common_vendor.o((...args) => $options.handleStartRecordingClick && $options.handleStartRecordingClick(...args))
+    A: common_vendor.o((...args) => $options.handleStartRecordingClick && $options.handleStartRecordingClick(...args))
   } : {}, {
-    A: $data.showRetryButton
+    B: $data.showRetryButton
   }, $data.showRetryButton ? {
-    B: common_vendor.o((...args) => $options.retryVideoUpload && $options.retryVideoUpload(...args))
+    C: common_vendor.o((...args) => $options.retryVideoUpload && $options.retryVideoUpload(...args))
   } : {}, {
-    C: $data.showCountdown
+    D: $data.showCountdown
   }, $data.showCountdown ? {
-    D: common_vendor.t($data.countdownValue)
+    E: common_vendor.t($data.countdownValue)
   } : {}, {
-    E: $data.showRerecordButton
+    F: $data.showRerecordButton
   }, $data.showRerecordButton ? {
-    F: common_vendor.o((...args) => $options.handleRerecordButtonClick && $options.handleRerecordButtonClick(...args))
+    G: common_vendor.o((...args) => $options.handleRerecordButtonClick && $options.handleRerecordButtonClick(...args))
   } : {});
 }
 const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-464e78c6"]]);

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.wxml


+ 46 - 24
unpackage/dist/dev/mp-weixin/pages/identity-verify/identity-verify.wxss

@@ -195,8 +195,8 @@ video.data-v-464e78c6::-webkit-media-controls-fullscreen-button {
   width: 120px;
   height: 40px; /* 改为矩形按钮 */
   border-radius: 20px; /* 圆角矩形 */
-  background-color: #e74c3c; /* 白色背景 */
-  color: #333; /* 深色文字 */
+  background-color: #002fff; /* 白色背景 */
+  color: #fff;/* 深色文字 */
   font-size: 16px;
   border: none;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
@@ -207,33 +207,22 @@ video.data-v-464e78c6::-webkit-media-controls-fullscreen-button {
   animation: none; /* 移除脉动动画 */
 }
 .recording-indicator.data-v-464e78c6 {
-  position: absolute;
-  top: 20px;
-  left: 20px;
+  position: fixed;
+  bottom: 20px;
+  left: 17%;
+  transform: translateX(-50%);
   display: flex;
+  flex-direction: column;
   align-items: center;
-  background-color: rgba(255, 255, 255, 0.9); /* 改为白色半透明背景 */
-  padding: 5px 10px;
-  border-radius: 15px;
-  z-index: 20;
-  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
-}
-.recording-dot.data-v-464e78c6 {
-  width: 12px;
-  height: 12px;
-  background-color: #ff6b00; /* 改为橙色,与图片中的颜色一致 */
-  border-radius: 50%;
-  margin-right: 8px;
-  animation: blink 1s infinite;
-}
-.recording-text.data-v-464e78c6 {
-  color: #333; /* 改为深色文字 */
-  font-size: 14px;
+ /*  background-color: rgba(0, 0, 0, 0.6); */
+  padding: 10px 15px;
+  border-radius: 10px;
+  z-index: 100;
 }
 .timer-text.data-v-464e78c6 {
-  color: #333; /* 改为深色文字 */
+  color: #05dc8b;
   font-size: 14px;
-  margin-left: 8px;
+  margin-top: 5px;
 }
 .start-recording-button-container.data-v-464e78c6 {
   position: absolute;
@@ -434,3 +423,36 @@ video.data-v-464e78c6::-webkit-media-controls-fullscreen-button {
   /* ... 现有样式 ... */
   z-index: 20; /* 确保录制指示器在蒙层之上 */
 }
+
+/* 环形进度条样式 */
+.circle-progress-container.data-v-464e78c6 {
+  width: 60px;
+  height: 60px;
+  position: relative;
+  margin: 0 auto 10px;
+}
+.circle-progress.data-v-464e78c6 {
+  width: 100%;
+  height: 100%;
+  border-radius: 50%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  position: relative;
+  transform: rotate(-90deg); /* 从顶部开始进度 */
+}
+.circle-progress-inner.data-v-464e78c6 {
+  width: 80%;
+  height: 80%;
+  background-color: rgba(255, 255, 255);
+  border-radius: 50%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  transform: rotate(90deg); /* 修正文本方向 */
+}
+.progress-text.data-v-464e78c6 {
+  font-size: 14px;
+  font-weight: bold;
+   color: #05dc8b;
+}

+ 62 - 0
unpackage/dist/dev/mp-weixin/pages/uploadResume/uploadResume.js

@@ -0,0 +1,62 @@
+"use strict";
+const common_vendor = require("../../common/vendor.js");
+const _sfc_main = {
+  data() {
+    return {
+      fileType: ["pdf", "doc", "docx"],
+      maxSize: 30 * 1024 * 1024
+      // 30MB in bytes
+    };
+  },
+  methods: {
+    chooseFile() {
+      common_vendor.index.chooseMessageFile({
+        count: 1,
+        type: "file",
+        extension: this.fileType,
+        success: (res) => {
+          if (res.tempFiles[0].size > this.maxSize) {
+            common_vendor.index.showToast({
+              title: "文件大小不能超过30MB",
+              icon: "none"
+            });
+            return;
+          }
+          this.uploadFile(res.tempFiles[0]);
+        }
+      });
+    },
+    uploadFile(file) {
+      common_vendor.index.showLoading({
+        title: "上传中..."
+      });
+      common_vendor.index.uploadFile({
+        url: "YOUR_UPLOAD_API_URL",
+        filePath: file.path,
+        name: "file",
+        success: (res) => {
+          common_vendor.index.showToast({
+            title: "上传成功",
+            icon: "success"
+          });
+        },
+        fail: (err) => {
+          common_vendor.index.showToast({
+            title: "上传失败",
+            icon: "none"
+          });
+        },
+        complete: () => {
+          common_vendor.index.hideLoading();
+        }
+      });
+    }
+  }
+};
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+  return {
+    a: common_vendor.o((...args) => $options.chooseFile && $options.chooseFile(...args))
+  };
+}
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
+wx.createPage(MiniProgramPage);

+ 4 - 0
unpackage/dist/dev/mp-weixin/pages/uploadResume/uploadResume.json

@@ -0,0 +1,4 @@
+{
+  "navigationBarTitleText": "",
+  "usingComponents": {}
+}

+ 1 - 0
unpackage/dist/dev/mp-weixin/pages/uploadResume/uploadResume.wxml

@@ -0,0 +1 @@
+<view class="upload-container"><view class="header-notice"><image style="width:30rpx;height:30rpx" src="https://data.qicai321.com/minlong/57d03f34-47de-43fe-8730-b764ed8bdda2.png" mode="aspectFit"></image>请上传简历文件,格式支持pdf及doc格式 </view><view class="illustration"><image class="img" src="https://data.qicai321.com/minlong/09d4daa6-6507-4133-81ff-68e47b0259e5.png" mode="aspectFit"></image></view><button class="upload-btn" bindtap="{{a}}"> 选择并上传文件 </button><view class="instructions"><view class="title">使用说明及注意事项</view><view class="instruction-list"><view class="instruction-item">1. 点击【选择并上传文件】按钮,上传简历;</view><view class="instruction-item">2. 请在本地选择简历文件,文件小于30mb;</view><view class="instruction-item">3. 支持pdf及doc格式。</view></view><view class="privacy-notice"> * 我们将对您的隐私保护,所内容仅用于评估岗位的匹配度。 </view></view></view>

+ 83 - 0
unpackage/dist/dev/mp-weixin/pages/uploadResume/uploadResume.wxss

@@ -0,0 +1,83 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
+.upload-container {
+  padding: 30rpx;
+  background-color: #f5f6fa;
+  min-height: 100vh;
+}
+.upload-container .header-notice {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  text-align: center;
+  font-size: 24rpx;
+  color: #999;
+  line-height: 1.5;
+}
+.upload-container .illustration {
+  text-align: center;
+  margin: 40rpx auto;
+  padding: 20rpx;
+  border-radius: 12rpx;
+}
+.upload-container .illustration image {
+  width: 650rpx;
+  height: 550rpx;
+}
+.upload-container .upload-btn {
+  width: 90%;
+  height: 88rpx;
+  line-height: 88rpx;
+  background-color: #2b4acb;
+  color: #ffffff;
+  border-radius: 8rpx;
+  font-size: 32rpx;
+  margin: 60rpx auto;
+  text-align: center;
+}
+.upload-container .upload-btn::after {
+  border: none;
+}
+.upload-container .instructions {
+  padding: 0 30rpx;
+}
+.upload-container .instructions .title {
+  font-size: 28rpx;
+  color: #333;
+  margin-bottom: 30rpx;
+}
+.upload-container .instructions .instruction-list .instruction-item {
+  font-size: 26rpx;
+  color: #666;
+  line-height: 44rpx;
+  margin-bottom: 20rpx;
+}
+.upload-container .instructions .privacy-notice {
+  margin-top: 40rpx;
+  font-size: 24rpx;
+  color: #999;
+  line-height: 1.5;
+}

+ 1 - 1
unpackage/dist/dev/mp-weixin/project.config.json

@@ -8,7 +8,7 @@
     "urlCheck": false,
     "es6": true,
     "postcss": false,
-    "minified": true,
+    "minified": false,
     "newFeature": true,
     "bigPackageSizeSupport": true,
     "babelSetting": {

+ 7 - 0
unpackage/dist/dev/mp-weixin/project.private.config.json

@@ -7,6 +7,13 @@
   "condition": {
     "miniprogram": {
       "list": [
+        {
+          "name": "pages/uploadResume/uploadResume",
+          "pathName": "pages/uploadResume/uploadResume",
+          "query": "",
+          "launchMode": "default",
+          "scene": null
+        },
         {
           "name": "pages/followUp/followUp",
           "pathName": "pages/followUp/followUp",

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác