Commit f1d705eb authored by 1091214370's avatar 1091214370

页面布局优化

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