瀏覽代碼

no message

xiaoxin 1 年之前
父節點
當前提交
afa87a3993

+ 1 - 0
pages/index/index.vue

@@ -20,6 +20,7 @@ const ocode = '1015730314'
 // 6:新闻聚焦
 // 7:校友通讯录
 // 8:审批管理
+// 9:心链计划
 const pageValue = ref()
 
 // 线上地址

+ 4 - 5
pages/plan/plan.vue

@@ -2,7 +2,7 @@
 	<view class="plan">
 		<!-- 每一个权益区域 -->
 		<view class="box" v-for="item in dataList" :key="item.id" @click="goDetail(item)">
-			<image class="box_img" :src="item.coverImage" mode="aspectFill"></image>
+			<image class="box_img" :src="item.coverImage" mode="widthFix"></image>
 		</view>
 
 		<!-- 没有数据时展示的页面 -->
@@ -70,13 +70,12 @@ const goDetail = (item) => {
 
 	.box {
 		margin-bottom: 20rpx;
-		height: 260rpx;
-		box-shadow: 0 0 10rpx #d3d3d3;
+		// height: 260rpx;
+		// box-shadow: 0 0 10rpx #d3d3d3;
 
 		.box_img {
 			width: 100%;
-			height: 100%;
 		}
 	}
 }
-</style>
+</style>

+ 6 - 1
pages/planDetail/planDetail.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="detail">
 		<view class="box">
-			<uv-parse :content="info.content"></uv-parse>
+			<uv-parse :content="info.content" :tagStyle="tagStyle"></uv-parse>
 		</view>
 	</view>
 </template>
@@ -13,6 +13,11 @@ import { ref } from 'vue'
 // 详细信息
 const info = ref()
 
+const tagStyle = ref({
+	img: 'width: 100%;height:auto',
+	image: 'width: 100%;height:auto'
+})
+
 onLoad((options) => {
 	if (options.info) {
 		info.value = JSON.parse(decodeURIComponent(options.info))

+ 1 - 1
unpackage/dist/build/web/index.html

@@ -14,7 +14,7 @@
     <title>H5_schoolFellow</title>
     <!--preload-links-->
     <!--app-context-->
-    <script type="module" crossorigin src="/alumnus/alumniH5/assets/index-Dx80QRKW.js"></script>
+    <script type="module" crossorigin src="/alumnus/alumniH5/assets/index-B2sj7d2n.js"></script>
     <link rel="stylesheet" crossorigin href="/alumnus/alumniH5/assets/index-DKUHF3PI.css">
   </head>
   <body>

+ 4 - 11
unpackage/dist/cache/.vite/deps/_metadata.json

@@ -1,15 +1,8 @@
 {
-  "hash": "424e8c71",
-  "configHash": "d2198ba6",
+  "hash": "49490fee",
+  "configHash": "a5ee4755",
   "lockfileHash": "e9149135",
-  "browserHash": "27801f87",
-  "optimized": {
-    "dayjs": {
-      "src": "../../../../../node_modules/dayjs/dayjs.min.js",
-      "file": "dayjs.js",
-      "fileHash": "468a49dc",
-      "needsInterop": true
-    }
-  },
+  "browserHash": "dcdb1f11",
+  "optimized": {},
   "chunks": {}
 }

File diff suppressed because it is too large
+ 0 - 300
unpackage/dist/cache/.vite/deps/dayjs.js


File diff suppressed because it is too large
+ 0 - 7
unpackage/dist/cache/.vite/deps/dayjs.js.map