kola-web 1 month ago
parent
commit
fdce821e91
  1. 8
      project.config.json
  2. 16
      src/app.ts
  3. 2
      src/components/popup/index.wxml
  4. 6
      src/pages/login/index.scss
  5. 1
      src/pages/login/index.wxml

8
project.config.json

@ -3,7 +3,10 @@
"miniprogramRoot": "src/", "miniprogramRoot": "src/",
"compileType": "miniprogram", "compileType": "miniprogram",
"setting": { "setting": {
"useCompilerPlugins": ["typescript", "sass"], "useCompilerPlugins": [
"typescript",
"sass"
],
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
@ -68,6 +71,5 @@
} }
] ]
}, },
"appid": "wxf9ce8010f1ad24aa" "appid": "wx71ac9c27c3c3e3f4"
} }

16
src/app.ts

@ -16,15 +16,15 @@ App<IAppOption>({
// 测试号 wx2b0bb13edf717c1d // 测试号 wx2b0bb13edf717c1d
// dev // dev
// appid:wxf9ce8010f1ad24aa // appid:wxf9ce8010f1ad24aa
url: 'https://m.xd.hbraas.com', // url: 'https://m.xd.hbraas.com',
upFileUrl: 'https://m.xd.hbraas.com/', // upFileUrl: 'https://m.xd.hbraas.com/',
imageUrl: 'https://m.xd.hbraas.com/xd/', // imageUrl: 'https://m.xd.hbraas.com/xd/',
// pro // pro
// appid:wxa4a28b299df7d921 // appid:wx71ac9c27c3c3e3f4
// url: 'https://m.xd.hbsaas.com', url: 'https://m.xd.hbsaas.com',
// upFileUrl: 'https://m.xd.hbsaas.com/', upFileUrl: 'https://m.xd.hbsaas.com/',
// imageUrl: 'https://m.xd.hbsaas.com/api/shizhong/', imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
loginState: '', loginState: '',
isLogin: 0, isLogin: 0,
@ -103,7 +103,7 @@ App<IAppOption>({
wx.reLaunch({ wx.reLaunch({
url: '/pages/login/index', url: '/pages/login/index',
}); });
return false return false;
} }
return true; return true;

2
src/components/popup/index.wxml

@ -23,7 +23,7 @@
<view class="nickname">{{params.Name}}医生</view> <view class="nickname">{{params.Name}}医生</view>
<view class="hostipal"> <view class="hostipal">
{{params.HospitalName}} {{params.HospitalName}}
<view class="tag">{{params.HospitalClassificationName}}{{params.HospitalLevel}}</view> <view class="tag" wx:if="{{params.HospitalClassificationName || params.HospitalLevel}}">{{params.HospitalClassificationName}}{{params.HospitalLevel}}</view>
</view> </view>
</view> </view>
</view> </view>

6
src/pages/login/index.scss

@ -129,4 +129,10 @@ page {
color: rgba(140, 117, 208, 1); color: rgba(140, 117, 208, 1);
} }
} }
.tip {
margin-top: 60rpx;
font-size: 28rpx;
text-align: center;
color: rgba(173, 172, 178, 1);
}
} }

1
src/pages/login/index.wxml

@ -65,6 +65,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="tip">*仅限特定人群登录并进行登录账号鉴权</view>
</view> </view>
<popup <popup

Loading…
Cancel
Save