pages/digitalCourses/index.wxml
@@ -36,7 +36,7 @@ <view class="ExternalInformationBox"> <view class="informationBox" wx:for="{{courseList}}" wx:key="index" wx:for-item="item" data-item="{{item}}"> <view class="book-img" bind:tap="courseDetail" data-item="{{item}}"> <image src="{{item.icon}}" mode="aspectFit" /> <image src="{{item.icon ? item.icon : '/static/images/digitalCourses/courseIcon.png'}}" mode="aspectFit" /> </view> <view class="book-Info"> <view class="book-name" bind:tap="courseDetail" data-item="{{item}}">