Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
X
xundao
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaoyao
xundao
Commits
f1d705eb
Commit
f1d705eb
authored
Sep 23, 2023
by
1091214370
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面布局优化
parent
d6732e4b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
42 deletions
+33
-42
pages/index/index.wxml
pages/index/index.wxml
+1
-1
pages/wuxingres/index.wxml
pages/wuxingres/index.wxml
+2
-2
pages/wuxingres/index.wxss
pages/wuxingres/index.wxss
+10
-2
project.config.json
project.config.json
+13
-37
project.private.config.json
project.private.config.json
+7
-0
No files found.
pages/index/index.wxml
View file @
f1d705eb
...
...
@@ -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
pages/wuxingres/index.wxml
View file @
f1d705eb
...
...
@@ -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
pages/wuxingres/index.wxss
View file @
f1d705eb
...
...
@@ -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
}
project.config.json
View file @
f1d705eb
{
"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"
:
[]
},
"game"
:
{
"list"
:
[]
},
"plugin"
:
{
"list"
:
[]
},
"gamePlugin"
:
{
"list"
:
[]
},
"miniprogram"
:
{
"list"
:
[]
}
}
"condition"
:
{},
"editorSetting"
:
{
"tabIndent"
:
"insertSpaces"
,
"tabSize"
:
2
},
"libVersion"
:
"2.19.4"
,
"packOptions"
:
{
"ignore"
:
[],
"include"
:
[]
},
"appid"
:
"wxd04889271323534c"
}
\ No newline at end of file
project.private.config.json
0 → 100644
View file @
f1d705eb
{
"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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment