소스 검색

feat:修改任务图片

st 2 달 전
부모
커밋
96f9e57da1
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/pages/task/index.vue

+ 1 - 5
src/pages/task/index.vue

@@ -39,11 +39,7 @@
       >
         <view class="flex-1 flex">
           <view class="min-w-120rpx h-120rpx rounded-10rpx flex items-center justify-center">
-            <image
-              src="@/static/images/task/task1.png"
-              class="w-90rpx h-90rpx rounded-10rpx"
-              mode="scaleToFill"
-            />
+            <image :src="item.taskIcon" class="w-90rpx h-90rpx rounded-10rpx" mode="scaleToFill" />
           </view>
           <view class="flex flex-col justify-center ml-15rpx text-[#fff] flex-1">
             <text class="text-[28rpx] font-700">{{ item.name }}</text>