Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
e2979b0c
ShopXO
项目概览
jcy2004x
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e2979b0c
编写于
8月 24, 2020
作者:
D
devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.9.1版本
上级
32294196
变更
13
显示空白变更内容
内联
并排
Showing
13 changed file
with
101 addition
and
50 deletion
+101
-50
application/common.php
application/common.php
+10
-1
application/index/controller/Common.php
application/index/controller/Common.php
+10
-1
application/index/view/default/public/footer.html
application/index/view/default/public/footer.html
+26
-22
application/index/view/default/public/header.html
application/index/view/default/public/header.html
+20
-16
application/service/AdminRoleService.php
application/service/AdminRoleService.php
+7
-0
application/service/AdminService.php
application/service/AdminService.php
+2
-1
application/service/BrandService.php
application/service/BrandService.php
+7
-0
application/service/UserService.php
application/service/UserService.php
+8
-1
config/shopxo.php
config/shopxo.php
+3
-0
sourcecode/alipay/pages/plugins/distribution/introduce/introduce.axml
...lipay/pages/plugins/distribution/introduce/introduce.axml
+2
-2
sourcecode/baidu/pages/plugins/distribution/introduce/introduce.swan
...baidu/pages/plugins/distribution/introduce/introduce.swan
+2
-2
sourcecode/toutiao/pages/plugins/distribution/introduce/introduce.ttml
...utiao/pages/plugins/distribution/introduce/introduce.ttml
+2
-2
sourcecode/weixin/pages/plugins/distribution/introduce/introduce.wxml
...eixin/pages/plugins/distribution/introduce/introduce.wxml
+2
-2
未找到文件。
application/common.php
浏览文件 @
e2979b0c
...
...
@@ -2077,8 +2077,17 @@ function ParamsChecked($data, $params)
$temp
=
db
(
$v
[
'checked_data'
])
->
where
([
$v
[
'key_name'
]
=>
$data
[
$v
[
'key_name'
]]])
->
find
();
if
(
!
empty
(
$temp
))
{
// 是否需要排除当前操作数据
if
(
isset
(
$v
[
'checked_key'
]))
{
if
(
empty
(
$data
[
$v
[
'checked_key'
]])
||
(
isset
(
$temp
[
$v
[
'checked_key'
]])
&&
$temp
[
$v
[
'checked_key'
]]
!=
$data
[
$v
[
'checked_key'
]]))
{
return
str_replace
(
'{$var}'
,
$data
[
$v
[
'key_name'
]],
$v
[
'error_msg'
]);
}
}
else
{
return
$v
[
'error_msg'
];
}
}
break
;
}
}
...
...
application/index/controller/Common.php
浏览文件 @
e2979b0c
...
...
@@ -328,9 +328,18 @@ class Common extends Controller
$this
->
assign
(
'is_header'
,
1
);
$this
->
assign
(
'is_footer'
,
1
);
//
图片
host地址
//
附件
host地址
$this
->
assign
(
'attachment_host'
,
config
(
'shopxo.attachment_host'
));
// css/js引入host地址
$this
->
assign
(
'public_host'
,
config
(
'shopxo.public_host'
));
// 当前url地址
$this
->
assign
(
'my_url'
,
__MY_URL__
);
// 当前http类型
$this
->
assign
(
'my_http'
,
__MY_HTTP__
);
// seo
$this
->
assign
(
'home_seo_site_title'
,
MyC
(
'home_seo_site_title'
));
$this
->
assign
(
'home_seo_site_keywords'
,
MyC
(
'home_seo_site_keywords'
));
...
...
application/index/view/default/public/footer.html
浏览文件 @
e2979b0c
...
...
@@ -24,42 +24,42 @@
</html>
<!-- 类库 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/jquery/jquery-2.1.0.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/assets/js/amazeui.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/jquery/jquery-2.1.0.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/assets/js/amazeui.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- 图片放大镜 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/imagezoom/jquery.imagezoom.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/imagezoom/jquery.imagezoom.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- echarts 图表 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/echarts/echarts.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/echarts/macarons.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/echarts/echarts.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/echarts/macarons.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- amazeui插件 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-switch/amazeui.switch.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-chosen/amazeui.chosen.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-dialog/amazeui.dialog.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-tagsinput/amazeui.tagsinput.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/amazeui-switch/amazeui.switch.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/amazeui-chosen/amazeui.chosen.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/amazeui-dialog/amazeui.dialog.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/amazeui-tagsinput/amazeui.tagsinput.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- 图像裁剪插件 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/cropper/cropper.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/cropper/cropper.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- 复制插件 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/clipboard/clipboard.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/clipboard/clipboard.min.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- ueditor 编辑器 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/ueditor/ueditor.config.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/ueditor/ueditor.all.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/ueditor/lang/zh-cn/zh-cn.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/ueditor/ueditor.config.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/ueditor/ueditor.all.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/ueditor/lang/zh-cn/zh-cn.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- 颜色选择器 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/colorpicker/jquery.colorpicker.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/colorpicker/jquery.colorpicker.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- 日期组件 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/My97DatePicker/WdatePicker.js"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/lib/My97DatePicker/WdatePicker.js"
></script>
<!-- baidu map -->
{{if isset($is_load_baidu_map_api) and $is_load_baidu_map_api eq 1}}
<script
type=
"text/javascript"
src=
"{{$
Think.__MY_HTTP__
}}://api.map.baidu.com/api?v=2.0&ak={{:MyC('common_baidu_map_ak')}}"
></script>
<script
type=
"text/javascript"
src=
"{{$
my_http
}}://api.map.baidu.com/api?v=2.0&ak={{:MyC('common_baidu_map_ak')}}"
></script>
{{/if}}
<!-- 隐藏编辑器初始化 -->
...
...
@@ -78,17 +78,17 @@
</script>
<!-- 项目公共 -->
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/js/common.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/index/{{$default_theme}}/js/common.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/common/js/common.js?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/index/{{$default_theme}}/js/common.js?v={{:MyC('home_static_cache_version')}}"
></script>
<!-- 应用插件公共js -->
{{if !empty($plugins_js)}}
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/{{$plugins_js}}?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/{{$plugins_js}}?v={{:MyC('home_static_cache_version')}}"
></script>
{{/if}}
<!-- 当前控制器js -->
{{if !empty($module_js)}}
<script
type=
'text/javascript'
src=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/{{$module_js}}?v={{:MyC('home_static_cache_version')}}"
></script>
<script
type=
'text/javascript'
src=
"{{$
public_host
}}static/{{$module_js}}?v={{:MyC('home_static_cache_version')}}"
></script>
{{/if}}
<!-- 底部信息 -->
...
...
@@ -107,7 +107,11 @@
{{elseif is_array($hook) /}}
{{foreach $hook as $hook_js}}
{{if !empty($hook_js) and is_string($hook_js)}}
{{if substr($hook_js, 0, 4) eq 'http'}}
<script
type=
'text/javascript'
src=
"{{$hook_js}}?v={{:MyC('home_static_cache_version')}}"
></script>
{{else /}}
<script
type=
'text/javascript'
src=
"{{$public_host}}{{$hook_js}}?v={{:MyC('home_static_cache_version')}}"
></script>
{{/if}}
{{/if}}
{{/foreach}}
{{/if}}
...
...
application/index/view/default/public/header.html
浏览文件 @
e2979b0c
...
...
@@ -5,11 +5,11 @@
<title>
{{$home_seo_site_title}}
</title>
<meta
name=
"keywords"
content=
"{{$home_seo_site_keywords}}"
/>
<meta
name=
"description"
content=
"{{$home_seo_site_description}}"
/>
<meta
name=
"generator"
content=
"{{$
Think.__MY_URL__
}}"
/>
<meta
name=
"generator"
content=
"{{$
my_url
}}"
/>
<meta
name=
"application-name"
content=
"{{$home_seo_site_title}}"
/>
<meta
name=
"msapplication-tooltip"
content=
"{{$home_seo_site_title}}"
/>
<meta
name=
"msapplication-starturl"
content=
"{{$
Think.__MY_URL__
}}"
/>
<link
rel=
"shortcut icon"
type=
"image/x-icon"
href=
"{{$
Think.__MY_PUBLIC_URL__
}}favicon.ico"
/>
<meta
name=
"msapplication-starturl"
content=
"{{$
my_url
}}"
/>
<link
rel=
"shortcut icon"
type=
"image/x-icon"
href=
"{{$
public_host
}}favicon.ico"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
...
...
@@ -17,19 +17,19 @@
<link
rel=
"apple-touch-icon"
href=
"{{:AttachmentPathViewHandle(MyC('home_site_desktop_icon'))}}"
>
<link
rel=
"apple-touch-icon-precomposed"
href=
"{{:AttachmentPathViewHandle(MyC('home_site_desktop_icon'))}}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/assets/css/amazeui.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-switch/amazeui.switch.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-chosen/amazeui.chosen.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/cropper/cropper.min.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/lib/amazeui-tagsinput/amazeui.tagsinput.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/common/lib/assets/css/amazeui.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/common/lib/amazeui-switch/amazeui.switch.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/common/lib/amazeui-chosen/amazeui.chosen.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/common/lib/cropper/cropper.min.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/common/lib/amazeui-tagsinput/amazeui.tagsinput.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/common/css/common.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/index/{{$default_theme}}/css/common.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/common/css/common.css?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/index/{{$default_theme}}/css/common.css?v={{:MyC('home_static_cache_version')}}"
/>
{{if !empty($plugins_css)}}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/{{$plugins_css}}?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/{{$plugins_css}}?v={{:MyC('home_static_cache_version')}}"
/>
{{/if}}
{{if !empty($module_css)}}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
Think.__MY_ROOT_PUBLIC__
}}static/{{$module_css}}?v={{:MyC('home_static_cache_version')}}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$
public_host
}}static/{{$module_css}}?v={{:MyC('home_static_cache_version')}}"
/>
{{/if}}
<!-- css钩子 -->
...
...
@@ -40,7 +40,11 @@
{{elseif is_array($hook) /}}
{{foreach $hook as $hook_css}}
{{if !empty($hook_css) and is_string($hook_css)}}
{{if substr($hook_css, 0, 4) eq 'http'}}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$hook_css}}?v={{:MyC('home_static_cache_version')}}"
/>
{{else /}}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{$public_host}}{{$hook_css}}?v={{:MyC('home_static_cache_version')}}"
/>
{{/if}}
{{/if}}
{{/foreach}}
{{/if}}
...
...
@@ -48,9 +52,9 @@
{{/if}}
<script
type=
"text/javascript"
>
var
__root__
=
'
{{$
Think.__MY_ROOT_PUBLIC__
}}
'
;
var
__my_url__
=
'
{{$
Think.__MY_URL__
}}
'
;
var
__public__
=
'
{{$
Think.__MY_ROOT_PUBLIC__
}}
'
;
var
__root__
=
'
{{$
public_host
}}
'
;
var
__my_url__
=
'
{{$
my_url
}}
'
;
var
__public__
=
'
{{$
public_host
}}
'
;
var
__default_theme__
=
'
{{$default_theme}}
'
;
var
__modal_login_url__
=
'
{{:Url("index/user/modallogininfo")}}
'
;
var
__attachment_host__
=
'
{{$attachment_host}}
'
;
...
...
application/service/AdminRoleService.php
浏览文件 @
e2979b0c
...
...
@@ -188,6 +188,13 @@ class AdminRoleService
'checked_data'
=>
'2,8'
,
'error_msg'
=>
'角色名称格式 2~8 个字符之间'
,
],
[
'checked_type'
=>
'unique'
,
'key_name'
=>
'name'
,
'checked_data'
=>
'Role'
,
'checked_key'
=>
'id'
,
'error_msg'
=>
'角色已存在[{$var}]'
,
],
];
$ret
=
ParamsChecked
(
$params
,
$p
);
if
(
$ret
!==
true
)
...
...
application/service/AdminService.php
浏览文件 @
e2979b0c
...
...
@@ -174,7 +174,8 @@ class AdminService
'checked_type'
=>
'unique'
,
'key_name'
=>
'username'
,
'checked_data'
=>
'Admin'
,
'error_msg'
=>
'用户名已存在'
,
'checked_key'
=>
'id'
,
'error_msg'
=>
'管理员已存在[{$var}]'
,
],
[
'checked_type'
=>
'fun'
,
...
...
application/service/BrandService.php
浏览文件 @
e2979b0c
...
...
@@ -196,6 +196,13 @@ class BrandService
'checked_data'
=>
'2,30'
,
'error_msg'
=>
'名称格式 2~30 个字符'
,
],
[
'checked_type'
=>
'unique'
,
'key_name'
=>
'name'
,
'checked_data'
=>
'Brand'
,
'checked_key'
=>
'id'
,
'error_msg'
=>
'品牌已存在[{$var}]'
,
],
[
'checked_type'
=>
'empty'
,
'key_name'
=>
'brand_category_id'
,
...
...
application/service/UserService.php
浏览文件 @
e2979b0c
...
...
@@ -196,7 +196,7 @@ class UserService
[
'checked_type'
=>
'empty'
,
'key_name'
=>
'admin'
,
'error_msg'
=>
'
用户
信息有误'
,
'error_msg'
=>
'
管理员
信息有误'
,
],
[
'checked_type'
=>
'length'
,
...
...
@@ -205,6 +205,13 @@ class UserService
'is_checked'
=>
1
,
'error_msg'
=>
'用户名格式最多 30 个字符之间'
,
],
[
'checked_type'
=>
'unique'
,
'key_name'
=>
'username'
,
'checked_data'
=>
'User'
,
'checked_key'
=>
'id'
,
'error_msg'
=>
'用户已存在[{$var}]'
,
],
[
'checked_type'
=>
'length'
,
'key_name'
=>
'nickname'
,
...
...
config/shopxo.php
浏览文件 @
e2979b0c
...
...
@@ -60,6 +60,9 @@ return [
// 附件host、最后不要带/斜杠结尾, 数据库图片地址以/static/...开头
'attachment_host'
=>
defined
(
'__MY_PUBLIC_URL__'
)
?
substr
(
__MY_PUBLIC_URL__
,
0
,
-
1
)
:
''
,
// css/js引入host地址
'public_host'
=>
__MY_PUBLIC_URL__
,
// 应用商店地址
'store_url'
=>
'https://store.shopxo.net/'
,
'store_payment_url'
=>
'https://store.shopxo.net/payment.html'
,
...
...
sourcecode/alipay/pages/plugins/distribution/introduce/introduce.axml
浏览文件 @
e2979b0c
...
...
@@ -14,8 +14,8 @@
<view class="title fl">返佣比例</view>
<view class="content cr-888 fl br-l">
<view>一级 {{item.level_rate_one}}%</view>
<view>二级 {{item.level_rate_two}}%</view>
<view>三级 {{item.level_rate_three}}%</view>
<view
a:if="{{data_base.level == undefined || data_base.level > 0}}"
>二级 {{item.level_rate_two}}%</view>
<view
a:if="{{data_base.level == undefined || data_base.level > 1}}"
>三级 {{item.level_rate_three}}%</view>
</view>
</view>
<view class="item br-b oh">
...
...
sourcecode/baidu/pages/plugins/distribution/introduce/introduce.swan
浏览文件 @
e2979b0c
...
...
@@ -14,8 +14,8 @@
<view class="title fl">返佣比例</view>
<view class="content cr-888 fl br-l">
<view>一级 {{item.level_rate_one}}%</view>
<view>二级 {{item.level_rate_two}}%</view>
<view>三级 {{item.level_rate_three}}%</view>
<view
s-if="data_base.level == undefined || data_base.level > 0"
>二级 {{item.level_rate_two}}%</view>
<view
s-if="data_base.level == undefined || data_base.level > 1"
>三级 {{item.level_rate_three}}%</view>
</view>
</view>
<view class="item br-b oh">
...
...
sourcecode/toutiao/pages/plugins/distribution/introduce/introduce.ttml
浏览文件 @
e2979b0c
...
...
@@ -14,8 +14,8 @@
<view class="title fl">返佣比例</view>
<view class="content cr-888 fl br-l">
<view>一级 {{item.level_rate_one}}%</view>
<view>二级 {{item.level_rate_two}}%</view>
<view>三级 {{item.level_rate_three}}%</view>
<view
tt:if="{{data_base.level == undefined || data_base.level > 0}}"
>二级 {{item.level_rate_two}}%</view>
<view
tt:if="{{data_base.level == undefined || data_base.level > 1}}"
>三级 {{item.level_rate_three}}%</view>
</view>
</view>
<view class="item br-b oh">
...
...
sourcecode/weixin/pages/plugins/distribution/introduce/introduce.wxml
浏览文件 @
e2979b0c
...
...
@@ -14,8 +14,8 @@
<view class="title fl">返佣比例</view>
<view class="content cr-888 fl br-l">
<view>一级 {{item.level_rate_one}}%</view>
<view>二级 {{item.level_rate_two}}%</view>
<view>三级 {{item.level_rate_three}}%</view>
<view
wx:if="{{data_base.level == undefined || data_base.level > 0}}"
>二级 {{item.level_rate_two}}%</view>
<view
wx:if="{{data_base.level == undefined || data_base.level > 1}}"
>三级 {{item.level_rate_three}}%</view>
</view>
</view>
<view class="item br-b oh">
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录