123
This commit is contained in:
@@ -9,27 +9,27 @@
|
||||
|
||||
<view class="item">
|
||||
<text class="item_left">转赠单号:</text>
|
||||
<text class="item_rifht">{{item.reserveCode}}</text>
|
||||
<text class="item_rifht">{{item.transferCode}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="item_left">转赠时间:</text>
|
||||
<text class="item_rifht">{{item.reserveDate}}</text>
|
||||
<text class="item_rifht">{{item.createTime}}</text>
|
||||
</view>
|
||||
<view class="item" >
|
||||
<text class="item_left">转赠留言:</text>
|
||||
<text class="item_rifht">{{item.userPhone}}</text>
|
||||
<text class="item_rifht">{{item.remarks}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="item_left">领取人员:</text>
|
||||
<text class="item_rifht">{{item.lqNick}}</text>
|
||||
</view>
|
||||
<view
|
||||
style="display: flex;flex-direction: row;margin-top: 5px;align-items: center;justify-content: space-between;width: 100%;">
|
||||
<text style="flex: 1;font-size: 12px; color: #A5A5A5; margin-right: 10px;">- {{item.goodss}}</text>
|
||||
|
||||
<button v-show="item.isShare=='1'" class='sharebtn' :data-info="item"
|
||||
open-type="share">分享窖</button>
|
||||
<button v-show="item.isShare=='2'" class='sharebtn2' :data-info="item"
|
||||
open-type="share">已分享</button>
|
||||
<button v-show="item.isShare=='3'" class='sharebtn3'>转赠成功</button>
|
||||
|
||||
|
||||
<button v-show="item.state=='1'" class='sharebtn' :data-info="item"
|
||||
open-type="share">分享窖</button>
|
||||
<button v-show="item.state=='2'" class='sharebtn2'>转赠成功</button>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -54,12 +54,12 @@
|
||||
// 分页的请求
|
||||
queryList(pageNo, pageSize) {
|
||||
let _this = this
|
||||
_this.$api.myOrderListByUserSid({
|
||||
_this.$api.transferRecordsList({
|
||||
"current": pageNo,
|
||||
"size": pageSize,
|
||||
"params": {
|
||||
"customerSid": getApp().globalData.sid,
|
||||
"state": '0', //0 未提货 1 已提货
|
||||
"state": '1', //1 我转赠的 2 赠与我的
|
||||
|
||||
}
|
||||
}).then((resp) => {
|
||||
@@ -78,12 +78,12 @@
|
||||
// ①
|
||||
let shareData = JSON.stringify({
|
||||
params: {
|
||||
code: data.code,
|
||||
codeKey: data.codeKey,
|
||||
customerSid: ''
|
||||
code: data.transferCode,
|
||||
codeKey: data.sid
|
||||
},
|
||||
functionName: 'bindCard',
|
||||
url: '/pages/detail/detail_affeection?sid=' + data.sid
|
||||
url: '/pages/bind/bind_cloudCard?code=' + data
|
||||
.transferCode + "&codeKey=" + data.sid
|
||||
|
||||
// url:'/pages/bind/bind_pickUpCard?code=' + + &codeKey=' + data.codeKey,
|
||||
// FunctionName:'share!
|
||||
@@ -126,7 +126,7 @@
|
||||
}
|
||||
|
||||
.sharebtn {
|
||||
background: #FF4727;
|
||||
background: #FE9039;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
width: 30vw;
|
||||
@@ -139,7 +139,7 @@
|
||||
}
|
||||
|
||||
.sharebtn2 {
|
||||
background: #FF7165;
|
||||
background: #CFCFCF;
|
||||
width: 30vw;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
@@ -150,16 +150,4 @@
|
||||
border: none;
|
||||
}
|
||||
|
||||
.sharebtn3 {
|
||||
background: #CFCFCF;
|
||||
width: 30vw;
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.sharebtn3::after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -9,26 +9,24 @@
|
||||
|
||||
<view class="item">
|
||||
<text class="item_left">转赠单号:</text>
|
||||
<text class="item_rifht">{{item.reserveCode}}</text>
|
||||
<text class="item_rifht">{{item.transferCode}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="item_left">转赠时间:</text>
|
||||
<text class="item_rifht">{{item.reserveDate}}</text>
|
||||
<text class="item_rifht">{{item.createTime}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<text class="item_left">转赠人员:</text>
|
||||
<text class="item_rifht">{{item.fxNick}}</text>
|
||||
</view>
|
||||
<view class="item" >
|
||||
<text class="item_left">转赠留言:</text>
|
||||
<text class="item_rifht">{{item.userPhone}}</text>
|
||||
<text class="item_rifht">{{item.remarks}}</text>
|
||||
</view>
|
||||
<view
|
||||
style="display: flex;flex-direction: row;margin-top: 5px;align-items: center;justify-content: space-between;width: 100%;">
|
||||
<text style="flex: 1;font-size: 12px; color: #A5A5A5; margin-right: 10px;">- {{item.goodss}}</text>
|
||||
|
||||
<button v-show="item.isShare=='1'" class='sharebtn' :data-info="item"
|
||||
open-type="share">分享窖</button>
|
||||
<button v-show="item.isShare=='2'" class='sharebtn2' :data-info="item"
|
||||
open-type="share">已分享</button>
|
||||
<button v-show="item.isShare=='3'" class='sharebtn3'>转赠成功</button>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
@@ -54,12 +52,12 @@
|
||||
// 分页的请求
|
||||
queryList(pageNo, pageSize) {
|
||||
let _this = this
|
||||
_this.$api.myOrderListByUserSid({
|
||||
_this.$api.transferRecordsList({
|
||||
"current": pageNo,
|
||||
"size": pageSize,
|
||||
"params": {
|
||||
"customerSid": getApp().globalData.sid,
|
||||
"state": '0', //0 未提货 1 已提货
|
||||
"state": '2', //1 我转赠的 2 赠与我的
|
||||
|
||||
}
|
||||
}).then((resp) => {
|
||||
|
||||
Reference in New Issue
Block a user