Browse Source

更新问答页

master
kola-web 1 week ago
parent
commit
23b4e95dd5
  1. 2
      project.config.json
  2. 12
      src/app.ts
  3. 1
      src/pages/ask/index.json
  4. 5
      src/pages/ask/index.scss
  5. 1
      src/pages/ask/index.wxml

2
project.config.json

@ -66,7 +66,7 @@
], ],
"include": [] "include": []
}, },
"appid": "wxa4ece062e60e93a5", "appid": "wx96104303877e3fd9",
"scripts": { "scripts": {
"beforeCompile": "pnpm run beforeCompile", "beforeCompile": "pnpm run beforeCompile",
"beforePreview": "pnpm run beforeCompile", "beforePreview": "pnpm run beforeCompile",

12
src/app.ts

@ -17,15 +17,15 @@ App<IAppOption>({
globalData: { globalData: {
// dev // dev
// appid:wxa4ece062e60e93a5 // appid:wxa4ece062e60e93a5
url: 'https://m.wtx.hbraas.com', // url: 'https://m.wtx.hbraas.com',
upFileUrl: 'https://m.wtx.hbraas.com/', // upFileUrl: 'https://m.wtx.hbraas.com/',
imageUrl: 'https://m.wtx.hbraas.com/GeneB/', // imageUrl: 'https://m.wtx.hbraas.com/GeneB/',
// pro // pro
// appid:wx96104303877e3fd9 // appid:wx96104303877e3fd9
// url: 'https://m.gene.hbsaas.com', url: 'https://m.gene.hbsaas.com',
// upFileUrl: 'https://m.gene.hbsaas.com/', upFileUrl: 'https://m.gene.hbsaas.com/',
// imageUrl: 'https://m.gene.hbsaas.com/GeneB/', imageUrl: 'https://m.gene.hbsaas.com/GeneB/',
Timestamp: new Date().getTime(), Timestamp: new Date().getTime(),
scene: {}, scene: {},

1
src/pages/ask/index.json

@ -1,6 +1,7 @@
{ {
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"van-overlay": "@vant/weapp/overlay/index",
"van-loading": "@vant/weapp/loading/index", "van-loading": "@vant/weapp/loading/index",
"navbar": "/components/navbar/index" "navbar": "/components/navbar/index"
} }

5
src/pages/ask/index.scss

@ -63,7 +63,7 @@ page {
line-height: 48rxp; line-height: 48rxp;
padding: 20rpx 32rpx; padding: 20rpx 32rpx;
background-color: #fff; background-color: #fff;
border-radius: 84rpx; border-radius: 32rpx;
} }
} }
} }
@ -145,7 +145,7 @@ page {
.message { .message {
margin-bottom: 32rpx; margin-bottom: 32rpx;
padding: 26rpx 32rpx; padding: 26rpx 32rpx;
background: linear-gradient(13deg, #FFFFFF 58.17%, #FFCDCA 156.6%); background: linear-gradient(13deg, #ffffff 58.17%, #ffcdca 156.6%);
border-radius: 32rpx; border-radius: 32rpx;
font-size: 32rpx; font-size: 32rpx;
color: rgba(1, 1, 5, 1); color: rgba(1, 1, 5, 1);
@ -442,6 +442,7 @@ page {
} }
.page-footer { .page-footer {
position: relative; position: relative;
z-index: 2;
flex-shrink: 0; flex-shrink: 0;
padding: 18rpx 30rpx calc(env(safe-area-inset-bottom) + 30rpx); padding: 18rpx 30rpx calc(env(safe-area-inset-bottom) + 30rpx);
border-radius: 24rpx 24rpx 0 0; border-radius: 24rpx 24rpx 0 0;

1
src/pages/ask/index.wxml

@ -85,6 +85,7 @@
<view id="place" class="place"></view> <view id="place" class="place"></view>
</scroll-view> </scroll-view>
</view> </view>
<van-overlay show="{{ expend }}" bind:click="handleFooter"></van-overlay>
<view class="page-footer {{expend && 'expend'}}" catch:tap="handleFooter"> <view class="page-footer {{expend && 'expend'}}" catch:tap="handleFooter">
<view class="title"> <view class="title">
<image class="icon" src="{{imageUrl}}icon11.png?t={{Timestamp}}"></image> <image class="icon" src="{{imageUrl}}icon11.png?t={{Timestamp}}"></image>

Loading…
Cancel
Save