|
|
@@ -104,6 +104,10 @@
|
|
|
<text class="guide-link-name">{{ getTypeLink('gut_flora').productName }}</text>
|
|
|
<text class="guide-link-arrow">›</text>
|
|
|
</view>
|
|
|
+ <view class="guide-buy" v-if="getTypeLink('gut_flora')" @click="goProductDetail('gut_flora')">
|
|
|
+ <text class="guide-buy-label">购买</text>
|
|
|
+ <text class="guide-buy-arrow">›</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="guide-item">
|
|
|
@@ -111,11 +115,15 @@
|
|
|
<view class="guide-info">
|
|
|
<text class="guide-name">素质测评</text>
|
|
|
<text class="guide-desc">核心素养/认知发展 PDF,系统解析能力、人格、情绪等</text>
|
|
|
- <view class="guide-link" v-if="getTypeLink('dan_a1')" @click="goProductDetail('dan_a1')">
|
|
|
+ <view class="guide-link" v-if="getTypeLink('dan_a2')" @click="goProductDetail('dan_a2')">
|
|
|
<text class="guide-link-label">查看商品</text>
|
|
|
- <text class="guide-link-name">{{ getTypeLink('dan_a1').productName }}</text>
|
|
|
+ <text class="guide-link-name">{{ getTypeLink('dan_a2').productName }}</text>
|
|
|
<text class="guide-link-arrow">›</text>
|
|
|
</view>
|
|
|
+ <view class="guide-buy" v-if="getTypeLink('dan_a2')" @click="goProductDetail('dan_a2')">
|
|
|
+ <text class="guide-buy-label">购买</text>
|
|
|
+ <text class="guide-buy-arrow">›</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="guide-item">
|
|
|
@@ -984,6 +992,27 @@ if (options.type === 'a2' || options.reportKind === 'a2') {
|
|
|
color: $facade-violet;
|
|
|
margin-left: 6rpx;
|
|
|
}
|
|
|
+/* 内联「购买」按钮:实心品牌紫,视觉强度高于 guide-link,直接唤起购买入口 */
|
|
|
+.guide-buy {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 10rpx;
|
|
|
+ padding: 10rpx 24rpx;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ background: $facade-violet;
|
|
|
+ align-self: flex-start;
|
|
|
+}
|
|
|
+.guide-buy-label {
|
|
|
+ font-size: calc(24rpx * var(--font-scale, 1));
|
|
|
+ color: $app-surface;
|
|
|
+ font-weight: 600;
|
|
|
+ margin-right: 6rpx;
|
|
|
+}
|
|
|
+.guide-buy-arrow {
|
|
|
+ font-size: calc(26rpx * var(--font-scale, 1));
|
|
|
+ color: $app-surface;
|
|
|
+}
|
|
|
.guide-tips {
|
|
|
margin-top: 8rpx;
|
|
|
padding-top: 16rpx;
|