111111111
This commit is contained in:
@@ -64,6 +64,22 @@
|
||||
type="number" :value="page.codeKey" @input="onKeyInput2" />
|
||||
</view> -->
|
||||
|
||||
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">转赠内容</text>
|
||||
|
||||
<scroll-view scroll-y="true" style="height:20vh; width: 100%;margin-top: 10px;" bindscrolltoupper="upper"
|
||||
bindscrolltolower="lower" bindscroll="scroll">
|
||||
<view v-for="(item,index) in data" style="display: flex;flex-direction: row;width: 100%;">
|
||||
|
||||
<view style="display: flex;flex-direction: row;align-items: center;justify-content: space-between;width: 100%;
|
||||
padding-left: 20px;padding-right: 20px;margin-top: 8px;">
|
||||
<text style="font-size: 12px;color: #666;">{{item.goodsName}}</text>
|
||||
<text style="font-size: 12px;color: #666;">{{item.remarks}}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
|
||||
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
|
||||
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
|
||||
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
|
||||
@@ -85,6 +101,7 @@
|
||||
startHeight: 0,
|
||||
endHeight: 0
|
||||
},
|
||||
data:[]
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -98,8 +115,20 @@
|
||||
|
||||
this.page.startHeight = info.windowWidth * 0.6
|
||||
this.page.endHeight = info.windowWidth * 0.8
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
|
||||
getData(){
|
||||
let _this = this
|
||||
_this.$api.getTransferByCode(this.page.code).then((resp) => {
|
||||
_this.data = resp
|
||||
|
||||
}).catch(e => {
|
||||
_this.longToast(e.msg)
|
||||
})
|
||||
},
|
||||
|
||||
onKeyInput1(event) {
|
||||
this.page.code = event.target.value
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user