diff --git a/App.vue b/App.vue
index 5543904..405c0e3 100644
--- a/App.vue
+++ b/App.vue
@@ -5,6 +5,7 @@
import {
listConvert
} from '@/api/system/unitConverter/sysUnitConverter.js';
+
const queryParams = ref({
pageNum: 1,
pageSize: 1000,
@@ -16,8 +17,14 @@
status: null,
unitOrder: null
});
+
// 保留原有单位换算方法
const groupByUnitType = (data) => {
+ if (!data || !Array.isArray(data)) {
+ console.warn('groupByUnitType: 数据为空或不是数组');
+ return {};
+ }
+
return data.reduce((acc, unit) => {
const type = unit.unitType;
if (!acc[type]) acc[type] = [];
@@ -34,44 +41,65 @@
return acc;
}, {});
};
+
const getList = async () => {
try {
+ console.log('开始请求单位数据...');
const response = await listConvert(queryParams.value);
+ console.log('API响应:', response);
+
+ if (!response || !response.rows) {
+ console.error('API响应格式错误');
+ return;
+ }
+
+ if (response.rows.length === 0) {
+ console.warn('单位数据为空数组');
+ return;
+ }
+
const unitDataGrouped = groupByUnitType(response.rows);
- console.log('开始缓存' + unitDataGrouped);
+ console.log('分组后的单位数据:', unitDataGrouped);
+
// #ifdef APP || APP-PLUS
- uni.setStorageSync({
- key: 'unitData',
- data: unitDataGrouped,
- success: function() {
- console.log('缓存成功');
- }
- });
+ try {
+ // 使用正确的同步写法
+ uni.setStorageSync('unitData', unitDataGrouped);
+ console.log('APP端缓存成功');
+
+ // 立即验证
+ const verifyData = uni.getStorageSync('unitData');
+ console.log('APP缓存验证:', verifyData ? '成功' : '失败', verifyData);
+ } catch (storageError) {
+ console.error('APP缓存设置失败:', storageError);
+ }
// #endif
+
// #ifdef H5
- localStorage.setItem('unitData', JSON.stringify(unitDataGrouped))
+ try {
+ localStorage.setItem('unitData', JSON.stringify(unitDataGrouped));
+ console.log('H5端缓存成功');
+ } catch (storageError) {
+ console.error('H5缓存设置失败:', storageError);
+ }
// #endif
} catch (error) {
- console.error('获取单位数据失败:', error);
+ console.error('获取单位数据失败:', error);
}
};
-
export default {
onLaunch: function() {
+ console.log('App Launch - 开始初始化');
getList();
- console.log('App Launch')
},
onShow: function() {
- console.log('App Show')
+ console.log('App Show');
},
onHide: function() {
- console.log('App Hide')
- },
-
-
-
+ console.log('App Hide');
+ }
}
diff --git a/components/geek-xd/components/geek-confirm-dialog/geek-confirm-dialog.vue b/components/geek-xd/components/geek-confirm-dialog/geek-confirm-dialog.vue
index aafb105..a5c6830 100644
--- a/components/geek-xd/components/geek-confirm-dialog/geek-confirm-dialog.vue
+++ b/components/geek-xd/components/geek-confirm-dialog/geek-confirm-dialog.vue
@@ -1,123 +1,123 @@
-
-
-
-
- {{ title }}
-
-
+
+
\ No newline at end of file
diff --git a/components/geek-xd/components/geek-uploadbox/geek-uploadbox.vue b/components/geek-xd/components/geek-uploadbox/geek-uploadbox.vue
index 6d4a58b..05e192b 100644
--- a/components/geek-xd/components/geek-uploadbox/geek-uploadbox.vue
+++ b/components/geek-xd/components/geek-uploadbox/geek-uploadbox.vue
@@ -1,270 +1,274 @@
-
-
-
-
- {{ uploadText }}
- {{ displayUploadDesc }}
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ uploadText }}
+ {{ displayUploadDesc }}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index eb0151b..81cce9b 100644
--- a/pages.json
+++ b/pages.json
@@ -1,298 +1,296 @@
{
- "easycom": {
- "custom": {
- "u-city-select": "@/components/u-city-select/u-city-select.vue",
- "geek-(.*)": "@/components/geek-xd/components/geek-$1/geek-$1.vue",
- "gx-(.*)": "@/components/geek-xd/components/geek-$1/geek-$1.vue",
- "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
- "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
- "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
- "qiun-(.*)": "@/components/qiun-data-charts/components/qiun-$1/qiun-$1.vue"
- }
- },
- "pages": [
- {
- "path": "pages/index",
- "style": {
- "navigationBarTitleText": "天然气工具集",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/login",
- "style": {
- "navigationBarTitleText": "登录"
- }
- },
- {
- "path": "pages/work",
- "style": {
- "navigationBarTitleText": "工作台"
- }
- },
- {
- "path": "pages/template",
- "style": {
- "navigationBarTitleText": "模板"
- }
- },
- {
- "path": "pages/mine",
- "style": {
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/common/webview/index",
- "style": {
- "navigationBarTitleText": "浏览网页"
- }
- },
- {
- "path": "pages/common/textview/index",
- "style": {
- "navigationBarTitleText": "浏览文本"
- }
- }
- ],
- "subPackages": [
- {
- "root": "pages_mine/pages",
- "pages": [
- {
- "path": "avatar/index",
- "style": {
- "navigationBarTitleText": "修改头像"
- }
- },
- {
- "path": "info/index",
- "style": {
- "navigationBarTitleText": "个人信息"
- }
- },
- {
- "path": "info/edit",
- "style": {
- "navigationBarTitleText": "编辑资料"
- }
- },
- {
- "path": "pwd/index",
- "style": {
- "navigationBarTitleText": "修改密码"
- }
- },
- {
- "path": "setting/index",
- "style": {
- "navigationBarTitleText": "应用设置"
- }
- },
- {
- "path": "help/index",
- "style": {
- "navigationBarTitleText": "常见问题"
- }
- },
- {
- "path": "about/index",
- "style": {
- "navigationBarTitleText": "关于我们"
- }
- }
- ]
- },
- {
- "root": "pages_template/pages",
- "pages": [
- {
- "path": "wxCenter/index",
- "style": {
- "navigationBarTitleText": "wxCenter 仿微信个人中心",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "keyboardPay/index",
- "style": {
- "navigationBarTitleText": "keyboardPay 自定义键盘支付"
- }
- },
- {
- "path": "mallMenu/index2",
- "style": {
- "navigationBarTitleText": "mallMenu-商城分类"
- }
- },
- {
- "path": "mallMenu/index1",
- "style": {
- "navigationBarTitleText": "mallMenu-商城分类"
- }
- },
- {
- "path": "coupon/index",
- "style": {
- "navigationBarTitleText": "coupon-优惠券"
- }
- },
- {
- "path": "login/index1",
- "style": {
- "navigationBarTitleText": "美团登录"
- }
- },
- {
- "path": "login/index2",
- "style": {
- "navigationBarTitleText": "水滴登录"
- }
- },
- {
- "path": "citySelect/index",
- "style": {
- "navigationBarTitleText": "城市选择"
- }
- },
- {
- "path": "submitBar/index",
- "style": {
- "navigationBarTitleText": "提交订单栏"
- }
- },
- {
- "path": "comment/index",
- "style": {
- "navigationBarTitleText": "评论"
- }
- },
- {
- "path": "comment/reply",
- "style": {
- "navigationBarTitleText": "评论详情"
- }
- },
- {
- "path": "order/index",
- "style": {
- "navigationBarTitleText": "订单"
- }
- },
- {
- "path": "login/code",
- "style": {
- "navigationBarTitleText": "登录获取验证码"
- }
- },
- {
- "path": "address/index",
- "style": {
- "navigationBarTitleText": "用户地址"
- }
- },
- {
- "path": "address/addSite",
- "style": {
- "navigationBarTitleText": "添加用户地址"
- }
- }
- ]
- },
- {
- "root": "pages_qiun/pages",
- "pages": [
- {
- "path": "sport/index",
- "style": {
- "pageOrientation": "auto"
- }
- },
- {
- "path": "school/index",
- "style": {
- "pageOrientation": "auto"
- }
- },
- {
- "path": "finance/index",
- "style": {
- "pageOrientation": "auto"
- }
- },
- {
- "path": "main/index",
- "style": {
- "pageOrientation": "auto"
- }
- }
- ]
- },
- {
-
- "root": "pages_geek/pages",
- "pages": [
- {
- "path": "index/index"
- },
- {
- "path": "code/index"
- },
- {
- "path": "upload/index"
- }
- ]
- },
- {
-
- "root": "pages_caltools/pages",
- "pages": [
- {
- "path": "index"
- },
- {
- "path": "main"
- }
- ]
+ "easycom": {
+ "custom": {
+ "u-city-select": "@/components/u-city-select/u-city-select.vue",
+ "geek-(.*)": "@/components/geek-xd/components/geek-$1/geek-$1.vue",
+ "gx-(.*)": "@/components/geek-xd/components/geek-$1/geek-$1.vue",
+ "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
+ "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
+ "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
+ "qiun-(.*)": "@/components/qiun-data-charts/components/qiun-$1/qiun-$1.vue"
+ }
+ },
+ "pages": [{
+ "path": "pages/index",
+ "style": {
+ "navigationBarTitleText": "天然气工具集",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/login",
+ "style": {
+ "navigationBarTitleText": "登录"
+ }
+ },
+ {
+ "path": "pages/work",
+ "style": {
+ "navigationBarTitleText": "工作台"
+ }
+ },
+ {
+ "path": "pages/template",
+ "style": {
+ "navigationBarTitleText": "模板"
+ }
+ },
+ {
+ "path": "pages/mine",
+ "style": {
+ "navigationBarTitleText": "我的"
+ }
+ },
+ {
+ "path": "pages/common/webview/index",
+ "style": {
+ "navigationBarTitleText": "浏览网页"
+ }
+ },
+ {
+ "path": "pages/common/textview/index",
+ "style": {
+ "navigationBarTitleText": "浏览文本"
+ }
+ }
+ ],
+ "subPackages": [{
+ "root": "pages_mine/pages",
+ "pages": [{
+ "path": "register/index",
+ "style": {
+ "navigationBarTitleText": "注册"
+ }
+ },
+ {
+ "path": "avatar/index",
+ "style": {
+ "navigationBarTitleText": "修改头像"
+ }
+ },
+ {
+ "path": "info/index",
+ "style": {
+ "navigationBarTitleText": "个人信息"
+ }
+ },
+ {
+ "path": "info/edit",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ },
+ {
+ "path": "pwd/index",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+ {
+ "path": "setting/index",
+ "style": {
+ "navigationBarTitleText": "应用设置"
+ }
+ },
+ {
+ "path": "help/index",
+ "style": {
+ "navigationBarTitleText": "常见问题"
+ }
+ },
+ {
+ "path": "about/index",
+ "style": {
+ "navigationBarTitleText": "关于我们"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages_template/pages",
+ "pages": [{
+ "path": "wxCenter/index",
+ "style": {
+ "navigationBarTitleText": "wxCenter 仿微信个人中心",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "keyboardPay/index",
+ "style": {
+ "navigationBarTitleText": "keyboardPay 自定义键盘支付"
+ }
+ },
+ {
+ "path": "mallMenu/index2",
+ "style": {
+ "navigationBarTitleText": "mallMenu-商城分类"
+ }
+ },
+ {
+ "path": "mallMenu/index1",
+ "style": {
+ "navigationBarTitleText": "mallMenu-商城分类"
+ }
+ },
+ {
+ "path": "coupon/index",
+ "style": {
+ "navigationBarTitleText": "coupon-优惠券"
+ }
+ },
+ {
+ "path": "login/index1",
+ "style": {
+ "navigationBarTitleText": "美团登录"
+ }
+ },
+ {
+ "path": "login/index2",
+ "style": {
+ "navigationBarTitleText": "水滴登录"
+ }
+ },
+ {
+ "path": "citySelect/index",
+ "style": {
+ "navigationBarTitleText": "城市选择"
+ }
+ },
+ {
+ "path": "submitBar/index",
+ "style": {
+ "navigationBarTitleText": "提交订单栏"
+ }
+ },
+ {
+ "path": "comment/index",
+ "style": {
+ "navigationBarTitleText": "评论"
+ }
+ },
+ {
+ "path": "comment/reply",
+ "style": {
+ "navigationBarTitleText": "评论详情"
+ }
+ },
+ {
+ "path": "order/index",
+ "style": {
+ "navigationBarTitleText": "订单"
+ }
+ },
+ {
+ "path": "login/code",
+ "style": {
+ "navigationBarTitleText": "登录获取验证码"
+ }
+ },
+ {
+ "path": "address/index",
+ "style": {
+ "navigationBarTitleText": "用户地址"
+ }
+ },
+ {
+ "path": "address/addSite",
+ "style": {
+ "navigationBarTitleText": "添加用户地址"
+ }
+ }
+ ]
+ },
+ {
+ "root": "pages_qiun/pages",
+ "pages": [{
+ "path": "sport/index",
+ "style": {
+ "pageOrientation": "auto"
+ }
+ },
+ {
+ "path": "school/index",
+ "style": {
+ "pageOrientation": "auto"
+ }
+ },
+ {
+ "path": "finance/index",
+ "style": {
+ "pageOrientation": "auto"
+ }
+ },
+ {
+ "path": "main/index",
+ "style": {
+ "pageOrientation": "auto"
+ }
+ }
+ ]
+ },
+ {
+
+ "root": "pages_geek/pages",
+ "pages": [{
+ "path": "index/index"
+ },
+ {
+ "path": "code/index"
+ },
+ {
+ "path": "upload/index"
+ }
+ ]
+ },
+ {
+
+ "root": "pages_caltools/pages",
+ "pages": [{
+ "path": "index"
+ },
+ {
+ "path": "main"
+ }
+ ]
+ }
+
+
+ ],
+ "tabBar": {
+ "color": "#000000",
+ "selectedColor": "#000000",
+ "borderStyle": "white",
+ "backgroundColor": "#ffffff",
+ "list": [{
+ "pagePath": "pages/index",
+ "iconPath": "static/images/tabbar/home.png",
+ "selectedIconPath": "static/images/tabbar/home_.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages/work",
+ "iconPath": "static/images/tabbar/work.png",
+ "selectedIconPath": "static/images/tabbar/work_.png",
+ "text": "计算"
+ },
+ {
+ "pagePath": "pages/template",
+ "iconPath": "static/images/tabbar/work.png",
+ "selectedIconPath": "static/images/tabbar/work_.png",
+ "text": "资料"
+ },
+ {
+ "pagePath": "pages/mine",
+ "iconPath": "static/images/tabbar/mine.png",
+ "selectedIconPath": "static/images/tabbar/mine_.png",
+ "text": "我的"
+ }
+ ]
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "RuoYi",
+ "navigationBarBackgroundColor": "#FFFFFF"
}
-
-
- ],
- "tabBar": {
- "color": "#000000",
- "selectedColor": "#000000",
- "borderStyle": "white",
- "backgroundColor": "#ffffff",
- "list": [
- {
- "pagePath": "pages/index",
- "iconPath": "static/images/tabbar/home.png",
- "selectedIconPath": "static/images/tabbar/home_.png",
- "text": "首页"
- },
- {
- "pagePath": "pages/work",
- "iconPath": "static/images/tabbar/work.png",
- "selectedIconPath": "static/images/tabbar/work_.png",
- "text": "工作台"
- },
- {
- "pagePath": "pages/template",
- "iconPath": "static/images/tabbar/work.png",
- "selectedIconPath": "static/images/tabbar/work_.png",
- "text": "模板"
- },
- {
- "pagePath": "pages/mine",
- "iconPath": "static/images/tabbar/mine.png",
- "selectedIconPath": "static/images/tabbar/mine_.png",
- "text": "我的"
- }
- ]
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "RuoYi",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
-}
+}
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index 9714666..4ae851e 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,50 +1,179 @@
-
-
-
- 天然气工具集
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户管理
+
+
+
+
+
+ 角色管理
+
+
+
+
+
+ 菜单管理
+
+
+
+
+
+ 部门管理
+
+
+
+
+
+ 岗位管理
+
+
+
+
+
+ 字典管理
+
+
+
+
+
+ 参数设置
+
+
+
+
+
+ 通知公告
+
+
+
+
+
+ 日志管理
+
+
+
+
+
+
-
\ No newline at end of file
+.text {
+ text-align: center;
+ font-size: 26rpx;
+ margin-top: 10rpx;
+}
+
+.grid-item-box {
+ flex: 1;
+ /* #ifndef APP-NVUE */
+ display: flex;
+ /* #endif */
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ padding: 15px 0;
+}
+
+.uni-margin-wrap {
+ width: 690rpx;
+ width: 100%;
+ ;
+}
+
+.swiper {
+ height: 300rpx;
+}
+
+.swiper-box {
+ height: 150px;
+}
+
+.swiper-item {
+ /* #ifndef APP-NVUE */
+ display: flex;
+ /* #endif */
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ color: #fff;
+ height: 300rpx;
+ line-height: 300rpx;
+}
+
+@media screen and (min-width: 500px) {
+ .uni-swiper-dot-box {
+ width: 400px;
+ /* #ifndef APP-NVUE */
+ margin: 0 auto;
+ /* #endif */
+ margin-top: 8px;
+ }
+
+ .image {
+ width: 100%;
+ }
+}
+
diff --git a/pages/work.vue b/pages/work.vue
index 4ae851e..9714666 100644
--- a/pages/work.vue
+++ b/pages/work.vue
@@ -1,179 +1,50 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户管理
-
-
-
-
-
- 角色管理
-
-
-
-
-
- 菜单管理
-
-
-
-
-
- 部门管理
-
-
-
-
-
- 岗位管理
-
-
-
-
-
- 字典管理
-
-
-
-
-
- 参数设置
-
-
-
-
-
- 通知公告
-
-
-
-
-
- 日志管理
-
-
-
-
-
+
+
+
+ 天然气工具集
+
+
+
-
+
+ .charts-box {
+ width: 100%;
+ height: 300px;
+ }
+
\ No newline at end of file
diff --git a/pages_caltools/pages/index.vue b/pages_caltools/pages/index.vue
index 666671d..0c29601 100644
--- a/pages_caltools/pages/index.vue
+++ b/pages_caltools/pages/index.vue
@@ -1,23 +1,25 @@
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
@@ -27,30 +29,24 @@
import {
ref
} from 'vue';
- import {
- useRouter
- } from 'vue-router'; // Vue 3 推荐使用 vue-router
// 响应式数据:当前激活的 Swiper 标签索引
const currentTab = ref(0);
- // 路由实例
- const router = useRouter();
// 核心数据:计算分组和功能项定义
const calcGroups = [{
name: '流量计算',
color: '#007AFF',
items: [{
name: '差压式流量计算',
- icon: 'flow',
- dMeterType:0
+ icon: 'smallcircle',
+ dMeterType: 0
},
{
name: '速度式流量计算',
- icon: 'speedometer',
- dMeterType:1
+ icon: 'paperplane',
+ dMeterType: 1
},
-
]
},
{
@@ -58,23 +54,23 @@
color: '#5AC8FA',
items: [{
name: '压缩因子',
- icon: 'compress',
- dMeterType:4
+ icon: 'pyq',
+ dMeterType: 4
},
{
name: '声速计算',
- icon: 'fire',
- dMeterType:5
+ icon: 'sound',
+ dMeterType: 5
},
{
name: '发热量',
- icon: 'volume-high',
- dMeterType:6
+ icon: 'fire',
+ dMeterType: 6
},
{
name: '其他参数',
- icon: 'density',
- dMeterType:7
+ icon: 'more',
+ dMeterType: 7
}
]
}
@@ -90,70 +86,78 @@
/**
* 导航到具体的计算页面
- * @param {Object} group 当前点击的分组对象
- * @param {number} itemIndex 点击项在分组内的索引
+ * @param {Object} item 点击的项
*/
const navigateToCalc = (item) => {
const dMeterType = item.dMeterType;
-
console.log(`导航到计算页面,dMeterType: ${dMeterType}`);
- // 使用 UniApp 原生导航 API
- uni.navigateTo({
- // 注意:路径前要加 '/',并且 query 参数直接拼接在 URL 后面
- url: `/pages_caltools/pages/main?dMeterType=${dMeterType}`
- });
+ // 使用 UniApp 原生导航 API
+ uni.navigateTo({
+ url: `/pages_caltools/pages/main?dMeterType=${dMeterType}`
+ });
};
\ No newline at end of file
diff --git a/pages_mine/pages/register/index.vue b/pages_mine/pages/register/index.vue
new file mode 100644
index 0000000..91b3b47
--- /dev/null
+++ b/pages_mine/pages/register/index.vue
@@ -0,0 +1,273 @@
+
+
+
+
+
+
+ 天然气工具平台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 注册
+
+
+ 已有账号?
+ 立即登录
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_template/pages/order/OrderItem.vue b/pages_template/pages/order/OrderItem.vue
index 2e25269..9cc34d9 100644
--- a/pages_template/pages/order/OrderItem.vue
+++ b/pages_template/pages/order/OrderItem.vue
@@ -1,197 +1,197 @@
-
-
-
-
- {{ order.store }}
-
-
- {{ order.deal }}
-
-
-
-
-
-
- {{ item.title }}
- {{ item.type }}
- 发货时间 {{ item.deliveryTime }}
-
-
-
- ¥{{ priceInt(item.price) }}
- .{{ priceDecimal(item.price) }}
-
- x{{ item.number }}
-
-
-
- 共{{ totalNum(order.goodsList) }}件商品 合计:
-
- ¥{{ priceInt(totalPrice(order.goodsList)) }}.
- {{ priceDecimal(totalPrice(order.goodsList)) }}
-
-
-
-
- 查看物流
- 卖了换钱
- 评价
-
-
+
+
+
+
+ {{ order.store }}
+
+
+ {{ order.deal }}
+
+
+
+
+
+
+ {{ item.title }}
+ {{ item.type }}
+ 发货时间 {{ item.deliveryTime }}
+
+
+
+ ¥{{ priceInt(item.price) }}
+ .{{ priceDecimal(item.price) }}
+
+ x{{ item.number }}
+
+
+
+ 共{{ totalNum(order.goodsList) }}件商品 合计:
+
+ ¥{{ priceInt(totalPrice(order.goodsList)) }}.
+ {{ priceDecimal(totalPrice(order.goodsList)) }}
+
+
+
+
+ 查看物流
+ 卖了换钱
+ 评价
+
+
+ .evaluate {
+ color: $u-warning-dark;
+ border-color: $u-warning-dark;
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/uni_modules/a-yjly-inputunit/components/a-yjly-inputunit/a-yjly-inputunit.vue b/uni_modules/a-yjly-inputunit/components/a-yjly-inputunit/a-yjly-inputunit.vue
index 2a7c562..d6a4218 100644
--- a/uni_modules/a-yjly-inputunit/components/a-yjly-inputunit/a-yjly-inputunit.vue
+++ b/uni_modules/a-yjly-inputunit/components/a-yjly-inputunit/a-yjly-inputunit.vue
@@ -195,10 +195,12 @@
var tempData = [];
// #ifdef APP || APP-PLUS
tempData = uni.getStorageSync("unitData");
- this.unitData = tempData[unitType];
+ console.log((tempData));
+ this.unitData = (tempData[unitType]);
// #endif
// #ifdef H5
tempData = localStorage.getItem("unitData");
+ console.log((tempData));
var unitDatalist = JSON.parse(tempData);
this.unitData = unitDatalist[unitType];
// #endif