Commit c07e7d13 by 高淑倩

plus

parent eb8c120b
...@@ -41,7 +41,6 @@ Component({ ...@@ -41,7 +41,6 @@ Component({
wx.showLoading({ wx.showLoading({
title: '加载中' title: '加载中'
}) })
wxService.request({ wxService.request({
url: app.globalData.ctx + '/sale/premium/query', url: app.globalData.ctx + '/sale/premium/query',
header: { header: {
...@@ -57,18 +56,6 @@ Component({ ...@@ -57,18 +56,6 @@ Component({
wx.hideLoading() wx.hideLoading()
} }
}) })
// wxService.get(`/sale/premium/query`).then(res => {
// const { result, data } = res.data
// if (result == 0) {
// this.setData({
// skuVOList: data
// })
// }
// }).finally(() => {
// })
}, },
_getUserInfo(res = {}) { _getUserInfo(res = {}) {
const userInfo = res.detail || {} const userInfo = res.detail || {}
......
<!--component/plus/plus.wxml--> <!--component/plus/plus.wxml-->
<view class="plus-wrap" wx:if="{{skuList}}"> <view class="plus-wrap" wx:if="{{skuVOList}}">
<scroll-view scroll-x class="scroll-view_H" scroll-with-animation="{{true}}"> <scroll-view scroll-x class="scroll-view_H" scroll-with-animation="{{true}}">
<block <block
wx:for="{{skuList}}" wx:for="{{skuVOList}}"
wx:for-index="idx" wx:for-index="idx"
wx:for-item="navItem" wx:for-item="navItem"
wx:key="idx" wx:key="idx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment