lyuis 7 ヶ月 前
コミット
15c379bf27
3 ファイル変更5 行追加5 行削除
  1. 2 2
      manifest.json
  2. 2 2
      pages/my/index.vue
  3. 1 1
      pages/my/userinfo.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "亿职赞",
     "appid" : "__UNI__0B0096D",
     "description" : "",
-    "versionName" : "1.0.6",
-    "versionCode" : 106,
+    "versionName" : "1.0.7",
+    "versionCode" : 107,
     "transformPx" : false,
     "sassImplementationName" : "node-sass",
     /* 5+App特有相关 */

+ 2 - 2
pages/my/index.vue

@@ -59,7 +59,7 @@
 								class="info-box-header flex justify-between align-center">
 								<view style="width: 60%; height: 100%" class="flex align-center">
 									<view class="info-box-header-l">
-										<image :src="avatar ? avatar : '../../static/logo.png'" mode=""></image>
+										<image :src="avatar ? avatar : '../../static/logo.png'" mode="aspectFill"></image>
 									</view>
 									<view class="info-box-header-r">
 										<view class="info-box-header-r-name flex align-center">
@@ -365,7 +365,7 @@
 							</view>
 							<view class="info-box-header flex align-center" @click="goNav('/pages/my/userinfo')">
 								<view class="info-box-header-l">
-									<image :src="avatar ? avatar : '../../static/logo.png'" mode=""></image>
+									<image :src="avatar ? avatar : '../../static/logo.png'" mode="aspectFill"></image>
 								</view>
 								<view class="info-box-header-r">
 									<view class="info-box-header-r-name flex align-center">

+ 1 - 1
pages/my/userinfo.vue

@@ -303,7 +303,7 @@ export default {
 						uni.chooseImage({
 							count: 1, //默认9
 							sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
-							sourceType: ['album'], //从相册选择
+							sourceType: ['album','camera'], //从相册选择
 							success: function (res) {
 								uni.showLoading({
 									title: '上传中...'