Browse Source

'Save'

hfll
hflllll 1 month ago
parent
commit
3318b2e43a
7 changed files with 25 additions and 48 deletions
  1. +10
    -10
      config/index.js
  2. +1
    -5
      manifest.json
  3. +1
    -1
      subPages/member/recharge.vue
  4. +1
    -1
      subPages/user/cash.vue
  5. +1
    -1
      subPages/user/introduce.vue
  6. +9
    -28
      subPages/user/profile.vue
  7. +2
    -2
      subPages/user/promote.vue

+ 10
- 10
config/index.js View File

@ -32,18 +32,18 @@ const config = {
// 阿里云配置 // 阿里云配置
aliOSSConfig :{ aliOSSConfig :{
development: { development: {
aliOSS_accessKey: 'LTAI5tQSs47izVy8DLVdwUU9',
aliOSS_secretKey: 'qHI7C3PaXYZySr84HTToviC71AYlFq',
aliOSS_bucketName: 'hanhaiimage',
endpoint: 'oss-cn-shenzhen.aliyuncs.com',
staticDomain: 'https://image.hhlm1688.com/'
aliOSS_accessKey: 'LTAI5tQzgwJQK7hd7zFKJbLm',
aliOSS_secretKey: 'siB6FGNXDgSrLao5xvdNb4OCbQOt8d',
aliOSS_bucketName: 'multipleculture',
endpoint: 'oss-cn-beijing.aliyuncs.com',
staticDomain: 'https://image.multipleculture.com/'
}, },
testing: { testing: {
aliOSS_accessKey: 'LTAI5tQSs47izVy8DLVdwUU9',
aliOSS_secretKey: 'qHI7C3PaXYZySr84HTToviC71AYlFq',
aliOSS_bucketName: 'hanhaiimage',
endpoint: 'oss-cn-shenzhen.aliyuncs.com',
staticDomain: 'https://image.hhlm1688.com/'
aliOSS_accessKey: 'LTAI5tQzgwJQK7hd7zFKJbLm',
aliOSS_secretKey: 'siB6FGNXDgSrLao5xvdNb4OCbQOt8d',
aliOSS_bucketName: 'multipleculture',
endpoint: 'oss-cn-beijing.aliyuncs.com',
staticDomain: 'https://image.multipleculture.com/'
}, },
production: { production: {
aliOSS_accessKey: 'LTAI5tRqoxbC9BKrWJduKDVT', aliOSS_accessKey: 'LTAI5tRqoxbC9BKrWJduKDVT',


+ 1
- 5
manifest.json View File

@ -55,11 +55,7 @@
"urlCheck" : false "urlCheck" : false
}, },
"requiredPrivateInfos" : [ "getLocation", "chooseLocation" ], "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ],
"permission" : {
"scope.userLocation" : {
"desc" : "您的位置信息将用于更方便的定位"
}
},
"permission" : {},
"usingComponents" : true "usingComponents" : true
}, },
"mp-alipay" : { "mp-alipay" : {


+ 1
- 1
subPages/member/recharge.vue View File

@ -23,7 +23,7 @@
previousMargin="70" previousMargin="70"
nextMargin="70" nextMargin="70"
acceleration acceleration
height="85"
height="75"
circular circular
:autoplay="false" :autoplay="false"
radius="5" radius="5"


+ 1
- 1
subPages/user/cash.vue View File

@ -125,7 +125,7 @@ export default {
// //
uni.showModal({ uni.showModal({
title: '提现须知', title: '提现须知',
content: '1. 提现金额最低10元\n2. 工作日24小时内到账\n3. 手续费按平台规定收取',
content: this.configParamContent('cash_policy'),
showCancel: false showCancel: false
}) })
} }


+ 1
- 1
subPages/user/introduce.vue View File

@ -3,7 +3,7 @@
<view class="sub-container"> <view class="sub-container">
<view class="rich-text"> <view class="rich-text">
<rich-text :nodes="htmlContent"></rich-text>
<rich-text :nodes="this.configParamContent('production_desc')"></rich-text>
</view> </view>
</view> </view>
</view> </view>


+ 9
- 28
subPages/user/profile.vue View File

@ -53,10 +53,7 @@
class="avatar-image" class="avatar-image"
mode="aspectFill" mode="aspectFill"
></image> ></image>
<!-- 遮罩层 -->
<view class="avatar-mask" :class="{ 'fade-out': showMask }" v-if="showMask">
<text>点击上传头像</text>
</view>
</button> </button>
</view> </view>
</view> </view>
@ -83,7 +80,6 @@ export default {
name: '', name: '',
phone: '' phone: ''
}, },
showMask: true,
saveButtonStyle: { saveButtonStyle: {
backgroundColor: '#06DADC', backgroundColor: '#06DADC',
borderRadius: '41rpx', borderRadius: '41rpx',
@ -103,26 +99,7 @@ export default {
} }
}, },
methods: { methods: {
// //
// onNicknameReview(e) {
// console.log('', e);
// if (e.detail.pass) {
// // 使
// this.userInfo.name = e.detail.value;
// console.log(':', e.detail.value);
// uni.showToast({
// title: '',
// icon: 'success'
// });
// } else {
// //
// console.log('');
// uni.showToast({
// title: '',
// icon: 'none'
// });
// }
// },
// OSS // OSS
@ -232,9 +209,7 @@ export default {
onLoad() { onLoad() {
this.getProfile() this.getProfile()
// 3 // 3
setTimeout(() => {
this.showMask = false
}, 3000)
} }
} }
</script> </script>
@ -284,6 +259,12 @@ export default {
height: 200rpx; height: 200rpx;
border-radius: 16rpx; border-radius: 16rpx;
overflow: hidden; overflow: hidden;
display: block;
text-align: left;
margin: 0;
padding: 0;
background: none;
border: none;
.avatar-image { .avatar-image {
width: 100%; width: 100%;


+ 2
- 2
subPages/user/promote.vue View File

@ -130,8 +130,8 @@ export default {
}) })
}, },
goCash() { goCash() {
uni.requestMerchantTransfer({
uni.navigateTo({
url: '/subPages/user/cash'
}) })
}, },


Loading…
Cancel
Save