408249787@qq.com 1 주 전
부모
커밋
3cbe1f3225
2개의 변경된 파일12개의 추가작업 그리고 6개의 파일을 삭제
  1. 10 4
      pages/programming/code.uvue
  2. 2 2
      pages/programming/progress.uvue

+ 10 - 4
pages/programming/code.uvue

@@ -47,10 +47,16 @@ onMounted(async () => {
             </view>
             <scroll-view class="codeImage" v-else :show-scrollbar="false">
                 <cl-row :gutter="12">
-                    <cl-col :span="8" v-for="item in codeImage" :key="item">
-                        <cl-image showMenuByLongpress lazy-load preview :src="item" mode="scaleToFill"
-                            class="!w-full !h-[40vh] mb-[12px] rounded-xl">
-                        </cl-image>
+                    <cl-col :span="8" v-for="(item, i) in codeImage" :key="i">
+                        <view class="flex flex-col items-center w-full mb-[12rpx]">
+                            <cl-text color="#fff" :size="14">
+                                {{ i + 1 }}、 参考代码(点击可放大)
+                            </cl-text>
+                            <cl-image showMenuByLongpress lazy-load preview :src="item" mode="scaleToFill"
+                                class="!w-full !h-[200rpx] mt-[5rpx] rounded-xl relative">
+                            </cl-image>
+
+                        </view>
                     </cl-col>
                 </cl-row>
 

+ 2 - 2
pages/programming/progress.uvue

@@ -21,9 +21,9 @@ onMounted(async () => {
 const visible = ref(false)
 const menuItems = [
   { id: 1, name: '视频学习', icon: 'https://oss.xiaoxiongcode.com/static/home/6419.png', x: 0, y: 21 },
-  { id: 2, name: '实战指导', icon: 'https://oss.xiaoxiongcode.com/static/home/6418.png', x: 27, y: 19 },
+  // { id: 2, name: '实战指导', icon: 'https://oss.xiaoxiongcode.com/static/home/6418.png', x: 27, y: 19 },
   { id: 3, name: '核心代码', icon: 'https://oss.xiaoxiongcode.com/static/home/6416.png', x: 80, y: 16 },
-  { id: 4, name: '开始编程', icon: 'https://oss.xiaoxiongcode.com/static/home/6417.png', x: 55, y: 7 },
+  { id: 4, name: '开始编程', icon: 'https://oss.xiaoxiongcode.com/static/home/6417.png', x: 38, y: 18 },
 ]
 //点击事件
 function handleClick(id: number) {