Commit 1a81292f authored by 罗超's avatar 罗超

1

parent 24500b62
...@@ -40,6 +40,19 @@ ...@@ -40,6 +40,19 @@
font-size: 12px; font-size: 12px;
width: 100%; width: 100%;
} }
.seebtn {
width: 200rpx;
height: 60rpx;
background: #f70027;
border-radius: 20rpx;
font-size: 20rpx;
font-family: PingFang SC;
font-weight: bold;
color: #ffffff;
text-align: center;
line-height: 60rpx;
margin-top: 30rpx;
}
</style> </style>
<template> <template>
<view class="activityList" style="height: 100vh"> <view class="activityList" style="height: 100vh">
...@@ -84,7 +97,7 @@ ...@@ -84,7 +97,7 @@
<view>结束时间:{{ item.EndTimeStr }}</view> <view>结束时间:{{ item.EndTimeStr }}</view>
</view> </view>
</view> </view>
<view> <!-- <view>
<u-button <u-button
size="80" size="80"
:ripple="true" :ripple="true"
...@@ -100,6 +113,14 @@ ...@@ -100,6 +113,14 @@
@click="goSignList(item)" @click="goSignList(item)"
>查看报名信息</u-button >查看报名信息</u-button
> >
</view> -->
<view style="display: flex; justify-content: flex-end">
<view
class="seebtn"
:style="{ backgroundColor: mainColor ? mainColor : '#1F1F1F' }"
@click.stop="goSignList(item)"
>查看报名信息</view
>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -163,7 +163,6 @@ export default { ...@@ -163,7 +163,6 @@ export default {
data: this.qmsg, data: this.qmsg,
}, },
(res) => { (res) => {
console.log(res);
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.dataList = res.data.CommerceConsultList; this.dataList = res.data.CommerceConsultList;
} }
...@@ -172,22 +171,27 @@ export default { ...@@ -172,22 +171,27 @@ export default {
}, },
//删除用户 //删除用户
deleteUser(item) { deleteUser(item) {
var delMsg = { let delMsg = {
Id: item.Id, Id: item.Id,
}; };
let that = this;
uni.showModal({ uni.showModal({
title: "提示", title: "提示",
content: "确认删除?", content: "确认删除?",
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {
this.request2( that.request2(
{ {
url: "/api/AppletTrade/DeleteTrdceConsult", url: "/api/AppletTrade/DeleteTrdceConsult",
data: delMsg, data: delMsg,
}, },
(res) => { (_res) => {
if (res.resultCode == 1) { if (_res.resultCode == 1) {
this.getList(); uni.showToast({
title: "删除成功",
duration: 2000,
});
that.getList();
} }
} }
); );
......
<style> <style>
page { .editpage {
backgroundcolor: "#F6F6F6"; height: 100vh;
background-color: #f6f6f6;
padding: 0rpx 35rpx 35rpx;
box-sizing: border-box;
} }
.signedit { .signedit {
width: 680rpx; width: 680rpx;
height: 100%;
background: #ffffff; background: #ffffff;
border-radius: 30rpx; border-radius: 30rpx;
margin: 0 auto; margin: 0 auto;
...@@ -54,7 +58,8 @@ page { ...@@ -54,7 +58,8 @@ page {
} }
</style> </style>
<template> <template>
<view class="signedit" style="height: 100vh"> <view class="editpage">
<view class="signedit">
<view class="box"> <view class="box">
<view class="name">姓名</view> <view class="name">姓名</view>
<input <input
...@@ -96,6 +101,7 @@ page { ...@@ -96,6 +101,7 @@ page {
<view class="btn btn2" @click="quxiao">取消</view> <view class="btn btn2" @click="quxiao">取消</view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>
export default { export default {
...@@ -144,25 +150,24 @@ export default { ...@@ -144,25 +150,24 @@ export default {
} }
); );
}, },
//删除用户
deleteUser(item) {
var delMsg = {
Id: item.Id,
};
this.request2(
{
url: "/api/AppletTrade/DeleteTrdceConsult",
data: delMsg,
},
(res) => {
if (res.resultCode == 1) {
this.getList();
}
}
);
},
//修改用户信息 //修改用户信息
submit() { submit() {
if (this.msg.LinkMan == "" || !this.msg.LinkMan) {
uni.showToast({
title: "请输入姓名",
duration: 2000,
icon: "error",
});
return;
}
if (this.msg.LinkTel == "" || !this.msg.LinkTel) {
uni.showToast({
title: "请输入联系电话",
duration: 2000,
icon: "error",
});
return;
}
this.request2( this.request2(
{ {
url: "/api/AppletTrade/SetTradeConsult", url: "/api/AppletTrade/SetTradeConsult",
...@@ -178,9 +183,6 @@ export default { ...@@ -178,9 +183,6 @@ export default {
uni.navigateTo({ uni.navigateTo({
url: "/pages/kotra/activityList", url: "/pages/kotra/activityList",
}); });
// uni.navigateBack({
// delta: 1,
// });
} }
} }
); );
......
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