Commit f6348b5b authored by wangwei's avatar wangwei

Merge remote-tracking branch 'origin/development' into development

parents df7f4690 521c5693
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="手机号"> <el-form-item label="短信手机号">
<el-input v-model="searchFrom.mobile" @change="getList"></el-input> <el-input v-model="searchFrom.mobile" @change="getList"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="发送结果"> <el-form-item label="发送结果">
...@@ -31,17 +31,26 @@ ...@@ -31,17 +31,26 @@
<el-table <el-table
:data="list" :data="list"
style="width: 100%"> style="width: 100%">
<el-table-column
className="f-c"
label="用户">
<template slot-scope="scope">
<div v-if="scope.row.user_id">
<img class="avatar" :src="scope.row.avatar"> {{scope.row.nickname}}(ID:{{scope.row.user_id}}) <br>手机:{{scope.row.user_mobile}}
</div>
<div v-if="!scope.row.user_id">
未绑定用户信息
</div>
</template>
</el-table-column>
<el-table-column <el-table-column
prop="mobile" prop="mobile"
label="手机号"> label="短信手机号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="sms_code" prop="sms_code"
label="短信验证码"> label="短信验证码">
</el-table-column>
<el-table-column
prop="nickname"
label="发送人">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="发送结果"> label="发送结果">
...@@ -148,21 +157,23 @@ ...@@ -148,21 +157,23 @@
</script> </script>
<style scoped> <style scoped lang="less">
.sms{ .sms{
padding: 20px 0; padding: 20px 0;
} }
.avatar { .avatar {
width:50px; width:50px;
min-width: 50px;
height: 50px; height: 50px;
border-radius: 50%; border-radius: 50%;
} }
</style> </style>
<style> <style>
.userInfo >div{ .f-c >.cell div{
display: flex; display: flex !important;
flex-flow: row nowrap; flex-flow: row;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
} }
</style> </style>
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