This commit is contained in:
cansnow
2026-02-13 08:12:56 +08:00
parent 6720c15e30
commit 7c6656d1fc
8 changed files with 135 additions and 33 deletions
@@ -15,7 +15,7 @@
<view v-if="item.files.length==1&&item.releaseType==1"
class="u-flex u-row-left u-col-center"
style="width:100%;min-height: 200rpx;">
<u-image width="280rpx" :src="cdn(item.files[0])" mode="widthFix" @tap="previewImg(0)">
<u-image width="280rpx" :src="cdn(item.files[0])" mode="aspectFill" @tap="previewImg(0)">
<u-loading-icon slot="loading"></u-loading-icon>
<view slot="error"
class="u-flex u-row-left u-col-center"
+5 -3
View File
@@ -25,7 +25,7 @@
</view>
<!-- 个性签名 -->
<view class="signature">
<view class="">{{ storeSelfInfo.bio }}</view>
<u--text :text="storeSelfInfo.bio" :lines="4" size="13" color="#999"></u--text>
</view>
<view v-if="storeCircleUnreadCount>0" style="display: flex;justify-content: center;">
@@ -384,7 +384,7 @@
let that = this;
let tempFilePaths = [];
//拍照
if (index == 0) {
if (index == 1) {
uni.chooseImage({
count: 9, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
@@ -399,9 +399,10 @@
return;
}
});
return ;
}
//选择视频
if (index == 1) {
if (index == 2) {
uni.chooseVideo({
sourceType: ['camera', 'album'],
maxDuration: 60,
@@ -417,6 +418,7 @@
return;
}
});
return ;
}
},