123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <template>
- <div id="detailinfo">
- <el-row>
- <el-col :span="24" class="info">
- <el-col :span="24" class="top">
- <p class="textOver">{{ detailInfo.product_name }}</p>
- </el-col>
- <el-col :span="24" class="message">
- <p>
- <span>营销人名称:</span>
- <span>{{ detailInfo.market_username || '暂无' }}</span>
- </p>
- <p>
- <span>购买人名称:</span>
- <span>{{ detailInfo.username || '暂无' }}</span>
- </p>
- <p>
- <span>联系人:</span>
- <span>{{ detailInfo.contact_user || '暂无' }}</span>
- </p>
- <div class="introduction">
- <p>说明:</p>
- <p>{{ detailInfo.description || '暂无' }}</p>
- </div>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import { mapState, createNamespacedHelpers } from 'vuex';
- export default {
- name: 'detailinfo',
- props: {
- detailInfo: null,
- },
- components: {},
- data: function() {
- return {};
- },
- created() {},
- methods: {},
- computed: {
- ...mapState(['user']),
- pageTitle() {
- return `${this.$route.meta.title}`;
- },
- },
- metaInfo() {
- return { title: this.$route.meta.title };
- },
- };
- </script>
- <style lang="less" scoped>
- .info {
- .top {
- background: #fff;
- min-height: 40px;
- padding: 0 15px;
- margin: 0 0 10px 0;
- .carousel {
- height: 200px !important;
- padding: 10px 0;
- }
- .el-image {
- width: 100%;
- height: 200px;
- }
- p {
- font-size: 18px;
- // color: #7996b1;
- padding: 10px 0 10px 0;
- }
- }
- .message {
- background: #fff;
- padding: 0 15px;
- min-height: 50px;
- p {
- min-height: 50px;
- line-height: 50px;
- border-bottom: 1px solid #ccc;
- }
- span:first-child {
- display: inline-block;
- width: 98px;
- color: #ccc;
- }
- span:last-child {
- color: #000;
- }
- div {
- p {
- border-bottom: none;
- }
- }
- }
- }
- /deep/.el-carousel__container {
- height: 200px !important;
- }
- </style>
|