杜叶春
2 years ago
25 changed files with 1020 additions and 151 deletions
@ -1,88 +1,88 @@ |
|||
<!--pages/aftersales/asdetail.wxml--> |
|||
<view class="container"> |
|||
<view class="status-view"> |
|||
<block wx:if="{{info.type == 0}}"> |
|||
<view class="statusLabel">待审核</view> |
|||
<view class='statusDesc'>您的售后申请正在审核中,请耐心等待2-3个工作日</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 1}}"> |
|||
<view class="statusLabel">待回寄</view> |
|||
<view class='statusDesc'>商家已同意,请用户寄回商品</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 2}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝退货退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 3}}"> |
|||
<view class="statusLabel">待卖家收货</view> |
|||
<view class='statusDesc'>用户已寄出,等待商家收货</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 4}}"> |
|||
<view class="statusLabel">已退款</view> |
|||
<view class='statusDesc'>收到寄回商品,同意并退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 5}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝并退回商品</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 8}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 9}}"> |
|||
<view class="statusLabel">已退款</view> |
|||
<view class='statusDesc'>商家同意并退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 10}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝售后</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 11}}"> |
|||
<view class="statusLabel">待收货</view> |
|||
<view class='statusDesc'>商家同意并且寄回商品</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 12}}"> |
|||
<view class="statusLabel">已结束</view> |
|||
<view class='statusDesc'>售后结束</view> |
|||
</block> |
|||
</view> |
|||
<block wx:if="{{info.type == 0}}"> |
|||
<view class="statusLabel">待审核</view> |
|||
<view class='statusDesc'>您的售后申请正在审核中,请耐心等待2-3个工作日</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 1}}"> |
|||
<view class="statusLabel">待回寄</view> |
|||
<view class='statusDesc'>商家已同意,请用户寄回商品</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 2}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝退货退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 3}}"> |
|||
<view class="statusLabel">待卖家收货</view> |
|||
<view class='statusDesc'>用户已寄出,等待商家收货</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 4}}"> |
|||
<view class="statusLabel">已退款</view> |
|||
<view class='statusDesc'>收到寄回商品,同意并退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 5}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝并退回商品</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 8}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 9}}"> |
|||
<view class="statusLabel">已退款</view> |
|||
<view class='statusDesc'>商家同意并退款</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 10}}"> |
|||
<view class="statusLabel">已拒绝</view> |
|||
<view class='statusDesc'>商家拒绝售后</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 11}}"> |
|||
<view class="statusLabel">待收货</view> |
|||
<view class='statusDesc'>商家同意并且寄回商品</view> |
|||
</block> |
|||
<block wx:elif="{{info.type == 12}}"> |
|||
<view class="statusLabel">已结束</view> |
|||
<view class='statusDesc'>售后结束</view> |
|||
</block> |
|||
</view> |
|||
<view class="yh-line"></view> |
|||
<view class="rt-product-box"> |
|||
<view class="yh-block-title"> |
|||
<view>售后信息</view> |
|||
</view> |
|||
<view style="height:2rpx;background-color:#F4F4F4;margin-top:30rpx;"></view> |
|||
<view class="address-row"> |
|||
<view>商品名称:</view> |
|||
<view class="yh-p_name">{{info.p_name}}</view> |
|||
</view> |
|||
<view class="address-row"> |
|||
<view>订单号:</view> |
|||
<view>{{info.r_sNo}}</view> |
|||
</view> |
|||
<view class="address-row"> |
|||
<view>申请时间:</view> |
|||
<view>{{info.re_time}}</view> |
|||
</view> |
|||
<view class="address-row"> |
|||
<view>售后类型:</view> |
|||
<view>{{info.re_type==1?'退货退款':info.re_type==3?'换货':'仅退款'}}</view> |
|||
</view> |
|||
<view class="address-row h_auto"> |
|||
<view>申请原因:</view> |
|||
<view class='yx_right'>{{info.content}}</view> |
|||
</view> |
|||
<view class="address-row h_auto" wx:if="{{info.re_photo&&info.re_photo.length > 0}}"> |
|||
<view>上传凭证:</view> |
|||
<view class="flex"> |
|||
<view class="re_photo" wx:for="{{info.re_photo}}" wx:key='index'> |
|||
<image src="{{item}}" mode=""/> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="address-row" wx:if="{{info.re_type != 3}}"> |
|||
<view>退款金额:</view> |
|||
<view>¥{{info.p_price}}</view> |
|||
</view> |
|||
<view class="rt-product-box"> |
|||
<view class="yh-block-title"> |
|||
<view>售后信息</view> |
|||
</view> |
|||
<view style="height:2rpx;background-color:#F4F4F4;margin-top:30rpx;"></view> |
|||
<view class="address-row"> |
|||
<view>商品名称:</view> |
|||
<view class="yh-p_name">{{info.p_name}}</view> |
|||
</view> |
|||
<view class="address-row"> |
|||
<view>订单号:</view> |
|||
<view>{{info.r_sNo}}</view> |
|||
</view> |
|||
<view class="address-row"> |
|||
<view>申请时间:</view> |
|||
<view>{{info.re_time}}</view> |
|||
</view> |
|||
<view class="address-row"> |
|||
<view>售后类型:</view> |
|||
<view>{{info.re_type==1?'退货退款':info.re_type==3?'换货':'仅退款'}}</view> |
|||
</view> |
|||
<view class="address-row h_auto"> |
|||
<view>申请原因:</view> |
|||
<view class='yx_right'>{{info.content}}</view> |
|||
</view> |
|||
<view class="address-row h_auto" wx:if="{{info.re_photo&&info.re_photo.length > 0}}"> |
|||
<view>上传凭证:</view> |
|||
<view class="flex"> |
|||
<view class="re_photo" wx:for="{{info.re_photo}}" wx:key='index'> |
|||
<image src="{{item}}" mode="" /> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="address-row" wx:if="{{info.re_type != 3}}"> |
|||
<view>退款金额:</view> |
|||
<view>¥{{info.p_price}}</view> |
|||
</view> |
|||
</view> |
|||
</view> |
@ -1,7 +1,13 @@ |
|||
<!--pages/member/member.wxml--> |
|||
<view class="container"> |
|||
<view class="card"> |
|||
<view class="detail" style="color:#356386;">当前积分0,充值会员即可拥有积分特权</view> |
|||
<image class="card_bg" src="/images/member/component_lv_1.jpg" mode="aspectFit"></image> |
|||
</view> |
|||
</view> |
|||
<view class="card"> |
|||
<view class="detail" style="color:#356386;">当前积分0,充值会员即可拥有积分特权</view> |
|||
<image class="card_bg" src="/images/member/component_lv_1.jpg" mode="aspectFit"></image> |
|||
<!-- <image class="card_bg" wx:if="{{user.level==1}}" src="/images/member/component_lv_1.jpg" mode="aspectFill"></image> |
|||
<image class="card_bg" wx:elif="{{user.level==2}}" src="/images/member/component_lv_2.jpg" mode="aspectFill"></image> |
|||
<image class="card_bg" wx:elif="{{user.level==3}}" src="/images/member/component_lv_3.jpg" mode="aspectFill"></image> |
|||
<image class="card_bg" wx:elif="{{user.level==4}}" src="/images/member/component_lv_4.jpg" mode="aspectFill"></image> |
|||
<image class="card_bg" wx:elif="{{user.level==5}}" src="/images/member/component_lv_5.jpg" mode="aspectFill"></image> |
|||
<image class="card_bg" wx:elif="{{user.level==6}}" src="/images/member/component_lv_6.jpg" mode="aspectFill"></image> --> |
|||
</view> |
|||
</view> |
@ -1,5 +1,5 @@ |
|||
{ |
|||
"component": true, |
|||
"usingComponents": {}, |
|||
"navigationBarTitleText": "公告详情" |
|||
"navigationBarTitleText": "消息详情" |
|||
} |
@ -1,16 +1,14 @@ |
|||
<!--pages/notice/index.wxml--> |
|||
<view class="function" style='background:#fff'> |
|||
<view> |
|||
<view style='font-size:27px;text-align:left;margin:10px;'> |
|||
{{notice.title}} |
|||
</view> |
|||
<view style='font-size:10px;width:30%;float:right;margin:10px 10px 20px;'>{{notice.time}} </view> |
|||
<view class="title">{{notice.title}}</view> |
|||
<view class="time">{{notice.time}} </view> |
|||
</view> |
|||
<view style='clear:both;'> |
|||
</view> |
|||
<view style="height:50%;margin-bottom:10rpx;max-height:100rpx;"> |
|||
<view style="height:50%;margin-bottom:10rpx;max-height:100rpx;color:#666;"> |
|||
<import src="../../wxParse/wxParse.wxml" /> |
|||
<view class="wxParse" style='padding:1% 5% 3% 5%;'> |
|||
<view class="wxParse" style='padding:4% 4% 3% 4%;'> |
|||
<template is="wxParse" data="{{wxParseData:detail.nodes}}" /> |
|||
</view> |
|||
</view> |
|||
|
@ -1,5 +1,5 @@ |
|||
{ |
|||
"component": true, |
|||
"usingComponents": {}, |
|||
"navigationBarTitleText": "公告" |
|||
"navigationBarTitleText": "消息" |
|||
} |
@ -0,0 +1,85 @@ |
|||
// pages/similar/similar.js
|
|||
var app = getApp(); |
|||
var WXAPI = require('../../utils/server.js'); |
|||
Page({ |
|||
|
|||
/** |
|||
* 页面的初始数据 |
|||
*/ |
|||
data: { |
|||
remind: '加载中', |
|||
}, |
|||
|
|||
/** |
|||
* 生命周期函数--监听页面加载 |
|||
*/ |
|||
onLoad(options) { |
|||
// 页面显示
|
|||
this.getSimilarList(options); |
|||
}, |
|||
getSimilarList: function (options) { |
|||
var that = this; |
|||
WXAPI.similarList({ |
|||
accessId: app.globalData.accessId, |
|||
storeId: 239, |
|||
storeType: 1, |
|||
pro_id: options.id |
|||
}).then(res => { |
|||
if (res.code == 200) { |
|||
var data = res.data |
|||
that.setData({ |
|||
list: data.product, |
|||
remind: '' |
|||
}) |
|||
} |
|||
}); |
|||
}, |
|||
/** |
|||
* 生命周期函数--监听页面初次渲染完成 |
|||
*/ |
|||
onReady() { |
|||
|
|||
}, |
|||
|
|||
/** |
|||
* 生命周期函数--监听页面显示 |
|||
*/ |
|||
onShow() { |
|||
|
|||
}, |
|||
|
|||
/** |
|||
* 生命周期函数--监听页面隐藏 |
|||
*/ |
|||
onHide() { |
|||
|
|||
}, |
|||
|
|||
/** |
|||
* 生命周期函数--监听页面卸载 |
|||
*/ |
|||
onUnload() { |
|||
|
|||
}, |
|||
|
|||
/** |
|||
* 页面相关事件处理函数--监听用户下拉动作 |
|||
*/ |
|||
onPullDownRefresh() { |
|||
|
|||
}, |
|||
|
|||
/** |
|||
* 页面上拉触底事件的处理函数 |
|||
*/ |
|||
onReachBottom() { |
|||
|
|||
}, |
|||
|
|||
/** |
|||
* 用户点击右上角分享 |
|||
*/ |
|||
onShareAppMessage() { |
|||
|
|||
} |
|||
}) |
@ -0,0 +1,4 @@ |
|||
{ |
|||
"usingComponents": {}, |
|||
"navigationBarTitleText": "发现" |
|||
} |
@ -0,0 +1,53 @@ |
|||
<!--pages/similar/similar.wxml--> |
|||
<view class="body" wx:if="{{remind}}"> |
|||
<view class='zong'> |
|||
<view class="spinner" > |
|||
<view class="spinner-container container1"> |
|||
<view class="circle1"></view> |
|||
<view class="circle2"></view> |
|||
<view class="circle3"></view> |
|||
<view class="circle4"></view> |
|||
</view> |
|||
<view class="spinner-container container2"> |
|||
<view class="circle1"></view> |
|||
<view class="circle2"></view> |
|||
<view class="circle3"></view> |
|||
<view class="circle4"></view> |
|||
</view> |
|||
<view class="spinner-container container3"> |
|||
<view class="circle1"></view> |
|||
<view class="circle2"></view> |
|||
<view class="circle3"></view> |
|||
<view class="circle4"></view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<!-- 加载页面结束 --> |
|||
<block wx:else> |
|||
<view class="page"> |
|||
<view class="search_no" wx:if="{{!list.length}}"> |
|||
<view class="font_14"><image class="scimg" src="/images/search_no.png"></image></view> |
|||
<text>没有找到相似商品/(ㄒoㄒ)/~~</text> |
|||
</view> |
|||
|
|||
<view class="shop df" wx:for="{{list}}" > |
|||
<navigator url="/pages/product/detail?productId={{item.p_id}}"> |
|||
<image class="sh_slt" src="{{item.imgurl}}"></image> |
|||
</navigator> |
|||
<view class="df_1"> |
|||
<view class="sp_text"> |
|||
<navigator class="sp_tit ovh1" style='height:50%;' url="/pages/product/detail?productId={{item.p_id}}"> |
|||
{{item.product_title}} |
|||
</navigator> |
|||
<!-- <view class="sp_tit ovh1" style='height:50%;'>{{item.product_title}}</view> --> |
|||
<view class="sp_jg">¥{{item.price}}</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<!-- <view style="height:50px;"></view> |
|||
<view class="dibu" wx:if="{{list.length}}"> |
|||
<button bindtap="alldel" class="cz" hover-class="czz" style="background-color:{{bgcolor}};height: 45px;line-height: 45px;">全部取消收藏</button> |
|||
</view> --> |
|||
</view> |
|||
</block> |
@ -0,0 +1,55 @@ |
|||
/* pages/similar/similar.wxss */ |
|||
.shop{ |
|||
background: #fff; |
|||
padding: 4%; |
|||
margin-bottom: 10px; |
|||
border-bottom:1px solid #eee; |
|||
} |
|||
.cz{ |
|||
width: 100%; |
|||
background: #FF6347; |
|||
color: #fff; |
|||
border-radius:0; |
|||
} |
|||
.sh_slt{ |
|||
width: 80px; |
|||
height: 80px; |
|||
overflow: hidden; |
|||
border-radius: 5px; |
|||
margin-right: 4%; |
|||
float: left; |
|||
} |
|||
.sp_text{ |
|||
margin-left: 10rpx; |
|||
line-height: 20px; |
|||
width: 100%; |
|||
height:100%; |
|||
} |
|||
.sp_tit{ |
|||
margin-top: 15rpx; |
|||
width: 100%; |
|||
overflow: hidden; |
|||
font-size: 14px; |
|||
} |
|||
.sp_neb{ |
|||
width: 100%; |
|||
overflow: hidden; |
|||
font-size: 12px; |
|||
color: #999; |
|||
} |
|||
.sp_jg{ |
|||
width: 100%; |
|||
overflow: hidden; |
|||
font-size: 14px; |
|||
color: #fc0628; |
|||
} |
|||
.dle{ |
|||
color: #999; |
|||
font-size: 12px; |
|||
float: right; |
|||
} |
|||
.dibu{ |
|||
position: fixed; |
|||
bottom:0; |
|||
width: 100%; |
|||
} |
Loading…
Reference in new issue