123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <template>
- <div id="auditList">
- <el-row>
- <el-col :span="24" class="info">
- <el-col :span="24" class="list" v-for="(item, index) in list" :key="index">
- <p class="textOver">
- <span @click="$router.push({ path: '/userCenter/matter/detailinfo' })">{{ item.product_name }}</span>
- <span style="float:right"><van-button type="info" size="small" @click="submit">同意交易</van-button></span>
- </p>
- <p>
- <span class="ptwo"><span>营销人名称:</span>{{ item.market_username || '暂无' }}</span>
- <span class="ptwo"><span>购买人名称:</span>{{ item.username || '暂无' }}</span>
- </p>
- <p class="textOver"><span>说明:</span>{{ item.description || '暂无' }}</p>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import { mapState, createNamespacedHelpers } from 'vuex';
- const { mapActions: product } = createNamespacedHelpers('marketproduct');
- export default {
- name: 'auditList',
- props: {},
- components: {},
- data: function() {
- return {
- list: [
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- {
- product_name: '最最新新技术',
- market_username: '卖家1',
- username: '买家1',
- description: '222222222222222222222222222222',
- },
- ],
- };
- },
- created() {
- this.searchInfo();
- },
- methods: {
- ...product(['newquery']),
- async searchInfo() {
- // let res = await this.newquery({ skip: 0, limit: 6, totaltype: '0', status: '1' });
- // if (this.$checkRes(res)) {
- // this.$set(this, `list`, res.data);
- // }
- },
- submit() {
- console.log('submit');
- },
- },
- computed: {
- ...mapState(['user']),
- pageTitle() {
- return `${this.$route.meta.title}`;
- },
- },
- metaInfo() {
- return { title: this.$route.meta.title };
- },
- };
- </script>
- <style lang="less" scoped>
- .info {
- border-top: 1px solid #f5f5f5;
- .list {
- background: #fff;
- padding: 0 10px;
- border-bottom: 1px solid #ccc;
- p {
- font-size: 14px;
- color: #000;
- padding: 5px 0;
- }
- p:first-child {
- font-size: 16px;
- }
- p:nth-child(2) .ptwo {
- display: inline-block;
- width: 50%;
- }
- p:nth-child(2) .ptwo span:first-child {
- color: #ccc;
- }
- p:last-child span {
- color: #ccc;
- }
- }
- }
- </style>
|