Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
1b1af214
ShopXO
项目概览
starsw001
/
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,发现更多精彩内容 >>
提交
1b1af214
编写于
7月 24, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小程序海报新增开关,系统优化
上级
e45bd57a
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
42 addition
and
22 deletion
+42
-22
application/admin/view/default/appconfig/weixinmini.html
application/admin/view/default/appconfig/weixinmini.html
+9
-0
application/service/GoodsService.php
application/service/GoodsService.php
+1
-0
application/tags.php
application/tags.php
+4
-0
config/shopxo.sql
config/shopxo.sql
+22
-21
public/appmini/old/weixin/pages/goods-detail/goods-detail.js
public/appmini/old/weixin/pages/goods-detail/goods-detail.js
+5
-0
public/appmini/old/weixin/pages/goods-detail/goods-detail.wxml
...c/appmini/old/weixin/pages/goods-detail/goods-detail.wxml
+1
-1
未找到文件。
application/admin/view/default/appconfig/weixinmini.html
浏览文件 @
1b1af214
...
@@ -27,6 +27,15 @@
...
@@ -27,6 +27,15 @@
</select>
</select>
</div>
</div>
<div
class=
"am-form-group"
>
<label>
{{$data.common_app_is_poster_share.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.common_app_is_poster_share.describe}}
</span></label>
<select
name=
"{{$data.common_app_is_poster_share.only_tag}}"
class=
"am-radius chosen-select c-p"
data-validation-message=
"{{$data.common_app_is_poster_share.error_tips}}"
required
>
{{foreach $common_is_text_list as $v}}
<option
value=
"{{$v.id}}"
{{
if
isset
($
data
['
common_app_is_poster_share
']['
value
'])
and
$
data
['
common_app_is_poster_share
']['
value
']
eq
$
v
['
id
']}}
selected
{{/
if
}}
>
{{$v.name}}
</option>
{{/foreach}}
</select>
</div>
<div
class=
"am-form-group am-form-group-refreshing"
>
<div
class=
"am-form-group am-form-group-refreshing"
>
<input
type=
"hidden"
name=
"nav_type"
value=
"{{$nav_type}}"
/>
<input
type=
"hidden"
name=
"nav_type"
value=
"{{$nav_type}}"
/>
<button
type=
"submit"
class=
"am-btn am-btn-primary am-radius btn-loading-example am-btn-sm am-btn-block"
data-am-loading=
"{loadingText:'处理中...'}"
>
保存
</button>
<button
type=
"submit"
class=
"am-btn am-btn-primary am-radius btn-loading-example am-btn-sm am-btn-block"
data-am-loading=
"{loadingText:'处理中...'}"
>
保存
</button>
...
...
application/service/GoodsService.php
浏览文件 @
1b1af214
...
@@ -1097,6 +1097,7 @@ class GoodsService
...
@@ -1097,6 +1097,7 @@ class GoodsService
'is_backend'
=>
true
,
'is_backend'
=>
true
,
'params'
=>
&
$params
,
'params'
=>
&
$params
,
'data'
=>
&
$data
,
'data'
=>
&
$data
,
'spec'
=>
$specifications
[
'data'
],
'goods_id'
=>
isset
(
$params
[
'id'
])
?
intval
(
$params
[
'id'
])
:
0
,
'goods_id'
=>
isset
(
$params
[
'id'
])
?
intval
(
$params
[
'id'
])
:
0
,
]);
]);
if
(
isset
(
$ret
[
'code'
])
&&
$ret
[
'code'
]
!=
0
)
if
(
isset
(
$ret
[
'code'
])
&&
$ret
[
'code'
]
!=
0
)
...
...
application/tags.php
浏览文件 @
1b1af214
...
@@ -64,5 +64,9 @@ return array (
...
@@ -64,5 +64,9 @@ return array (
array
(
array
(
0
=>
'app\\plugins\\membershiplevel\\Hook'
,
0
=>
'app\\plugins\\membershiplevel\\Hook'
,
),
),
'plugins_service_goods_save_handle'
=>
array
(
0
=>
'app\\plugins\\membershiplevel\\Hook'
,
),
);
);
?>
?>
\ No newline at end of file
config/shopxo.sql
浏览文件 @
1b1af214
此差异已折叠。
点击以展开。
public/appmini/old/weixin/pages/goods-detail/goods-detail.js
浏览文件 @
1b1af214
...
@@ -54,6 +54,9 @@ Page({
...
@@ -54,6 +54,9 @@ Page({
"
src_mini_program_path
"
:
""
,
"
src_mini_program_path
"
:
""
,
"
brand_info
"
:
{},
"
brand_info
"
:
{},
},
},
// 海报分享
common_app_is_poster_share
:
0
,
},
},
on_error
(
e
)
{
on_error
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
...
@@ -140,6 +143,8 @@ Page({
...
@@ -140,6 +143,8 @@ Page({
'
share_product.category_list
'
:
data
.
goods
.
category_names
||
[],
'
share_product.category_list
'
:
data
.
goods
.
category_names
||
[],
'
share_product.src_mini_program_path
'
:
'
/pages/goods-detail/goods-detail?goods_id=
'
+
data
.
goods
.
id
,
'
share_product.src_mini_program_path
'
:
'
/pages/goods-detail/goods-detail?goods_id=
'
+
data
.
goods
.
id
,
'
share_product.brand_info.name
'
:
data
.
goods
.
brand_name
,
'
share_product.brand_info.name
'
:
data
.
goods
.
brand_name
,
common_app_is_poster_share
:
data
.
common_app_is_poster_share
||
0
,
});
});
// 限时秒杀倒计时
// 限时秒杀倒计时
...
...
public/appmini/old/weixin/pages/goods-detail/goods-detail.wxml
浏览文件 @
1b1af214
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
<text class="cr-888 single-text">一键分享给好友、群聊</text>
<text class="cr-888 single-text">一键分享给好友、群聊</text>
</button>
</button>
</view>
</view>
<view class="share-items oh">
<view
wx:if="{{common_app_is_poster_share == 1}}"
class="share-items oh">
<image src="/images/share-friend-icon.png" mode="scaleToFill" />
<image src="/images/share-friend-icon.png" mode="scaleToFill" />
<text class="cr-888 single-text">生成海报,分享到朋友圈、好友及群聊</text>
<text class="cr-888 single-text">生成海报,分享到朋友圈、好友及群聊</text>
</view>
</view>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录