123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <template>
- <view class="content">
- <view class="content1">
- <span>邀请</span>
- <span>黑名单</span>
- </view>
- <view class="content2 ">
- <view class="flex">
- <view class="left">
- <view class="top flex-row-center">
- <image src="../../static/uni.png" mode="widthFix" class="img"></image>
- </view>
- </view>
- <view class="right">
- <view class="row1 flex">
- <text>张三</text>
- <text class="line"></text>
- <text>总经理</text>
- </view>
- <view class="row2">
- 北京xxx有限公司
- </view>
- <view class="row3" @click="toMap">
- <uni-icons type="redo" size="20"></uni-icons>
- <text>北京市朝阳区幸福大街8号</text>
- </view>
- <view class="row3">
- <uni-icons type="redo" size="20"></uni-icons>
- <text>13333333333</text>
- </view>
- <view class="row3">
- <uni-icons type="redo" size="20"></uni-icons>
- <text>我是备注</text>
- </view>
- </view>
- </view>
- <view class="">
- <span> 拉黑</span>
- <span>拒绝</span>
- <span>接受</span>
- </view>
- <view class="flex flex-between">
- <span>来至 圈子名</span>
- <span> 2024-01-01</span>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- userInfo:{},
- status:1
- };
- },
- onLoad() {
- this.userInfo = uni.getStorageSync("userInfo")
- this.getList()
- },
- methods:{
- getList(){
- uni.showLoading({
- title: '数据加载中'
- })
- this.$request.baseRequest('admin.unimall.cardExchangeInfo', 'list', {
- receiveId:this.userInfo.id,
- status:this.status
- }, failres => {
- console.log('res+++++', failres.errmsg)
- this.$refs.uToast.show({
- type: 'error',
- message: failres.errmsg,
- })
- uni.hideLoading()
- }).then(res => {
- uni.hideLoading()
- this.cardList = res.data.items
- })
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .content2 {
- border: 1px solid #ccc;
- border-radius: 30rpx;
- padding: 40rpx;
- box-sizing: border-box;
- .left {
- width: 30%;
- .top {
-
- margin-bottom: 20rpx;
- }
- .img {
- width: 80%;
- }
- .bottom {
- }
- }
- .right {
- .row1 {
- .line {
- width: 1px;
- height: 20px;
- margin: 0 20rpx;
- background: black;
- }
- }
- }
- }
- </style>
|