Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
35d874ef
Commit
35d874ef
authored
Dec 31, 2019
by
Junling Bu
Browse files
chore: 删除微信模板实现(微信官方已经不支持)
parent
fa51b868
Changes
23
Hide whitespace changes
Inline
Side-by-side
renard-wx/config/api.js
View file @
35d874ef
...
...
@@ -64,8 +64,6 @@ module.exports = {
FootprintList
:
WxApiRoot
+
'
footprint/list
'
,
//足迹列表
FootprintDelete
:
WxApiRoot
+
'
footprint/delete
'
,
//删除足迹
UserFormIdCreate
:
WxApiRoot
+
'
formid/create
'
,
//用户FromId,用于发送模版消息
GroupOnList
:
WxApiRoot
+
'
groupon/list
'
,
//团购列表
GroupOnMy
:
WxApiRoot
+
'
groupon/my
'
,
//团购API-我的团购
GroupOnDetail
:
WxApiRoot
+
'
groupon/detail
'
,
//团购API-详情
...
...
renard-wx/pages/index/index.js
View file @
35d874ef
...
...
@@ -24,14 +24,6 @@ Page({
}
},
saveFormId
:
function
(
v
)
{
if
(
v
.
detail
.
formId
!=
'
the formId is a mock one
'
)
{
util
.
request
(
api
.
UserFormIdCreate
,
{
formId
:
v
.
detail
.
formId
});
}
},
onPullDownRefresh
()
{
this
.
getIndexData
();
wx
.
stopPullDownRefresh
()
//停止下拉刷新
...
...
renard-wx/pages/index/index.wxml
View file @
35d874ef
...
...
@@ -13,11 +13,11 @@
<navigator url="/pages/goods/goods?id={{item.id}}">
<swiper-item>
<view class="swiper-box">
<
form bindsubmit="saveFormId" report-submit='true'
class='form_class'>
<
view
class='form_class'>
<button formType="submit" class='form_button'>
<image src="{{item.picUrl}}" mode="aspectFill" data-id="{{item.id}}" />
</button>
</
form
>
</
view
>
<view class="swiper-box-info">
<view class="name">{{item.name}}</view>
<view class="price">
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment