Commit 1b70013f authored by xieyishang's avatar xieyishang

addxx

parent 24d9888f
......@@ -82,7 +82,8 @@ App({
ImgPath: "https://pindev.jxdsy.cn",
clientImgPath: "https://pindev.jxdsy.cn/static/applet5",
staticUrl:'https://pindev.jxdsy.cn/attachs/',
// staticUrl:'https://pindev.jxdsy.cn/attachs/',
staticUrl:"https://luma.jxdsy.cn/attachs/",
private_key: Private_key,
navHeight: 0,
......
// components/dialog/evaluate_wd/evaluate_wd.js
const app = getApp();
var img_host = app.globalData.ImgPath;
var staticUrl = app.globalData.staticUrl;
var clientImgPath = app.globalData.clientImgPath;
Component({
/**
......@@ -22,6 +23,7 @@ Component({
animationData: {},//
isFolded: true,
img_host:img_host,
staticUrl,
clientImgPath: clientImgPath
},
......
......@@ -28,7 +28,7 @@
<!-- 评论图片 固定三个-->
<view class="pingLun_img">
<view class="pingLun_img_zi" wx:for="{{item.img_url_arr}}" wx:key="index" wx:for-item="img">
<image src="{{img_host}}/attachs/{{img}}"></image>
<image src="{{staticUrl}}{{img}}"></image>
</view>
</view>
<!-- 评论文本 -->
......
images/lmping/pingbg.png

351 KB | W: | H:

images/lmping/pingbg.png

352 KB | W: | H:

images/lmping/pingbg.png
images/lmping/pingbg.png
images/lmping/pingbg.png
images/lmping/pingbg.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,6 +7,7 @@ import {
var clientImgPath = app.globalData.clientImgPath;
var img_host = app.globalData.ImgPath;
var staticUrl = app.globalData.staticUrl;
Page({
/**
......@@ -16,6 +17,7 @@ Page({
shop_id: '',
img_host: img_host,
clientImgPath: clientImgPath,
staticUrl,
currentTab: 0,
......
......@@ -3,7 +3,7 @@
<view class="boxs">
<view class="ali-c">
<view class="shpuimg">
<image src="{{img_host}}/attachs/{{shop.logo}}"></image>
<image src="{{staticUrl}}{{shop.logo}}"></image>
</view>
<view class="flex1 ml-30">
<view class="zi_wmax sz_34 c_bi">{{shop.shop_name}}
......
......@@ -2,6 +2,7 @@
const app = getApp();
var clientImgPath = app.globalData.clientImgPath;
var img_host = app.globalData.ImgPath;
var staticUrl = app.globalData.staticUrl;
import {
orderStatus,
orderGoodsList,
......@@ -20,7 +21,9 @@ Page({
pageNum: 1,
is_loading_done: false,
statusTab: '1',
clientImgPath: clientImgPath
clientImgPath: clientImgPath,
staticUrl,
},
//点击切换
clickTab: function (e) {
......@@ -224,7 +227,7 @@ Page({
//查看物流
logistics: function (order_id, action,vendor_id) {
wx.navigateTo({
url: '/pages/shop/order/weidianorder/check_logistics/check_logistics?order_id=' + order_id + '&action=' + action+ '&vendor_id=' + vendor_id
url: '/pages/check_logistics/check_logistics?order_id=' + order_id + '&action=' + action+ '&vendor_id=' + vendor_id
})
},
//跳转订单详情
......
......@@ -33,21 +33,21 @@
<view class="mt-30" wx:for='{{item.products}}' wx:for-item="orderG" data-orderid='{{item.order_id}}' wx:for-index="vendorid" catchtap="operation" wx:key="index" data-action='orderDetails' >
<view wx:for='{{orderG.orderGoods}}' wx:for-item="product" class="flex" style="margin:0 0 20rpx 0;">
<view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{product.photo}}' wx:if="{{product.photo}}"></image>
<image src='{{img_host}}/attachs/{{item.photo}}' wx:else></image>
<image src='{{staticUrl}}{{product.photo}}' wx:if="{{product.photo}}"></image>
<image src='{{staticUrl}}{{item.photo}}' wx:else></image>
</view>
<view class="flex1 ml-25">
<view style="height:70rpx">
<view class="sz_30 bt_hei twoline btli" >{{product.goods_name}}</view>
</view>
<view class="sz_26 bt_hei mt-10">直购价{{product.fprice}}元 <text class="ml-20"wx:if="{{item.buytype==0 && product.recprice >0}}">充值免费价{{product.recprice}}元</text> </view>
<view class="sz_26 bt_hei mt-10">{{product.fprice}}元 </view>
<view class="sz_26 inp_hui mt-10">{{product.sku_name||''}}</view>
<view class="sz_26 inp_hui mt-10">数量: x {{product.goodsnum}}</view>
</view>
</view>
<block wx:for='{{orderG.operation}}' wx:for-item="action">
<view class='sz_28 ml-20 box {{action.class_name}}' data-orderid='{{item.order_id}}' catchtap="operation" data-action='{{action.way}}' data-is_ld='{{item.buytype}}' data-vendor_id="{{vendorid}}" >{{action.name}}</view>
<view class='sz_28 ml-20 box {{action.class_name}}' data-orderid='{{item.order_id}}' catchtap="operation" data-action='{{action.way}}' data-is_ld='{{item.buytype}}' data-vendor_id="{{item.products[1].orderGoods[0].vendor_id}}" >{{action.name}}</view>
</block>
</view>
<view class="xian mt-30 mb-30"></view>
......@@ -59,7 +59,7 @@
<view class="ali-e">
<view class="ali-c">
<block wx:for='{{item.order_operation}}' wx:for-item="action" wx:key="index">
<view class='sz_28 ml-20 {{action.class_name}}' data-orderid='{{item.order_id}}' catchtap="operation" data-action='{{action.way}}' data-is_ld='{{item.buytype}}'>{{action.name}}</view>
<view class='sz_28 ml-20 {{action.class_name}}' data-orderid='{{item.order_id}}' catchtap="operation" data-action='{{action.way}}' data-is_ld='{{item.buytype}}' data-vendor_id="{{item.products[1].orderGoods[0].vendor_id}}" >{{action.name}}</view>
</block>
</view>
......
......@@ -13,6 +13,7 @@ Page({
data: {
img_host: app.globalData.ImgPath,
clientImgPath: app.globalData.clientImgPath,
staticUrl: app.globalData.staticUrl,
},
......
......@@ -30,8 +30,8 @@
</view>
<view class="flex mt-30" wx:for='{{detail.products}}' wx:key='index' wx:for-item="item">
<view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{item.photo}}' wx:if="{{item.photo}}"></image>
<image src='{{img_host}}/attachs/{{detail.photo}}' wx:else></image>
<image src='{{staticUrl}}{{item.photo}}' wx:if="{{item.photo}}"></image>
<image src='{{staticUrl}}{{detail.photo}}' wx:else></image>
</view>
<view class="flex1 ml-25">
<view class="sz_30 bt_hei twoline" style="height:65rpx">{{item.goods_name}}</view>
......
<!--pages/aboutus/aboutusnav/aboutusnav.wxml-->
<!--pages/personal//synopsisLuma/synopsisLuma.wxml-->
<view class="logoimg"><image src="/images/shilu-login/logo.png"></image></view>
<view class="logoimg"><image src="/images/shilu-login/logo.jpg"></image></view>
<view class="sz_34 bt_hei te_ct mt-15">悦想拼 <text wx:if="{{version}}">V{{version}}</text></view>
<view class="boxs">
......
......@@ -12,7 +12,7 @@ Page({
host_img: app.globalData.ImgPath,
clientImgPath: clientImgPath,
hidden: false, //是否显示授权弹窗
issel:0,
},
/**
......@@ -23,6 +23,7 @@ Page({
that.setData({
type: options.type,
url: options.url ? unescape(options.url) : "",
issel:options.issel,//是否过来选地址 1是 否则不是
})
},
......@@ -105,10 +106,14 @@ Page({
handleClick: function (e) {
var that = this;
if (that.data.type) {
wx.redirectTo({
url: "/" + that.data.url + "?bank_id=" + e.currentTarget.dataset.id + '&type=' + that.data.type,
let item = e.currentTarget.dataset.item;
if (that.data.issel) {//是否进来选择
wx.setStorageSync('selbankcard', item);
wx.navigateBack({
})
// wx.redirectTo({
// url: "/" + that.data.url + "?bank_id=" + e.currentTarget.dataset.id + '&type=' + that.data.type,
// })
}
},
......
<view class="boxs">
<block wx:for='{{banklist}}' wx:key="index" wx:for-item="bank" wx:for-key="" >
<view class="box_yhk ov po_r mb-20" data-type="{{type}}" data-id="{{bank.id}}" bindtouchstart="handleTouchStart" bindtouchend="handleTouchEnd" bindlongpress="handleLongPress" bindtap="handleClick">
<view class="box_yhk ov po_r mb-20" data-type="{{type}}" data-id="{{bank.id}}" data-item="{{bank}}" bindtouchstart="handleTouchStart" bindtouchend="handleTouchEnd" bindlongpress="handleLongPress" bindtap="handleClick">
<view class="kaimg po_a"><image src="{{clientImgPath}}/images/bank/{{bank.bankbg}}.png"></image></view>
<view class="ali-c">
<view class="logoimg"></view>
......
......@@ -24,6 +24,8 @@ Page({
secret_key:"",//邀请码
is_shop:2,//1 商家 2不是商家
},
/**
......@@ -59,6 +61,7 @@ Page({
coupon_num: res.data.coupon_num,
spell_vip: res.data.spell_vip,
secret_key:res.data.secret_key,
is_shop:res.data.is_shop,//是否是商家
})
}
})
......
......@@ -100,7 +100,7 @@
</navigator>
<navigator url="/pages/withdraw/withdraw" class="navitem" hover-class="none">
<image class="imgiocn imgiocn10" src="{{clientImgPath}}/images/lmping/proto.png" mode=""></image>
<image class="imgiocn imgiocn11" src="{{clientImgPath}}/images/lmping/withdraw.png" mode=""></image>
<view class="navnames">前往提现</view>
</navigator>
......@@ -146,31 +146,35 @@
<navigator url="/pages/set/set" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn10" src="{{clientImgPath}}/images/lmping/proto.png" mode=""></image>
<image class="imgiocn imgiocn14" src="{{clientImgPath}}/images/lmping/seticon.png" mode=""></image>
<view class="navnames">设置中心</view>
</navigator>
<navigator url="/pages/lmping/profitlog/profitlog" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn10" src="{{clientImgPath}}/images/lmping/proto.png" mode=""></image>
<image class="imgiocn imgiocn13" src="{{clientImgPath}}/images/lmping/profitlog.png" mode=""></image>
<view class="navnames">收益明细</view>
</navigator>
<navigator url="/pages/aboutus/aboutusnav/aboutusnav" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn10" src="{{clientImgPath}}/images/lmping/proto.png" mode=""></image>
<view class="navnames">关于我们</view>
</navigator>
<!-- /pages/Ishop/Ishop -->
<navigator url="/pages/Ishop/Ishop" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn10" src="{{clientImgPath}}/images/lmping/proto.png" mode=""></image>
<navigator wx:if="{{is_shop==1}}" url="/pages/Ishop/Ishop" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn16" src="{{clientImgPath}}/images/lmping/mystoreicon.png" mode=""></image>
<view class="navnames">我的店铺</view>
</navigator>
<navigator url="/pages/order/order" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn10" src="{{clientImgPath}}/images/lmping/proto.png" mode=""></image>
<image class="imgiocn imgiocn15" src="{{clientImgPath}}/images/lmping/snedorder.png" mode=""></image>
<view class="navnames">发货订单</view>
</navigator>
<navigator url="/pages/aboutus/aboutusnav/aboutusnav" class="navitem" style="margin-top: 57rpx;" hover-class="none">
<image class="imgiocn imgiocn12" src="{{clientImgPath}}/images/lmping/aboutus.png" mode=""></image>
<view class="navnames">关于我们</view>
</navigator>
</view>
......
......@@ -213,6 +213,33 @@ page {
height: 55rpx;
}
.servehall .servehall_body .imgiocn11{
width: 60rpx;
height: 45rpx;
}
.servehall .servehall_body .imgiocn12{
width: 55rpx;
height: 49rpx;
}
.servehall .servehall_body .imgiocn13{
width: 50rpx;
height: 55rpx;
}
.servehall .servehall_body .imgiocn14{
width: 58rpx;
height: 58rpx;
}
.servehall .servehall_body .imgiocn15{
width: 50rpx;
height: 54rpx;
}
.servehall .servehall_body .imgiocn16{
width: 53rpx;
height: 53rpx;
}
.servehall .servehall_body .navnames {
color: #000000;
......
......@@ -53,8 +53,8 @@
<view wx:for='{{orderG.orderGoods}}' wx:for-item="product" class="flex" style="margin:0 0 20rpx 0;"
wx:key="key">
<view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{product.photo}}' wx:if="{{product.photo}}"></image>
<image src='{{img_host}}/attachs/{{item.photo}}' wx:else></image>
<image src='{{staticUrl}}{{product.photo}}' wx:if="{{product.photo}}"></image>
<image src='{{staticUrl}}{{item.photo}}' wx:else></image>
</view>
<view class="flex1 ml-25">
<view class="sz_30 bt_hei twoline" style="height:84rpx">{{product.goods_name}}</view>
......@@ -147,8 +147,8 @@
data-index="{{index}}" data-action='getRefundDetail' wx:key="vendorid">
<view class="flex" style="margin:0 0 20rpx 0;">
<view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{orderRefund.photo}}' wx:if="{{orderRefund.photo}}"></image>
<image src='{{img_host}}/attachs/{{orderRefund.photo}}' wx:else></image>
<image src='{{staticUrl}}{{orderRefund.photo}}' wx:if="{{orderRefund.photo}}"></image>
<image src='{{staticUrl}}{{orderRefund.photo}}' wx:else></image>
</view>
<view class="flex1 ml-25">
<view class="sz_30 bt_hei twoline" style="height:84rpx">{{orderRefund.goods_name}}</view>
......
......@@ -189,7 +189,7 @@ view {
}
.nav-item {
width: 20%;
width: 25%;
display: inline-block;
text-align: center;
}
......
......@@ -11,6 +11,7 @@ Page({
img_host: app.globalData.ImgPath,
clientImgPath: app.globalData.clientImgPath,
staticUrl:app.globalData.staticUrl,
showDialog: false,
// 倒计时
page:1,
......
......@@ -5,7 +5,7 @@
<block wx:if="{{detail.status==0}}">
<image src="{{clientImgPath}}/2020/index/group_img/order.png"></image>
<view>
<view class="state">{{detail.orderstatus}}</view>
<!-- <view class="state">{{detail.orderstatus}}</view>
<view class="ali-c sz_28 cf ml-10 mt-10">
仅剩
<van-count-down
......@@ -13,7 +13,7 @@
time="{{ detail.time*1000 }}"
format="HH 时 mm 分 ss 秒"
/> 后自动取消
</view>
</view> -->
</view>
</block>
<block wx:else>
......@@ -51,35 +51,13 @@
</view>
</view> -->
<!-- 待分享 -->
<view class="roof" wx:if="{{detail.status==10}}">
<view class="img">
<image class="imgs" src="../../../../../images/group_img/dot.png"></image>
<text class="txt">待分享,还差一人成团</text>
<image class="imgs" src="../../../../../images/group_img/dot.png"></image>
</view>
<view class="head">
<view class="img">
<view class="transverse"></view>
<view class="head_son">
<image class="imgs_1" src="../../../../../images/group_img/head.png"></image>
<image class="imgs_1" src="../../../../../images/group_img/head.png"></image>
</view>
<view class="transverse"></view>
</view>
</view>
</view>
<!-- /// -->
<view class="flex" wx:for='{{detail.products}}' wx:key='index' wx:for-item="item">
<view class="tuimg br_10 ov" bindtap="jumpToDetail" data-goods_id="{{item.goods_id}}"
data-miao="{{item.miao}}">
<image class="images" src='{{img_host}}/attachs/{{item.photo}}' wx:if="{{item.photo}}"></image>
<image class="images" src='{{img_host}}/attachs/{{detail.photo}}' wx:else></image>
<image class="images" src='{{staticUrl}}{{item.photo}}' wx:if="{{item.photo}}"></image>
<image class="images" src='{{staticUrl}}{{detail.photo}}' wx:else></image>
</view>
<view class="flexs ml-25 mt-20">
......@@ -114,11 +92,6 @@
<view class="sz_26">¥{{detail.tprice}}</view>
</view>
<view class="li_boxs ali-z bt_hei" wx:if="{{detail.active==6}}">
<view class="sz_26">砍后合计</view>
<view class="sz_26">¥{{detail.amount}}</view>
</view>
<view class="li_boxs ali-z bt_hei">
<view class="sz_26">物流费</view>
<view class="sz_26">
......@@ -126,41 +99,13 @@
</view>
</view>
<view class="li_boxs ali-z bt_hei">
<view class="sz_26">优惠抵扣</view>
<view class="sz_26">-¥{{detail.cprice || '0.00'}} </view>
</view>
<view class="li_boxs ali-z bt_hei">
<view class="sz_26 ">
悦想优惠<text class="c_ff sz_26">({{code=='money'||mingle=='money'?'余额':code=='commission'|| mingle=='commission'?'佣金':"无"}}抵扣)
</text>
</view>
<view
class="sz_26"
hidden="{{alipaycode=='alipay'||alipaycode=='ysf'}}"
wx:if="{{code!='weixin'}}"
>
-¥{{applet||'0.00'}}
</view>
<view class="sz_26" wx:if="{{code=='weixin'||code=='alipay'||code=='ysf'}}">
-¥{{mingle=='money'||mingle=='commission'?totals:detail.disprice||'0.00'}}
</view>
</view>
<view class="ali-c jus-e " style="padding:0;">
<view class="integrations" wx:if="{{detail.status==0&&detail.money!=0}}">
可返 <text style="color: #f64f15;"> {{detail.money}}元</text>佣金
</view>
<view class="integrations" wx:if="{{detail.status==1||detail.status==3||detail.status==8&&detail.money!=0}}">
已返 <text style="color: #f64f15;"> {{detail.money}}元</text>佣金
</view>
<view class="ali-z sz_24 ml-20">
<view class="twbs sz_26">实付:</view>
<view class="twb twb_s sz_26"><text class="price_1">¥</text>{{number}}</view>
<view class="twb twb_s sz_26"><text class="price_1">¥</text>{{detail.amount}}</view>
</view>
</view>
......@@ -171,26 +116,15 @@
<view class="ali-z " style="background-color: rgba(255, 255, 255, 1);">
<view class="ali-z">
<view class="mb-40">
<view class="ali-zz">
<view class="sz_32 bt_heis ">订单编号:</view>
<view class="sz_32 indent">{{logs.order_sn}}</view>
</view>
<view class="ali-zz">
<!-- <view class="ali-zz">
<view class="sz_32 bt_heis ">订单号ID:</view>
<view class="sz_32 indent">{{logs.order_id}}</view>
</view>
<view class="ali-zz">
</view> -->
<!-- <view class="ali-zz">
<view class="sz_32 bt_heis">商家名称:</view>
<view class="sz_32 bt_heis mr-160">{{detail.shop_name}}</view>
</view>
<view class="ali-zz">
<view class="sz_32 bt_heis">支付方式:</view>
<view class="sz_32 bt_heis mr-160" wx:if="{{logs.code=='weixin'}}">微信支付</view>
<view class="sz_32 bt_heis mr-160" wx:if="{{logs.code=='commission'}}">佣金</view>
<view class="sz_32 bt_heis mr-160" wx:if="{{logs.code=='money'}}">余额</view>
</view>
</view> -->
<view class="ali-zz">
<view class="sz_32 bt_heis">快递方式:</view>
......@@ -204,166 +138,9 @@
<view class="ali-zz">
<view class="sz_32 bt_heis">创建时间:</view>
<view class="sz_32 bt_heis mr-40">{{logs.create_time}}</view>
</view>
<view class="sz_24" style="padding: 15rpx 25rpx;color: #f64f15;" wx:if="{{detail.money!=0&&detail.status!=-2}}">温馨提示:参与返佣金产品不支持退款</view>
</view>
</view>
</view>
</view>
<!-- 分享邀请底部 -->
<view class="db_box" wx:if="{{detail.status==10}}">
<view class="db_aa">
<button class="db_dd" bindtap="showFrame" data-type="">邀请好友完成拼单</button>
</view>
</view>
<!-- <ShareGroup id="bottonShareGroup" /> -->
<!-- 分享弹窗内容 -->
<view wx:if='{{flag}}'>
<view class='wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});'></view>
<view catchtap='hideFrame' class='frame-wrapper {{frameAnimate}}'>
<view catchtap='catchNone' class='frame_1'>
<!-- 标题 -->
<view class='title- tect'>
<view class="btexts">分享到</view>
</view>
<!-- 组件 -->
<!-- 内容 -->
<drawing id="drawing" frameTitle="这是标题" />
<view class="parallel">
<view class="avatar">
<button class="but" open-type="share"></button>
<image src="{{clientImgPath}}/2020/index/group_img/weixin.png"></image>
<text class="" style="margin-left:16rpx;margin-top: 16rpx;">微信</text>
</view>
<view class="avatar">
<canvasdrawer painting="{{painting}}" class="canvasdrawer" bind:getImage="eventGetImage" />
<button class="but" bindtap="showFrames"></button>
<image bindtap="eventSave"
src="{{clientImgPath}}/2020/index/group_img/sharing.png"></image>
<text class="" style="margin-left: -10rpx;">保存相册</text>
</view>
</view>
</view>
</view>
</view>
<!-- 绘画弹窗 -->
<view wx:if='{{flags}}'>
<view class='wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});'></view>
<view catchtap='hideFrame' class='frame-wrapper {{frameAnimate}}'>
<view catchtap='catchNone' class='frame_11'>
<!-- 标题 -->
<!-- <view class='title-wrapper tect head'>
<view class="btext"><image src="/images/group_img/lm.png"></image></view>
</view> -->
<view class="container pd-24">
<view class="bag">
<image src="{{shareImage}}" class="share-images"></image>
<canvasdrawer painting="{{painting}}" class="canvasdrawer" bind:getImage="eventGetImage" />
<view class="sz_32 bt_heis mr-40">{{detail.create_time}}</view>
</view>
</view>
<!-- 退出 -->
<!-- <view class="btn" catchtap='hideFrame'>
<view class="tbimg">
<image src="{{clientImgPath}}/2020/index/group_img/close.png"></image>
</view>
</view> -->
</view>
</view>
</view>
<!-- 联系商家 -->
<view class="bc_bi br_15 ali-c mt-20" style="width:100%" wx:if="{{detail.status==10}}">
<view class="flexc" style="width:50%;height:100rpx" bindtap='callTel' data-tel='{{detail.tel}}'>
<view class="dianhuimg">
<image src="{{clientImgPath}}/images/sc/dianhua@2x.png"></image>
</view>
<view class="sz_32 bt_hei ml-20">联系商家</view>
</view>
<view class="shuxian"></view>
<view class="flexc" style="width:50%;height:100rpx">
<view class="dianhuimg">
<image src="{{clientImgPath}}/images/sc/xinxi.png"></image>
</view>
<view class="sz_32 bt_hei ml-20" bindtap='callTel' data-tel='{{CONFIG.site.tel?CONFIG.site.tel:"13970923557"}}'>
联系平台</view>
</view>
</view>
<!-- 猜你会买 -->
<!-- <view class="flexc mt-40 mb-40" wx:if="{{detail.status!=10}}">
<view class="duanxian"></view>
<view class="sz_32 bt_hei twb ml-20 mr-20">猜你会买</view>
<view class="duanxian"></view>
</view>
<view class="ds-fj box_20" wx:if="{{detail.status!=10}}">
<view class="ov br_10 mb-20 bc_bi" wx:for='{{list}}' wx:key='index' style="width:48.5%">
<view class="cptjimg" bindtap="jumpToDetail" data-cate_id="{{item.cate_id}}" data-goods_id="{{item.id}}">
<image src="{{img_host}}/attachs/{{item.img}}"></image>
</view>
<view class="sz_32 bt_hei mt-10 twoline plr-20" style="font-weight:bold;" bindtap="jumpToDetail"
data-cate_id="{{item.cate_id}}" data-goods_id="{{item.id}}">
{{item.title}}</view>
<view class="min_text mt-10 plr-20">已有{{item.sold_num}}人购买</view>
<view class="ali-z mt-10 plr-20 mb-10">
<view class="sz_34 c_ff">
<text class="sz_24">¥</text>{{item.disprice}}</view>
</view>
</view>
</view> -->
<!-- 底部 -->
<view class="ali-z dibu_qr" wx:if='{{detail.status==0}}'>
<view class="bt_min_28">合计:
<text class="sz_40 c_ff">¥{{number}}</text>
</view>
<view class="ali-c">
<view class="button_b mr-20" style="width:170rpx;height:80rpx;line-height:80rpx " bindtap="toggleDialog">删除订单
</view>
<view class="button" style="width:170rpx;height:80rpx;line-height:80rpx " bindtap="method">去支付</view>
</view>
</view>
<!-- 取消弹窗 -->
<view class="zan-dialog {{ showDialog ? 'zan-dialog--show' : '' }}">
<view class="zan-dialog__mask" bindtap="toggleDialog" />
<view class="zan-dialog__container">
<view class="sz_40 bt_heibl" style='padding:40rpx 80rpx;'>
亲,您真的要删除订单吗?
</view>
<view class="xian"></view>
<view class="flexc mt-60">
<view class="button_b mr-40" style="width:240rpx;height:100rpx;line-height:100rpx " bindtap="toggleDialog">
考虑考虑</view>
<view class="button" style="width:240rpx;height:100rpx;line-height:100rpx "
data-order_id="{{detail.order_id}}" bindtap="delorder">确认删除</view>
</view>
</view>
</view>
<!-- 支付方式弹窗 -->
<view>
<method_payment bind:paymentCode="paymentCode" id='method_payment' amount="{{detail.amount}}"
disprice="{{detail.discounts}}" buy_type="{{detail.buytype}}" coupon_price="{{detail.cprice}}" code="{{code}}"
number="{{number}}" totals="{{totals}}" mingle="{{mingle}}" applet="{{applet}}" />
</view>
<!-- 支付密码弹窗 -->
<view>
<payment_code id='payment_code' bind:submitpwd="submitpwd" money="{{money}}" number="{{number}}" />
</view>
<!--返回顶部 -->
<image src='{{clientImgPath}}/images/uts/fanhuidb.png' class='goTop' hidden='{{!floorstatus}}' bindtap="goTop"></image>
\ No newline at end of file
<!--pages/register/register.wxml-->
<view class="content1">
<view class="header">
<image src="/images/shilu-login/logo.png"></image>
<image src="/images/shilu-login/logo.jpg"></image>
</view>
<view class="list">
......
......@@ -7,6 +7,7 @@ var wxParse = require('../../../../../components/wxParse/wxParse.js');
var img_host = app.globalData.ImgPath;
var clientImgPath = app.globalData.clientImgPath;
var staticUrl = app.globalData.staticUrl;
import { nowJoinGroup } from "../../../../../api/lmping.js";
......@@ -73,6 +74,7 @@ Page({
indicatorActiveColor: "#f64f15",
cart_count: 0,
clientImgPath: clientImgPath,
staticUrl,
checkedSpec: '',
spec: {},
spec_key: [],
......@@ -130,10 +132,10 @@ Page({
is_auto:is_auto,
}).then((res) => {
if (res.code == 0) {
wx.showToast({
title: res.msg,
icon: "none"
})
// wx.showToast({
// title: res.msg,
// icon: "none"
// })
this.setData({
showpuptwos:true,
})
......@@ -233,7 +235,7 @@ Page({
onShareAppMessage() {
return {
// title: this.data.goods.title.substring(0, 25),
// imageUrl: this.data.img_host + '/attachs/' + this.data.imgUrls[0].photo,
// imageUrl: this.data.staticUrl + '' + this.data.imgUrls[0].photo,
// path: 'pages/shop/shops/weidian/weidian_details/weidian_details?goods_id=' + this.data.goods_id + '&fxuser_id=' + this.data.user_id + '&productType=wechat'
}
},
......@@ -241,7 +243,7 @@ Page({
onShareTimeline() {
return {
// title: this.data.goods.title.substring(0, 25),
// imageUrl: this.data.img_host + '/attachs/' + this.data.imgUrls[0].photo
// imageUrl: this.data.staticUrl + '' + this.data.imgUrls[0].photo
}
},
/**
......
......@@ -18,14 +18,14 @@
<swiper-item class="item">
<image
wx-if='{{item.photo}}'
src="{{img_host}}/attachs/{{item.photo}}"
src="{{staticUrl}}{{item.photo}}"
class="slide-image"
bindload='getHeight'
style="width:100%;height:100%;"
/>
<image
wx-if='{{!item.photo}}'
src="{{img_host}}/attachs/{{tuimg}}"
src="{{staticUrl}}{{tuimg}}"
class="slide-image"
bindload='getHeight'
style="width:100%;height:100%;"
......@@ -36,7 +36,7 @@
<block wx:else>
<swiper-item class="item" style="height:{{swiperH}};">
<image
src="{{img_host}}/attachs/{{goods.img}}"
src="{{staticUrl}}{{goods.img}}"
class="slide-image"
bindload='getHeight'
style="width:100%;height:100%;"
......@@ -93,7 +93,7 @@
<!-- 评价 -->
<view class="topboxss_t">
<!-- <view class="topboxss_t">
<view class="nr_t_l mb-20">
<view class="twb">商品评价({{goods.comment_count}}条)</view>
<view class="nr_t_l_r" bindtap="evaluate">查看更多></view>
......@@ -109,13 +109,13 @@
<view class="ali-c">
<block wx:for='{{goods.comment_list[0].img_url_arr}}' wx:key="index">
<view class="nr_img mr-20">
<image src="{{img_host}}/attachs/{{item}}" />
<image src="{{staticUrl}}{{item}}" />
</view>
</block>
</view>
<view class="ali-z pb-20 pbox mt-20" wx:if="{{goods.comment_list[0].reply_content!=''}}">
<view/>
<!-- 商家回复 -->
<view class="pingLun-Inthep_sj" wx:if="{{goods.comment_list[0].reply_content!=null}}">
店家回复:
<text >{{goods.comment_list[0].reply_content}}</text>
......@@ -123,7 +123,7 @@
</view>
</view>
</view>
<view class="xianhui" />
<view class="xianhui" /> -->
<!-- 详情 -->
<view class="sp_xq spxq">
......
......@@ -61,8 +61,12 @@ Page({
// 跳转银行卡列表
bankCardList: function (e) {
var type = e.currentTarget.dataset.type;
// wx.navigateTo({
// url: '/pages/bankCard_list/bankCard_list?url=' + app.getCurrentPageUrl() + '&type=' + type,
// })
wx.navigateTo({
url: '/pages/bankCard_list/bankCard_list?url=' + app.getCurrentPageUrl() + '&type=' + type,
url: '/pages/bankCard_list/bankCard_list?issel=1',
})
},
......@@ -87,6 +91,16 @@ Page({
}
this.setData({ hidden:false });
this.onLoadFun();
//选银行卡
let selbankcard = wx.getStorageSync('selbankcard');
if(selbankcard){
wx.setStorageSync('selbankcard', "");
this.setData({
bank_id: selbankcard.bank_id,
bank:selbankcard,
})
}
},
/**
......
......@@ -158,7 +158,7 @@
<view class="xian"></view>
<view class=" mt-40 mb-30">
<!-- 有银行卡 -->
<block wx:if="{{bank}}">
<block wx:if="{{bank.id}}">
<view class="sz_30 bt_hei">到账银行卡</view>
<view class="ali-c mt-30" data-type="{{type}}" bindtap="bankCardList">
<view class="touxiangimg ov">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment