feat: 修复wiki样式问题
This commit is contained in:
@@ -140,7 +140,15 @@
|
||||
<text>{{item.title}}</text>
|
||||
</view>
|
||||
<text class="timeline-desc">{{item.content}}</text>
|
||||
<t-image wx:if="{{item.image}}" src="{{tools.resolvePath(item.image)}}" mode="widthFix" width="100%" class="timeline-img" />
|
||||
<t-image
|
||||
wx:if="{{item.image}}"
|
||||
src="{{tools.resolvePath(item.image)}}"
|
||||
mode="widthFix"
|
||||
width="100%"
|
||||
class="timeline-img"
|
||||
bindtap="handlePreviewRecordImage"
|
||||
data-src="{{item.image}}"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -200,6 +208,22 @@
|
||||
auto-height
|
||||
/>
|
||||
</view>
|
||||
|
||||
<!-- Image Upload -->
|
||||
<view class="form-group">
|
||||
<text class="form-label">添加照片</text>
|
||||
<view class="record-image-upload">
|
||||
<view wx:if="{{newRecordImage}}" class="uploaded-image-box">
|
||||
<t-image src="{{newRecordImage}}" mode="aspectFill" width="160rpx" height="160rpx" shape="round" />
|
||||
<view class="remove-img-btn" bindtap="handleRemoveRecordImage">
|
||||
<t-icon name="close" size="24rpx" color="#FFF" />
|
||||
</view>
|
||||
</view>
|
||||
<view wx:else class="upload-add-btn" bindtap="handleChooseRecordImage">
|
||||
<t-icon name="add" size="48rpx" color="#999" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="modal-footer" catchtouchmove="preventTouchMove">
|
||||
|
||||
Reference in New Issue
Block a user