| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | <template>    <view class="list-box">        <navigator url="#" class="item-box" v-for="item in list" :key="item.sys_phonebookid">            <view class="box">                <view class="left">                    <view class="title">{{ item.name }}</view>                    <view class="remarks">{{ item.remarks }}</view>                </view>                <navigator url="#" class="right" @click="callPhoneFun(item)">                    <i class="iconfont icon-dianhua-hong" style="color:#C30D23"></i>                </navigator>            </view>                    </navigator>    </view></template><script>export default {    props:['list'],  data () {    return {    }  },  methods: {    callPhoneFun (item) {        console.log(item);        this.callPhone(item.phonenumber)    }  },}</script><style  lang="scss">.list-box {    background: #ffffff;    .item-box {        display: flex;        padding: 10px 0 0 10px;        .box {            border-bottom: 1px solid #DDDDDD;            display: flex;            align-items: center;            align-content: center;            justify-content: space-between;            width: 100%;            padding-bottom: 10px;            .left {                display: flex;                flex-direction: column;                .title {                    font-weight: bold;                    font-size: 14px;                    color: #333333;                    margin-bottom: 5px;                }                .remarks {                    font-weight: 400;                    font-size: 12px;                    color: #999999;                }            }            .right {                padding: 10px 10px 10px 10px;                border-radius: 5px;            }        }    }}</style>
 |