作者 王毅

05-09鲜生小程序

正在显示 45 个修改的文件 包含 548 行增加105 行删除
@@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
19 "pages/my/invoice/invoice", 19 "pages/my/invoice/invoice",
20 "pages/my/commonProblems/commonProblems", 20 "pages/my/commonProblems/commonProblems",
21 "pages/my/myAddress/myAddress", 21 "pages/my/myAddress/myAddress",
  22 +
22 "pages/my/invitationPolite/invitationPolite", 23 "pages/my/invitationPolite/invitationPolite",
23 "pages/my/comment/comment", 24 "pages/my/comment/comment",
24 "pages/my/coupons/coupons", 25 "pages/my/coupons/coupons",
@@ -14,7 +14,12 @@ Page({ @@ -14,7 +14,12 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 再逛逛
  18 + get_return(){
  19 + wx.switchTab({
  20 + url: '../../pages/index/index'
  21 + });
  22 + },
18 /** 23 /**
19 * 生命周期函数--监听页面初次渲染完成 24 * 生命周期函数--监听页面初次渲染完成
20 */ 25 */
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 <view class='left'> 8 <view class='left'>
9 <view class='note'>提示</view>满200元包邮,还差36包邮 9 <view class='note'>提示</view>满200元包邮,还差36包邮
10 </view> 10 </view>
11 - <view class='right'>再逛逛 <icon class='iconfont icon-icondayu'></icon></view> 11 + <view class='right' catchtap='get_return'>再逛逛 <icon class='iconfont icon-icondayu'></icon></view>
12 </view> 12 </view>
13 <!-- 商品列表 --> 13 <!-- 商品列表 -->
14 <view class='product_list'> 14 <view class='product_list'>
@@ -11,56 +11,71 @@ Page({ @@ -11,56 +11,71 @@ Page({
11 /** 11 /**
12 * 生命周期函数--监听页面加载 12 * 生命周期函数--监听页面加载
13 */ 13 */
14 - onLoad: function (options) { 14 + onLoad: function(options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back() {
  19 + wx.navigateBack({})
  20 + },
  21 + // 跳转图文食谱
  22 + get_recipe(){
  23 + wx.navigateTo({
  24 + url: '../production_steps/production_steps',
  25 + })
  26 + },
  27 + // 跳转购物车
  28 + get_car() {
  29 + wx.switchTab({
  30 + url: '/pages/cart/cart'
  31 + });
  32 + },
18 /** 33 /**
19 * 生命周期函数--监听页面初次渲染完成 34 * 生命周期函数--监听页面初次渲染完成
20 */ 35 */
21 - onReady: function () { 36 + onReady: function() {
22 37
23 }, 38 },
24 39
25 /** 40 /**
26 * 生命周期函数--监听页面显示 41 * 生命周期函数--监听页面显示
27 */ 42 */
28 - onShow: function () { 43 + onShow: function() {
29 44
30 }, 45 },
31 46
32 /** 47 /**
33 * 生命周期函数--监听页面隐藏 48 * 生命周期函数--监听页面隐藏
34 */ 49 */
35 - onHide: function () { 50 + onHide: function() {
36 51
37 }, 52 },
38 53
39 /** 54 /**
40 * 生命周期函数--监听页面卸载 55 * 生命周期函数--监听页面卸载
41 */ 56 */
42 - onUnload: function () { 57 + onUnload: function() {
43 58
44 }, 59 },
45 60
46 /** 61 /**
47 * 页面相关事件处理函数--监听用户下拉动作 62 * 页面相关事件处理函数--监听用户下拉动作
48 */ 63 */
49 - onPullDownRefresh: function () { 64 + onPullDownRefresh: function() {
50 65
51 }, 66 },
52 67
53 /** 68 /**
54 * 页面上拉触底事件的处理函数 69 * 页面上拉触底事件的处理函数
55 */ 70 */
56 - onReachBottom: function () { 71 + onReachBottom: function() {
57 72
58 }, 73 },
59 74
60 /** 75 /**
61 * 用户点击右上角分享 76 * 用户点击右上角分享
62 */ 77 */
63 - onShareAppMessage: function () { 78 + onShareAppMessage: function() {
64 79
65 } 80 }
66 }) 81 })
1 <!--pages/index/goodsDetial/goodsDetial.wxml--> 1 <!--pages/index/goodsDetial/goodsDetial.wxml-->
2 <view class='detail_container'> 2 <view class='detail_container'>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'> 5 <view class='coupons'>
6 <view class='goods_detail'>商品详情</view> 6 <view class='goods_detail'>商品详情</view>
7 <view class='graphic_detail'>图文详情</view> 7 <view class='graphic_detail'>图文详情</view>
@@ -270,12 +270,12 @@ @@ -270,12 +270,12 @@
270 </view> 270 </view>
271 </view> 271 </view>
272 <view class='graphic_ingredients_box'> 272 <view class='graphic_ingredients_box'>
273 - <view class='graphic_ingredients'> 273 + <view class='graphic_ingredients' bindtap='get_recipe'>
274 <view class='graphic_ingredients_background'> 274 <view class='graphic_ingredients_background'>
275 <view class='graphic_ingredients_border'>浏览图文食谱</view> 275 <view class='graphic_ingredients_border'>浏览图文食谱</view>
276 </view> 276 </view>
277 </view> 277 </view>
278 - <view class='graphic_ingredients'> 278 + <view class='graphic_ingredients' bindtap='get_recipe'>
279 <view class='graphic_ingredients_background'> 279 <view class='graphic_ingredients_background'>
280 <view class='graphic_ingredients_border'>浏览图文食谱</view> 280 <view class='graphic_ingredients_border'>浏览图文食谱</view>
281 </view> 281 </view>
@@ -325,7 +325,7 @@ @@ -325,7 +325,7 @@
325 325
326 <view class='bottom_btn'> 326 <view class='bottom_btn'>
327 <view class='hint_btn'> 327 <view class='hint_btn'>
328 - <view class='shop_car'> 328 + <view class='shop_car' bindtap='get_car'>
329 <view class='iconfont icon-gouwuche'></view> 329 <view class='iconfont icon-gouwuche'></view>
330 <view>购物车</view> 330 <view>购物车</view>
331 </view> 331 </view>
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 商品包内容详情
  22 + getdetails_shop(){
  23 + wx.navigateTo({
  24 + url: '../goodsDetial/goodsDetial',
  25 + })
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/index/goodsDetial/goodsDetial.wxml--> 1 <!--pages/index/goodsDetial/goodsDetial.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'>商品详情</view> 5 <view class='coupons'>商品详情</view>
6 <view class='share'>分享</view> 6 <view class='share'>分享</view>
7 </view> 7 </view>
@@ -171,7 +171,7 @@ @@ -171,7 +171,7 @@
171 </view> 171 </view>
172 <view class='detection_hint'>经过14项感官排查,100%可溯,点标签查看。</view> 172 <view class='detection_hint'>经过14项感官排查,100%可溯,点标签查看。</view>
173 <view class='collocation'> 173 <view class='collocation'>
174 - <view class='collocation_box'> 174 + <view class='collocation_box' bindtap='getdetails_shop'>
175 <view class='collocation_img'> 175 <view class='collocation_img'>
176 <image src='../../imgs/pic43.png'></image> 176 <image src='../../imgs/pic43.png'></image>
177 </view> 177 </view>
@@ -180,7 +180,7 @@ @@ -180,7 +180,7 @@
180 <view class='introduce'>量大好吃无限回购</view> 180 <view class='introduce'>量大好吃无限回购</view>
181 </view> 181 </view>
182 </view> 182 </view>
183 - <view class='collocation_box'> 183 + <view class='collocation_box' bindtap='getdetails_shop'>
184 <view class='collocation_img'> 184 <view class='collocation_img'>
185 <image src='../../imgs/pic43.png'></image> 185 <image src='../../imgs/pic43.png'></image>
186 </view> 186 </view>
@@ -189,7 +189,7 @@ @@ -189,7 +189,7 @@
189 <view class='introduce'>量大好吃无限回购</view> 189 <view class='introduce'>量大好吃无限回购</view>
190 </view> 190 </view>
191 </view> 191 </view>
192 - <view class='collocation_box'> 192 + <view class='collocation_box' bindtap='getdetails_shop'>
193 <view class='collocation_img'> 193 <view class='collocation_img'>
194 <image src='../../imgs/pic43.png'></image> 194 <image src='../../imgs/pic43.png'></image>
195 </view> 195 </view>
@@ -198,7 +198,7 @@ @@ -198,7 +198,7 @@
198 <view class='introduce'>量大好吃无限回购</view> 198 <view class='introduce'>量大好吃无限回购</view>
199 </view> 199 </view>
200 </view> 200 </view>
201 - <view class='collocation_box'> 201 + <view class='collocation_box' bindtap='getdetails_shop'>
202 <view class='collocation_img'> 202 <view class='collocation_img'>
203 <image src='../../imgs/pic43.png'></image> 203 <image src='../../imgs/pic43.png'></image>
204 </view> 204 </view>
@@ -234,7 +234,7 @@ @@ -234,7 +234,7 @@
234 <view class='item_list6'> 234 <view class='item_list6'>
235 <view class='collocation_title'>建议搭配 酸梅汁或红酒 解腻助消化</view> 235 <view class='collocation_title'>建议搭配 酸梅汁或红酒 解腻助消化</view>
236 <view class='collocation'> 236 <view class='collocation'>
237 - <view class='collocation_box'> 237 + <view class='collocation_box' bindtap='getdetails_shop'>
238 <view class='collocation_img'> 238 <view class='collocation_img'>
239 <image src='../../imgs/pic43.png'></image> 239 <image src='../../imgs/pic43.png'></image>
240 </view> 240 </view>
@@ -249,7 +249,7 @@ @@ -249,7 +249,7 @@
249 </view> 249 </view>
250 </view> 250 </view>
251 251
252 - <view class='collocation_box'> 252 + <view class='collocation_box' bindtap='getdetails_shop'>
253 <view class='collocation_img'> 253 <view class='collocation_img'>
254 <image src='../../imgs/pic43.png'></image> 254 <image src='../../imgs/pic43.png'></image>
255 </view> 255 </view>
@@ -66,6 +66,18 @@ Page({ @@ -66,6 +66,18 @@ Page({
66 }) 66 })
67 67
68 }, 68 },
  69 + // 跳转至详情
  70 + get_contant(){
  71 + wx.navigateTo({
  72 + url: '../../pages/my/big/big',
  73 + })
  74 + },
  75 + // 跳转商品详情
  76 + get_goodsDetial(){
  77 + wx.navigateTo({
  78 + url: '/pages/index/goodsDetial/goodsDetial',
  79 + })
  80 + },
69 toMessage(){ 81 toMessage(){
70 wx.navigateTo({ 82 wx.navigateTo({
71 url: '/pages/my/activityInformation/activityInformation', 83 url: '/pages/my/activityInformation/activityInformation',
@@ -84,7 +84,7 @@ @@ -84,7 +84,7 @@
84 <text class="title_right"></text> 84 <text class="title_right"></text>
85 </view> 85 </view>
86 <scroll-view class='scroll_box' scroll-x> 86 <scroll-view class='scroll_box' scroll-x>
87 - <view class='new_person_item'> 87 + <navigator url='/pages/index/goodsDetial/goodsDetial' class='new_person_item'>
88 <image src='../imgs/pic1.png'></image> 88 <image src='../imgs/pic1.png'></image>
89 <view class='goods_name'>三纹鱼片</view> 89 <view class='goods_name'>三纹鱼片</view>
90 <view> 90 <view>
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@
92 <text class='pprice'>26.0</text> 92 <text class='pprice'>26.0</text>
93 <text class='oprice'>¥52.0</text> 93 <text class='oprice'>¥52.0</text>
94 </view> 94 </view>
95 - </view> 95 + </navigator>
96 <navigator url='/pages/index/goodsDetial/goodsDetial' class='new_person_item'> 96 <navigator url='/pages/index/goodsDetial/goodsDetial' class='new_person_item'>
97 <image src='../imgs/pic1.png'></image> 97 <image src='../imgs/pic1.png'></image>
98 <view class='goods_name'>三纹鱼片</view> 98 <view class='goods_name'>三纹鱼片</view>
@@ -102,7 +102,7 @@ @@ -102,7 +102,7 @@
102 <text class='oprice'>¥52.0</text> 102 <text class='oprice'>¥52.0</text>
103 </view> 103 </view>
104 </navigator> 104 </navigator>
105 - <view class='new_person_item'> 105 + <navigator url='/pages/index/goodsDetial/goodsDetial' class='new_person_item'>
106 <image src='../imgs/pic1.png'></image> 106 <image src='../imgs/pic1.png'></image>
107 <view class='goods_name'>三纹鱼片</view> 107 <view class='goods_name'>三纹鱼片</view>
108 <view> 108 <view>
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
110 <text class='pprice'>26.0</text> 110 <text class='pprice'>26.0</text>
111 <text class='oprice'>¥52.0</text> 111 <text class='oprice'>¥52.0</text>
112 </view> 112 </view>
113 - </view> 113 + </navigator>
114 </scroll-view> 114 </scroll-view>
115 </view> 115 </view>
116 <view class='nav_type_box'> 116 <view class='nav_type_box'>
@@ -134,10 +134,10 @@ @@ -134,10 +134,10 @@
134 </view> 134 </view>
135 </view> 135 </view>
136 <view class='classfy' style='padding-top:40rpx;'> 136 <view class='classfy' style='padding-top:40rpx;'>
137 - <image src='../imgs/pic2.png'></image> 137 + <image src='../imgs/pic2.png' bindtap='get_contant'></image>
138 </view> 138 </view>
139 <view class='goodbox'> 139 <view class='goodbox'>
140 - <view class='good_item'> 140 + <view class='good_item' bindtap='get_goodsDetial'>
141 <view class='good_img'> 141 <view class='good_img'>
142 <image src='../imgs/pic2.png'></image> 142 <image src='../imgs/pic2.png'></image>
143 </view> 143 </view>
@@ -161,7 +161,7 @@ @@ -161,7 +161,7 @@
161 </view> 161 </view>
162 </view> 162 </view>
163 </view> 163 </view>
164 - <view class='good_item'> 164 + <view class='good_item' bindtap='get_goodsDetial'>
165 <view class='good_img'> 165 <view class='good_img'>
166 <image src='../imgs/pic2.png'></image> 166 <image src='../imgs/pic2.png'></image>
167 </view> 167 </view>
@@ -14,7 +14,10 @@ Page({ @@ -14,7 +14,10 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back(){
  19 + wx.navigateBack({})
  20 + },
18 /** 21 /**
19 * 生命周期函数--监听页面初次渲染完成 22 * 生命周期函数--监听页面初次渲染完成
20 */ 23 */
1 <!--pages/index/production_steps/production_steps.wxml--> 1 <!--pages/index/production_steps/production_steps.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'>2/5</view> 5 <view class='coupons'>2/5</view>
6 </view> 6 </view>
7 <view class='banner_img'> 7 <view class='banner_img'>
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 兑换码充值
  18 + get_exchange() {
  19 + wx.navigateTo({
  20 + url: '../charger_code/charger_code',
  21 + })
  22 + },
  23 + // 返回上一页
  24 + get_back(){
  25 + wx.navigateBack({})
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/my/balance _center/balance _center.wxml--> 1 <!--pages/my/balance _center/balance _center.wxml-->
2 <view class='banner_box'> 2 <view class='banner_box'>
3 <view class='banner_top'> 3 <view class='banner_top'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='hello'>你好,Rico 5 <view class='hello'>你好,Rico
6 </view> 6 </view>
7 - <view class='charge_code'>兑换码充值</view> 7 + <view class='charge_code' catchtap="get_exchange">兑换码充值</view>
8 </view> 8 </view>
9 <view class='banner_middle'> 9 <view class='banner_middle'>
10 <view class='banner_img'> 10 <view class='banner_img'>
@@ -14,7 +14,22 @@ Page({ @@ -14,7 +14,22 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 兑换码充值
  22 + get_exchange() {
  23 + wx.navigateTo({
  24 + url: '../charger_code/charger_code',
  25 + })
  26 + },
  27 + // 账单明细
  28 + get_billing(){
  29 + wx.navigateTo({
  30 + url: '../balance _center/balance _center',
  31 + })
  32 + },
18 /** 33 /**
19 * 生命周期函数--监听页面初次渲染完成 34 * 生命周期函数--监听页面初次渲染完成
20 */ 35 */
1 <!--pages/my/balance _center/balance _center.wxml--> 1 <!--pages/my/balance _center/balance _center.wxml-->
2 <view class='banner_box'> 2 <view class='banner_box'>
3 <view class='banner_top'> 3 <view class='banner_top'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='hello'>你好,Rico 5 <view class='hello'>你好,Rico
6 </view> 6 </view>
7 - <view class='charge_code'>兑换码充值</view> 7 + <view class='charge_code' catchtap="get_exchange">兑换码充值</view>
8 </view> 8 </view>
9 <view class='banner_middle'> 9 <view class='banner_middle'>
10 <view class='banner_img'> 10 <view class='banner_img'>
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 <view class='iconfont icon-chuxuyouli'></view> 20 <view class='iconfont icon-chuxuyouli'></view>
21 <view class='btn_character'>储值有礼</view> 21 <view class='btn_character'>储值有礼</view>
22 </view> 22 </view>
23 - <view class='bottom_btn1'> 23 + <view class='bottom_btn1' bindtap='get_billing'>
24 <view class='iconfont icon-zhangdanmingxi'></view> 24 <view class='iconfont icon-zhangdanmingxi'></view>
25 <view class='btn_character'>账单明细</view> 25 <view class='btn_character'>账单明细</view>
26 </view> 26 </view>
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <view class='amount_hint'>(储值金额暂不支持提现功能)</view> 32 <view class='amount_hint'>(储值金额暂不支持提现功能)</view>
33 </view> 33 </view>
34 <view class='species_box'> 34 <view class='species_box'>
35 - <view class='species1' wx:for="{{[1,2,3,4]}}"> 35 + <view class='species1' wx:for="{{[1,2,3,4]}}" wx:key="">
36 <view>100 36 <view>100
37 <text>元</text> </view> 37 <text>元</text> </view>
38 <view class='species_content'>送20元红包+1月会员</view> 38 <view class='species_content'>送20元红包+1月会员</view>
@@ -14,7 +14,14 @@ Page({ @@ -14,7 +14,14 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 确认兑换
  22 + getaffirm_exchange(){
  23 + wx.navigateBack({})
  24 + },
18 /** 25 /**
19 * 生命周期函数--监听页面初次渲染完成 26 * 生命周期函数--监听页面初次渲染完成
20 */ 27 */
1 <!--pages/my/charger_code/charger_code.wxml--> 1 <!--pages/my/charger_code/charger_code.wxml-->
2 <view class='container'> 2 <view class='container'>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='title'>兑换码充值</view> 5 <view class='title'>兑换码充值</view>
6 </view> 6 </view>
7 <view class='charge_code'> 7 <view class='charge_code'>
@@ -10,6 +10,6 @@ @@ -10,6 +10,6 @@
10 </view> 10 </view>
11 <view class='iconfont icon-saoma'></view> 11 <view class='iconfont icon-saoma'></view>
12 </view> 12 </view>
13 - <view class='bottom_btn'>确认兑换</view> 13 + <view class='bottom_btn' bindtap='getaffirm_exchange'>确认兑换</view>
14 <view class='hint'>*每个兑换码仅可以使用一次</view> 14 <view class='hint'>*每个兑换码仅可以使用一次</view>
15 </view> 15 </view>
@@ -8,20 +8,20 @@ @@ -8,20 +8,20 @@
8 <view class='evaluation'> 8 <view class='evaluation'>
9 <view>商品质量 “满意”</view> 9 <view>商品质量 “满意”</view>
10 <view class='icon_font'> 10 <view class='icon_font'>
11 - <view class='iconfont icon-pingjia' wx:for='{{[1,2,3,4,5]}}'></view> 11 + <view class='iconfont icon-pingjia' wx:for='{{[1,2,3,4,5]}}' wx:key=""></view>
12 </view> 12 </view>
13 </view> 13 </view>
14 <view class='evaluation1'> 14 <view class='evaluation1'>
15 <view>物流服务 “无可挑剔”</view> 15 <view>物流服务 “无可挑剔”</view>
16 <view class='icon_font'> 16 <view class='icon_font'>
17 - <view class='iconfont icon-pingjia' wx:for='{{[1,2,3,4,5]}}'></view> 17 + <view class='iconfont icon-pingjia' wx:for='{{[1,2,3,4,5]}}' wx:key=""></view>
18 </view> 18 </view>
19 </view> 19 </view>
20 </view> 20 </view>
21 21
22 22
23 <view class='content_item'> 23 <view class='content_item'>
24 - <view class='item_list' wx:for="{{[1,2]}}"> 24 + <view class='item_list' wx:for="{{[1,2]}}" wx:key="">
25 <view>香蕉牛孩200ml*4</view> 25 <view>香蕉牛孩200ml*4</view>
26 <view class='content_btn'> 26 <view class='content_btn'>
27 <view class='praise'> 27 <view class='praise'>
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 开发票
  22 + get_invoice(){
  23 + wx.navigateTo({
  24 + url: '../invoiceInformation/invoiceInformation',
  25 + })
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/my/editAddress/editAddress.wxml--> 1 <!--pages/my/editAddress/editAddress.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'>常见问题</view> 5 <view class='coupons'>常见问题</view>
6 - <view class='ticket'>开发票</view> 6 + <view class='ticket' catchtap='get_invoice'>开发票</view>
7 </view> 7 </view>
8 <view class='content_list'> 8 <view class='content_list'>
9 <view class='list1'> 9 <view class='list1'>
@@ -14,7 +14,18 @@ Page({ @@ -14,7 +14,18 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 回到个人中心
  18 + get_my() {
  19 + wx.navigateBack({})
  20 + },
  21 + // 保存收货地址
  22 + getsave_address(){
  23 + wx.navigateBack({})
  24 + },
  25 + // 删除地址
  26 + getdel_address(){
  27 + wx.navigateBack({})
  28 + },
18 /** 29 /**
19 * 生命周期函数--监听页面初次渲染完成 30 * 生命周期函数--监听页面初次渲染完成
20 */ 31 */
1 <!--pages/my/editAddress/editAddress.wxml--> 1 <!--pages/my/editAddress/editAddress.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>编辑地址</view> 5 <view class='coupons'>编辑地址</view>
6 </view> 6 </view>
7 <view> 7 <view>
@@ -51,8 +51,8 @@ @@ -51,8 +51,8 @@
51 </view> 51 </view>
52 52
53 <view class='bottom_btn'> 53 <view class='bottom_btn'>
54 - <view class='btn1'>保存收货地址</view>  
55 - <view class='btn2'>删除地址</view> 54 + <view class='btn1' bindtap='getsave_address'>保存收货地址</view>
  55 + <view class='btn2' bindtap='getdel_address'>删除地址</view>
56 </view> 56 </view>
57 57
58 </view> 58 </view>
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 问题详情
  22 + getdetails_issue(){
  23 + wx.navigateTo({
  24 + url: '../commonProblems/commonProblems',
  25 + })
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/my/editAddress/editAddress.wxml--> 1 <!--pages/my/editAddress/editAddress.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>常见问题</view> 5 <view class='coupons'>常见问题</view>
6 </view> 6 </view>
7 <view class='common_problems'>常见问题</view> 7 <view class='common_problems'>常见问题</view>
8 <view class='content_list'> 8 <view class='content_list'>
9 - <view class='list1' wx:for='{{[1,2,3,4,5,6]}}'> 9 + <view class='list1' wx:for='{{[1,2,3,4,5,6]}}' wx:key="" bindtap='getdetails_issue'>
10 <view>发货问题</view> 10 <view>发货问题</view>
11 <view class='iconfont icon-jinru'></view> 11 <view class='iconfont icon-jinru'></view>
12 </view> 12 </view>
@@ -14,7 +14,10 @@ Page({ @@ -14,7 +14,10 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back(){
  19 + wx.navigateBack({})
  20 + },
18 /** 21 /**
19 * 生命周期函数--监听页面初次渲染完成 22 * 生命周期函数--监听页面初次渲染完成
20 */ 23 */
1 <!--pages/my/invitationList/invitationList.wxml--> 1 <!--pages/my/invitationList/invitationList.wxml-->
2 <view> 2 <view>
3 <view class='banner_tab'> 3 <view class='banner_tab'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'>邀请排行榜</view> 5 <view class='coupons'>邀请排行榜</view>
6 </view> 6 </view>
7 <view class='rankr_box'> 7 <view class='rankr_box'>
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 跳转邀请排行榜
  22 + get_raking(){
  23 + wx.navigateTo({
  24 + url: '../invitationList/invitationList',
  25 + })
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/my/invitationPolite/invitationPolite.wxml--> 1 <!--pages/my/invitationPolite/invitationPolite.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>邀请有利</view> 5 <view class='coupons'>邀请有利</view>
6 - <view class='list'>邀请排行榜</view> 6 + <view class='list' catchtap='get_raking'>邀请排行榜</view>
7 </view> 7 </view>
8 8
9 <view class='banner_img'> 9 <view class='banner_img'>
@@ -14,7 +14,6 @@ Page({ @@ -14,7 +14,6 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 -  
18 /** 17 /**
19 * 生命周期函数--监听页面初次渲染完成 18 * 生命周期函数--监听页面初次渲染完成
20 */ 19 */
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 <view class='item_list1'> 17 <view class='item_list1'>
18 <view class='list_title'>配送信息</view> 18 <view class='list_title'>配送信息</view>
19 <view class='content'> 19 <view class='content'>
20 - <view class='content_list' wx:for="{{[1,2,3]}}"> 20 + <view class='content_list' wx:for="{{[1,2,3]}}" wx:key="">
21 <view class='content_detail'> 21 <view class='content_detail'>
22 <view class='content_img'> 22 <view class='content_img'>
23 <image src='http://hifresh.w.bronet.cn/assets/wxapp/keshihua@2x.png'></image> 23 <image src='http://hifresh.w.bronet.cn/assets/wxapp/keshihua@2x.png'></image>
@@ -14,7 +14,14 @@ Page({ @@ -14,7 +14,14 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 提交
  22 + get_sumbit(){
  23 + wx.navigateBack({})
  24 + },
18 /** 25 /**
19 * 生命周期函数--监听页面初次渲染完成 26 * 生命周期函数--监听页面初次渲染完成
20 */ 27 */
1 <!--pages/my/invoiceInformation/invoiceInformation.wxml--> 1 <!--pages/my/invoiceInformation/invoiceInformation.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'>填写发票信息</view> 5 <view class='coupons'>填写发票信息</view>
6 </view> 6 </view>
7 <view class='tab_list'> 7 <view class='tab_list'>
@@ -94,7 +94,7 @@ @@ -94,7 +94,7 @@
94 94
95 95
96 <view class='bottom'> 96 <view class='bottom'>
97 - <view class='submit_btn'>提交</view> 97 + <view class='submit_btn' bindtap='get_sumbit'>提交</view>
98 <view class='hint_information'>提示:开票金额200,需支付邮费(货到付款)</view> 98 <view class='hint_information'>提示:开票金额200,需支付邮费(货到付款)</view>
99 </view> 99 </view>
100 100
@@ -14,7 +14,10 @@ Page({ @@ -14,7 +14,10 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回上一页
  18 + get_back(){
  19 + wx.navigateBack({})
  20 + },
18 /** 21 /**
19 * 生命周期函数--监听页面初次渲染完成 22 * 生命周期函数--监听页面初次渲染完成
20 */ 23 */
1 <!--pages/my/modifyName/modifyName.wxml--> 1 <!--pages/my/modifyName/modifyName.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_back'></view>
5 <view class='coupons'>修改昵称</view> 5 <view class='coupons'>修改昵称</view>
6 </view> 6 </view>
7 7
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 <view class='hint'>以英文字母或汉字开头,限4-16个字符,一个汉字为2个字符</view> 13 <view class='hint'>以英文字母或汉字开头,限4-16个字符,一个汉字为2个字符</view>
14 </view> 14 </view>
15 15
16 - <view class='bottom_btn'>确定</view> 16 + <view class='bottom_btn' bindtap='get_back'>确定</view>
17 17
18 18
19 19
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 修改昵称
  22 + getamend_nickname(){
  23 + wx.navigateTo({
  24 + url: '../modifyName/modifyName',
  25 + })
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/my/modifyPersonInformation/modifyPersonInformation.wxml--> 1 <!--pages/my/modifyPersonInformation/modifyPersonInformation.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>修改个人信息</view> 5 <view class='coupons'>修改个人信息</view>
6 </view> 6 </view>
7 7
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 </view> 16 </view>
17 </view> 17 </view>
18 18
19 - <view class='item_list'> 19 + <view class='item_list' bindtap='getamend_nickname'>
20 <view class='content_title'>昵称</view> 20 <view class='content_title'>昵称</view>
21 <view class='person_information_box'> 21 <view class='person_information_box'>
22 <view class='content_information'>叶晓林</view> 22 <view class='content_information'>叶晓林</view>
@@ -16,5 +16,86 @@ Page({ @@ -16,5 +16,86 @@ Page({
16 onLoad: function() { 16 onLoad: function() {
17 17
18 }, 18 },
  19 + // 消息中心
  20 + get_message(){
  21 + wx.navigateTo({
  22 + url: '../my/activityInformation/activityInformation',
  23 + })
  24 + },
  25 + // 修改个人信息
  26 + getamend_person(){
  27 + wx.navigateTo({
  28 + url: '../my/modifyPersonInformation/modifyPersonInformation',
  29 + })
  30 + },
  31 + // 兑换码充值
  32 + get_activity(){
  33 + wx.navigateTo({
  34 + url: '../my/charger_code/charger_code',
  35 + })
  36 + },
  37 + // 待付款
  38 + get_obligation(){
  39 + wx.navigateTo({
  40 + url: '../my/orderDetail/orderDetail',
  41 + })
  42 + },
  43 + // 待发货
  44 + get_dropshop(){
  45 + wx.navigateTo({
  46 + url: '../my/orderDetail/orderDetail',
  47 + })
  48 + },
  49 + // 已发货
  50 + get_shipped(){
  51 + wx.navigateTo({
  52 + url: '../my/orderDetail/orderDetail',
  53 + })
  54 + },
  55 + // 待评价
  56 + get_evaluate(){
  57 + wx.navigateTo({
  58 + url: '../my/orderDetail/orderDetail',
  59 + })
  60 + },
  61 + // 售后
  62 + get_sale(){
  63 + wx.navigateTo({
  64 + url: '../my/orderDetail/orderDetail',
  65 + })
  66 + },
  67 + // 储值有礼
  68 + get_recharge(){
  69 + wx.navigateTo({
  70 + url: '../my/balance _center2/balance _center2',
  71 + })
  72 + },
  73 + // 分享有礼
  74 + get_share() {
  75 + wx.navigateTo({
  76 + url: 'invitationPolite/invitationPolite',
  77 + })
  78 + },
  79 + // 我的收藏
  80 + get_collection() {
  81 + wx.navigateTo({
  82 + url: '../my/myCollection/myCollection',
  83 + })
  84 + },
  85 + // 地址管理
  86 + get_address(){
  87 + wx.navigateTo({
  88 + url: '../my/myAddress/myAddress',
  89 + })
  90 + },
  91 + // 常见问题
  92 + get_issue(){
  93 + wx.navigateTo({
  94 + url: '../my/editAddress2/editAddress2',
  95 + })
  96 + }
  97 +
  98 +
  99 +
19 100
20 }) 101 })
@@ -5,11 +5,11 @@ @@ -5,11 +5,11 @@
5 <view class='iconfont icon-qiandao'></view> 5 <view class='iconfont icon-qiandao'></view>
6 <view>签到</view> 6 <view>签到</view>
7 </view> 7 </view>
8 - <view class='iconfont icon-message'></view> 8 + <view class='iconfont icon-message' catchtap='get_message'></view>
9 </view> 9 </view>
10 <view class='head_portrait'> 10 <view class='head_portrait'>
11 <view class='iconfont icon-vip'></view> 11 <view class='iconfont icon-vip'></view>
12 - <image src='http://hifresh.w.bronet.cn/assets/wxapp/youji@2x.png'></image> 12 + <image src='http://hifresh.w.bronet.cn/assets/wxapp/youji@2x.png' catchtap='getamend_person'></image>
13 </view> 13 </view>
14 <view class='head_info'> 14 <view class='head_info'>
15 <view class='urer_name'>Rico</view> 15 <view class='urer_name'>Rico</view>
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 </view> 38 </view>
39 </view> 39 </view>
40 40
41 -<view class='exchange_code_recharge'> 41 +<view class='exchange_code_recharge' bindtap='get_activity'>
42 <view class='exchange_info'>特邀用户兑换码充值</view> 42 <view class='exchange_info'>特邀用户兑换码充值</view>
43 <view>立即前往兑换></view> 43 <view>立即前往兑换></view>
44 </view> 44 </view>
@@ -50,31 +50,31 @@ @@ -50,31 +50,31 @@
50 <view class='title'>我的订单</view> 50 <view class='title'>我的订单</view>
51 </view> 51 </view>
52 <view class='my_order'> 52 <view class='my_order'>
53 - <view class='order_item'> 53 + <view class='order_item' bindtap='get_obligation'>
54 <view class='content_img'> 54 <view class='content_img'>
55 <image src='../imgs/yifahuo@2x.png'></image> 55 <image src='../imgs/yifahuo@2x.png'></image>
56 </view> 56 </view>
57 <view>代付款</view> 57 <view>代付款</view>
58 </view> 58 </view>
59 - <view class='order_item'> 59 + <view class='order_item' bindtap='get_dropshop'>
60 <view class='content_img'> 60 <view class='content_img'>
61 <image src='../imgs/yifahuo@2x.png'></image> 61 <image src='../imgs/yifahuo@2x.png'></image>
62 </view> 62 </view>
63 <view>待发货</view> 63 <view>待发货</view>
64 </view> 64 </view>
65 - <view class='order_item'> 65 + <view class='order_item' bindtap='get_shipped'>
66 <view class='content_img'> 66 <view class='content_img'>
67 <image src='../imgs/yifahuo@2x.png'></image> 67 <image src='../imgs/yifahuo@2x.png'></image>
68 </view> 68 </view>
69 <view>已发货</view> 69 <view>已发货</view>
70 </view> 70 </view>
71 - <view class='order_item'> 71 + <view class='order_item' bindtap='get_evaluate'>
72 <view class='content_img'> 72 <view class='content_img'>
73 <image src='../imgs/yifahuo@2x.png'></image> 73 <image src='../imgs/yifahuo@2x.png'></image>
74 </view> 74 </view>
75 <view>待评价</view> 75 <view>待评价</view>
76 </view> 76 </view>
77 - <view class='order_item'> 77 + <view class='order_item' bindtap='get_sale'>
78 <view class='content_img'> 78 <view class='content_img'>
79 <image src='../imgs/yifahuo@2x.png'></image> 79 <image src='../imgs/yifahuo@2x.png'></image>
80 </view> 80 </view>
@@ -88,7 +88,7 @@ @@ -88,7 +88,7 @@
88 <view class='title'>储值有礼</view> 88 <view class='title'>储值有礼</view>
89 </view> 89 </view>
90 <scroll-view class='scroll_box' scroll-x> 90 <scroll-view class='scroll_box' scroll-x>
91 - <view class='stored_value_item' wx:for='{{[1,2,3]}}' wx:key=''> 91 + <view class='stored_value_item' wx:for='{{[1,2,3]}}' wx:key='' bindtap='get_recharge'>
92 <view> 92 <view>
93 <view class='money'>100 93 <view class='money'>100
94 <text>元</text> 94 <text>元</text>
@@ -99,8 +99,8 @@ @@ -99,8 +99,8 @@
99 </scroll-view> 99 </scroll-view>
100 </view> 100 </view>
101 101
102 - <view class='item_list3'>  
103 - <view class='list_content'> 102 + <view class='item_list3' >
  103 + <view class='list_content' bindtap='get_share'>
104 <view class='list_left'> 104 <view class='list_left'>
105 <view class='iconfont icon-fenxiangyouli'></view> 105 <view class='iconfont icon-fenxiangyouli'></view>
106 <view>分享有礼</view> 106 <view>分享有礼</view>
@@ -112,8 +112,8 @@ @@ -112,8 +112,8 @@
112 </view> 112 </view>
113 </view> 113 </view>
114 </view> 114 </view>
115 -<view class='item_list3'>  
116 - <view class='list_content'> 115 +<view class='item_list3' >
  116 + <view class='list_content' bindtap='get_collection'>
117 <view class='list_left'> 117 <view class='list_left'>
118 <view class='iconfont icon-fenxiangyouli'></view> 118 <view class='iconfont icon-fenxiangyouli'></view>
119 <view>我的收藏</view> 119 <view>我的收藏</view>
@@ -123,7 +123,7 @@ @@ -123,7 +123,7 @@
123 </view> 123 </view>
124 </view> 124 </view>
125 <view class='line2'></view> 125 <view class='line2'></view>
126 - <view class='list_content1'> 126 + <view class='list_content1' bindtap='get_address'>
127 <view class='list_left'> 127 <view class='list_left'>
128 <view class='iconfont icon-fenxiangyouli'></view> 128 <view class='iconfont icon-fenxiangyouli'></view>
129 <view>地址管理</view> 129 <view>地址管理</view>
@@ -134,10 +134,10 @@ @@ -134,10 +134,10 @@
134 </view> 134 </view>
135 </view> 135 </view>
136 <view class='item_list3'> 136 <view class='item_list3'>
137 - <view class='list_content'> 137 + <view class='list_content' bindtap='get_issue'>
138 <view class='list_left'> 138 <view class='list_left'>
139 <view class='iconfont icon-fenxiangyouli'></view> 139 <view class='iconfont icon-fenxiangyouli'></view>
140 - <view>分享有礼</view> 140 + <view>意见反馈</view>
141 </view> 141 </view>
142 <view class='list_right'> 142 <view class='list_right'>
143 <view class='iconfont icon-jinru'></view> 143 <view class='iconfont icon-jinru'></view>
@@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
147 <view class='list_content'> 147 <view class='list_content'>
148 <view class='list_left'> 148 <view class='list_left'>
149 <view class='iconfont icon-fenxiangyouli'></view> 149 <view class='iconfont icon-fenxiangyouli'></view>
150 - <view>分享有礼</view> 150 + <view>用户指南</view>
151 </view> 151 </view>
152 <view class='list_right'> 152 <view class='list_right'>
153 <view class='iconfont icon-jinru'></view> 153 <view class='iconfont icon-jinru'></view>
@@ -14,7 +14,16 @@ Page({ @@ -14,7 +14,16 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 回到个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 修改地址
  22 + getsec_address(){
  23 + wx.navigateTo({
  24 + url: '../editAddress/editAddress',
  25 + })
  26 + },
18 /** 27 /**
19 * 生命周期函数--监听页面初次渲染完成 28 * 生命周期函数--监听页面初次渲染完成
20 */ 29 */
1 <!--pages/my/myAddress/myAddress.wxml--> 1 <!--pages/my/myAddress/myAddress.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>我的地址</view> 5 <view class='coupons'>我的地址</view>
6 </view> 6 </view>
7 <view class='hint_information'> 7 <view class='hint_information'>
@@ -11,18 +11,18 @@ @@ -11,18 +11,18 @@
11 </view> 11 </view>
12 </view> 12 </view>
13 <view class='content_item'> 13 <view class='content_item'>
14 - <view class='item_list' wx:for='{{[1,2,3]}}'> 14 + <view class='item_list' wx:for='{{[1,2,3]}}' wx:key="">
15 <view> 15 <view>
16 <view class='address'>Sohu俊园一期 3栋1单元301</view> 16 <view class='address'>Sohu俊园一期 3栋1单元301</view>
17 <view class='person_information'>陆小汐 先生 1768856892</view> 17 <view class='person_information'>陆小汐 先生 1768856892</view>
18 </view> 18 </view>
19 - <view class='iconfont icon-tianxie '></view> 19 + <view class='iconfont icon-tianxie ' catchtap='getsec_address'></view>
20 </view> 20 </view>
21 </view> 21 </view>
22 22
23 23
24 <view class='bottom_btn'> 24 <view class='bottom_btn'>
25 - <view class='new_address_btn'>新增收货地址</view> 25 + <view class='new_address_btn' bindtap='getsec_address'>新增收货地址</view>
26 </view> 26 </view>
27 27
28 </view> 28 </view>
@@ -14,7 +14,20 @@ Page({ @@ -14,7 +14,20 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
  21 + // 跳转商品详情
  22 + get_goodsDetial(){
  23 + wx.navigateTo({
  24 + url: '../../../pages/index/goodsDetial2/goodsDetial2',
  25 + })
  26 + },
  27 + // 选中
  28 + get_pitch(){
  29 + console.log(123)
  30 + },
18 /** 31 /**
19 * 生命周期函数--监听页面初次渲染完成 32 * 生命周期函数--监听页面初次渲染完成
20 */ 33 */
1 <!--pages/my/myCollection/myCollection.wxml--> 1 <!--pages/my/myCollection/myCollection.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>我的收藏</view> 5 <view class='coupons'>我的收藏</view>
6 <view class='complete'>完成</view> 6 <view class='complete'>完成</view>
7 </view> 7 </view>
@@ -15,8 +15,8 @@ @@ -15,8 +15,8 @@
15 </view> 15 </view>
16 16
17 <view class='content_item'> 17 <view class='content_item'>
18 - <view class='item_list'>  
19 - <view class='iconfont icon-xuanzhong'></view> 18 + <view class='item_list' bindtap="get_goodsDetial">
  19 + <view class='iconfont icon-xuanzhong' catchtap='get_pitch'></view>
20 <view class='content_img'> 20 <view class='content_img'>
21 <image src='http://hifresh.w.bronet.cn/assets/wxapp/YAOQING@2x.png' mode='widthFix'></image> 21 <image src='http://hifresh.w.bronet.cn/assets/wxapp/YAOQING@2x.png' mode='widthFix'></image>
22 </view> 22 </view>
@@ -36,8 +36,8 @@ @@ -36,8 +36,8 @@
36 </view> 36 </view>
37 </view> 37 </view>
38 38
39 - <view class='item_list'>  
40 - <view class='iconfont icon-xuanzhong'></view> 39 + <view class='item_list' bindtap="get_goodsDetial">
  40 + <view class='iconfont icon-xuanzhong' catchtap='get_pitch'></view>
41 <view class='content_img'> 41 <view class='content_img'>
42 <image src='http://hifresh.w.bronet.cn/assets/wxapp/YAOQING@2x.png' mode='widthFix'></image> 42 <image src='http://hifresh.w.bronet.cn/assets/wxapp/YAOQING@2x.png' mode='widthFix'></image>
43 </view> 43 </view>
@@ -14,7 +14,10 @@ Page({ @@ -14,7 +14,10 @@ Page({
14 onLoad: function (options) { 14 onLoad: function (options) {
15 15
16 }, 16 },
17 - 17 + // 返回个人中心
  18 + get_my(){
  19 + wx.navigateBack({})
  20 + },
18 /** 21 /**
19 * 生命周期函数--监听页面初次渲染完成 22 * 生命周期函数--监听页面初次渲染完成
20 */ 23 */
1 <!--pages/my/orderDetail/orderDetail.wxml--> 1 <!--pages/my/orderDetail/orderDetail.wxml-->
2 <view> 2 <view>
3 <view class='banner'> 3 <view class='banner'>
4 - <view class='iconfont icon-fanhui'></view> 4 + <view class='iconfont icon-fanhui' catchtap='get_my'></view>
5 <view class='coupons'>订单详情</view> 5 <view class='coupons'>订单详情</view>
6 <view class='user_guide'>用户指南</view> 6 <view class='user_guide'>用户指南</view>
7 </view> 7 </view>
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 <view class='item_list1'> 39 <view class='item_list1'>
40 <view class='list_title'>配送信息</view> 40 <view class='list_title'>配送信息</view>
41 <view class='content'> 41 <view class='content'>
42 - <view class='content_list' wx:for="{{[1,2,3]}}"> 42 + <view class='content_list' wx:for="{{[1,2,3]}}" wx:key="">
43 <view class='content_detail'> 43 <view class='content_detail'>
44 <view class='content_img'> 44 <view class='content_img'>
45 <image src='http://hifresh.w.bronet.cn/assets/wxapp/keshihua@2x.png'></image> 45 <image src='http://hifresh.w.bronet.cn/assets/wxapp/keshihua@2x.png'></image>
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 }, 12 },
13 "compileType": "miniprogram", 13 "compileType": "miniprogram",
14 "libVersion": "1.9.98", 14 "libVersion": "1.9.98",
15 - "appid": "wx285c9973fc9c8423", 15 + "appid": "wxf35ab92c5bd897b2",
16 "projectname": "%E7%94%9F%E9%B2%9C", 16 "projectname": "%E7%94%9F%E9%B2%9C",
17 "isGameTourist": false, 17 "isGameTourist": false,
18 "simulatorType": "wechat", 18 "simulatorType": "wechat",
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 "list": [] 35 "list": []
36 }, 36 },
37 "miniprogram": { 37 "miniprogram": {
38 - "current": 3, 38 + "current": 32,
39 "list": [ 39 "list": [
40 { 40 {
41 "id": -1, 41 "id": -1,
@@ -64,6 +64,208 @@ @@ -64,6 +64,208 @@
64 "pathName": "pages/my/activityInformation/activityInformation", 64 "pathName": "pages/my/activityInformation/activityInformation",
65 "query": "", 65 "query": "",
66 "scene": null 66 "scene": null
  67 + },
  68 + {
  69 + "id": -1,
  70 + "name": "shouty",
  71 + "pathName": "pages/index/index",
  72 + "query": "",
  73 + "scene": null
  74 + },
  75 + {
  76 + "id": -1,
  77 + "name": "two",
  78 + "pathName": "pages/my/orderDetail/orderDetail",
  79 + "query": "",
  80 + "scene": null
  81 + },
  82 + {
  83 + "id": -1,
  84 + "name": "three",
  85 + "pathName": "pages/my/big/big",
  86 + "query": "",
  87 + "scene": null
  88 + },
  89 + {
  90 + "id": -1,
  91 + "name": "four",
  92 + "pathName": "pages/my/activityInformation/activityInformation",
  93 + "query": "",
  94 + "scene": null
  95 + },
  96 + {
  97 + "id": -1,
  98 + "name": "five",
  99 + "pathName": "pages/my/serach/serach",
  100 + "query": "",
  101 + "scene": null
  102 + },
  103 + {
  104 + "id": -1,
  105 + "name": "six",
  106 + "pathName": "pages/my/selectAddress/selectAddress",
  107 + "query": "",
  108 + "scene": null
  109 + },
  110 + {
  111 + "id": -1,
  112 + "name": "seven",
  113 + "pathName": "pages/my/editAddress2/editAddress2",
  114 + "query": "",
  115 + "scene": null
  116 + },
  117 + {
  118 + "id": -1,
  119 + "name": "eight",
  120 + "pathName": "pages/my/editAddress/editAddress",
  121 + "query": "",
  122 + "scene": null
  123 + },
  124 + {
  125 + "id": -1,
  126 + "name": "nine",
  127 + "pathName": "pages/index/production_steps/production_steps",
  128 + "query": "",
  129 + "scene": null
  130 + },
  131 + {
  132 + "id": -1,
  133 + "name": "ten",
  134 + "pathName": "pages/my/myCollection/myCollection",
  135 + "query": "",
  136 + "scene": null
  137 + },
  138 + {
  139 + "id": -1,
  140 + "name": "eleven",
  141 + "pathName": "pages/index/goodsDetial2/goodsDetial2",
  142 + "query": "",
  143 + "scene": null
  144 + },
  145 + {
  146 + "id": -1,
  147 + "name": "twelve",
  148 + "pathName": "pages/index/goodsDetial/goodsDetial",
  149 + "query": "",
  150 + "scene": null
  151 + },
  152 + {
  153 + "id": -1,
  154 + "name": "thirteen",
  155 + "pathName": "pages/my/modifyPersonInformation/modifyPersonInformation",
  156 + "query": "",
  157 + "scene": null
  158 + },
  159 + {
  160 + "id": -1,
  161 + "name": "fourteen",
  162 + "pathName": "pages/my/modifyName/modifyName",
  163 + "query": "",
  164 + "scene": null
  165 + },
  166 + {
  167 + "id": -1,
  168 + "name": "fifteen",
  169 + "pathName": "pages/my/invitationList/invitationList",
  170 + "query": "",
  171 + "scene": null
  172 + },
  173 + {
  174 + "id": -1,
  175 + "name": "sixteen",
  176 + "pathName": "pages/my/invoiceInformation/invoiceInformation",
  177 + "query": "",
  178 + "scene": null
  179 + },
  180 + {
  181 + "id": -1,
  182 + "name": "seventeen",
  183 + "pathName": "pages/my/invoice/invoice",
  184 + "query": "",
  185 + "scene": null
  186 + },
  187 + {
  188 + "id": -1,
  189 + "name": "eighteen",
  190 + "pathName": "pages/my/commonProblems/commonProblems",
  191 + "query": "",
  192 + "scene": null
  193 + },
  194 + {
  195 + "id": -1,
  196 + "name": "nineteen",
  197 + "pathName": "pages/my/myAddress/myAddress",
  198 + "query": "",
  199 + "scene": null
  200 + },
  201 + {
  202 + "id": -1,
  203 + "name": "twenty",
  204 + "pathName": "pages/my/invitationPolite/invitationPolite",
  205 + "query": "",
  206 + "scene": null
  207 + },
  208 + {
  209 + "id": -1,
  210 + "name": "twenty-one",
  211 + "pathName": "pages/my/comment/comment",
  212 + "query": "",
  213 + "scene": null
  214 + },
  215 + {
  216 + "id": -1,
  217 + "name": "twenty-two",
  218 + "pathName": "pages/my/coupons/coupons",
  219 + "query": "",
  220 + "scene": null
  221 + },
  222 + {
  223 + "id": -1,
  224 + "name": "twenty-three",
  225 + "pathName": "pages/my/balance _center2/balance _center2",
  226 + "query": "",
  227 + "scene": null
  228 + },
  229 + {
  230 + "id": -1,
  231 + "name": "twenty-four",
  232 + "pathName": "pages/my/charger_code/charger_code",
  233 + "query": "",
  234 + "scene": null
  235 + },
  236 + {
  237 + "id": -1,
  238 + "name": "twenty-five",
  239 + "pathName": "pages/my/balance _center/balance _center",
  240 + "query": "",
  241 + "scene": null
  242 + },
  243 + {
  244 + "id": -1,
  245 + "name": "twenty-six",
  246 + "pathName": "pages/my/my",
  247 + "query": "",
  248 + "scene": null
  249 + },
  250 + {
  251 + "id": -1,
  252 + "name": "twenty-seven",
  253 + "pathName": "pages/cart/cart",
  254 + "query": "",
  255 + "scene": null
  256 + },
  257 + {
  258 + "id": -1,
  259 + "name": "twenty-eight",
  260 + "pathName": "pages/index/selectAddress/selectAddress",
  261 + "query": "",
  262 + "scene": null
  263 + },
  264 + {
  265 + "id": -1,
  266 + "name": "twenty-eight",
  267 + "pathName": "pages/index/selectAddress/selectAddress",
  268 + "scene": null
67 } 269 }
68 ] 270 ]
69 } 271 }