1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <script setup>
- if (process.env.UNI_PLATFORM.toUpperCase() === 'MP-WEIXIN') {
- // 若在开发者工具中无法预览广告,请切换开发者工具中的基础库版本
- // 在页面中定义插屏广告
- let interstitialAd = null
-
- // 在页面onLoad回调事件中创建插屏广告实例
- if (wx.createInterstitialAd) {
- interstitialAd = wx.createInterstitialAd({
- adUnitId: 'adunit-344aa904120b9a0c'
- })
- interstitialAd.onLoad(() => {
- console.log('插屏广告显示成功')
- })
- interstitialAd.onError((err) => {
- console.error('插屏广告加载失败', err)
- })
- interstitialAd.onClose(() => {})
- }
-
- // 在适合的场景显示插屏广告
- if (interstitialAd) {
- interstitialAd.show().catch((err) => {
- console.error('插屏广告显示失败', err)
- })
- }
- }
- </script>
- <template>
- <view class="container">
- <div style="display: flex;justify-content: center;align-items: center;margin-bottom: 10px;">
- <h4 style="margin-bottom: 10px;">使用说明</h4>
- </div>
-
- <div style="margin-bottom: 10px;">
- “喵缘礼堂”是一款专注于为猫咪结婚提供解决方案的应用。它以所有目标角色猫咪的势力总和作为基准,通过筛选备选角色猫咪,为用户匹配出其势力总和最接近目标角色猫咪势力总和的方案。
- </div>
-
- <div>
- <p style="font-weight: bold;margin-bottom: 10px">使用方法:</p>
- <p style="margin-bottom: 10px">1.录入目标猫咪势力数据,总数≤20 只,依次准确填写。</p>
- <p style="margin-bottom: 10px">2.输入备选猫咪势力数据,不同性别数均≤20 只,详细填写。</p>
- <p>3.点击 “计算最佳匹配方案”,系统将据此算出最适配方案。</p>
- </div>
-
- <ad unit-id="adunit-96241c9c228ed13c"></ad>
- </view>
- </template>
- <style>
- .container {
- display:flex;
- justify-content: center;
- flex-direction: column;
- padding: 10px 20px;
- }
-
-
- .help-modal {
- width: 100%;
- line-height: 24px;
- color: #2c3e50;
- }
-
- </style>
|