jinx hai 1 mes
pai
achega
d61a066a78

+ 1 - 1
src/views/mobile/MresourceDetailView.vue

@@ -199,7 +199,7 @@ const detailMetaList = computed(() => {
   const baseList = [
     { label: "责任者:", value: info.value.create_by || "" },
     { label: "出版社:", value: info.value.chubanshe || "" },
-    { label: "出版年份:", value: info.value.create_time || "" },
+    { label: "出版年份:", value: info.value.chubanriqi || "" },
   ];
 
   const dictList = getDictName(info.value.dictName || {}).map((item) => ({

+ 3 - 9
src/views/pc/MineView.vue

@@ -211,7 +211,7 @@ const normalizeCollectItem = (item, index) => ({
   formDataId: getFirstValue(item, ["formDataId", "form_data_id", "id"], index),
   title: getFirstValue(item, ["name", "title"], ""),
   author: getFirstValue(item, ["create_by", "author"], ""),
-  cover: item?.thumb ? getThumb(item.thumb) : '',
+  cover: item?.thumb ? getThumb(item.thumb) : "",
 });
 
 const normalizeHistoryItem = (item, index) => ({
@@ -220,12 +220,8 @@ const normalizeHistoryItem = (item, index) => ({
   formDefId: getFirstValue(item, ["formDefId", "form_def_id", "defId"], ""),
   formDataId: getFirstValue(item, ["formDataId", "form_data_id", "id"], index),
   title: getFirstValue(item, ["name", "title"], ""),
-  date: getFirstValue(
-    item,
-    ["create_time", "update_time", "visitTime", "readTime"],
-    "",
-  ),
-  cover: item?.thumb ? getThumb(item.thumb) : '',
+  date: getFirstValue(item, ["updateTime"], ""),
+  cover: item?.thumb ? getThumb(item.thumb) : "",
 });
 
 const getReadType = (item) => {
@@ -388,8 +384,6 @@ const goDetail = (item) => {
   }
 };
 
-
-
 const handleLogout = () => {
   logout().then((res) => {
     if (res.code == 0) {

+ 1 - 1
src/views/pc/ResourceDetailView.vue

@@ -39,7 +39,7 @@
           </div>
           <div class="meta-item">
             <span class="meta-label">出版年份:</span>
-            <span class="meta-value">{{ info.create_time }}</span>
+            <span class="meta-value">{{ info.chubanriqi }}</span>
           </div>
 
           <div class="meta-item" v-for="i in getDictName(info.dictName)">