0507
This commit is contained in:
@@ -41,7 +41,7 @@ abstract class Wxapp extends HD_Controller{
|
||||
protected $ukey;
|
||||
protected $env;//网络环境 d开发, t测试, p生产
|
||||
protected $myuid;
|
||||
protected $plugin_img = 'https://qs.haodian.cn/wechat_app';
|
||||
protected $plugin_img = 'https://qs.liche.cn/wechat_app';
|
||||
|
||||
private $inputs;
|
||||
private $app;
|
||||
|
||||
@@ -60,7 +60,7 @@ class Aptinfo extends Wxapp{
|
||||
$default = $city_name['name'].'/'.$city_row['county_name'];
|
||||
|
||||
//获取背景图
|
||||
$img = 'https://qs.haodian.cn/wechat_app/liche/buyCar/ex-default.jpg';
|
||||
$img = 'https://qs.liche.cn/wechat_app/liche/buyCar/ex-default.jpg';
|
||||
if($cms_id){
|
||||
$cms = $this->cms_model->get(['id'=>$cms_id]);
|
||||
$json = json_decode($cms['jsondata'], true);
|
||||
|
||||
@@ -96,7 +96,7 @@ class Contract extends Wxapp{
|
||||
$data = [
|
||||
'title' => $title,
|
||||
'url' => $h5_url,
|
||||
'img' => 'https://qs.haodian.cn/wechat_app/liche/mine/he-demo-2.jpg',
|
||||
'img' => 'https://qs.liche.cn/wechat_app/liche/mine/he-demo-2.jpg',
|
||||
'netx_path' => $next_path
|
||||
];
|
||||
return $data;
|
||||
|
||||
@@ -53,9 +53,9 @@ class Credit extends Wxapp{
|
||||
'list' => $list,
|
||||
'total' => $count,
|
||||
'bg_list' => [
|
||||
'https://qs.haodian.cn/wechat_app/liche/topicActivity/lantushijia/ex-1.jpg',
|
||||
'https://qs.haodian.cn/wechat_app/liche/topicActivity/lantushijia/ex-2.jpg',
|
||||
#'https://qs.haodian.cn/wechat_app/liche/topicActivity/lantushijia/ex-3.jpg',
|
||||
'https://qs.liche.cn/wechat_app/liche/topicActivity/lantushijia/ex-1.jpg',
|
||||
'https://qs.liche.cn/wechat_app/liche/topicActivity/lantushijia/ex-2.jpg',
|
||||
#'https://qs.liche.cn/wechat_app/liche/topicActivity/lantushijia/ex-3.jpg',
|
||||
]
|
||||
];
|
||||
return $data;
|
||||
|
||||
@@ -60,15 +60,15 @@ class Luckybag extends Wxapp
|
||||
->limit(3)
|
||||
->get()->result_array();
|
||||
$share = array('title' => '帮我拆福袋,赢取家电礼包。电视冰箱洗衣机100%中奖!',
|
||||
'img' => 'https://qs.haodian.cn/wechat_app/liche/ningDeFD/sharetip.png');
|
||||
'img' => 'https://qs.liche.cn/wechat_app/liche/ningDeFD/sharetip.png');
|
||||
$data = array(
|
||||
'title' => '哪吒汽车内购会',
|
||||
"bg" => array('color' => '#f8c33f', 'img' => 'https://qs.haodian.cn/wechat_app/liche/ningDeFD/bag-theme.jpg'),
|
||||
'lucky_bag' => ['img' => 'https://qs.haodian.cn/wechat_app/liche/ningDeFD/luckybag.png', 'title' => '哪吒汽车宁德时代内购会'
|
||||
"bg" => array('color' => '#f8c33f', 'img' => 'https://qs.liche.cn/wechat_app/liche/ningDeFD/bag-theme.jpg'),
|
||||
'lucky_bag' => ['img' => 'https://qs.liche.cn/wechat_app/liche/ningDeFD/luckybag.png', 'title' => '哪吒汽车宁德时代内购会'
|
||||
, 'btn' => $lucky_bag_btn, 'time' => $this->activityTime['title']],
|
||||
'user' => ['btn' => $user_btn, 'zhu_li' => ['title' => "当前已有{$zhu_li_count}位好友帮忙", 'value' => $zhu_li_count, 'list' => $list]],
|
||||
'gift' => $this->mdLuckyBagUsers->get_gift(),
|
||||
'preferential' => ['https://qs.haodian.cn/wechat_app/liche/ningDeFD/policy.jpg'],
|
||||
'preferential' => ['https://qs.liche.cn/wechat_app/liche/ningDeFD/policy.jpg'],
|
||||
'share' => $share
|
||||
);
|
||||
return $data;
|
||||
@@ -107,7 +107,7 @@ class Luckybag extends Wxapp
|
||||
, ['uid' => $this->myuid]);
|
||||
}
|
||||
$gift_list[] = ['title' => $this->mdLuckyBagUsers->get_gift($lottery, 1)['tag'], 'img' => $this->mdLuckyBagUsers->get_gift($lottery, 0)['img']];
|
||||
$gift_list[] = ['title' => $bag_title, 'img' => 'https://qs.haodian.cn/wechat_app/liche/ningDeFD/gift-4.jpg'];
|
||||
$gift_list[] = ['title' => $bag_title, 'img' => 'https://qs.liche.cn/wechat_app/liche/ningDeFD/gift-4.jpg'];
|
||||
$data['title'] = '恭喜您,领取成功!';
|
||||
$data['gift'] = ['title' => '恭喜获得:', 'list' => $gift_list];
|
||||
$data['content'] = '注:订车后时展示该活动页面,销售会将抽中的礼品,写入合同备注中,提车时兑现。';
|
||||
|
||||
@@ -59,7 +59,7 @@ class Topics extends Wxapp
|
||||
if ($json_topic['title_img']) {
|
||||
$title_img = build_qiniu_image_url($json_topic['title_img']);
|
||||
} else {
|
||||
$title_icon = "https://qs.haodian.cn/wechat_app/xingxuanka/special/tt-tip2.png";
|
||||
$title_icon = "https://qs.liche.cn/wechat_app/xingxuanka/special/tt-tip2.png";
|
||||
}
|
||||
switch ($type) {
|
||||
case "ad"://广告
|
||||
@@ -82,7 +82,7 @@ class Topics extends Wxapp
|
||||
if ($json_topic['title_img']) {
|
||||
$title_img = build_qiniu_image_url($json_topic['title_img']);
|
||||
} else {
|
||||
$title_icon = "https://qs.haodian.cn/wechat_app/xingxuanka/special/tt-tip2.png";
|
||||
$title_icon = "https://qs.liche.cn/wechat_app/xingxuanka/special/tt-tip2.png";
|
||||
}
|
||||
$list[] = [
|
||||
"type" => $type,
|
||||
|
||||
@@ -235,16 +235,16 @@ class User extends Wxapp{
|
||||
$about = [
|
||||
[
|
||||
'title'=>'购车订单',
|
||||
'icon'=>'https://qs.haodian.cn/wechat_app/liche/mine/list-icon-5.png',
|
||||
'icon'=>'https://qs.liche.cn/wechat_app/liche/mine/list-icon-5.png',
|
||||
'url'=>'/pages/mine/carOrder/index',
|
||||
'have_new' => $un_pay ? true : false
|
||||
],
|
||||
['title'=>'我的爱车','icon'=>'https://qs.haodian.cn/wechat_app/liche/mine/list-icon-1.png','url'=>'/pages/mine/myCar/index'],
|
||||
['title'=>'我的积分','icon'=>'https://qs.haodian.cn/wechat_app/liche/mine/list-icon-6.png','url'=>'/pages/topicActivity/integral/index'],
|
||||
['title'=>'联系小狸','icon'=>'https://qs.haodian.cn/wechat_app/liche/mine/list-icon-3.png'],
|
||||
['title'=>'我的爱车','icon'=>'https://qs.liche.cn/wechat_app/liche/mine/list-icon-1.png','url'=>'/pages/mine/myCar/index'],
|
||||
['title'=>'我的积分','icon'=>'https://qs.liche.cn/wechat_app/liche/mine/list-icon-6.png','url'=>'/pages/topicActivity/integral/index'],
|
||||
['title'=>'联系小狸','icon'=>'https://qs.liche.cn/wechat_app/liche/mine/list-icon-3.png'],
|
||||
];
|
||||
if($this->session['dealer'] || $this->session['manage']){
|
||||
$about[] = ['title'=>'推广提现','icon'=>'https://qs.haodian.cn/wechat_app/liche/mine/list-icon-4.png','url'=>'/pages/distribute/index'];
|
||||
$about[] = ['title'=>'推广提现','icon'=>'https://qs.liche.cn/wechat_app/liche/mine/list-icon-4.png','url'=>'/pages/distribute/index'];
|
||||
}
|
||||
$progress_list = $this->progressopt->lists($mobile);
|
||||
$data = [
|
||||
@@ -253,10 +253,10 @@ class User extends Wxapp{
|
||||
'progress_list' => $progress_list,
|
||||
'about' => $about,
|
||||
'order' => [
|
||||
['title' => '全部订单', 'icon' => 'https://qs.haodian.cn/wechat_app/liche/mine/order-icon-1.png', 'url' => '/pages/order/index?typeId=0'],
|
||||
['title' => '待付款', 'icon' => 'https://qs.haodian.cn/wechat_app/liche/mine/order-icon-2.png', 'url' => "/pages/order/index?typeId=1"],
|
||||
['title' => '进行中', 'icon' => 'https://qs.haodian.cn/wechat_app/liche/mine/order-icon-3.png', 'url' => "/pages/order/index?typeId=2"],
|
||||
['title' => '已完成', 'icon' => 'https://qs.haodian.cn/wechat_app/liche/mine/order-icon-4.png', 'url' => "/pages/order/index?typeId=3"],
|
||||
['title' => '全部订单', 'icon' => 'https://qs.liche.cn/wechat_app/liche/mine/order-icon-1.png', 'url' => '/pages/order/index?typeId=0'],
|
||||
['title' => '待付款', 'icon' => 'https://qs.liche.cn/wechat_app/liche/mine/order-icon-2.png', 'url' => "/pages/order/index?typeId=1"],
|
||||
['title' => '进行中', 'icon' => 'https://qs.liche.cn/wechat_app/liche/mine/order-icon-3.png', 'url' => "/pages/order/index?typeId=2"],
|
||||
['title' => '已完成', 'icon' => 'https://qs.liche.cn/wechat_app/liche/mine/order-icon-4.png', 'url' => "/pages/order/index?typeId=3"],
|
||||
],
|
||||
];
|
||||
return $data;
|
||||
|
||||
@@ -40,7 +40,7 @@ class Sytactivity extends Wxapp
|
||||
protected function get_tabs()
|
||||
{
|
||||
$data['title'] = '私域通';
|
||||
$data['bg_img'] = 'https://qs.haodian.cn/wechat_app/lichebao/siyutong/theme.jpg?v=220207';
|
||||
$data['bg_img'] = 'https://qs.liche.cn/wechat_app/lichebao/siyutong/theme.jpg?v=220207';
|
||||
// $bm_count = $this->mdSytActivityKpiData->count(['kpi' => 'enroll']);
|
||||
// $dd_count = $this->mdCustomers->count(['status' => 1, 'cf_id' => $this->cf_id]);
|
||||
// $xd_count = $this->mdCustomers->count(['status' => 2, 'cf_id' => $this->cf_id]);
|
||||
|
||||
@@ -106,7 +106,7 @@ class Biz extends Wxapp
|
||||
$countKey = array_column($lists, 'sort');
|
||||
array_multisort($countKey, SORT_DESC, $lists);//排序
|
||||
$this->data['title'] = '店铺';
|
||||
$this->data['bg_img'] = 'https://qs.haodian.cn/wechat_app/liche/storeInfo/theme.png';
|
||||
$this->data['bg_img'] = 'https://qs.liche.cn/wechat_app/liche/storeInfo/theme.png';
|
||||
$biz_name = strstr($re['biz_name'], '店') ? $re['biz_name'] : $re['biz_name'] . '店';
|
||||
$this->data['biz_name'] = '狸车· ' . $biz_name;
|
||||
$this->data['address'] = $re['address'];
|
||||
|
||||
@@ -269,7 +269,7 @@ class Home extends Wxapp
|
||||
*/
|
||||
protected function get_biz_posters()
|
||||
{
|
||||
$url = 'https://qs.haodian.cn/wechat_app/lichebao/distribute';
|
||||
$url = 'https://qs.liche.cn/wechat_app/lichebao/distribute';
|
||||
$lists = [
|
||||
['title' => '店铺常规模板', 'cover' => $url . '/md-0.jpg?v=1', 'type' => 0, 'tpHeight' => 10, 'ftHeight' => 350,
|
||||
'marginLR' => 10, 'posterBg' => '', 'posterFt' => $url . '/posterFt-0.jpg', 'bgColor' => '#fff', 'color' => '#fff'],
|
||||
|
||||
@@ -70,7 +70,7 @@ class Topic extends Wxapp
|
||||
if ($json_data['biz_pop']) {//授权弹窗
|
||||
$biz_info['pop'] = $json_data['biz_pop'];
|
||||
$biz_info['biz_name'] = '';
|
||||
$biz_info['headimg'] = 'https://qs.haodian.cn/wechat_app/liche/common/dark-logo2.jpg';
|
||||
$biz_info['headimg'] = 'https://qs.liche.cn/wechat_app/liche/common/dark-logo2.jpg';
|
||||
$biz_info['pop_content'] = '您好,欢迎您访问狸车。授权手机号后将给您提供最新的新能源汽车资讯和优惠活动哦~';
|
||||
if ($biz_id) {
|
||||
$this->load->model("biz/biz_model", 'mdBiz');
|
||||
|
||||
Reference in New Issue
Block a user