微信小程序联调

This commit is contained in:
zhonghua.li
2026-04-17 07:35:37 +08:00
parent c62622dc90
commit d74bc2ad1f
484 changed files with 3312 additions and 9 deletions

View File

@@ -0,0 +1 @@
"use strict";const a=require("../../common/vendor.js"),t={components:{PracticeTab:()=>"./components/practice-tab.js",TrainingTab:()=>"./components/training-tab.js",MaterialTab:()=>"./components/material-tab.js"},data:()=>({activeTab:"practice"}),onLoad(){},methods:{goBack(){a.index.navigateBack()},switchTab(a){this.activeTab=a},handleSwitchToTraining(){this.switchTab("training")},handleRefreshTrainingList(){this.switchTab("training")}}};if(!Array){(a.resolveComponent("uni-nav-bar")+a.resolveComponent("practice-tab")+a.resolveComponent("training-tab")+a.resolveComponent("material-tab"))()}Math;const i=a._export_sfc(t,[["render",function(t,i,e,n,c,r){return a.e({a:a.o(r.goBack,"06"),b:a.p({fixed:!0,statusBar:!0,title:"AI销冠系统",leftIcon:"left",color:"#333",backgroundColor:"#FFFFFF"}),c:"practice"===c.activeTab?1:"",d:a.o((a=>r.switchTab("practice")),"32"),e:"training"===c.activeTab?1:"",f:a.o((a=>r.switchTab("training")),"b3"),g:"quality"===c.activeTab?1:"",h:a.o((a=>r.switchTab("quality")),"9b"),i:"material"===c.activeTab?1:"",j:a.o((a=>r.switchTab("material")),"7e"),k:"practice"===c.activeTab},"practice"===c.activeTab?{l:a.o(r.handleSwitchToTraining,"ea")}:{},{m:"training"===c.activeTab},"training"===c.activeTab?{n:a.o(r.handleRefreshTrainingList,"82")}:{},{o:"quality"===c.activeTab},(c.activeTab,{}),{p:"material"===c.activeTab},(c.activeTab,{}))}]]);wx.createPage(i);

View File

@@ -0,0 +1,9 @@
{
"navigationStyle": "custom",
"usingComponents": {
"practice-tab": "./components/practice-tab",
"training-tab": "./components/training-tab",
"material-tab": "./components/material-tab",
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar"
}
}

View File

@@ -0,0 +1 @@
<view class="page"><uni-nav-bar wx:if="{{b}}" bindclickLeft="{{a}}" u-i="7462fc1c-0" bind:__l="__l" u-p="{{b}}"></uni-nav-bar><view class="content"><view class="tabs"><view class="{{['tab-item', c && 'active']}}" bindtap="{{d}}"><text>场景</text></view><view class="{{['tab-item', e && 'active']}}" bindtap="{{f}}"><text>陪练</text></view><view class="{{['tab-item', g && 'active']}}" bindtap="{{h}}"><text>质检</text></view><view class="{{['tab-item', i && 'active']}}" bindtap="{{j}}"><text>素材</text></view></view><practice-tab wx:if="{{k}}" bindswitchToTraining="{{l}}" u-i="7462fc1c-1" bind:__l="__l"></practice-tab><training-tab wx:if="{{m}}" bindrefreshTrainingList="{{n}}" u-i="7462fc1c-2" bind:__l="__l"></training-tab><scroll-view wx:if="{{o}}" class="tab-content" scroll-y><view class="champion-card"><text class="champion-title">质检</text><text class="champion-desc">这里是质检相关的内容展示区域</text></view></scroll-view><material-tab wx:if="{{p}}" u-i="7462fc1c-3" bind:__l="__l"></material-tab></view></view>

View File

@@ -0,0 +1 @@
page{background-color:#f5f5f5}.page{min-height:100vh;background-color:#f5f5f5}.content{padding-top:0;margin-top:0;position:relative;min-height:100vh}.uni-navbar__placeholder{display:none!important}.tabs{display:flex;background-color:#fff;border-bottom:1px solid #E0E0E0;padding:0 16rpx;margin-top:0;position:absolute;top:88rpx;left:0;right:0;z-index:1}.tab-item{padding:24rpx 32rpx;position:relative;flex-shrink:0}.tab-item text{font-size:30rpx;color:#666}.tab-item.active text{color:#333;font-weight:500}.tab-item.active:after{content:"";position:absolute;bottom:0;left:32rpx;right:32rpx;height:4rpx;background-color:#007aff;border-radius:2rpx}.champion-card{width:100%;box-sizing:border-box;background-color:#fff;border-radius:16rpx;padding:32rpx;box-shadow:0 2rpx 8rpx rgba(0,0,0,.04);display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400rpx}.champion-title{font-size:36rpx;font-weight:700;color:#333;margin-bottom:20rpx}.champion-desc{font-size:28rpx;color:#999}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long