提交 f9d06ce8 编写于 作者: D devil

细节优化

上级 c4b433fe
......@@ -59,13 +59,14 @@ class Pluginsadmin extends Common
// 参数
$params = input();
// 应用商店地址
$this->assign('store_url', StoreService::StoreUrl());
// 页面类型
if($this->view_type == 'home')
{
$data = PluginsAdminService::PluginsList();
$this->assign('data_list', $data['data']);
$this->assign('store_url', StoreService::StoreUrl());
return $this->fetch();
} else {
return $this->fetch('upload');
......
......@@ -8,7 +8,7 @@ Page({
user_share_url: null,
},
onShow() {
onLoad() {
app.set_nav_bg_color_main('#1d1611');
this.init();
},
......
......@@ -86,7 +86,7 @@
</block>
<!-- 会员中心通知 -->
<view a:if="{{(data_base.user_vip_center_notice || null) != null && data_base.user_vip_center_notice.length > 0}}" class="tips-item spacing-mt">
<view a:if="{{(user_vip || null) != null && (data_base.user_vip_center_notice || null) != null && data_base.user_vip_center_notice.length > 0}}" class="tips-item spacing-mt">
<view class="tips">
<view a:for="{{data_base.user_vip_center_notice}}" a:key="key" class="item">
{{item}}
......
......@@ -68,7 +68,7 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://shopxo.com/',
// request_url: 'https://dev.shopxo.net/',
request_url: 'https://dev.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",
......
......@@ -9,7 +9,7 @@ Page({
user_share_url: null,
},
onShow() {
onLoad() {
this.init();
},
......
......@@ -31,7 +31,7 @@
<!-- 通知 -->
<view class="tips-container spacing-mb">
<!-- 不符合分销条件描述 -->
<block wx:if="{{((user_level || null) == null)}}">
<block wx:if="{{(user_level || null) == null}}">
<view wx:if="{{(data_base.non_conformity_desc || null) != null && data_base.non_conformity_desc.length > 0}}" class="tips-item spacing-mt">
<view class="not-opening-vip-desc">
<view wx:for="{{data_base.non_conformity_desc}}" wx:key="key" class="item">
......@@ -42,7 +42,7 @@
</block>
<!-- 会员中心通知 -->
<view wx:if="{{(data_base.user_center_notice || null) != null && data_base.user_center_notice.length > 0}}" class="tips-item spacing-mt">
<view wx:if="{{(user_level || null) != null && (data_base.user_center_notice || null) != null && data_base.user_center_notice.length > 0}}" class="tips-item spacing-mt">
<view class="tips">
<view wx:for="{{data_base.user_center_notice}}" wx:key="key" class="item">
{{item}}
......
......@@ -8,7 +8,7 @@ Page({
user_share_url: null,
},
onShow() {
onLoad() {
this.init();
},
......
......@@ -86,7 +86,7 @@
</block>
<!-- 会员中心通知 -->
<view wx:if="{{(data_base.user_vip_center_notice || null) != null && data_base.user_vip_center_notice.length > 0}}" class="tips-item spacing-mt">
<view wx:if="{{(user_vip || null) != null && (data_base.user_vip_center_notice || null) != null && data_base.user_vip_center_notice.length > 0}}" class="tips-item spacing-mt">
<view class="tips">
<view wx:for="{{data_base.user_vip_center_notice}}" wx:key="key" class="item">
{{item}}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册