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
+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 ;
}
},