bug修复
This commit is contained in:
parent
1024e85792
commit
d71e5233a1
@ -35,3 +35,11 @@ export function getByCodeInfo(params) {
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
// 根据code获取键值
|
||||
export function getConfigByCode(configKey) {
|
||||
return request({
|
||||
url: '/system/config/configKey/' + configKey,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@ -1,8 +1,8 @@
|
||||
// 应用全局配置
|
||||
module.exports = {
|
||||
//baseUrl: 'https://3w823u8516.vicp.fun/noticeApi',
|
||||
baseUrl: 'https://www.ddtg.site/noticeApi',
|
||||
//baseUrl: 'http://192.168.1.6:8088',
|
||||
//baseUrl: 'https://www.ddtg.site/noticeApi',
|
||||
baseUrl: 'http://192.168.1.31:8088',
|
||||
// 应用信息
|
||||
appInfo: {
|
||||
// 应用名称
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
<!-- 主体内容区域 -->
|
||||
<view class="dl-body">
|
||||
<!-- 随手转发 -->
|
||||
<view class="dl-public-box" v-if="point&&point>0">
|
||||
<view class="dl-public-box" v-if="isOpenZf=='1'&&point&&point>0">
|
||||
<view class="dl-left">
|
||||
<image class="dl-icon" src="@/static/index/gift.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
@ -179,7 +179,8 @@
|
||||
import rightsCode from '@/utils/rightsCode'
|
||||
import {
|
||||
getCatgByCode,
|
||||
getByCodeInfo
|
||||
getByCodeInfo,
|
||||
getConfigByCode
|
||||
} from '@/api/system/config.js'
|
||||
import {
|
||||
toast,
|
||||
@ -253,6 +254,7 @@
|
||||
platformList: [],
|
||||
//博主分类
|
||||
bloggerTypeList: [],
|
||||
isOpenZf: '0'
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@ -263,11 +265,19 @@
|
||||
this.initAddress()
|
||||
//鉴权
|
||||
// this.checkRights()
|
||||
this.getConfigKey()
|
||||
},
|
||||
onLoad: function() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
getConfigKey() {
|
||||
getConfigByCode('isOpenZf').then(res => {
|
||||
if (res.msg) {
|
||||
this.isOpenZf = res.msg
|
||||
}
|
||||
})
|
||||
},
|
||||
/**初始化树结构*/
|
||||
initAddress() {
|
||||
treeCity().then(res => {
|
||||
|
||||
@ -145,9 +145,6 @@
|
||||
that.$refs.popupNew.open('center')
|
||||
}
|
||||
})
|
||||
} else {
|
||||
//未登录,弹出领取新人礼
|
||||
that.$refs.popupNew.open('center')
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<image src="@/static/mine/required.png" mode="aspectFit"></image>收件人名称
|
||||
</view>
|
||||
<view class="item-value">
|
||||
<input class="uni-input" v-model="dataObj.name" type="number" placeholder="请输入" />
|
||||
<input class="uni-input" v-model="dataObj.name" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-field">
|
||||
@ -17,7 +17,7 @@
|
||||
<image src="@/static/mine/required.png" mode="aspectFit"></image>联系电话
|
||||
</view>
|
||||
<view class="item-value">
|
||||
<input class="uni-input" v-model="dataObj.tel" type="tel" placeholder="请输入" />
|
||||
<input class="uni-input" v-model="dataObj.tel" type="number" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-field">
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
<image src="@/static/mine/required.png" mode="aspectFit"></image>联系电话
|
||||
</view>
|
||||
<view class="item-value">
|
||||
<input class="uni-input" v-model="dataObj.tel" type="tel" placeholder="请输入" />
|
||||
<input class="uni-input" v-model="dataObj.tel" type="number" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-field">
|
||||
@ -285,7 +285,7 @@
|
||||
toast("收货地址不能为空")
|
||||
return
|
||||
}
|
||||
if (this.fileList.length == 0) {
|
||||
if (!this.imageUrl || this.imageUrl.length == 0) {
|
||||
toast("证明材料不能为空")
|
||||
return
|
||||
}
|
||||
|
||||
@ -25,14 +25,13 @@
|
||||
<uni-forms-item labelWidth="280rpx" label="收款码真实姓名" name="trecipientName">
|
||||
<uni-easyinput v-model="valiFormData.trecipientName" placeholder="请输入" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item labelWidth="280rpx" label="通告报名免打扰" name="topenDisturb">
|
||||
<!-- <uni-forms-item labelWidth="280rpx" label="通告报名免打扰" name="topenDisturb">
|
||||
<uni-data-checkbox v-model="valiFormData.topenDisturb" :localdata="ranges"/>
|
||||
</uni-forms-item>
|
||||
</uni-forms-item> -->
|
||||
</uni-forms>
|
||||
<button type="primary" style="background-color: #FC2B49;" @click="submit('valiForm')">提交</button>
|
||||
<view class="my-black-list" @click="goMyBlackList()">我的黑名单
|
||||
<uni-icons type="right" color="#623109"
|
||||
size="12"></uni-icons>
|
||||
<uni-icons type="right" color="#623109" size="12"></uni-icons>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -42,7 +41,8 @@
|
||||
import navigationBarVue from '@/components/navigation/navigationBar.vue';
|
||||
import config from '@/config'
|
||||
import {
|
||||
queryDetail, uniSaveMember
|
||||
queryDetail,
|
||||
uniSaveMember
|
||||
} from '@/api/business/member.js'
|
||||
import upload from '@/utils/upload'
|
||||
|
||||
@ -145,7 +145,10 @@ export default {
|
||||
this.fileImageUrl = []
|
||||
this.recipientImageList = []
|
||||
this.recipientImageUrl = []
|
||||
queryDetail({userType: userType, userId: userId}).then(res => {
|
||||
queryDetail({
|
||||
userType: userType,
|
||||
userId: userId
|
||||
}).then(res => {
|
||||
console.log(res, 131)
|
||||
this.valiFormData = res.data
|
||||
if (this.valiFormData.avatar != null && this.valiFormData.avatar != '') {
|
||||
|
||||
BIN
static/bg.jpg
BIN
static/bg.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
@ -1,20 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="<%= BASE_URL %>static/favicon.ico">
|
||||
<script>
|
||||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||
</script>
|
||||
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>本站点必须要开启JavaScript才能运行.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
</html>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB |
Loading…
Reference in New Issue
Block a user