Commit dde122d4 authored by xieyishang's avatar xieyishang

addxx

parent 497f960b
......@@ -2,8 +2,8 @@
"name" : "鹿马商家助手",
"appid" : "__UNI__1EA80F1", //这个是 web
"description" : "商家",
"versionName" : "1.123",
"versionCode" : 1123,
"versionName" : "1.125",
"versionCode" : 1125,
"transformPx" : false,
"compatible" : {
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
......
......@@ -14,7 +14,7 @@
<view class="address_l">
<image class="img" src="/static/icon/location.png" mode=""></image>
</view>
<view class="address_r">
<view @tap="copeaddress" class="address_r">
<view class="address_r_01">
<view>收货人:{{addr.name}}</view>
<view>{{addr.mobile}}</view>
......@@ -120,7 +120,18 @@
},
},
methods:{
methods:{
//配置地址:
copeaddress(){
let addressdata = `${this.addr.name} ${this.addr.mobile} ${this.addr.addr}`;
// console.info(addressdata,"addressdata");
uni.setClipboardData({
data: addressdata,
success: ()=> {
this.$api.msg("复制成功");
}
});
},
//获取订单详情
async eleOrderDetails(){
let res = await eleOrderDetails({
......
......@@ -10,7 +10,7 @@
v-for="(item, index) in order_status_list"
:key="index"
data-current="1"
:data-statusTab="item.status_id"
:data-statustab="item.status_id"
:data-status="item.status"
:data-is_dianping="item.is_dianping"
:data-sale_status="item.sale_status"
......
......@@ -18,7 +18,12 @@
<view class="sz_30 bt_hei mt-10">{{detail.addr.addr}}</view>
</view>
</view>
<view class="submimtcope" @tap="copeaddress">一键复制</view>
</view>
<view class="topbox_20 mt-60 addresone" v-else>
<view class="ali-c">
<view class="" style="width: 32upx;">
......@@ -110,6 +115,9 @@
<!-- 猜你会买 -->
</view>
</view>
......@@ -141,6 +149,19 @@
this.initializedata();
},
methods: {
//配置地址:
copeaddress(){
// <view class="sz_30 bt_hei">{{detail.addr.name}} {{detail.addr.mobile}}</view>
//<view class="sz_30 bt_hei mt-10">{{detail.addr.addr}}</view>
let addressdata = `${this.detail.addr.name} ${this.detail.addr.mobile} ${this.detail.addr.addr}`;
uni.setClipboardData({
data: addressdata,
success: ()=> {
this.$api.msg("复制成功");
}
});
},
xlsj() { //联系客户
uni.makePhoneCall({
phoneNumber: this.detail.addr.mobile //仅为示例
......@@ -188,6 +209,16 @@
</script>
<style lang="scss">
.submimtcope{
border-radius: 14upx;
margin: 15upx 30upx;
margin-bottom: 0;
height: 80upx;
line-height: 80upx;
background-color: #F64F15;
color: #fff;
text-align: center;
}
/* pages/shop//order/weidianorder/weidianLine_item/weidianLine_item.wxss */
.ml-20 {
margin-left: 20upx;
......@@ -433,7 +464,7 @@
//联系kefu 客服
.ordertelbox {
margin: 0 24upx;
margin: 0 ;
margin-top: 20upx;
height: 89upx;
background: rgba(255, 255, 255, 1);
......@@ -459,7 +490,7 @@
.itemboxss:nth-child(1):after {
content: "";
width: 1px;
height: 89px;
height: 89upx;
background: rgba(242, 242, 242, 1);
position: absolute;
top: 0;
......
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