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

feat: 改造

parent ba2b4b2d
<view class="page">
<view class="header">
<view class="title">生辰八字&五行</view>
<view class="title">四柱五行计算器</view>
</view>
<view class="center">
<view>
......@@ -9,6 +9,7 @@
选择公历日期:{{valueDate}}
</view>
</picker>
<date-picker />
<picker bindchange="handleHour" range-key="label" value="{{valueH}}" range="{{dataH}}">
<view class="form-item">
选择时间:{{valueH}}点
......@@ -16,7 +17,7 @@
</picker>
</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%;">
<ad unit-id="adunit-5d509a2d2926ec2a"></ad>
</view>
......
<view class="page">
<view class="header">
<view class="title">我的八字与五行分布</view>
<view class="title">计算结果</view>
</view>
<view class="result" >
<view class="flex-box nongli">
日期: {{valueDate}} 时间:{{valueH || '--'}} 点
公历日期: {{valueDate}} | 时间:{{valueH || '--'}} 点
</view>
<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 class="flex-box">
<view class="res-title">八字:</view>
<view class="res-title">四柱:</view>
<view class="flex-content">
<view style="background-color: {{allColors[4]}};">{{res.gzYear}}</view>
<view style="background-color: {{allColors[1]}};">{{res.gzMonth}}</view>
......
......@@ -38,7 +38,7 @@
}
.echart {
height: 100vw;
height: 90vw;
margin-top: -120rpx;
}
......
......@@ -21,25 +21,22 @@
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": true,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": false,
"useApiHook": false,
"useApiHostProcess": false,
"useApiHook": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": false,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true
"minifyWXSS": true
},
"compileType": "miniprogram",
"libVersion": "2.19.4",
......@@ -54,6 +51,8 @@
"servePath": ""
},
"isGameTourist": false,
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"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