Commit f1d705eb authored by 1091214370's avatar 1091214370

页面布局优化

parent d6732e4b
......@@ -19,6 +19,6 @@
</view>
<button type="primary" class="button" bind:tap="handleScle">计算</button>
<view style="position: absolute; bottom: 0;width: 100%;">
<ad unit-id="adunit-5d509a2d2926ec2a"></ad>
<ad unit-id="adunit-3c035a6664e81e3b" ad-type="video" ad-theme="white"></ad>
</view>
</view>
\ No newline at end of file
......@@ -31,14 +31,14 @@
<view class="echart">
<ec-canvas id="mychart" canvas-id="mychart" ec="{{ ec }}"></ec-canvas>
</view>
<view>
<view class="btns">
<button wx:if="{{res.gzYear && flag}}" type="primary" open-type="share" class="button">分享给好友</button>
<button wx:if="{{res.gzYear && !pengyouquan}}" type="default" class="button" bind:tap="goback">{{ flag ? '重新计算' : '我也算算'}}</button>
<button wx:else type="default" class="button" bind:tap="goback">我也算算</button>
</view>
</view>
<view style="width: 100%;">
<ad unit-id="adunit-3c035a6664e81e3b" ad-type="video" ad-theme="white"></ad>
<ad unit-id="adunit-5d509a2d2926ec2a"></ad>
</view>
</view>
\ No newline at end of file
......@@ -34,7 +34,7 @@
}
.result {
padding: 32rpx;
padding: 0 32rpx;
}
.echart {
......@@ -72,4 +72,12 @@
margin-right: 3rpx;
}
.btns {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
}
.btns button {
flex: 0 0 300rpx
}
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": true,
......@@ -22,7 +19,6 @@
"uploadWithSourceMap": true,
"compileHotReLoad": true,
"useMultiFrameRuntime": false,
"useApiHook": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
......@@ -36,41 +32,21 @@
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minifyWXSS": true,
"ignoreUploadUnusedFiles": true
},
"compileType": "miniprogram",
"libVersion": "2.19.4",
"appid": "wxd04889271323534c",
"projectname": "wuxing",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"staticServerOptions": {
"baseURL": "",
"servePath": ""
},
"isGameTourist": false,
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
"libVersion": "2.19.4",
"packOptions": {
"ignore": [],
"include": []
},
"miniprogram": {
"list": []
}
}
"appid": "wxd04889271323534c"
}
\ No newline at end of file
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "wuxing",
"setting": {
"compileHotReLoad": true
}
}
\ No newline at end of file
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