fourPayProject/51uni/homePages/Manage/remark.vue
2025-03-31 10:23:28 +08:00

124 lines
2.2 KiB
Vue

<template>
<view class="content">
<view class="container">
<view class="haers">
<view style="width: 30%; text-align: left;" @click="goback()">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</view>
<view style="width: 30%; text-align: center; font-size: 18px; ">
备注信息
</view>
<view style="width: 30%;text-align: right;" @click="goCust()">
完成
</view>
</view>
<view class="input-box">
<input type="text" v-model="formData.remark" placeholder="请填写备注信息" />
</view>
</view>
</view>
</template>
<script>
import headers from '../../components/header/headers.vue'
import tabbar from '../../components/tabbar/tabbar.vue'
import request from '../../utils/request.js'
export default {
data() {
return {
titles: "备注信息",
terminalId: null,
formData: {},
}
},
onLoad(option) {
this.formData.terminalId = option.terminalId
},
components: {
headers
},
methods: {
goCust() {
request({
url: 'app/uaMer/setTerminalRemark/' + this.formData.terminalId,
method: 'post',
data: this.formData,
}).then(res => {
uni.navigateBack()
})
},
goback() {
uni.navigateBack()
}
}
}
</script>
<style scoped lang="scss">
.content {
background: #f4f5f6;
height: 100vh;
}
.container {
width: 100%;
background: #f4f5f6;
box-sizing: border-box;
padding-top: 90px;
}
.hang-box {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 15px 20px;
border-bottom: 1px solid #dededf;
}
.anniu {
width: 100%;
background: #E4612E;
height: 50px;
position: fixed;
bottom: 0px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.haers {
width: 100%;
background: #E4612E;
height: 88px;
box-sizing: border-box;
padding: 0px 15px;
padding-top: 40px;
color: white;
z-index: 99999;
background: #E4612E;
position: fixed;
top: 0px;
display: flex;
align-items: center;
justify-content: space-between;
}
.input-box {
width: 100%;
box-sizing: border-box;
padding: 10px;
border-bottom: 1px solid #e5e5e6;
}
</style>