Commit 1b70013f authored by xieyishang's avatar xieyishang

addxx

parent 24d9888f
...@@ -82,7 +82,8 @@ App({ ...@@ -82,7 +82,8 @@ App({
ImgPath: "https://pindev.jxdsy.cn", ImgPath: "https://pindev.jxdsy.cn",
clientImgPath: "https://pindev.jxdsy.cn/static/applet5", 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, private_key: Private_key,
navHeight: 0, navHeight: 0,
......
// components/dialog/evaluate_wd/evaluate_wd.js // components/dialog/evaluate_wd/evaluate_wd.js
const app = getApp(); const app = getApp();
var img_host = app.globalData.ImgPath; var img_host = app.globalData.ImgPath;
var staticUrl = app.globalData.staticUrl;
var clientImgPath = app.globalData.clientImgPath; var clientImgPath = app.globalData.clientImgPath;
Component({ Component({
/** /**
...@@ -22,6 +23,7 @@ Component({ ...@@ -22,6 +23,7 @@ Component({
animationData: {},// animationData: {},//
isFolded: true, isFolded: true,
img_host:img_host, img_host:img_host,
staticUrl,
clientImgPath: clientImgPath clientImgPath: clientImgPath
}, },
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- 评论图片 固定三个--> <!-- 评论图片 固定三个-->
<view class="pingLun_img"> <view class="pingLun_img">
<view class="pingLun_img_zi" wx:for="{{item.img_url_arr}}" wx:key="index" wx:for-item="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>
</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 { ...@@ -7,6 +7,7 @@ import {
var clientImgPath = app.globalData.clientImgPath; var clientImgPath = app.globalData.clientImgPath;
var img_host = app.globalData.ImgPath; var img_host = app.globalData.ImgPath;
var staticUrl = app.globalData.staticUrl;
Page({ Page({
/** /**
...@@ -16,6 +17,7 @@ Page({ ...@@ -16,6 +17,7 @@ Page({
shop_id: '', shop_id: '',
img_host: img_host, img_host: img_host,
clientImgPath: clientImgPath, clientImgPath: clientImgPath,
staticUrl,
currentTab: 0, currentTab: 0,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="boxs"> <view class="boxs">
<view class="ali-c"> <view class="ali-c">
<view class="shpuimg"> <view class="shpuimg">
<image src="{{img_host}}/attachs/{{shop.logo}}"></image> <image src="{{staticUrl}}{{shop.logo}}"></image>
</view> </view>
<view class="flex1 ml-30"> <view class="flex1 ml-30">
<view class="zi_wmax sz_34 c_bi">{{shop.shop_name}} <view class="zi_wmax sz_34 c_bi">{{shop.shop_name}}
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
const app = getApp(); const app = getApp();
var clientImgPath = app.globalData.clientImgPath; var clientImgPath = app.globalData.clientImgPath;
var img_host = app.globalData.ImgPath; var img_host = app.globalData.ImgPath;
var staticUrl = app.globalData.staticUrl;
import { import {
orderStatus, orderStatus,
orderGoodsList, orderGoodsList,
...@@ -20,7 +21,9 @@ Page({ ...@@ -20,7 +21,9 @@ Page({
pageNum: 1, pageNum: 1,
is_loading_done: false, is_loading_done: false,
statusTab: '1', statusTab: '1',
clientImgPath: clientImgPath clientImgPath: clientImgPath,
staticUrl,
}, },
//点击切换 //点击切换
clickTab: function (e) { clickTab: function (e) {
...@@ -224,7 +227,7 @@ Page({ ...@@ -224,7 +227,7 @@ Page({
//查看物流 //查看物流
logistics: function (order_id, action,vendor_id) { logistics: function (order_id, action,vendor_id) {
wx.navigateTo({ 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 @@ ...@@ -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 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 wx:for='{{orderG.orderGoods}}' wx:for-item="product" class="flex" style="margin:0 0 20rpx 0;">
<view class="tuimg br_10 ov"> <view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{product.photo}}' wx:if="{{product.photo}}"></image> <image src='{{staticUrl}}{{product.photo}}' wx:if="{{product.photo}}"></image>
<image src='{{img_host}}/attachs/{{item.photo}}' wx:else></image> <image src='{{staticUrl}}{{item.photo}}' wx:else></image>
</view> </view>
<view class="flex1 ml-25"> <view class="flex1 ml-25">
<view style="height:70rpx"> <view style="height:70rpx">
<view class="sz_30 bt_hei twoline btli" >{{product.goods_name}}</view> <view class="sz_30 bt_hei twoline btli" >{{product.goods_name}}</view>
</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">{{product.sku_name||''}}</view>
<view class="sz_26 inp_hui mt-10">数量: x {{product.goodsnum}}</view> <view class="sz_26 inp_hui mt-10">数量: x {{product.goodsnum}}</view>
</view> </view>
</view> </view>
<block wx:for='{{orderG.operation}}' wx:for-item="action"> <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> </block>
</view> </view>
<view class="xian mt-30 mb-30"></view> <view class="xian mt-30 mb-30"></view>
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<view class="ali-e"> <view class="ali-e">
<view class="ali-c"> <view class="ali-c">
<block wx:for='{{item.order_operation}}' wx:for-item="action" wx:key="index"> <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> </block>
</view> </view>
......
...@@ -13,6 +13,7 @@ Page({ ...@@ -13,6 +13,7 @@ Page({
data: { data: {
img_host: app.globalData.ImgPath, img_host: app.globalData.ImgPath,
clientImgPath: app.globalData.clientImgPath, clientImgPath: app.globalData.clientImgPath,
staticUrl: app.globalData.staticUrl,
}, },
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
</view> </view>
<view class="flex mt-30" wx:for='{{detail.products}}' wx:key='index' wx:for-item="item"> <view class="flex mt-30" wx:for='{{detail.products}}' wx:key='index' wx:for-item="item">
<view class="tuimg br_10 ov"> <view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{item.photo}}' wx:if="{{item.photo}}"></image> <image src='{{staticUrl}}{{item.photo}}' wx:if="{{item.photo}}"></image>
<image src='{{img_host}}/attachs/{{detail.photo}}' wx:else></image> <image src='{{staticUrl}}{{detail.photo}}' wx:else></image>
</view> </view>
<view class="flex1 ml-25"> <view class="flex1 ml-25">
<view class="sz_30 bt_hei twoline" style="height:65rpx">{{item.goods_name}}</view> <view class="sz_30 bt_hei twoline" style="height:65rpx">{{item.goods_name}}</view>
......
<!--pages/aboutus/aboutusnav/aboutusnav.wxml--> <!--pages/aboutus/aboutusnav/aboutusnav.wxml-->
<!--pages/personal//synopsisLuma/synopsisLuma.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="sz_34 bt_hei te_ct mt-15">悦想拼 <text wx:if="{{version}}">V{{version}}</text></view>
<view class="boxs"> <view class="boxs">
......
...@@ -12,7 +12,7 @@ Page({ ...@@ -12,7 +12,7 @@ Page({
host_img: app.globalData.ImgPath, host_img: app.globalData.ImgPath,
clientImgPath: clientImgPath, clientImgPath: clientImgPath,
hidden: false, //是否显示授权弹窗 hidden: false, //是否显示授权弹窗
issel:0,
}, },
/** /**
...@@ -23,6 +23,7 @@ Page({ ...@@ -23,6 +23,7 @@ Page({
that.setData({ that.setData({
type: options.type, type: options.type,
url: options.url ? unescape(options.url) : "", url: options.url ? unescape(options.url) : "",
issel:options.issel,//是否过来选地址 1是 否则不是
}) })
}, },
...@@ -105,10 +106,14 @@ Page({ ...@@ -105,10 +106,14 @@ Page({
handleClick: function (e) { handleClick: function (e) {
var that = this; var that = this;
if (that.data.type) { let item = e.currentTarget.dataset.item;
wx.redirectTo({ if (that.data.issel) {//是否进来选择
url: "/" + that.data.url + "?bank_id=" + e.currentTarget.dataset.id + '&type=' + that.data.type, 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"> <view class="boxs">
<block wx:for='{{banklist}}' wx:key="index" wx:for-item="bank" wx:for-key="" > <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="kaimg po_a"><image src="{{clientImgPath}}/images/bank/{{bank.bankbg}}.png"></image></view>
<view class="ali-c"> <view class="ali-c">
<view class="logoimg"></view> <view class="logoimg"></view>
......
...@@ -24,6 +24,8 @@ Page({ ...@@ -24,6 +24,8 @@ Page({
secret_key:"",//邀请码 secret_key:"",//邀请码
is_shop:2,//1 商家 2不是商家
}, },
/** /**
...@@ -59,6 +61,7 @@ Page({ ...@@ -59,6 +61,7 @@ Page({
coupon_num: res.data.coupon_num, coupon_num: res.data.coupon_num,
spell_vip: res.data.spell_vip, spell_vip: res.data.spell_vip,
secret_key:res.data.secret_key, secret_key:res.data.secret_key,
is_shop:res.data.is_shop,//是否是商家
}) })
} }
}) })
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</navigator> </navigator>
<navigator url="/pages/withdraw/withdraw" class="navitem" hover-class="none"> <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> <view class="navnames">前往提现</view>
</navigator> </navigator>
...@@ -146,33 +146,37 @@ ...@@ -146,33 +146,37 @@
<navigator url="/pages/set/set" class="navitem" style="margin-top: 57rpx;" hover-class="none"> <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> <view class="navnames">设置中心</view>
</navigator> </navigator>
<navigator url="/pages/lmping/profitlog/profitlog" class="navitem" style="margin-top: 57rpx;" hover-class="none"> <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> <view class="navnames">收益明细</view>
</navigator> </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 --> <!-- /pages/Ishop/Ishop -->
<navigator url="/pages/Ishop/Ishop" class="navitem" style="margin-top: 57rpx;" hover-class="none"> <navigator wx:if="{{is_shop==1}}" 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> <image class="imgiocn imgiocn16" src="{{clientImgPath}}/images/lmping/mystoreicon.png" mode=""></image>
<view class="navnames">我的店铺</view> <view class="navnames">我的店铺</view>
</navigator> </navigator>
<navigator url="/pages/order/order" class="navitem" style="margin-top: 57rpx;" hover-class="none"> <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> <view class="navnames">发货订单</view>
</navigator> </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> </view>
</view> </view>
</view> </view>
......
...@@ -213,6 +213,33 @@ page { ...@@ -213,6 +213,33 @@ page {
height: 55rpx; 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 { .servehall .servehall_body .navnames {
color: #000000; color: #000000;
......
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
<view wx:for='{{orderG.orderGoods}}' wx:for-item="product" class="flex" style="margin:0 0 20rpx 0;" <view wx:for='{{orderG.orderGoods}}' wx:for-item="product" class="flex" style="margin:0 0 20rpx 0;"
wx:key="key"> wx:key="key">
<view class="tuimg br_10 ov"> <view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{product.photo}}' wx:if="{{product.photo}}"></image> <image src='{{staticUrl}}{{product.photo}}' wx:if="{{product.photo}}"></image>
<image src='{{img_host}}/attachs/{{item.photo}}' wx:else></image> <image src='{{staticUrl}}{{item.photo}}' wx:else></image>
</view> </view>
<view class="flex1 ml-25"> <view class="flex1 ml-25">
<view class="sz_30 bt_hei twoline" style="height:84rpx">{{product.goods_name}}</view> <view class="sz_30 bt_hei twoline" style="height:84rpx">{{product.goods_name}}</view>
...@@ -147,8 +147,8 @@ ...@@ -147,8 +147,8 @@
data-index="{{index}}" data-action='getRefundDetail' wx:key="vendorid"> data-index="{{index}}" data-action='getRefundDetail' wx:key="vendorid">
<view class="flex" style="margin:0 0 20rpx 0;"> <view class="flex" style="margin:0 0 20rpx 0;">
<view class="tuimg br_10 ov"> <view class="tuimg br_10 ov">
<image src='{{img_host}}/attachs/{{orderRefund.photo}}' wx:if="{{orderRefund.photo}}"></image> <image src='{{staticUrl}}{{orderRefund.photo}}' wx:if="{{orderRefund.photo}}"></image>
<image src='{{img_host}}/attachs/{{orderRefund.photo}}' wx:else></image> <image src='{{staticUrl}}{{orderRefund.photo}}' wx:else></image>
</view> </view>
<view class="flex1 ml-25"> <view class="flex1 ml-25">
<view class="sz_30 bt_hei twoline" style="height:84rpx">{{orderRefund.goods_name}}</view> <view class="sz_30 bt_hei twoline" style="height:84rpx">{{orderRefund.goods_name}}</view>
......
...@@ -189,7 +189,7 @@ view { ...@@ -189,7 +189,7 @@ view {
} }
.nav-item { .nav-item {
width: 20%; width: 25%;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
} }
......
...@@ -11,6 +11,7 @@ Page({ ...@@ -11,6 +11,7 @@ Page({
img_host: app.globalData.ImgPath, img_host: app.globalData.ImgPath,
clientImgPath: app.globalData.clientImgPath, clientImgPath: app.globalData.clientImgPath,
staticUrl:app.globalData.staticUrl,
showDialog: false, showDialog: false,
// 倒计时 // 倒计时
page:1, page:1,
......
This diff is collapsed.
<!--pages/register/register.wxml--> <!--pages/register/register.wxml-->
<view class="content1"> <view class="content1">
<view class="header"> <view class="header">
<image src="/images/shilu-login/logo.png"></image> <image src="/images/shilu-login/logo.jpg"></image>
</view> </view>
<view class="list"> <view class="list">
......
...@@ -7,6 +7,7 @@ var wxParse = require('../../../../../components/wxParse/wxParse.js'); ...@@ -7,6 +7,7 @@ var wxParse = require('../../../../../components/wxParse/wxParse.js');
var img_host = app.globalData.ImgPath; var img_host = app.globalData.ImgPath;
var clientImgPath = app.globalData.clientImgPath; var clientImgPath = app.globalData.clientImgPath;
var staticUrl = app.globalData.staticUrl;
import { nowJoinGroup } from "../../../../../api/lmping.js"; import { nowJoinGroup } from "../../../../../api/lmping.js";
...@@ -73,6 +74,7 @@ Page({ ...@@ -73,6 +74,7 @@ Page({
indicatorActiveColor: "#f64f15", indicatorActiveColor: "#f64f15",
cart_count: 0, cart_count: 0,
clientImgPath: clientImgPath, clientImgPath: clientImgPath,
staticUrl,
checkedSpec: '', checkedSpec: '',
spec: {}, spec: {},
spec_key: [], spec_key: [],
...@@ -130,10 +132,10 @@ Page({ ...@@ -130,10 +132,10 @@ Page({
is_auto:is_auto, is_auto:is_auto,
}).then((res) => { }).then((res) => {
if (res.code == 0) { if (res.code == 0) {
wx.showToast({ // wx.showToast({
title: res.msg, // title: res.msg,
icon: "none" // icon: "none"
}) // })
this.setData({ this.setData({
showpuptwos:true, showpuptwos:true,
}) })
...@@ -233,7 +235,7 @@ Page({ ...@@ -233,7 +235,7 @@ Page({
onShareAppMessage() { onShareAppMessage() {
return { return {
// title: this.data.goods.title.substring(0, 25), // 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' // 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({ ...@@ -241,7 +243,7 @@ Page({
onShareTimeline() { onShareTimeline() {
return { return {
// title: this.data.goods.title.substring(0, 25), // 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 @@ ...@@ -18,14 +18,14 @@
<swiper-item class="item"> <swiper-item class="item">
<image <image
wx-if='{{item.photo}}' wx-if='{{item.photo}}'
src="{{img_host}}/attachs/{{item.photo}}" src="{{staticUrl}}{{item.photo}}"
class="slide-image" class="slide-image"
bindload='getHeight' bindload='getHeight'
style="width:100%;height:100%;" style="width:100%;height:100%;"
/> />
<image <image
wx-if='{{!item.photo}}' wx-if='{{!item.photo}}'
src="{{img_host}}/attachs/{{tuimg}}" src="{{staticUrl}}{{tuimg}}"
class="slide-image" class="slide-image"
bindload='getHeight' bindload='getHeight'
style="width:100%;height:100%;" style="width:100%;height:100%;"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<block wx:else> <block wx:else>
<swiper-item class="item" style="height:{{swiperH}};"> <swiper-item class="item" style="height:{{swiperH}};">
<image <image
src="{{img_host}}/attachs/{{goods.img}}" src="{{staticUrl}}{{goods.img}}"
class="slide-image" class="slide-image"
bindload='getHeight' bindload='getHeight'
style="width:100%;height:100%;" style="width:100%;height:100%;"
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<!-- 评价 --> <!-- 评价 -->
<view class="topboxss_t"> <!-- <view class="topboxss_t">
<view class="nr_t_l mb-20"> <view class="nr_t_l mb-20">
<view class="twb">商品评价({{goods.comment_count}}条)</view> <view class="twb">商品评价({{goods.comment_count}}条)</view>
<view class="nr_t_l_r" bindtap="evaluate">查看更多></view> <view class="nr_t_l_r" bindtap="evaluate">查看更多></view>
...@@ -109,13 +109,13 @@ ...@@ -109,13 +109,13 @@
<view class="ali-c"> <view class="ali-c">
<block wx:for='{{goods.comment_list[0].img_url_arr}}' wx:key="index"> <block wx:for='{{goods.comment_list[0].img_url_arr}}' wx:key="index">
<view class="nr_img mr-20"> <view class="nr_img mr-20">
<image src="{{img_host}}/attachs/{{item}}" /> <image src="{{staticUrl}}{{item}}" />
</view> </view>
</block> </block>
</view> </view>
<view class="ali-z pb-20 pbox mt-20" wx:if="{{goods.comment_list[0].reply_content!=''}}"> <view class="ali-z pb-20 pbox mt-20" wx:if="{{goods.comment_list[0].reply_content!=''}}">
<view/> <view/>
<!-- 商家回复 -->
<view class="pingLun-Inthep_sj" wx:if="{{goods.comment_list[0].reply_content!=null}}"> <view class="pingLun-Inthep_sj" wx:if="{{goods.comment_list[0].reply_content!=null}}">
店家回复: 店家回复:
<text >{{goods.comment_list[0].reply_content}}</text> <text >{{goods.comment_list[0].reply_content}}</text>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="xianhui" /> <view class="xianhui" /> -->
<!-- 详情 --> <!-- 详情 -->
<view class="sp_xq spxq"> <view class="sp_xq spxq">
......
...@@ -61,8 +61,12 @@ Page({ ...@@ -61,8 +61,12 @@ Page({
// 跳转银行卡列表 // 跳转银行卡列表
bankCardList: function (e) { bankCardList: function (e) {
var type = e.currentTarget.dataset.type; var type = e.currentTarget.dataset.type;
// wx.navigateTo({
// url: '/pages/bankCard_list/bankCard_list?url=' + app.getCurrentPageUrl() + '&type=' + type,
// })
wx.navigateTo({ 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({ ...@@ -87,6 +91,16 @@ Page({
} }
this.setData({ hidden:false }); this.setData({ hidden:false });
this.onLoadFun(); 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 @@ ...@@ -158,7 +158,7 @@
<view class="xian"></view> <view class="xian"></view>
<view class=" mt-40 mb-30"> <view class=" mt-40 mb-30">
<!-- 有银行卡 --> <!-- 有银行卡 -->
<block wx:if="{{bank}}"> <block wx:if="{{bank.id}}">
<view class="sz_30 bt_hei">到账银行卡</view> <view class="sz_30 bt_hei">到账银行卡</view>
<view class="ali-c mt-30" data-type="{{type}}" bindtap="bankCardList"> <view class="ali-c mt-30" data-type="{{type}}" bindtap="bankCardList">
<view class="touxiangimg ov"> <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