Commit 589bfac1 authored by 1091214370@qq.com's avatar 1091214370@qq.com

feat: 改造

parent ba2b4b2d
<view class="page"> <view class="page">
<view class="header"> <view class="header">
<view class="title">生辰八字&五行</view> <view class="title">四柱五行计算器</view>
</view> </view>
<view class="center"> <view class="center">
<view> <view>
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
选择公历日期:{{valueDate}} 选择公历日期:{{valueDate}}
</view> </view>
</picker> </picker>
<date-picker />
<picker bindchange="handleHour" range-key="label" value="{{valueH}}" range="{{dataH}}"> <picker bindchange="handleHour" range-key="label" value="{{valueH}}" range="{{dataH}}">
<view class="form-item"> <view class="form-item">
选择时间:{{valueH}}点 选择时间:{{valueH}}点
...@@ -16,7 +17,7 @@ ...@@ -16,7 +17,7 @@
</picker> </picker>
</view> </view>
</view> </view>
<button type="primary" class="button" bind:tap="handleScle">计算八字</button> <button type="primary" class="button" bind:tap="handleScle">计算</button>
<view style="position: absolute; bottom: 0;width: 100%;"> <view style="position: absolute; bottom: 0;width: 100%;">
<ad unit-id="adunit-5d509a2d2926ec2a"></ad> <ad unit-id="adunit-5d509a2d2926ec2a"></ad>
</view> </view>
......
<view class="page"> <view class="page">
<view class="header"> <view class="header">
<view class="title">我的八字与五行分布</view> <view class="title">计算结果</view>
</view> </view>
<view class="result" > <view class="result" >
<view class="flex-box nongli"> <view class="flex-box nongli">
日期: {{valueDate}} 时间:{{valueH || '--'}} 点 公历日期: {{valueDate}} | 时间:{{valueH || '--'}} 点
</view> </view>
<view class="flex-box nongli"> <view class="flex-box nongli">
农历: {{res.gzYear}}{{res.Animal}}年 {{res.IMonthCn}} {{res.IDayCn}} {{res.ncWeek}} 农历日期: {{res.gzYear}}{{res.Animal}}年 {{res.IMonthCn}} {{res.IDayCn}}
</view> </view>
<view class="flex-box"> <view class="flex-box">
<view class="res-title">八字:</view> <view class="res-title">四柱:</view>
<view class="flex-content"> <view class="flex-content">
<view style="background-color: {{allColors[4]}};">{{res.gzYear}}</view> <view style="background-color: {{allColors[4]}};">{{res.gzYear}}</view>
<view style="background-color: {{allColors[1]}};">{{res.gzMonth}}</view> <view style="background-color: {{allColors[1]}};">{{res.gzMonth}}</view>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
} }
.echart { .echart {
height: 100vw; height: 90vw;
margin-top: -120rpx; margin-top: -120rpx;
} }
......
...@@ -21,25 +21,22 @@ ...@@ -21,25 +21,22 @@
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": true, "compileHotReLoad": true,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": false, "useMultiFrameRuntime": false,
"useApiHook": false, "useApiHook": true,
"useApiHostProcess": false,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": false, "useIsolateContext": false,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false, "userConfirmedBundleSwitch": false,
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.19.4", "libVersion": "2.19.4",
...@@ -54,6 +51,8 @@ ...@@ -54,6 +51,8 @@
"servePath": "" "servePath": ""
}, },
"isGameTourist": false, "isGameTourist": false,
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": { "condition": {
"search": { "search": {
"list": [] "list": []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment