Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e8b98a62cb | |||
| 6f21c57137 | |||
| 115c627eed | |||
| 2a9df2f1c6 | |||
| 5c9d7b89b2 | |||
| 24b63154af |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
.DS_Store
|
||||
.hbuilderx/
|
||||
node_modules
|
||||
unpackage/dist
|
||||
unpackage/release
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
// launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
|
||||
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
|
||||
"version" : "0.0",
|
||||
"configurations" : [
|
||||
{
|
||||
"app-plus" : {
|
||||
"launchtype" : "remote"
|
||||
},
|
||||
"default" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"h5" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"mp-weixin" : {
|
||||
"launchtype" : "local"
|
||||
},
|
||||
"provider" : "aliyun",
|
||||
"type" : "uniCloud"
|
||||
},
|
||||
{
|
||||
"playground" : "standard",
|
||||
"type" : "uni-app:app-ios"
|
||||
},
|
||||
{
|
||||
"playground" : "standard",
|
||||
"type" : "uni-app:app-android"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2,8 +2,8 @@ let baseUrl = "";
|
||||
let socketUrl = "";
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
//开发环境
|
||||
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
|
||||
baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||
} else if (process.env.NODE_ENV === 'production') {
|
||||
//生产环境
|
||||
baseUrl = "https://api.nuttyreading.com/";
|
||||
|
||||
@@ -12,8 +12,9 @@
|
||||
"src" : "图片路径"
|
||||
}
|
||||
],
|
||||
"versionName" : "1.2.76",
|
||||
"versionCode" : 1276,
|
||||
"sassImplementationName" : "node-sass",
|
||||
"versionName" : "1.2.84",
|
||||
"versionCode" : 1284,
|
||||
"app-plus" : {
|
||||
"compatible" : {
|
||||
"ignoreVersion" : true
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
MonList: {
|
||||
title: '阴经',
|
||||
vlue: '属性',
|
||||
attribute: ['阴经', '属性', '肺经(金)', '脾经(士)', '心(火)', '肾经(水)', '心包经(冬至前相火,冬至后相水)', '肝经(木)'],
|
||||
attribute: ['阴经', '属性', '肺经(金)', '脾经(土)', '心(火)', '肾经(水)', '心包经(冬至前相火,冬至后相水)', '肝经(木)'],
|
||||
arry: [
|
||||
['井', '木', '少商', '隐白', '少冲(母穴)', '涌泉(子穴)', '中冲(冬至前母穴冬至后子穴)', '大敦(本穴)'],
|
||||
['荥', '火', '鱼际', '大都(母穴)', '少府(本穴)', '然谷(泄井当泄荥)', '劳宫(冬至前本穴)', '行间(子穴)'],
|
||||
@@ -66,12 +66,12 @@
|
||||
SunList: {
|
||||
title: '阳经',
|
||||
vlue: '属性',
|
||||
attribute: ['阳经', '属性', '大肠经(金)', '脾经(士)', '心(火)', '膀胱经(水)', '三焦经(冬至前相火,冬至后相水)', '胆经(木)'],
|
||||
attribute: ['阳经', '属性', '大肠经(金)', '脾经(土)', '心(火)', '膀胱经(水)', '三焦经(冬至前相火,冬至后相水)', '胆经(木)'],
|
||||
arry: [
|
||||
['井', '金', '商阳(本穴)', '厉兑(子穴)', '少泽', '至阴(母穴)', '关冲(冬至后母穴)', '窍阴'],
|
||||
['荥', '水', '二间(子穴)', '内庭(泄井当泄荥)', '前谷', '通谷(本穴)', '液门(冬至后本穴)', '侠溪(母穴)'],
|
||||
['俞', '木', '三间', '陷谷', '后匾(母穴)', '束骨(子穴)', '中渚(冬至前回穴,冬至后子穴)', '临泣(本穴)'],
|
||||
['经', '水', '阳溪', '解溪(母穴)', '阳谷(本穴)', '昆仑', '支沟(冬至前本穴)', '阳辅(子穴)'],
|
||||
['经', '火', '阳溪', '解溪(母穴)', '阳谷(本穴)', '昆仑', '支沟(冬至前本穴)', '阳辅(子穴)'],
|
||||
['合', '土', '曲池(母穴)', '足三里(本穴)', '小海(子穴)', '委中(补井当补合)', '天井(冬至前子穴)', '阳陵泉'],
|
||||
['原', '', '合谷', '冲阳', '腕骨', '京骨', '阳池', '丘墟'],
|
||||
['郄', '', '温溜', '梁丘', '养老', '金门', '会宗', '外丘'],
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<view>1.2 您通过我们的服务进行通讯的信息,例如曾通讯的账号。</view>
|
||||
<view>1.3 您通过我们的服务分享的内容所包含的信息(元数据),例如拍摄或上传的共享照片或录像的日期、时间或地点等。</view>
|
||||
<view class="dp_con2">2、位置信息,指您开启设备定位功能并使用我们基于位置提供的相关服务时,收集的有关您位置的信息,包括:</view>
|
||||
<view>2.1 您通过具有定位功能的移动设备使用我们的服务时,通过GPS或WiFi等方式收集的您的地理位置信息用于 健康超市收货 提供位置信息。</view>
|
||||
<view>2.1 您通过具有定位功能的移动设备使用我们的服务时,通过GPS或WiFi等方式收集的您的地理位置信息用于 健康超市收件 提供位置信息。</view>
|
||||
<view>
|
||||
2.2 您或其他用户提供的包含您所处地理位置的实时信息,例如您提供的账户信息中包含的您所在地区信息,您上传的显示您当前或曾经所处地理位置的共享信息,您或其他人共享的照片包含的地理标记信息。
|
||||
</view>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<view class="sl_tit">
|
||||
<text class="bok_name">
|
||||
{{item.productName}}
|
||||
<span v-if="item.productStock==0" style="color: #aaa;font-size:26rpx;">(无货)</span>
|
||||
<span v-if="item.productStock==0" style="color: #aaa;font-size:26rpx;">(无库存)</span>
|
||||
</text>
|
||||
</view>
|
||||
<view class="sl_ric">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</view>
|
||||
<view class="commodityyName">
|
||||
{{productInfo.productName}}
|
||||
<span v-if="productInfo.productStock==0" style="color: #aaa;font-size:26rpx;">(无货)</span>
|
||||
<span v-if="productInfo.productStock==0" style="color: #aaa;font-size:26rpx;">(无库存)</span>
|
||||
<view><text class="SoldNumber">已售<span>{{productInfo.sumSales}}</span>件</text></view>
|
||||
</view>
|
||||
<view class="contentButton">
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<span
|
||||
v-if="productInfo.productStock == 0"
|
||||
style="color: #aaa; font-size: 28rpx"
|
||||
>(无货)</span
|
||||
>(无库存)</span
|
||||
>
|
||||
<view
|
||||
style="
|
||||
|
||||
@@ -104,9 +104,9 @@
|
||||
if (this.orderContet.orderStatus == 0) {
|
||||
this.titleStat = '待支付'
|
||||
} else if (this.orderContet.orderStatus == 1) {
|
||||
this.titleStat = '待发货'
|
||||
this.titleStat = '待发出'
|
||||
} else if (this.orderContet.orderStatus == 2) {
|
||||
this.titleStat = '待收货'
|
||||
this.titleStat = '待收到'
|
||||
} else if (this.orderContet.orderStatus == 3) {
|
||||
this.titleStat = '已完成'
|
||||
}
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
<view class="orderItem">
|
||||
<view class="" style="position: relative; height: 120rpx;">
|
||||
<text class="orderState orderState0" v-if="orderContet.orderStatus==0">待支付</text>
|
||||
<text class="orderState orderState1" v-if="orderContet.orderStatus==1">待发货</text>
|
||||
<text class="orderState orderState2" v-if="orderContet.orderStatus==2">待收货</text>
|
||||
<text class="orderState orderState1" v-if="orderContet.orderStatus==1">待发出</text>
|
||||
<text class="orderState orderState2" v-if="orderContet.orderStatus==2">待收到</text>
|
||||
<text class="orderState orderState3" v-if="orderContet.orderStatus==3">已完成</text>
|
||||
<text class="orderState orderState5" v-if="orderContet.orderStatus==5">已超时</text>
|
||||
</view>
|
||||
@@ -128,7 +128,7 @@
|
||||
<text style="font-size: 24rpx;color: #666;">{{orderContet.paymentDate}}</text>
|
||||
</view>
|
||||
<!-- <view class="orderReal" v-if="orderContet.orderStatus >= 2 && orderContet.orderStatus != 5">
|
||||
<span style="color: #666;margin-right: 10rpx;float: left;">发货时间 : </span>
|
||||
<span style="color: #666;margin-right: 10rpx;float: left;">发出时间 : </span>
|
||||
<text style="font-size: 24rpx;color: #666;">{{orderContet.shippingTime}}</text>
|
||||
</view> -->
|
||||
<view class="orderOper">
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
</u-button> -->
|
||||
<view v-if="orderContet.orderStatus==2 && sheetList.length > 0 && orderContet.orderStatus != 5" class="opFix" @click="seeExpressDetail(orderContet)">查看物流</view>
|
||||
<view v-if="orderContet.orderStatus==2" class="opCan" @click="OverOrder" >确认收货</view>
|
||||
<view v-if="orderContet.orderStatus==2" class="opCan" @click="OverOrder" >确认收到</view>
|
||||
|
||||
<view v-if="orderContet.orderStatus==0" class="opFix" @click="canceOrder">取消订单</view>
|
||||
<view v-if="orderContet.orderStatus==0" class="opCan" @click="goPay(orderContet)">去支付</view>
|
||||
@@ -208,7 +208,7 @@
|
||||
<h4 style="margin-bottom: 10rpx;">包裹 {{index+1}}</h4>
|
||||
<view class="">运单号:{{item.expressOrderSn}}
|
||||
<u-tag @click="copyData(item.expressOrderSn)" size="mini" class="copyCode" text="复制单号" plain type="success" /></view>
|
||||
<view class="">发货时间:{{item.createTime}}</view>
|
||||
<view class="">发出时间:{{item.createTime}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -565,10 +565,10 @@
|
||||
url: "./deliverDetail?objId=" + item
|
||||
})
|
||||
},
|
||||
OverOrder() { // 确认收货
|
||||
OverOrder() { // 确认收到
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确认收货?',
|
||||
content: '确认收到?',
|
||||
success: res => {
|
||||
let data = {
|
||||
orderId: this.orderID,
|
||||
@@ -587,7 +587,7 @@
|
||||
if (res.code == 0) {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: '收货成功',
|
||||
title: '确认收到成功',
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
})
|
||||
@@ -624,9 +624,9 @@
|
||||
if (this.orderContet.orderStatus == 0) {
|
||||
this.titleStat = '待支付'
|
||||
} else if (this.orderContet.orderStatus == 1) {
|
||||
this.titleStat = '待发货'
|
||||
this.titleStat = '待发出'
|
||||
} else if (this.orderContet.orderStatus == 2) {
|
||||
this.titleStat = '待收货'
|
||||
this.titleStat = '待收到'
|
||||
} else if (this.orderContet.orderStatus == 3) {
|
||||
this.titleStat = '已完成'
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<view class="orderList" v-if="orderList.length > 0">
|
||||
<view class="orderItem" v-for="(ifex,inten) in orderList" @click="goOrdiCont(ifex)" :key="inten">
|
||||
<text class="orderState orderState0" v-if="ifex.orderStatus==0">待支付</text>
|
||||
<text class="orderState orderState1" v-if="ifex.orderStatus==1">待发货</text>
|
||||
<text class="orderState orderState2" v-if="ifex.orderStatus==2">待收货</text>
|
||||
<text class="orderState orderState1" v-if="ifex.orderStatus==1">待发出</text>
|
||||
<text class="orderState orderState2" v-if="ifex.orderStatus==2">待收到</text>
|
||||
<text class="orderState orderState3" v-if="ifex.orderStatus==3">已完成</text>
|
||||
<text class="orderState orderState5" v-if="ifex.orderStatus==5">已超时</text>
|
||||
<view class="guoqi flexbox" v-if="ifex.orderStatus==0 && ifex.overTime > 0">
|
||||
@@ -122,10 +122,10 @@
|
||||
name: '待支付',
|
||||
value: 0
|
||||
}, {
|
||||
name: '待发货',
|
||||
name: '待发出',
|
||||
value: 1
|
||||
}, {
|
||||
name: '待收货',
|
||||
name: '待收到',
|
||||
value: 2
|
||||
}, {
|
||||
name: '已完成',
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
<view class="mainContent">
|
||||
<view class="item" @click.stop="toDetail(item)">
|
||||
<view class="orderstatus" v-show="item.orderStatus == 0">未付款</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 1">待发货</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 2">已发货</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 1">待发出</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 2">待收到</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 3">交易成功</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 4">交易失败</view>
|
||||
<view class="orderstatus" v-show="item.orderStatus == 5">过期</view>
|
||||
@@ -90,9 +90,9 @@
|
||||
<span class="right flexbox opbtns">
|
||||
<view class="orderstatusbtn" v-if="item.orderStatus == 0" @click.stop="canceOrder(item)">取消订单</view>
|
||||
<view class="orderstatusbtn" v-if="item.orderStatus == 0" @click.stop="goPay(item)">付款</view>
|
||||
<!-- <view class="orderstatusbtn alertDeliver" v-if="item.orderStatus == 1">催发货</view> -->
|
||||
<!-- <view class="orderstatusbtn alertDeliver" v-if="item.orderStatus == 1">催发出</view> -->
|
||||
<view class="orderstatusbtn" v-if="item.orderStatus == 2" @click.stop="seeExpressDetail(item)">查看物流</view>
|
||||
<view class="orderstatusbtn" v-if="item.orderStatus == 2" @click.stop="OverOrder(item)">确认收货</view>
|
||||
<view class="orderstatusbtn" v-if="item.orderStatus == 2" @click.stop="OverOrder(item)">确认收到</view>
|
||||
<!-- <view class="orderstatusbtn" v-if="item.orderStatus == 3">申请售后</view> -->
|
||||
<!-- -->
|
||||
<!-- <view class="orderstatusbtn" v-if=" userRecordid == null && item.come == 0" @click.stop="pingji(item.id)">评价</view> -->
|
||||
@@ -206,10 +206,10 @@ import { data } from 'jquery';
|
||||
name: '待付款',
|
||||
value: 0
|
||||
}, {
|
||||
name: '待发货',
|
||||
name: '待发出',
|
||||
value: 1
|
||||
}, {
|
||||
name: '待收货',
|
||||
name: '待收到',
|
||||
value: 2
|
||||
}, {
|
||||
name: '已完成',
|
||||
@@ -317,7 +317,7 @@ import { data } from 'jquery';
|
||||
|
||||
var params = {
|
||||
"userId": this.userInfo.id,
|
||||
"orderStatus":flag,//传null为全部,订单状态 0-未付款 1-待发货 2-已发货 3-交易成功 4-交易失败 5-过期
|
||||
"orderStatus":flag,//传null为全部,订单状态 0-未付款 1-待发出 2-待收到 3-交易成功 4-交易失败 5-过期
|
||||
"limit": 10,
|
||||
"page": this.newestpage
|
||||
}
|
||||
@@ -511,11 +511,11 @@ import { data } from 'jquery';
|
||||
})
|
||||
// }
|
||||
},
|
||||
// 确认收货
|
||||
// 确认收到
|
||||
OverOrder(item) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确认收货?',
|
||||
content: '确认收到?',
|
||||
success: res => {
|
||||
let data = {
|
||||
orderId: item.orderId,
|
||||
@@ -534,7 +534,7 @@ import { data } from 'jquery';
|
||||
if (res.code == 0) {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: '收货成功',
|
||||
title: '确认收到成功',
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
})
|
||||
|
||||
@@ -189,10 +189,10 @@ import { data } from 'jquery';
|
||||
name: '待付款',
|
||||
value: 2
|
||||
}, {
|
||||
name: '待发货',
|
||||
name: '待发出',
|
||||
value: 3
|
||||
}, {
|
||||
name: '待收货',
|
||||
name: '待收到',
|
||||
value: 4
|
||||
}, {
|
||||
name: '已完成',
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
size="20"
|
||||
style="display: inline-block; margin-right: 10rpx"
|
||||
></u-icon>
|
||||
请添加收货地址
|
||||
请添加收件地址
|
||||
</view>
|
||||
|
||||
<view
|
||||
@@ -171,7 +171,7 @@
|
||||
size="12"
|
||||
style="display: inline-block; margin-right: 10rpx"
|
||||
></u-icon>
|
||||
注:如订单包含一种或多种预售书,预售书和现货书需分开发货(即需要收取多次快递首重费用);如多本书会按照实际重量,收取快递续重费用。
|
||||
注:如订单包含一种或多种预售书,预售书和现售书需分开发出(即需要收取多次快递首重费用);如多本书会按照实际重量,收取快递续重费用。
|
||||
</view>
|
||||
|
||||
<view class="yq_yunfei" v-if="districtAmount > 0" style="color: #202020">
|
||||
@@ -245,7 +245,7 @@
|
||||
<span style="color: #666; margin-right: 10rpx; font-size: 15px"
|
||||
>实付款:
|
||||
</span>
|
||||
{{ realPrice }}<span>天医币</span>
|
||||
{{ realPrice.toFixed(2) }}<span>天医币</span>
|
||||
</view>
|
||||
<view class="operate" @click="goBuyJie" v-if="payType != 4">
|
||||
<view class="goBuy"> 立即支付 </view>
|
||||
@@ -809,8 +809,9 @@ export default {
|
||||
|
||||
// }
|
||||
// }
|
||||
price = (item.productAmount * item.price).toFixed(2);
|
||||
price = (item.productAmount * item.price);
|
||||
allprice += Number(price);
|
||||
allprice = parseFloat(allprice.toFixed(2));
|
||||
});
|
||||
this.totalPrice = allprice;
|
||||
// if (this.youhuiContent.id != undefined) {
|
||||
@@ -925,8 +926,8 @@ export default {
|
||||
let data = {
|
||||
buyType: this.typeId, //0- 商品页直接下单 1- 购物车结算
|
||||
userId: this.userInfo.id, //下单人ID
|
||||
shippingUser: this.adressMoRen.consigneeName, //收货人姓名
|
||||
userPhone: this.adressMoRen.consigneePhone, //收货人手机号
|
||||
shippingUser: this.adressMoRen.consigneeName, //收件人姓名
|
||||
userPhone: this.adressMoRen.consigneePhone, //收件人手机号
|
||||
|
||||
// province: this.adressMoRen.areaidpathtext.split(' ')[0], //省
|
||||
// city: this.adressMoRen.areaidpathtext.split(' ')[1], //市
|
||||
@@ -937,7 +938,7 @@ export default {
|
||||
orderMoney: this.totalPrice, //订单金额
|
||||
vipDiscountAmount: this.vipPrice, //折扣金额
|
||||
districtMoney: this.districtAmount, //折扣金额
|
||||
realMoney: this.realPrice, //实收金额
|
||||
realMoney: this.realPrice.toFixed(2), //实收金额
|
||||
shippingMoney: this.farePrice, //运费
|
||||
couponId: youPre.id, //优惠券Id
|
||||
isSend: this.isSend,
|
||||
@@ -1262,6 +1263,7 @@ export default {
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
bottom: 0%;
|
||||
z-index: 11;
|
||||
|
||||
.commodityPrice {
|
||||
font-size: 40rpx;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<z-nav-bar title="商品结算"></z-nav-bar>
|
||||
<view v-if="adressMoRen.username==undefined" class="addShouhuo" @click="toAddress()">
|
||||
<u-icon name="plus" size="20" style="display: inline-block;margin-right: 10rpx;"></u-icon>
|
||||
请添加收货地址
|
||||
请添加收件地址
|
||||
</view>
|
||||
<view class="adDefault" @click="dizhiShow = true" v-if="adressMoRen.username!=undefined">
|
||||
<view class="defalTop">
|
||||
@@ -606,8 +606,8 @@
|
||||
let data = {
|
||||
buyType: this.typeId, //0- 商品页直接下单 1- 购物车结算
|
||||
userId: this.userInfo.id, //下单人ID
|
||||
shippingUser: this.adressMoRen.username, //收货人姓名
|
||||
userPhone: this.adressMoRen.userphone, //收货人手机号
|
||||
shippingUser: this.adressMoRen.username, //收件人姓名
|
||||
userPhone: this.adressMoRen.userphone, //收件人手机号
|
||||
province: this.adressMoRen.areaidpathtext.split(' ')[0], //省
|
||||
city: this.adressMoRen.areaidpathtext.split(' ')[1], //市
|
||||
district: this.adressMoRen.areaidpathtext.split(' ')[2], //区
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<view :class="['item','item1', contentShow == 1 ? 'active' :'']" @click="setData(1)">
|
||||
已购图书
|
||||
</view>
|
||||
<!-- <view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
<view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
推荐图书
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="tip">
|
||||
|
||||
@@ -100,9 +100,9 @@
|
||||
<view :class="['item','item1', contentShow == 1 ? 'active' :'']" @click="setData(1)">
|
||||
已购图书
|
||||
</view>
|
||||
<!-- <view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
<view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
推荐图书
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="bookList.length > 0">
|
||||
|
||||
@@ -59,10 +59,10 @@
|
||||
v-if="orderContet.orderStatus == 0">待支付</text>
|
||||
<text
|
||||
class="orderState orderState1"
|
||||
v-if="orderContet.orderStatus == 1">待发货</text>
|
||||
v-if="orderContet.orderStatus == 1">待发出</text>
|
||||
<text
|
||||
class="orderState orderState2"
|
||||
v-if="orderContet.orderStatus == 2">待收货</text>
|
||||
v-if="orderContet.orderStatus == 2">待收到</text>
|
||||
<text
|
||||
class="orderState orderState3"
|
||||
v-if="orderContet.orderStatus == 3">已完成</text>
|
||||
@@ -325,7 +325,7 @@
|
||||
plain
|
||||
type="success"
|
||||
/></view>
|
||||
<view class="">发货时间:{{ item.createTime }}</view>
|
||||
<view class="">发出时间:{{ item.createTime }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -421,7 +421,7 @@ export default {
|
||||
this.goPay(this.orderContet);
|
||||
} else if (data.text == "取消订单") {
|
||||
this.canceOrder();
|
||||
} else if (data.text == "确认收货") {
|
||||
} else if (data.text == "确认收到") {
|
||||
this.OverOrder();
|
||||
} else if (data.text == "查看物流") {
|
||||
this.seeExpressDetail(this.orderContet);
|
||||
@@ -531,10 +531,10 @@ export default {
|
||||
});
|
||||
},
|
||||
OverOrder() {
|
||||
// 确认收货
|
||||
// 确认收到
|
||||
uni.showModal({
|
||||
title: "提示",
|
||||
content: "确认收货?",
|
||||
content: "确认收到?",
|
||||
success: (res) => {
|
||||
let data = {
|
||||
orderId: this.orderID,
|
||||
@@ -554,7 +554,7 @@ export default {
|
||||
if (res.code == 0) {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "收货成功",
|
||||
title: "确认收到成功",
|
||||
icon: "success",
|
||||
duration: 1000,
|
||||
});
|
||||
@@ -604,7 +604,7 @@ export default {
|
||||
if (this.orderContet.orderStatus == 2) {
|
||||
this.customButton.push({
|
||||
width: "160rpx",
|
||||
text: "确认收货",
|
||||
text: "确认收到",
|
||||
|
||||
color: "#fff",
|
||||
});
|
||||
@@ -626,9 +626,9 @@ export default {
|
||||
if (this.orderContet.orderStatus == 0) {
|
||||
this.titleStat = "待支付";
|
||||
} else if (this.orderContet.orderStatus == 1) {
|
||||
this.titleStat = "待发货";
|
||||
this.titleStat = "待发出";
|
||||
} else if (this.orderContet.orderStatus == 2) {
|
||||
this.titleStat = "待收货";
|
||||
this.titleStat = "待收到";
|
||||
} else if (this.orderContet.orderStatus == 3) {
|
||||
this.titleStat = "已完成";
|
||||
}
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
<view :class="['item','item1', contentShow == 1 ? 'active' :'']" @click="setData(1)">
|
||||
已购图书
|
||||
</view>
|
||||
<!-- <view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
<view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
推荐图书
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view class="scroll-view_H " scroll-x="true" scroll-left="0" v-if="contentShow == 1">
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
<view :class="['item','item1', contentShow == 1 ? 'active' :'']" @click="setData(1)">
|
||||
已购图书
|
||||
</view>
|
||||
<!-- <view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
<view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
推荐图书
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listenList" v-if="bookList.length > 0 || tjBookLIst.length > 0">
|
||||
|
||||
@@ -227,9 +227,9 @@
|
||||
if (this.orderDetail.orderStatus == 0) {
|
||||
this.titleStat = '待支付'
|
||||
} else if (this.orderDetail.orderStatus == 1) {
|
||||
this.titleStat = '待发货'
|
||||
this.titleStat = '待发出'
|
||||
} else if (this.orderDetail.orderStatus == 2) {
|
||||
this.titleStat = '待收货'
|
||||
this.titleStat = '待收到'
|
||||
} else if (this.orderDetail.orderStatus == 3) {
|
||||
this.titleStat = '已完成'
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<!-- <text>讲 书</text> -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="search_box flexbox" @click="onPageJump('../peanut/searchFor')">
|
||||
<view class="search_box flexbox" @click="onPageJump('../peanut/searchFor')">
|
||||
<view class="search">
|
||||
<text class="icon_search"></text>
|
||||
<text class="prompt">请输入书名</text>
|
||||
@@ -81,7 +81,7 @@
|
||||
<view class="searBtn">
|
||||
<text>书名检索</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- 新闻播报 -->
|
||||
<view class="fourBox" v-if="newsList.length > 0">
|
||||
<view class="newsBox flexbox">
|
||||
@@ -99,7 +99,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 营销标签 -->
|
||||
<!-- <scroll-view class="yxTagBox" scroll-x="true">
|
||||
<scroll-view class="yxTagBox" scroll-x="true">
|
||||
<view class="ProTabs flexbox">
|
||||
<text v-for="(item, index) in yingxiaoTags" :key="item.id" :class="[yxCurIndex == index ? 'cur' : '']"
|
||||
@click="yxTabsChange(item, index)">{{ item.title }}</text>
|
||||
@@ -120,21 +120,21 @@
|
||||
|
||||
<scroll-view class="ProTabsBox">
|
||||
<view class="New_ProTabs flexbox">
|
||||
<text v-for="(item, index) in catTagList" :key="item.splId" :class="[tabsid == item.id ? 'cur' : '']"
|
||||
<text v-for="(item, index) in catTagList" :key="item.splId" :class="[catTagIndex == index ? 'cur' : '']"
|
||||
@click="tabsChange(item, index)">{{ item.title }}</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="children_cate_box" v-if="childrenCatList && childrenCatList.length > 0">
|
||||
<view class="children_cate flexbox">
|
||||
<view @click="childrenChange(item, index)" :class="['item', curChildrenId == item.id ? 'cur' : '']"
|
||||
<view @click="childrenChange(item, index)" :class="['item', curChildrenIndex == index ? 'cur' : '']"
|
||||
v-for="(item, index) in childrenCatList" :key="item.id">
|
||||
<text>{{ item.title }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- 商品展示 -->
|
||||
<!-- <view class="goods">
|
||||
|
||||
<view class="goods">
|
||||
<!-- 精选 -->
|
||||
<view class="">
|
||||
<view v-if="tjProList.length > 0">
|
||||
<view class="flexbox" style="flex-wrap: wrap;">
|
||||
@@ -150,6 +150,7 @@
|
||||
|
||||
<text v-if="item.is_vip_price==1&&item.vip_price!=0">
|
||||
<text style="color: #e97512;font-size: 12px;font-weight: bold;">¥{{(item.vip_price).toFixed(2)}}</text>
|
||||
<!-- <text style="color: #fa2d12;font-size: 10px;margin-left: 4px;">VIP到手价</text> -->
|
||||
<text style="color: #8a8a8a;font-size: 10px;margin-left: 4px;font-weight: bold;text-decoration: line-through;">¥{{(item.price).toFixed(2)}}</text>
|
||||
|
||||
|
||||
@@ -159,6 +160,7 @@
|
||||
<text
|
||||
v-else-if="item.activity_price && item.activity_price > 0">
|
||||
<text style="color: #e97512;font-size: 12px;font-weight: bold;">¥{{(item.activity_price).toFixed(2)}}</text>
|
||||
<!-- <text style="color: #613804;font-size: 10px;margin-left: 4px;">活动价</text> -->
|
||||
<text style="color: #8a8a8a;font-size: 10px;margin-left: 4px;font-weight: bold;text-decoration: line-through;">¥{{(item.price).toFixed(2)}}</text>
|
||||
|
||||
|
||||
@@ -193,7 +195,7 @@
|
||||
</view>
|
||||
<u-divider v-else text="暂无数据哦~"></u-divider>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<u-back-top :scroll-top="scrollTop" bottom="60" :customStyle="bgiStyle" :iconStyle="iconStyle"></u-back-top>
|
||||
@@ -345,6 +347,8 @@
|
||||
yxCurIndex: 0, // 当前营销标签序号
|
||||
SystemInfoSync: {}, // 屏幕尺寸
|
||||
newsList: [], // 播报新闻列表
|
||||
catTagIndex: 0,
|
||||
curChildrenIndex: 0
|
||||
};
|
||||
},
|
||||
onPageScroll(e) {
|
||||
@@ -469,7 +473,7 @@
|
||||
},
|
||||
requestAll() {
|
||||
this.getUserInfo();
|
||||
this.tjProList = [];
|
||||
// this.tjProList = [];
|
||||
uni.hideTabBar();
|
||||
// this.getData();
|
||||
this.getTags();
|
||||
@@ -527,7 +531,8 @@
|
||||
// console.log(res, '营销标签列表')
|
||||
if (res.result.length > 0) {
|
||||
this.yingxiaoTags = res.result;
|
||||
this.getYXproducts();
|
||||
const item = this.yingxiaoTags.length > 0 && this.yingxiaoTags[this.yxCurIndex]
|
||||
this.getYXproducts(item);
|
||||
}
|
||||
|
||||
// console.log(res)
|
||||
@@ -581,9 +586,11 @@
|
||||
if (this.catTagList[0].isLast == 1) {
|
||||
this.getJtData(this.catTagList[0].id);
|
||||
} else {
|
||||
this.childrenCatList = this.catTagList[0].children;
|
||||
this.curChildrenId = this.childrenCatList[0].id;
|
||||
this.getJtData(this.childrenCatList[0].id);
|
||||
const currentCatTag = this.catTagList?.[this.catTagIndex];
|
||||
this.childrenCatList = currentCatTag.children.length > 0 ? currentCatTag.children : currentCatTag;
|
||||
this.curChildrenId = this.childrenCatList[this.curChildrenIndex]?.id || this.childrenCatList.id;
|
||||
//this.getJtData(this.childrenCatList[this.curChildrenIndex]?.id);
|
||||
this.getJtData(this.curChildrenId);
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -594,11 +601,13 @@
|
||||
// 二级分类点击
|
||||
childrenChange(item, index) {
|
||||
// console.log(item,this.curChildrenId,'点击')
|
||||
this.curChildrenIndex = index;
|
||||
this.curChildrenId = this.childrenCatList[index].id;
|
||||
this.getJtData(this.childrenCatList[index].id);
|
||||
},
|
||||
tabsChange(item, cindex) {
|
||||
// this.tjProList = []
|
||||
this.catTagIndex = cindex;
|
||||
this.tabsid = item.id;
|
||||
this.childrenCatList = [];
|
||||
if (this.catTagList[cindex].isLast == 1) {
|
||||
@@ -607,6 +616,7 @@
|
||||
this.childrenCatList = this.catTagList[cindex].children;
|
||||
this.curChildrenId = this.childrenCatList[0].id;
|
||||
this.getJtData(this.childrenCatList[0].id);
|
||||
this.curChildrenIndex = 0
|
||||
}
|
||||
// this.getJtData()
|
||||
// if (this.tabsid == 15) {
|
||||
@@ -1211,7 +1221,7 @@
|
||||
color: #0e583a;
|
||||
font-size: 34rpx;
|
||||
line-height: 42rpx;
|
||||
padding: 5px 10px;
|
||||
padding: 10rpx 0 14rpx 10rpx;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
width: 100%;
|
||||
@@ -1220,6 +1230,7 @@
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
letter-spacing: 10rpx;
|
||||
width: 3.5em;
|
||||
}
|
||||
|
||||
text:last-child {
|
||||
|
||||
@@ -58,9 +58,9 @@
|
||||
<view class="nav_list" @click="onPageJump('../bookShop/orderList')">
|
||||
<text>我的订单</text>
|
||||
</view>
|
||||
<!-- <view class="nav_list" @click="onPageJump('../peanut/shopping')">
|
||||
<view class="nav_list" @click="onPageJump('../peanut/shopping')">
|
||||
<text>购物车</text>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="nav_list" @click="onPageJump('../user/persData')">
|
||||
<text>修改个人资料</text>
|
||||
</view>
|
||||
|
||||
@@ -279,7 +279,7 @@
|
||||
|
||||
let data = {
|
||||
userId: that.userInfo.id, //下单人ID
|
||||
userPhone: that.userInfo.tel, //收货人手机号
|
||||
userPhone: that.userInfo.tel, //收件人手机号
|
||||
paymentMethod: that.payType, //1支付宝,2微信,3ios内购
|
||||
orderMoney: that.stepsVc.money * 1, //订单金额
|
||||
districtMoney: 0, //优惠金额
|
||||
|
||||
@@ -566,7 +566,7 @@ export default {
|
||||
let that = this;
|
||||
let data = {
|
||||
userId: that.userInfo.id, //下单人ID
|
||||
userPhone: that.userInfo.tel, //收货人手机号
|
||||
userPhone: that.userInfo.tel, //收件人手机号
|
||||
paymentMethod: that.payType, //2支付宝,1微信,3ios内购
|
||||
orderMoney: that.stepsCj.money * 1, //订单金额
|
||||
districtMoney: 0, //优惠金额
|
||||
|
||||
@@ -350,7 +350,7 @@
|
||||
let that = this
|
||||
let data = {
|
||||
userId: that.userInfo.id, //下单人ID
|
||||
userPhone: that.userInfo.tel, //收货人手机号
|
||||
userPhone: that.userInfo.tel, //收件人手机号
|
||||
paymentMethod: that.payType, //2支付宝,1微信,3ios内购
|
||||
orderMoney: that.stepsCj.money * 1, //订单金额
|
||||
districtMoney: 0, //优惠金额
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
<view :class="['item','item1', contentShow == 1 ? 'active' :'']" @click="setData(1)">
|
||||
已购图书
|
||||
</view>
|
||||
<!-- <view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
<view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
推荐图书
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="tip">
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</view>
|
||||
<view class="addressFooter">
|
||||
<view class="addAddress" @click="toAddress(0,0)">
|
||||
+ 添加收货地址
|
||||
+ 添加收件地址
|
||||
</view>
|
||||
</view>
|
||||
<music-play :playData="playData"></music-play>
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
</view>
|
||||
<view class="commodityyName">
|
||||
{{productInfo.productName}}
|
||||
<span v-if="productInfo.productStock==0" style="color: #aaa;font-size:26rpx;">(无货)</span>
|
||||
<span v-if="productInfo.productStock==0" style="color: #aaa;font-size:26rpx;">(无库存)</span>
|
||||
<view><text class="SoldNumber">已售<span
|
||||
style="padding-left:10rpx;">{{productInfo.sumSales}}</span>件</text></view>
|
||||
</view>
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
<view :class="['item','item1', contentShow == 1 ? 'active' :'']" @click="setData(1)">
|
||||
已购图书
|
||||
</view>
|
||||
<!-- <view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
<view :class="['item','item2', contentShow == 2 ? 'active' :'']" @click="setData(2)">
|
||||
推荐图书
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mainContainer">
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user