|
@@ -5,33 +5,42 @@
|
|
|
选择报告份数
|
|
|
</div>
|
|
|
<div class="vip-sub-item-content" v-if="specActiveId">
|
|
|
- <order-spec-list
|
|
|
- :list="specList"
|
|
|
- :active="specActiveId"
|
|
|
- @activeChange="doChangeSpec"
|
|
|
- ></order-spec-list>
|
|
|
+ <div class="item-con">
|
|
|
+ <order-spec-list
|
|
|
+ :list="specList"
|
|
|
+ :active="specActiveId"
|
|
|
+ @activeChange="doChangeSpec"
|
|
|
+ ></order-spec-list>
|
|
|
+ <div class="apply-box" v-if="isMarket">
|
|
|
+ <span class="top-t">定制报告份数</span>
|
|
|
+ <p>下载更多市场分析定制报告</p>
|
|
|
+ <el-button type="primary" @click="goApply">去申请</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="top-tip-banner">
|
|
|
使用有效期: 3年
|
|
|
</div>
|
|
|
</div>
|
|
|
</SelectorCard>
|
|
|
+ <!-- 留资弹窗 -->
|
|
|
+ <CollectInfo ref="collectRef"></CollectInfo>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import dayjs from 'dayjs'
|
|
|
import { mapActions, mapGetters } from 'vuex'
|
|
|
-import { getSVIPBuyInfo } from '@/api/modules'
|
|
|
import { getPureNumber } from '@/utils/format/number'
|
|
|
-
|
|
|
import SelectorCard from '@/components/selector/SelectorCard.vue'
|
|
|
import OrderSpecList from '@/views/order/ui/spec/list.vue'
|
|
|
+import CollectInfo from '@/components/collect-info/CollectInfo.vue'
|
|
|
|
|
|
export default {
|
|
|
name: 'download-pack-order-info',
|
|
|
components: {
|
|
|
OrderSpecList,
|
|
|
- SelectorCard
|
|
|
+ SelectorCard,
|
|
|
+ CollectInfo
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -78,6 +87,10 @@ export default {
|
|
|
dayjs(this.serviceExpirationTime).endOf('month').diff(dayjs(), 'day') +
|
|
|
1
|
|
|
)
|
|
|
+ },
|
|
|
+ // 是否是市场分析定制报告
|
|
|
+ isMarket () {
|
|
|
+ return this.$route.meta.title && this.$route.meta.title.indexOf('市场分析') > -1
|
|
|
}
|
|
|
},
|
|
|
async created() {
|
|
@@ -105,7 +118,7 @@ export default {
|
|
|
const extend = {
|
|
|
id: this.specActiveId,
|
|
|
extend: {
|
|
|
- product: '附件下载包',
|
|
|
+ product: this.$route.meta?.pack ? this.$route.meta?.pack + '下载包' : '企业中标分析报告下载包',
|
|
|
spec: {
|
|
|
num: getPureNumber(this.specActiveInfo.label)
|
|
|
}
|
|
@@ -174,22 +187,62 @@ export default {
|
|
|
}
|
|
|
// 处理成功回调
|
|
|
return true
|
|
|
+ },
|
|
|
+ // 去申请
|
|
|
+ goApply () {
|
|
|
+ this.$refs.collectRef.noCallApiFn('pc_dzbgxzb_customizedquantity')
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style scoped>
|
|
|
-.download-pack-order-info .top-tip-banner {
|
|
|
- margin-top: 12px;
|
|
|
- width: 1012px;
|
|
|
- height: 32px;
|
|
|
- padding: 0 16px;
|
|
|
- background: rgba(255, 58, 32, 0.06);
|
|
|
- border-radius: 4px 4px 4px 4px;
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 400;
|
|
|
- color: #ff3a20;
|
|
|
- line-height: 32px;
|
|
|
+<style lang="scss" scoped>
|
|
|
+.download-pack-order-info {
|
|
|
+ ::v-deep {
|
|
|
+ .spec-card {
|
|
|
+ height: 105px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .item-con {
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ .top-tip-banner {
|
|
|
+ margin-top: 12px;
|
|
|
+ width: 1012px;
|
|
|
+ height: 32px;
|
|
|
+ padding: 0 16px;
|
|
|
+ background: rgba(255, 58, 32, 0.06);
|
|
|
+ border-radius: 4px 4px 4px 4px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ff3a20;
|
|
|
+ line-height: 32px;
|
|
|
+ }
|
|
|
+ .apply-box {
|
|
|
+ width: 240px;
|
|
|
+ height: 105px;
|
|
|
+ background: linear-gradient(#DEFBFF, #FBFFFF);
|
|
|
+ border: 1px solid rgba(42, 190, 209, 0.12);
|
|
|
+ border-radius: 8px;
|
|
|
+ font-size:14px;
|
|
|
+ line-height: 22px;
|
|
|
+ text-align: center;
|
|
|
+ color: #686868;
|
|
|
+ padding: 8px 0;
|
|
|
+ margin-left: 16px;
|
|
|
+ .top-t {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size:18px;
|
|
|
+ line-height: 28px;
|
|
|
+ color: #171826;
|
|
|
+ margin-bottom: 4px;
|
|
|
+ }
|
|
|
+ .el-button {
|
|
|
+ padding: 4px 29px;
|
|
|
+ font-size:14px;
|
|
|
+ line-height: 22px;
|
|
|
+ margin-top: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|