this is the data returned by PHP. Two array objects
my front end code:
<view hidden="{{currentTab!==0}}">
<view wx:for="{{logs}}">
{{item.pdate}}
{{item.pweek}}
{{item.pweather}}
{{item.pcontent}}
<!-- <view wx:for="{{logs.src}}"> -->
<image src="https://yffice.com{{item.src[index]}}" class="slide-image" />
<!-- </view> -->
<view>
<!-- <image wx:for="{{logs.ppic}}" wx:for-index="index" wx:for-item="picPath" src="{{picPath.src}}"></image> -->
<!-- <image src="{{logs.ppic[item]}}"></image> -->
</view>
</view>
{{item.pdate}}
{{item.pweek}}
{{item.pweather}}
{{item.pcontent}} can display
however, < image src= " https://yffice.com{{item.src[index]}}" class= "slide-image" / > can only show one picture per day. Why?