Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa87d31e
authored
Oct 13, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复线上问题C
1 parent
abd260a2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
34 deletions
api/env/index.js
config.js
packageSaveMoney/pages/allEquity/allEquity.wxss → packageSaveMoney/pages/allEquity/allEquity.scss
packageSaveMoney/pages/allEquity/allEquity.wxml
packageStrategy/pages/strategyDetail/index.wxml
api/env/index.js
View file @
fa87d31
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
let
index
=
3
let
index
=
4
/**
*
...
...
config.js
View file @
fa87d31
...
...
@@ -7,7 +7,7 @@
export
const
preReleaseAppId
=
'wx6e40cfb83ce4ffb1'
// sentry Dsn 地址
export
const
dsnUrl
=
'https://
44b18e4acc2e4ab18f12a69a561b55bc@sentry.glsx.com.cn/39
'
export
const
dsnUrl
=
'https://
09dd8c05fa3d4c09afbd41b14921e439@sentry.glsx.com.cn/40
'
// cdn图片地址
export
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/'
packageSaveMoney/pages/allEquity/allEquity.
wx
ss
→
packageSaveMoney/pages/allEquity/allEquity.
sc
ss
View file @
fa87d31
/* packageEquity/pages/allEquity/allEquity.wxss */
page
{
background: #F
7F8FA !important
;
background
:
#F
9F7F7
;
}
.allEquity-container
{
...
...
@@ -17,7 +17,8 @@ page {
overflow
:
hidden
;
background
:
white
;
box-sizing
:
border-box
;
padding: 0rpx 30rpx 0rpx 32rpx;
// padding: 0rpx 30rpx 0rpx 32rpx; --limin
padding-left
:
32rpx
;
}
.scroll_item_wrap
{
...
...
@@ -41,11 +42,16 @@ page {
width
:
25%
;
min-height
:
176rpx
;
margin-bottom
:
20rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
}
.element_icon
{
width
:
70%
;
height: 92rpx;
// height: 92rpx; --limin 不设置高 mode 改为 widthFix
}
.element_label
{
...
...
@@ -88,7 +94,7 @@ page {
transform
:
translate
(
0
,
-50%
);
width
:
8rpx
;
height
:
60rpx
;
background: #
FC5B32
;
background
:
#
3772EC
;
border-radius
:
2rpx
;
}
...
...
packageSaveMoney/pages/allEquity/allEquity.wxml
View file @
fa87d31
<view class="allEquity-container">
<view style="height:{{cHeight}}px" class="left_wrap">
<block wx:for="{{equityList}}" wx:key="index">
<view bind:tap="slectLeftItem" data-index="{{index}}" class="selecTab flex_cc {{curIndex==index?'actvie_class':''}}">
<text>{{item.goodsCategory}}</text>
<view wx:if="{{curIndex==index}}" class="active_line"></view>
<view style="height:{{cHeight}}px" class="left_wrap">
<block wx:for="{{equityList}}" wx:key="index">
<view bind:tap="slectLeftItem" data-index="{{index}}" class="selecTab flex_cc {{curIndex==index?'actvie_class':''}}">
<text>{{item.goodsCategory}}</text>
<view wx:if="{{curIndex==index}}" class="active_line"></view>
</view>
</block>
</view>
<view style="height:{{cHeight}}px" class="right_wrap">
<scroll-view scroll-y="{{true}}" scroll-with-animation scroll-into-view="{{to}}" bindscroll="scrollViewFn" style="height:{{cHeight}}px">
<block wx:for="{{equityList}}" wx:key="index">
<view id="to-{{index}}" class="scroll_item_wrap">
<view class="scroll_title">{{item.goodsCategory}}</view>
<view class="scroll_content">
<view wx:for="{{item.equityGoodsGroupDescDtos}}" wx:for-item="childItem" wx:for-index="indexs" wx:key="indexs" class="element" data-item="{{childItem}}" bind:tap="toNewPage">
<image webp class="element_icon" mode="widthFix" src="{{childItem.equityIcon}}" />
<view class="element_label common_element_text">
{{childItem.equityName}}
</view>
<view class="element_tip common_element_text">
{{childItem.equityDesc}}
</view>
</view>
</block>
</view>
<view style="height:{{cHeight}}px" class="right_wrap">
<scroll-view scroll-y="{{true}}" scroll-with-animation scroll-into-view="{{to}}" bindscroll="scrollViewFn" style="height:{{cHeight}}px">
<block wx:for="{{equityList}}" wx:key="index">
<view id="to-{{index}}" class="scroll_item_wrap">
<view class="scroll_title">{{item.goodsCategory}}</view>
<view class="scroll_content">
<view wx:for="{{item.equityGoodsGroupDescDtos}}" wx:for-item="childItem" wx:for-index="indexs" wx:key="indexs" class="element" data-item="{{childItem}}" bind:tap="toNewPage">
<image webp class="element_icon" src="{{childItem.equityIcon}}" />
<view class="element_label common_element_text">
{{childItem.equityName}}
</view>
<view class="element_tip common_element_text">
{{childItem.equityDesc}}
</view>
</view>
</view>
</view>
</block>
</scroll-view>
</view>
</view>
</view>
</block>
<view class="safe-area isFullSucreen"></view>
</scroll-view>
</view>
</view>
\ No newline at end of file
packageStrategy/pages/strategyDetail/index.wxml
View file @
fa87d31
<view class="strategy-detail-box">
<view class="strategy-detail-title">{{strategyDetailObj.strategyName}}</view>
<view class="strategy-detail-view">{{strategyDetailObj.viewAmount || 0}}人浏览</view>
<image webp src="{{strategyDetailObj.strategyImg}}" class="strategy-img"></image>
<image
mode="widthFix"
webp src="{{strategyDetailObj.strategyImg}}" class="strategy-img"></image>
<mp-html content="{{strategyDetailObj.content}}"></mp-html>
</view>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment