微信小程序联调

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 e=require("../../../common/vendor.js"),t={data:()=>({overCommitmentRate:"3.2",totalIncidents:"42",dataList:[{employee:"张三",description:"承诺无法兑现的服务",count:"8"},{employee:"李四",description:"超出权限的优惠承诺",count:"6"},{employee:"王五",description:"虚假的产品性能承诺",count:"5"},{employee:"赵六",description:"不切实际的交货时间承诺",count:"4"},{employee:"孙七",description:"其他违规承诺",count:"19"}]}),methods:{goBack(){e.index.navigateBack()}}};const o=e._export_sfc(t,[["render",function(t,o,c,n,a,i){return{a:e.o(((...e)=>i.goBack&&i.goBack(...e)),"54"),b:e.t(a.overCommitmentRate),c:e.t(a.totalIncidents),d:e.f(a.dataList,((t,o,c)=>({a:e.t(t.employee),b:e.t(t.description),c:e.t(t.count),d:o})))}}],["__scopeId","data-v-f8bba022"]]);wx.createPage(o);

View File

@@ -0,0 +1,4 @@
{
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="feature-page data-v-f8bba022"><view class="page-header data-v-f8bba022"><view class="nav-bar data-v-f8bba022"><view class="nav-left data-v-f8bba022" bindtap="{{a}}"><text class="back-icon data-v-f8bba022">←</text></view><text class="nav-title data-v-f8bba022">过度承诺统计</text></view></view><scroll-view class="content-scroll data-v-f8bba022" scroll-y="true"><view class="stats-card data-v-f8bba022"><view class="stat-item data-v-f8bba022"><text class="stat-value data-v-f8bba022">{{b}}%</text><text class="stat-label data-v-f8bba022">过度承诺率</text></view><view class="stat-item data-v-f8bba022"><text class="stat-value data-v-f8bba022">{{c}}</text><text class="stat-label data-v-f8bba022">违规事件数</text></view></view><view class="chart-section data-v-f8bba022"><text class="section-title data-v-f8bba022">过度承诺趋势图</text><view class="chart-placeholder data-v-f8bba022"><text class="placeholder-text data-v-f8bba022">⚠️ 图表区域</text><text class="placeholder-desc data-v-f8bba022">此处将显示过度承诺统计趋势图表</text></view></view><view class="data-list data-v-f8bba022"><text class="section-title data-v-f8bba022">违规记录</text><view wx:for="{{d}}" wx:for-item="item" wx:key="d" class="list-item data-v-f8bba022"><view class="item-left data-v-f8bba022"><text class="item-date data-v-f8bba022">{{item.a}}</text><text class="item-desc data-v-f8bba022">{{item.b}}</text></view><view class="item-right data-v-f8bba022"><text class="item-count data-v-f8bba022">{{item.c}} 次</text></view></view></view></scroll-view></view>

View File

@@ -0,0 +1 @@
.feature-page.data-v-f8bba022{min-height:100vh;background:#f8f9fa}.page-header.data-v-f8bba022{background:#fff;border-bottom:1rpx solid #e9ecef}.nav-bar.data-v-f8bba022{display:flex;align-items:center;height:88rpx;padding:0 30rpx}.nav-left.data-v-f8bba022{width:60rpx;height:60rpx;display:flex;align-items:center;justify-content:center;margin-right:20rpx}.back-icon.data-v-f8bba022{font-size:36rpx;color:#333}.nav-title.data-v-f8bba022{flex:1;text-align:center;font-size:32rpx;font-weight:700;color:#333}.content-scroll.data-v-f8bba022{height:calc(100vh - 88rpx)}.stats-card.data-v-f8bba022{display:flex;margin:20rpx 30rpx;background:#fff;border-radius:16rpx;padding:40rpx 30rpx;box-shadow:0 2rpx 8rpx rgba(0,0,0,.1)}.stat-item.data-v-f8bba022{flex:1;text-align:center}.stat-item.data-v-f8bba022:not(:last-child){border-right:1rpx solid #e9ecef}.stat-value.data-v-f8bba022{display:block;font-size:48rpx;font-weight:700;color:#ff6b6b;margin-bottom:10rpx}.stat-label.data-v-f8bba022{display:block;font-size:24rpx;color:#666}.chart-section.data-v-f8bba022,.data-list.data-v-f8bba022{margin:20rpx 30rpx;background:#fff;border-radius:16rpx;overflow:hidden;box-shadow:0 2rpx 8rpx rgba(0,0,0,.1)}.section-title.data-v-f8bba022{display:block;font-size:32rpx;font-weight:700;color:#333;padding:30rpx;border-bottom:1rpx solid #e9ecef}.chart-placeholder.data-v-f8bba022{padding:80rpx 30rpx;text-align:center}.placeholder-text.data-v-f8bba022{display:block;font-size:48rpx;margin-bottom:20rpx}.placeholder-desc.data-v-f8bba022{display:block;font-size:28rpx;color:#666}.list-item.data-v-f8bba022{display:flex;align-items:center;justify-content:space-between;padding:30rpx;border-bottom:1rpx solid #f0f0f0}.list-item.data-v-f8bba022:last-child{border-bottom:none}.item-left.data-v-f8bba022{flex:1}.item-date.data-v-f8bba022{display:block;font-size:28rpx;font-weight:700;color:#333;margin-bottom:8rpx}.item-desc.data-v-f8bba022{display:block;font-size:24rpx;color:#666}.item-right.data-v-f8bba022{text-align:right}.item-count.data-v-f8bba022{display:block;font-size:28rpx;font-weight:700;color:#ff6b6b}