积分优化;样式优化

This commit is contained in:
axlrose2333 2023-04-23 14:48:48 +08:00
parent e7c6081ea6
commit 3fb7e16c4e
6 changed files with 13 additions and 10 deletions

View File

@ -4,5 +4,5 @@ VITE_CLI_PORT = 8080
VITE_SERVER_PORT = 8888 VITE_SERVER_PORT = 8888
VITE_BASE_API = /api VITE_BASE_API = /api
#下方修改为你的线上ip #下方修改为你的线上ip
//VITE_BASE_PATH = https://admin.api.gwkjxb.com VITE_BASE_PATH = https://admin.api.gwkjxb.com
VITE_BASE_PATH = http://test_admin_api.gwkjxb.com //VITE_BASE_PATH = http://test_admin_api.gwkjxb.com

View File

@ -89,6 +89,7 @@ async function getExaminationDetail() {
if(res.code === 0) { if(res.code === 0) {
exam_info.value = res.data exam_info.value = res.data
form.value = res.data.exam form.value = res.data.exam
form.value.price = 4.9
exam_types.value = res.data.exam_types.map((item) => { exam_types.value = res.data.exam_types.map((item) => {
for(let prop in item) { for(let prop in item) {
if(price_props.includes(prop)) { if(price_props.includes(prop)) {

View File

@ -546,11 +546,12 @@ function getRandomNumber() {
<el-form-item label="金蛋数量" prop="egg_quantity"> <el-form-item label="金蛋数量" prop="egg_quantity">
<el-input v-model.number="drawForm.egg_quantity" disabled="true" placeholder="请输入金蛋数量" autocomplete="off" /> <el-input v-model.number="drawForm.egg_quantity" disabled="true" placeholder="请输入金蛋数量" autocomplete="off" />
</el-form-item> </el-form-item>
<el-form-item style="position:relative" label="中奖号码" prop="prize_number"> <el-form-item style="position:relative" label="中奖人数" prop="prize_number">
<el-input v-model.number="drawForm.prize_number" disabled placeholder="请设置中奖号码" autocomplete="off" /> <el-input v-model.number="drawForm.prize_number" placeholder="请设置中奖人数" autocomplete="off" />
<!-- <el-input v-model.number="drawForm.prize_number" disabled placeholder="请设置中奖号码" autocomplete="off" />
<div class="egg-mask" v-if="egg_mask && drawForm.prize_number">已生成中奖号码活动结束后方可观看</div> <div class="egg-mask" v-if="egg_mask && drawForm.prize_number">已生成中奖号码活动结束后方可观看</div>
<div class="egg-mask" v-else-if="egg_mask && !drawForm.prize_number">请点击下方生成中奖号码活动结束后方可观看</div> <div class="egg-mask" v-else-if="egg_mask && !drawForm.prize_number">请点击下方生成中奖号码活动结束后方可观看</div>
<el-button size="small" type="plain" @click="getRandomNumber">随机生成</el-button> <el-button size="small" type="plain" @click="getRandomNumber">随机生成</el-button> -->
</el-form-item> </el-form-item>
<!-- <el-form-item label="奖品装蛋" >--> <!-- <el-form-item label="奖品装蛋" >-->
<!-- <el-switch @change="loadingEggChange" v-model="drawForm.loading_egg" active-text="" inactive-text="" :active-value="true" inactive-value="false" />--> <!-- <el-switch @change="loadingEggChange" v-model="drawForm.loading_egg" active-text="" inactive-text="" :active-value="true" inactive-value="false" />-->

View File

@ -262,7 +262,7 @@ async function integralOperationFunc(type,row) { // 冻结 解冻
<el-table-column align="center" label="累计积分" prop="total" /> <el-table-column align="center" label="累计积分" prop="total" />
<el-table-column align="center" label="邀请好友(分)" min-width="150" prop="invite" /> <el-table-column align="center" label="邀请好友(分)" min-width="150" prop="invite" />
<el-table-column align="center" label="购买课程(分)" min-width="150" prop="course" /> <el-table-column align="center" label="购买课程(分)" min-width="150" prop="course" />
<el-table-column align="center" label="累计消费(分)" min-width="150" prop="phone" /> <!-- <el-table-column align="center" label="累计消费(分)" min-width="150" prop="phone" /> -->
<el-table-column align="center" label="抽奖(分)" prop="raffle" /> <el-table-column align="center" label="抽奖(分)" prop="raffle" />
<el-table-column align="center" label="竞拍(分)" prop="bidding" /> <el-table-column align="center" label="竞拍(分)" prop="bidding" />
<el-table-column align="center" label="状态" > <el-table-column align="center" label="状态" >

View File

@ -4,7 +4,8 @@
<el-row :class="[isShadowBg?'shadowBg':'']" @click="changeShadow()" /> <el-row :class="[isShadowBg?'shadowBg':'']" @click="changeShadow()" />
<el-aside class="main-cont main-left gva-aside"> <el-aside class="main-cont main-left gva-aside">
<div class="tilte" :style="{background: backgroundColor}"> <div class="tilte" :style="{background: backgroundColor}">
<img alt class="logoimg" :src="$GIN_VUE_ADMIN.appLogo"> <!-- <img alt class="logoimg" :src="$GIN_VUE_ADMIN.appLogo"> -->
<img alt class="logoimg" src="https://gwjxb.oss-cn-chengdu.aliyuncs.com/logo.png">
<div v-if="isSider" class="tit-text" :style="{color:textColor}">{{ $GIN_VUE_ADMIN.appName }}</div> <div v-if="isSider" class="tit-text" :style="{color:textColor}">{{ $GIN_VUE_ADMIN.appName }}</div>
</div> </div>
<Aside class="aside" /> <Aside class="aside" />

View File

@ -5,7 +5,7 @@
<div class="login_panel_form_title"> <div class="login_panel_form_title">
<img <img
class="login_panel_form_title_logo" class="login_panel_form_title_logo"
:src="$GIN_VUE_ADMIN.appLogo" src="https://gwjxb.oss-cn-chengdu.aliyuncs.com/logo.png"
alt alt
> >
<p class="login_panel_form_title_p">{{ $GIN_VUE_ADMIN.appName }}</p> <p class="login_panel_form_title_p">{{ $GIN_VUE_ADMIN.appName }}</p>
@ -83,7 +83,7 @@
</el-form> </el-form>
</div> </div>
<div class="login_panel_right" /> <div class="login_panel_right" />
<div class="login_panel_foot"> <!-- <div class="login_panel_foot">
<div class="links"> <div class="links">
<a href="http://doc.henrongyi.top/" target="_blank"> <a href="http://doc.henrongyi.top/" target="_blank">
<img src="@/assets/docs.png" class="link-icon"> <img src="@/assets/docs.png" class="link-icon">
@ -104,7 +104,7 @@
<div class="copyright"> <div class="copyright">
<BottomInfo /> <BottomInfo />
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</template> </template>