350
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 ;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user