diff --git a/src/components/picture-upload/picture-upload.vue b/src/components/picture-upload/picture-upload.vue
index 2e226b39..ee23a749 100644
--- a/src/components/picture-upload/picture-upload.vue
+++ b/src/components/picture-upload/picture-upload.vue
@@ -1,67 +1,196 @@
-
-
-
-
-
- +
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
+ // 方法
+ const upload = () => {
+ uni.chooseImage({
+ count: props.limit,
+ sizeType: ['original', 'compressed'],
+ sourceType: ['camera', 'album'],
+ success: async ({
+ tempFilePaths
+ }) => {
+ const data = {
+ bizScen: 'S3005'
+ }
+ const upload_map = tempFilePaths.map((file) => uploadFile(file, data))
+ Promise.all(upload_map).then(res => {
+ fileList.push(...res)
+ emits('update:modelValue', fileList.map(res => res.fileId))
+ console.log('res, res', res);
+ }).catch(() => {
+
+ })
+
+ // for (file of tempFilePaths) {
+ // try {
+ // const res = await uploadFile(file, data)
+ // console.log('res', res);
+ // fileList.push(res)
+ // } catch (error) {
+ // console.error('文件上传失败', error)
+ // }
+ // }
+ // emits('upload_success', fileList.value)
+ }
+ })
+ }
+
+
\ No newline at end of file
diff --git a/src/pages/courseDetail/components/comment.vue b/src/pages/courseDetail/components/comment.vue
index bf4a901e..ff16c150 100644
--- a/src/pages/courseDetail/components/comment.vue
+++ b/src/pages/courseDetail/components/comment.vue
@@ -15,8 +15,9 @@
{{item.bbsContent}}
-
-
+ azf
+
+
{{item.bbsTm.substr(0,16)}}
@@ -74,7 +75,7 @@
发布评价
+ @click="common.navigateTo('/pages/courseDetail/submit?crsNum='+props.crsNum+'&imgId='+props.imgId)">发布评价
@@ -124,7 +125,8 @@
})
const props = defineProps({
- crsNum: String
+ crsNum: String,
+ imgId: String
})
const click_reply = ({
userName,
@@ -171,6 +173,24 @@