diff --git a/components/addressAdd.vue b/components/addressAdd.vue new file mode 100644 index 0000000..67645be --- /dev/null +++ b/components/addressAdd.vue @@ -0,0 +1,397 @@ + + + + + 姓名 + + + + 手机号 + + + + 选择地区 + + + + + + + + 详细地址 + + + + 设为默认 + + + + + + + + + + + + diff --git a/components/cartData.vue b/components/cartData.vue new file mode 100644 index 0000000..f8a5837 --- /dev/null +++ b/components/cartData.vue @@ -0,0 +1,455 @@ + + + + + + + + + + + + 全选 + + + + 清空 + + + + + + + + + + + + + + + + {{ item.good_name }} + {{ item.Specifications_name }} + + + + ¥ {{item.Specifications_money/100}} + + + - + {{item.num}} + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..922878f --- /dev/null +++ b/package-lock.json @@ -0,0 +1,11 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "ydui-district": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/ydui-district/-/ydui-district-1.1.0.tgz", + "integrity": "sha512-MBhvfaR5Gkn6MUmEnrH1A7IFB5igALuDgtIF+gz3dRwNwW9+KOmih7z+xZFfGluMsEbWaT7C3lWOckYsLZQnFg==" + } + } +} diff --git a/pages.json b/pages.json index 8c1d3a5..d12c115 100644 --- a/pages.json +++ b/pages.json @@ -65,7 +65,30 @@ "navigationBarTitleText": "提交订单" } }, - + { + "path": "techan/index", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "techan/detail", + "style": { + "navigationBarTitleText" : "详情" + } + }, + { + "path": "techan/order", + "style": { + "navigationBarTitleText" : "详情" + } + }, + { + "path": "techan/selfPickUpPoint", + "style": { + "navigationBarTitleText" : "选择自提点" + } + }, { "path" : "line/index", diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index f02e1d5..dd27cf0 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -91,7 +91,7 @@ Vue.prototype.showImg = img => { return img; } else { // return Vue.prototype.NEWAPIURL + img; - return 'https://swsz.api.js-dyyj.com'+img; + return 'https://static.ticket.sz-trip.com'+img; } } diff --git a/subPackages/techan/detail.vue b/subPackages/techan/detail.vue new file mode 100644 index 0000000..8169f11 --- /dev/null +++ b/subPackages/techan/detail.vue @@ -0,0 +1,900 @@ + + + + + + + + + + + + + + + + + + + + + {{ info.price / 100 }} + + + {{ info.title }} + + + {{ item }} + + + + + + + 选择: + + + {{sku[productIndex].sku_name || '暂无可选规格'}} + + + + + + 产品简介 + + + + + + + + + + + + + + + + + + 客服 + + + + + + + 加入购物车 + 立即购买 + + + + + + + + + + + + + ¥ + {{paramData.iNum}} + .{{paramData.fNum}} + + + + + + 提交订单 + + + + + + + + + + + + + + + {{(sku[productIndex].price||0)/100}} + 已选择:{{sku[productIndex].sku_name}} + + + + + 规格 + + + + + {{botItem.sku_name}} + + + 不可购买 + + + + + + + 数量 + + + - + + {{ buyNum }} + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/subPackages/techan/index.vue b/subPackages/techan/index.vue new file mode 100644 index 0000000..488554f --- /dev/null +++ b/subPackages/techan/index.vue @@ -0,0 +1,820 @@ + + + + + + + + + + + + + + + + + + + + {{item.title}} + + + + + + + + + {{item.title}} + + + {{item.price/100}} + + + + + + + + + + + + + + + + + + + 暂无搜索结果 + + + + + + + + + {{item.goods.title}} + + + {{item.goods.money/100}} + {{item.goods.price/100}} + + + + + + + + + + + + + + {{item.goods.title}} + + + {{item.goods.money/100}} + {{item.goods.price/100}} + + + + + + + + + + + + + + + + + + + + + + + + + + 总计: + ¥ + {{paramData.iNum}} + .{{paramData.fNum}} + + + 明细 + + + + + + + 去结算 + + + + + + + + + + + + + + + + {{(sku[productIndex].money||0)/100}} + 已选择:{{sku[productIndex].title}} + + + + + + + {{botItem.title}} + + + 不可购买 + + + + + + + 数量 + + + - + + {{ buyNum }} + + + + + + + + + + + 加入购物车 + + + + + + + + + diff --git a/subPackages/techan/order.vue b/subPackages/techan/order.vue new file mode 100644 index 0000000..548e89f --- /dev/null +++ b/subPackages/techan/order.vue @@ -0,0 +1,1158 @@ + + + + + + + 邮寄 + 自提 + + + + + + + 收货地址 + + + 更多 + + + + + + + + + {{ info.contacts.name }} + {{ info.contacts.tel }} + + {{ info.contacts.address }} + + + + + 添加 + + + + + + + + + + 自提点 + + {{info.pickupAddress.extract_name||'选择提货地址'}} + + + + + + + + + + + + {{ info.pInfo.title }} + + {{ info.sInfo.sku_name }} + + + {{ item }} + + + + + + {{info.sInfo.price/100}} + + + - + + + + + + + + + + + + 运费 + + + {{!info.post?'免邮':info.post/100}} + + + + + + + + + + 订单备注: + + + + + + + + + + 优惠券 + + 选择优惠券 + + + + -¥{{coupon.discounts/100}} + -{{coupon.percent}}% + > + + + + + + + + + + 合计: + {{ total() }} + + + 提交订单 + + + + + + + 添加收货地址 + + + + + + {{ item.name }} + {{ item.tel }} + 默认 + + {{ item.address }} + + + + + + + + + + + + + + + 取消 + {{addressTitle}} + 保存 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/subPackages/techan/selfPickUpPoint.vue b/subPackages/techan/selfPickUpPoint.vue new file mode 100644 index 0000000..f210a5f --- /dev/null +++ b/subPackages/techan/selfPickUpPoint.vue @@ -0,0 +1,253 @@ + + + + + + {{item.extract_name}} + + + 地址:{{item.detail_addr}} + + + + + + + 去这里 + + + + + + + 暂无自提点地址 + + + + + + + + + + +