Commit ee6d99d25fd3989982eac119a5fa3a1837d253a2

Authored by yiren
1 parent 14ebfa92

商家端优惠券购买分享

@@ -10,6 +10,7 @@ Page({ @@ -10,6 +10,7 @@ Page({
10 sellerName: '', 10 sellerName: '',
11 sellerid: '', 11 sellerid: '',
12 oid: '', 12 oid: '',
  13 + types:'',
13 priceInfo: '', 14 priceInfo: '',
14 scoreInfo: '', 15 scoreInfo: '',
15 certificate: '', 16 certificate: '',
@@ -23,7 +24,9 @@ Page({ @@ -23,7 +24,9 @@ Page({
23 sellerName: options.sellerName, 24 sellerName: options.sellerName,
24 sellerid: options.sellerid, 25 sellerid: options.sellerid,
25 oid: options.oid, 26 oid: options.oid,
  27 + types:options.types
26 }) 28 })
  29 + console.log('options',{...options});
27 this.getList() 30 this.getList()
28 }, 31 },
29 /** 32 /**
@@ -59,7 +62,7 @@ Page({ @@ -59,7 +62,7 @@ Page({
59 let url = util.http_build_query({ 62 let url = util.http_build_query({
60 sid: this.data.sellerid, 63 sid: this.data.sellerid,
61 name: this.data.sellerName, 64 name: this.data.sellerName,
62 - types: '1', 65 + types: this.data.types,
63 oid: this.data.oid, 66 oid: this.data.oid,
64 id 67 id
65 }, '/pack-activity/pack/vipRecharge') 68 }, '/pack-activity/pack/vipRecharge')
1 <!--pack-cookbook/pages/favourableList.wxml--> 1 <!--pack-cookbook/pages/favourableList.wxml-->
2 <wxs src="../../utils/util.wxs" module="util" /> 2 <wxs src="../../utils/util.wxs" module="util" />
3 -<nav></nav> 3 +<nav>{{sellerName}}</nav>
4 <view class="box" wx:if="{{list.length>0}}"> 4 <view class="box" wx:if="{{list.length>0}}">
5 <view wx:for="{{list}}" class="single" bindtap="gogoSingle" data-id="{{item.id}}"> 5 <view wx:for="{{list}}" class="single" bindtap="gogoSingle" data-id="{{item.id}}">
6 <view class="topBox"> 6 <view class="topBox">
@@ -69,7 +69,8 @@ Page({ @@ -69,7 +69,8 @@ Page({
69 let url=util.http_build_query({ 69 let url=util.http_build_query({
70 sellerName:this.data.seller.name, 70 sellerName:this.data.seller.name,
71 sellerid:this.data.seller.sid, 71 sellerid:this.data.seller.sid,
72 - oid:this.data.detail.id 72 + oid:this.data.detail.id,
  73 + types:'1'
73 },'/pack-cookbook/pages/favourableList') 74 },'/pack-cookbook/pages/favourableList')
74 wx.navigateTo({ 75 wx.navigateTo({
75 url 76 url