Browse Source

基础信息二维码添加,登录界面轮播图修改

master
aBin 4 years ago
parent
commit
6a7a0d176c
  1. 11
      .hbuilderx/launch.json
  2. 50
      pages.json
  3. 19
      pages/Basics/Basics.vue
  4. 2
      pages/First/First.vue
  5. BIN
      static/item00.png

11
.hbuilderx/launch.json

@ -0,0 +1,11 @@
{ // launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"launchtype": "local"
}
}
]
}

50
pages.json

@ -96,35 +96,35 @@
"navigationBarBackgroundColor": "#f8f8f8" "navigationBarBackgroundColor": "#f8f8f8"
} }
} }
,{ ,{
"path" : "pages/Project/PatternMatch", "path" : "pages/Project/PatternMatch",
"style" : { "style" : {
"navigationBarTitleText": "花样赛项目", "navigationBarTitleText": "花样赛项目",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#f8f8f8" "navigationBarBackgroundColor": "#f8f8f8"
} }
} }
,{ ,{
"path" : "pages/Login/Retrieve", "path" : "pages/Login/Retrieve",
"style" : {} "style" : {}
} }
,{ ,{
"path" : "pages/Project/MatchDetail/TeamMatch", "path" : "pages/Project/MatchDetail/TeamMatch",
"style" : {} "style" : {}
} }
,{ ,{
"path" : "pages/Project/MatchDetail/TeamDetail", "path" : "pages/Project/MatchDetail/TeamDetail",
"style" : {} "style" : {}
} }
,{ ,{
"path" : "pages/First/Choose", "path" : "pages/First/Choose",
"style" : { "style" : {
"navigationBarTitleText": "选择比赛类型", "navigationBarTitleText": "选择比赛类型",
"navigationBarTextStyle": "#0a97c6", "navigationBarTextStyle": "#0a97c6",
"navigationBarBackgroundColor": "#6D99F2" "navigationBarBackgroundColor": "#6D99F2"
} }
} }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"navigationBarTitleText": "2021年山西省学生跳绳比赛报名系统", "navigationBarTitleText": "2021年山西省学生跳绳比赛报名系统",

19
pages/Basics/Basics.vue

@ -12,11 +12,24 @@
</radio-group> </radio-group>
<text v-if="item.type === 1" class="asfe-title" @click="jump">{{ item.title }}</text> <text v-if="item.type === 1" class="asfe-title" @click="jump">{{ item.title }}</text>
</view> </view>
<view v-if="index === 0" class="tips">
<view>
请填写单位全称XXXX学校
</view>
<view>
此名称将出现在秩序册成绩册获奖证书等
</view>
</view>
</view> </view>
<button v-show="sub" class="btn cu-btn bg-green margin-tb-sm lg" @click="submit"> <button v-show="sub" class="btn cu-btn bg-green margin-tb-sm lg" @click="submit">
<text v-if="!chan">确定提交</text> <text v-if="!chan">确定提交</text>
<text v-else>确定修改</text> <text v-else>确定修改</text>
</button> </button>
<view v-if="!sub">
<view style="width:400rpx;margin: 0 175rpx;text-align: center;">请扫码进群~</view>
<img v-if="type === 6" src="https://www.tall.wiki/staticrec/ty.jpg" style="width:400rpx;margin: 0 175rpx;" ></img>
<img v-else-if="type === 4" src="https://www.tall.wiki/staticrec/lf.jpg" style="width:400rpx;margin: 0 175rpx;" ></img>
</view>
</view> </view>
</template> </template>
@ -78,7 +91,7 @@ import { savecompany } from 'api/savecompany'
// imgList: [] // imgList: []
} }
}, },
computed:mapState('project',['companyId','data']), computed:mapState('project',['companyId','data','type']),
methods: { methods: {
...mapMutations('project',['setCompanyId']), ...mapMutations('project',['setCompanyId']),
radioChange() { radioChange() {
@ -227,4 +240,8 @@ import { savecompany } from 'api/savecompany'
.fbt { .fbt {
color: $red; color: $red;
} }
.tips {
color: $gray;
font-size: 12px;
}
</style> </style>

2
pages/First/First.vue

@ -108,6 +108,8 @@ import { overview } from 'api/overview'
if (datalist && datalist.companyId) { if (datalist && datalist.companyId) {
that.setCompanyId(datalist.companyId) that.setCompanyId(datalist.companyId)
that.datalist = datalist that.datalist = datalist
} else {
that.setCompanyId(0)
} }
} }
}catch(e){ }catch(e){

BIN
static/item00.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Loading…
Cancel
Save