Browse Source

图片上传文字

zhaoxw 4 years ago
parent
commit
ba1952785a
3 changed files with 4 additions and 3 deletions
  1. 2 1
      config/api.js
  2. 1 1
      pages/index/register.vue
  3. 1 1
      pages/index/registerState.vue

+ 2 - 1
config/api.js

@@ -1,5 +1,6 @@
 // const WX_API_BASE = 'https://www.qianjiadi.com/'
-const WX_API_BASE = 'http://ch.jihengcc.cn:17080/'
+// const WX_API_BASE = 'http://ch.jihengcc.cn:17080/'
+const WX_API_BASE = 'https://test.jihengcc.cn/'
 
 module.exports = {
 	//  微信登录

+ 1 - 1
pages/index/register.vue

@@ -8,7 +8,7 @@
 					 @on-error="uploadError" max-count="1"></u-upload>
 				</view>
 			</u-cell-item>
-			<u-cell-item :title="`请上传店铺主图(${fileList.length}/3)`" :arrow="false" class="all-width">
+			<u-cell-item :title="'请上传店铺主图' + (fileList.length?`(${fileList.length}/3)`:'')" :arrow="false" class="all-width">
 				<view slot="label">
 					<u-upload :action="uploadUrl" :file-list="defaultList2" :form-data="uploadData" @on-success="uploadSuccess"
 					 @on-error="uploadError" @on-remove="uploadRemove" max-count="3"></u-upload>

+ 1 - 1
pages/index/registerState.vue

@@ -5,7 +5,7 @@
 				<view class="status-line"></view>
 				<u-icon name="checkmark-circle-fill" class="icon" color="#52A63A" size="32"></u-icon>
 				<view class="status-title">已注册</view>
-				<text class="status-date">{{registerInfo.applyTime ? registerInfo.applyTime : ' '}}</text>
+				<text class="status-date">{{registerInfo.createTime ? registerInfo.createTime : ' '}}</text>
 			</view>
 			<view class="status-row">
 				<view class="status-line"></view>