Browse Source

2023-3-20

master
guoxing 2 years ago
parent
commit
fd201d9dc9
  1. 4
      mallplusui-uniapp-app/common/api.js
  2. 6
      mallplusui-uniapp-app/components/coolc-coupon/coolc-coupon.vue
  3. 4
      mallplusui-uniapp-app/manifest.json
  4. 18
      mallplusui-uniapp-app/pages/index/messageList.vue
  5. 15
      mallplusui-uniapp-app/pages/index/user.vue
  6. 12
      mallplusui-uniapp-app/pages/order/createOrder.vue
  7. 8
      mallplusui-uniapp-app/pages/order/createOrder1.vue
  8. 8
      mallplusui-uniapp-app/pages/order/createStoreOrder.vue
  9. 6
      mallplusui-uniapp-app/pages/order/order.vue
  10. 31
      mallplusui-uniapp-app/pages/order/orderDetail.vue

4
mallplusui-uniapp-app/common/api.js

@ -2,8 +2,8 @@ import store from '../store/index';
export default {
// qq 237524947 wx15d4269d3210863d
// BASEURI: 'http://je4r5e.natappfree.cc/api/',
BASEURI: 'http://mall.yyundong.com/portalapi/api/',
// BASEURI: 'http://192.168.3.116:8083/api/',
// BASEURI: 'http://mall.yyundong.com/portalapi/api/',
BASEURI: 'http://192.168.3.9:8083/api/',
ADMINURI: 'http://mall.yyundong.com/adminapi/',
ESURI: 'http://www.yyundong.com:8081/',
h5Appid: 'wxb4660f37187c0b8e', // h5微信登录的appId 暂时测试用

6
mallplusui-uniapp-app/components/coolc-coupon/coolc-coupon.vue

@ -143,7 +143,7 @@
.coupon-money {
padding: 15px;
width: 523upx;
width: 73.5%;
height: auto;
display: flex;
flex-direction: column;
@ -211,7 +211,7 @@
width: 40upx;
height: 20upx;
position: absolute;
left: 500upx;
left: 70%;
top: -1px;
border-radius: 0 0 40upx 40upx;
content: "";
@ -225,7 +225,7 @@
width: 40upx;
height: 20upx;
position: absolute;
left: 500upx;
left:70%;
bottom: -1px;
border-radius: 40upx 40upx 0 0;
content: "";

4
mallplusui-uniapp-app/manifest.json

@ -2,8 +2,8 @@
"name" : "汇融云链",
"appid" : "__UNI__FB2C9C4",
"description" : "",
"versionName" : "1.0.1.3",
"versionCode" : 1013,
"versionName" : "1.0.1.4",
"versionCode" : 1014,
"transformPx" : false,
"app-plus" : {
"usingComponents" : true,

18
mallplusui-uniapp-app/pages/index/messageList.vue

@ -79,7 +79,7 @@
setTimeout(function() {
uni.stopPullDownRefresh();
}, 2000);
},
//
onReachBottom() {
@ -188,23 +188,19 @@
}
.listcard-content {
flex: 1;
display: flex;
flex-direction: column;
padding-left: 10px;
width: 100%;
justify-content: space-between;
.listcard-content_title {
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 14px;
color: #333;
font-weight: 400;
line-height: 1.2;
position: relative;
align-items: center;
text {
flex:2.5;
margin-right: 10px;
font-size: 22px;
overflow: hidden;
text-overflow: ellipsis;
@ -214,9 +210,9 @@
}
.text2 {
flex: 1;
color: #999;
margin-right: 10px;
font-size: 18px;
font-size: 15px;
}
}

15
mallplusui-uniapp-app/pages/index/user.vue

@ -130,7 +130,7 @@
mode="aspectFill"></image>
</scroll-view>
<list-cell icon="icon-iconfontweixin" iconColor="#e07472" title="我的订单"
@eventClick="navTo('../../pages/order/order?status=0')" ></list-cell>
@eventClick="navTo('../../pages/order/order?status=0')"></list-cell>
<list-cell icon="icon-dizhi" iconColor="#5fcda2" title="地址管理"
@eventClick="navTo('../../pagesU/address/address')"></list-cell>
<list-cell icon="icon-tuandui" iconColor="#EE82EE" title="个人资料"
@ -179,9 +179,9 @@
<list-cell icon="icon-shezhi1" iconColor="#e07472" title="系统设置" border=""
@eventClick="navTo('/pages/set/set')"></list-cell>
<!-- <list-cell icon="icon-shezhi1" iconColor="#e07472" title="test" border="" @eventClick="navTo('/pages/search/test')"></list-cell> -->
<!-- <view>{{push}}</view> -->
</view>
</view>
<neil-modal :show="inputShow" @close="cancel" title="编辑" @cancel="cancel" @confirm="confirm">
@ -326,8 +326,13 @@
this.userDetailInfo = data1.member;
uni.setStorageSync('userInfos', data1.member);
console.log(this.userDetailInfo);
let couponList = data1.histories;
this.couponList = couponList;
data1.histories.forEach(item => {
if (item.useStatus == 0) {
this.couponList.push(item);
}
});
console.log("couponList>>>>>", this.couponList);
}
},
//

12
mallplusui-uniapp-app/pages/order/createOrder.vue

@ -38,7 +38,7 @@
<image :src="item.productPic"></image>
<view class="right">
<text class="title clamp">{{ item.productName }}</text>
<text class="spec" v-if="item.productAttr">{{ item.productAttr }}</text>
<!-- <text class="spec" v-if="item.productAttr">{{ item.productAttr }}</text> -->
<view class="price-box">
<text class="price">{{ item.price }}</text>
<text class="number">x {{ item.quantity }}</text>
@ -564,8 +564,8 @@
image {
flex-shrink: 0;
display: block;
width: 140upx;
height: 140upx;
width: 100upx;
height: 100upx;
border-radius: 4upx;
}
@ -576,7 +576,7 @@
}
.title {
font-size: 30upx;
font-size: 28upx;
color: $font-color-dark;
}
@ -588,9 +588,7 @@
.price-box {
display: flex;
align-items: center;
font-size: 32upx;
color: $font-color-dark;
padding-top: 25upx;
padding-top: 10upx;
.price {
margin-bottom: 4upx;

8
mallplusui-uniapp-app/pages/order/createOrder1.vue

@ -29,10 +29,10 @@
</view>
<!-- 商品列表 -->
<view class="g-item" v-for="(item, index) in cartPromotionItemList" :key="index">
<image :src="item.productPic"></image>
<image style="width: 50px; height: 50px;" :src="item.productPic"></image>
<view class="right">
<text class="title clamp">{{ item.productName }}</text>
<text class="spec" v-if="item.productAttr">{{ item.productAttr }}</text>
<!-- <text class="spec" v-if="item.productAttr">{{ item.productAttr }}</text> -->
<view class="price-box">
<text class="price">{{ item.price }}</text>
<text class="number">x {{ item.quantity }}</text>
@ -439,7 +439,7 @@ import Api from '@/common/api';
}
.title {
font-size: 30 upx;
font-size: 28 upx;
color: $font-color-dark;
}
@ -451,8 +451,6 @@ import Api from '@/common/api';
.price-box {
display: flex;
align-items: center;
font-size: 32 upx;
color: $font-color-dark;
padding-top: 10 upx;
.price {

8
mallplusui-uniapp-app/pages/order/createStoreOrder.vue

@ -37,7 +37,7 @@
</view> -->
<!-- 商品列表 -->
<view class="g-item" v-for="(item, index) in item1.cartPromotionItemList" :key="index">
<image :src="item.productPic"></image>
<image :src="item.productPic"></image>
<view class="right">
<text class="title clamp">{{ item.productName }}</text>
<text class="spec" v-if="item.productAttr">{{ item.productAttr }}</text>
@ -531,13 +531,14 @@
.g-item {
display: flex;
padding-top: 15px;
margin: 20upx 30upx;
image {
flex-shrink: 0;
display: block;
width: 140upx;
height: 140upx;
width: 100upx;
height: 100upx;
border-radius: 4upx;
}
@ -548,7 +549,6 @@
}
.title {
margin-top: 10px;
font-size: 30upx;
color: $font-color-dark;
}

6
mallplusui-uniapp-app/pages/order/order.vue

@ -35,8 +35,9 @@
<view class="right" @click="navToDetailPage(item)">
<text class="title clamp">{{ goodsItem.productName }}</text>
<view class="num_price">
<text class="attr-box">x {{ goodsItem.productQuantity }}</text>
<text class="price">{{ goodsItem.productPrice }}</text>
<text class="attr-box">x {{ goodsItem.productQuantity }}</text>
</view>
@ -537,13 +538,14 @@
margin-top: 5px;
.attr-box {
flex: 1;
font-size: $font-sm + 2upx;
color: $font-color-light;
margin: 0 2upx 0 8upx;
}
.price {
flex: 1;
font-size: $font-base + 2upx;
color: $font-color-dark;

31
mallplusui-uniapp-app/pages/order/orderDetail.vue

@ -22,8 +22,9 @@
<view class="right">
<text class="title clamp">{{ goodsItem.productName }}</text>
<view class="num_price">
<text class="price">{{ goodsItem.productPrice }}</text>
<text class="attr-box">x {{ goodsItem.productQuantity }}</text>
<text class="price">{{ goodsItem.productPrice }}</text>
</view>
<view style="display: flex;flex-direction: row;">
<text style="color: #c1c1c1;font-size: 13px;"
@ -49,10 +50,11 @@
</view> -->
<view style="display: flex;flex-direction: column; margin-right: 13px;margin-bottom: 10px;">
<view class="price-box">
<!-- <view class="price-box">
<text class="num">{{ orderInfo.orderItemList.length }}</text>
件商品, 会员折扣
件商品
, 会员折扣
<text class="price">{{ orderInfo.vipAmount }}</text>
, 优惠券抵扣
<text class="price">{{ orderInfo.couponAmount }}</text>
@ -62,13 +64,30 @@
<text class="price">{{ orderInfo.integrationAmount }}</text>
, 运费
<text class="price">{{ orderInfo.freightAmount }}</text>
<!-- <view class="yt-list-cell b-b" v-if="groupActivity">
<view class="yt-list-cell b-b" v-if="groupActivity">
<text class="cell-tit clamp">活动金额</text>
<text class="cell-tip">{{ groupActivity.price }}</text>
</view>
, 实付款
<text class="price">{{ orderInfo.payAmount }}</text>
</view> -->
<view class="price-box">
<text class="num">{{ orderInfo.orderItemList.length }}</text>
件商品
</view>
<view class="price-box">
优惠券抵扣
<text class="price">{{ orderInfo.couponAmount }}</text>
, 运费
<text class="price">{{ orderInfo.freightAmount }}</text>
, 实付款
<text class="price">{{ orderInfo.payAmount }}</text>
</view>
</view>
<view class="action-box b-t" v-if="orderInfo.status==12||orderInfo.status==3">
<button v-if="orderInfo.status == 12" class="action-btn"
@ -442,7 +461,6 @@
.title {
font-size: $font-base + 2upx;
color: $font-color-dark;
line-height: 1;
}
.num_price {
@ -452,13 +470,14 @@
margin-top: 5px;
.attr-box {
flex: 1;
font-size: $font-sm + 2upx;
color: $font-color-light;
margin: 0 2upx 0 8upx;
}
.price {
flex: 1;
font-size: $font-base + 2upx;
color: $font-color-dark;

Loading…
Cancel
Save