Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
ELF 5 years ago
commit b2b67f28ec

@ -362,10 +362,10 @@ class PromoteController extends BaseController
if ( !preg_match( $pattern, $_REQUEST['email'] ) ){ if ( !preg_match( $pattern, $_REQUEST['email'] ) ){
$this->error('邮箱地址错误', U('Promote/base_info'));exit; $this->error('邮箱地址错误', U('Promote/base_info'));exit;
} }
if (empty($_REQUEST['alipay_account']) ) { // if (empty($_REQUEST['alipay_account']) ) {
$this->error('请输入支付宝账号', U('Promote/base_info')); // $this->error('请输入支付宝账号', U('Promote/base_info'));
exit(); // exit();
} // }
$se['nickname'] = $_REQUEST['nickname']; $se['nickname'] = $_REQUEST['nickname'];
$se['real_name'] = $_REQUEST['real_name']; $se['real_name'] = $_REQUEST['real_name'];
$se['email'] = $_REQUEST['email']; $se['email'] = $_REQUEST['email'];

@ -82,13 +82,13 @@
<span id="email_tip"></span> <span id="email_tip"></span>
</td> </td>
</tr> </tr>
<tr> <!-- <tr>-->
<td class="l"><span class="req">*</span>支付宝账号:</td> <!-- <td class="l"><span class="req">*</span>支付宝账号:</td>-->
<td class="r"> <!-- <td class="r">-->
<input type="text" class="input txt" name="alipay_account" id="alipay_account" value="{$data.alipay_account}" placeholder="请输入支付宝账号"> <!-- <input type="text" class="input txt" name="alipay_account" id="alipay_account" value="{$data.alipay_account}" placeholder="请输入支付宝账号">-->
<span class="notice_tip">用于自动打款</span> <!-- <span class="notice_tip">用于自动打款</span>-->
</td> <!-- </td>-->
</tr> <!-- </tr>-->
<!-- <tr> <!-- <tr>
<td class="l"><span class="req">*</span>微信账号:</td> <td class="l"><span class="req">*</span>微信账号:</td>
<td class="r"> <td class="r">

@ -294,8 +294,15 @@
var data2 = []; var data2 = [];
var dataName1 = ''; var dataName1 = '';
var dataName2 = ''; var dataName2 = '';
var xLabelInterval = 0;
var sdate = Date.parse($('#sdate').val()) / 1000;
var edate = Date.parse($('#edate').val()) / 1000;
var chartBox = echarts.init(document.getElementById('chart_box')); var chartBox = echarts.init(document.getElementById('chart_box'));
if ((edate - sdate) > 1555200) {
xLabelInterval = 1;
}
switch (dataType) { switch (dataType) {
case 1: case 1:
data1 = roleNum; data1 = roleNum;
@ -338,7 +345,7 @@
top: "13%", top: "13%",
containLabel: true containLabel: true
}, },
color: ["#72b332", '#35a9e0'], color: ["#b32106", '#143f53'],
legend: { legend: {
data: [dataName1, dataName2], data: [dataName1, dataName2],
show: true, show: true,
@ -377,7 +384,7 @@
color: "#808080" color: "#808080"
}, },
alignWithLabel: true, alignWithLabel: true,
interval: 1, interval: xLabelInterval,
}, },
axisLine: { axisLine: {
lineStyle: { lineStyle: {
@ -408,7 +415,8 @@
color: '#fff', color: '#fff',
} }
}, },
min: 0 min: 0,
minInterval:1,
} }
], ],
series: [ series: [
@ -416,14 +424,12 @@
name: dataName1, name: dataName1,
type: 'line', type: 'line',
smooth: true, smooth: true,
symbol: 'circle',
data: data1 data: data1
}, },
{ {
name: dataName2, name: dataName2,
type: 'line', type: 'line',
smooth: true, smooth: true,
symbol: 'circle',
data: data2 data: data2
} }
], ],

Loading…
Cancel
Save