6.28-提交页面

lijinlong
李劲龙 10 months ago
parent 2bd0b8f26d
commit 4842173222

@ -1,11 +1,18 @@
<script>
import config from "./config";
import store from "@/store";
import { getToken, setToken, removeToken } from "@/utils/auth";
import { getSqByaccesstoken, getUserinfo } from "@/api/jn/login.js";
import permision from "@/utils/permission.js";
export default {
onLaunch: function () {
import config from "./config";
import store from "@/store";
import {
getToken,
setToken,
removeToken
} from "@/utils/auth";
import {
getSqByaccesstoken,
getUserinfo
} from "@/api/jn/login.js";
import permision from "@/utils/permission.js";
export default {
onLaunch: function() {
console.log("初始化进入");
this.initApp();
//#ifdef APP-PLUS
@ -138,15 +145,27 @@ export default {
this.gotoAppPermissionSetting();
}
},
gotoAppPermissionSetting: function () {
gotoAppPermissionSetting: function() {
permision.gotoAppPermissionSetting();
},
},
};
};
</script>
<style lang="scss">
/* 注意要写在第一行同时给style标签加入lang="scss"属性 */
@import "@/uni_modules/uview-ui/index.scss";
@import "@/static/scss/index.scss";
/* 注意要写在第一行同时给style标签加入lang="scss"属性 */
@import "@/uni_modules/uview-ui/index.scss";
@import "@/static/scss/index.scss";
.mytext {
h4 {
strong {
display: block;
/* 将 <strong> 标签转换为块级元素 */
text-indent: 2em;
// text-align: center;
}
}
}
</style>

@ -2,7 +2,8 @@
module.exports = {
// baseUrl: "http://192.168.0.105:9037",
TEST_LOGIN:"https://t-jn-development-manager.jsszkd.com/login", // ?clientId=
baseUrl: "https://t-jn-bjh-admin-server.jsszkd.com",
// baseUrl: "https://t-jn-bjh-admin-server.jsszkd.com",
baseUrl: "https://bjh.jndz.cn/bjh-admin-server",
// 应用信息
appInfo: {

@ -14,7 +14,6 @@ Vue.use(uView)
// import 'mui-player/dist/mui-player.min.css'
import fixedButtom from '@/components/fixedButtom/fixedButtom.vue'
Vue.component('fixedButtom', fixedButtom)
Vue.use(plugins)

@ -1,17 +1,16 @@
<template>
<view class="app-container">
<u-navbar leftText="返回" title="店铺活动管理" :autoBack="true" :placeholder="true">
<!-- <u-navbar leftText="返回" title="店铺活动管理" :autoBack="true" :placeholder="true">
<view slot="right">
<text class="nav-right"></text>
</view>
</u-navbar>
</u-navbar> -->
<view class="list-item">
<view class="list-item-title">{{levelList[0].activeName || ""}}</view>
<view>
<view class="Mytitle">
</view>
<view class="mytext">
{{levelList[0].activeRequest}}
<view class="mytext" v-html="levelList[0].activeRequest">
</view>
</view>
@ -35,6 +34,7 @@
sbLevelName: null,
pageNum: 1,
pageSize: 10,
activeState:"1"
},
};
},
@ -116,7 +116,7 @@
}
.mytext {
line-height: 45rpx;
line-height: 2;
}
.item-cell {

@ -1,15 +1,17 @@
<template>
<view class="app-container">
<u-navbar leftText="返回" title="店牌店招预审" :autoBack="true" :placeholder="true">
<!-- <u-navbar leftText="返回" title="店牌店招预审" :autoBack="true" :placeholder="true">
<view slot="right">
<text class="nav-right"></text>
</view>
</u-navbar>
</u-navbar> -->
<view class="list-item">
<view class="list-item-title">{{levelList[0].name || ""}}</view>
<view>
<view class="mytext">
{{levelList[0].msg || ""}}
<view class="mytext" v-html="levelList[0].msg">
<!-- {{levelList[0].msg || ""}} -->
</view>
<!-- <view class="Mytitle">
所需材料
@ -89,12 +91,12 @@
7.南京江宁经济技术开发区管理委员会宁经管委发[2005]284关于对开发区胜太路等主要街道商业经营门类进行规范管理的通知<br />
8.南京江宁经济技术开发区管理委员会宁经管委发[2008]283关于新增庄排路等街区实行商业经营门类规范管理的通知<br />
</view> -->
</view>
<view class="myimg">
<!-- <img src="../../static/images/banner/liucheng.png" alt="" /> -->
<img :src="baseUrl + levelList[0].img" alt="" />
</view>
</view>
</view>
</template>
@ -109,7 +111,7 @@
return {
//
form: {},
baseUrl:config.baseUrl,
baseUrl: config.baseUrl,
levelList: [{
name: "",
msg: "",
@ -119,6 +121,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
status: "1"
},
};
},
@ -202,7 +205,7 @@
}
.mytext {
line-height: 45rpx;
line-height: 2;
}
.myimg {

@ -1,10 +1,10 @@
<template>
<view class="app-container">
<u-navbar leftText="返回" title="门前三包服务" :autoBack="true" :placeholder="true">
<!-- <u-navbar leftText="返回" title="门前三包服务" :autoBack="true" :placeholder="true">
<view slot="right">
<text class="nav-right"></text>
</view>
</u-navbar>
</u-navbar> -->
<view class="list-item">
<view class="list-item-box">
<view class="list-item-box-top">
@ -18,7 +18,8 @@
<view class="list-item-box-top">
三包等级:
</view>
<view class="list-item-box-bottom " :class="titleObj.sbLevel==3?'red':titleObj.sbLevel==4?'yellow':titleObj.sbLevel==5?'good':''">
<view class="list-item-box-bottom "
:class="titleObj.sbLevel==3?'red':titleObj.sbLevel==4?'yellow':titleObj.sbLevel==5?'good':''">
<!-- 3 4 5绿 -->
{{titleObj.sbLevel==3?'红牌':titleObj.sbLevel==4?'黄牌':titleObj.sbLevel==5?'绿牌':'暂无'}}
</view>
@ -31,10 +32,11 @@
<view class="Mytitle">
</view>
<view class="mytext">
{{levelList[0].rateRuleContent || ""}}
<view class="mytext" v-html="levelList[0].rateRuleContent">
</view>
<!-- <view class="mytext">
<u-parse :content="levelList[0].rateRuleContent" :tag-style="style"></u-parse>
</view> -->
</view>
@ -43,6 +45,7 @@
</template>
<script>
// import uParse from '@/components/u-parse/u-parse.vue'
import {
listraterule,
jnshop
@ -61,10 +64,14 @@
sbLevelName: null,
pageNum: 1,
pageSize: 10,
state: "1"
},
titleObj: {
sbLevel: "",
shopName: "",
},
titleObj:{
sbLevel:"",
shopName:""
style: {
p:'font-size:20rpx;!important'
}
};
},
@ -79,15 +86,15 @@
query
} = launchOptions;
console.log(query, "query");
console.log(Object.keys(query).length,"query.lengh");
if(Object.keys(query).length!=0){
console.log(Object.keys(query).length, "query.lengh");
if (Object.keys(query).length != 0) {
// 3 4 5绿 sbLevel shopName
jnshop(query.storeId).then((item)=>{
jnshop(query.storeId).then((item) => {
console.log(item);
if(item.code == 200 && item.data){
if (item.code == 200 && item.data) {
this.titleObj.sbLevel = item.data.sbLevel
this.titleObj.shopName = item.data.shopName
}else{
} else {
}
})
@ -169,7 +176,13 @@
}
.mytext {
line-height: 45rpx;
// line-height: 45rpx;
margin-top: 38rpx;
display: grid;
grid-template-columns: 1fr;
grid-row-gap: 20rpx;
line-height: 2;
overflow: hidden;
}
.item-cell {
@ -226,11 +239,14 @@
.good {
color: green;
}
.red {
color: red;
}
.yellow{
.yellow {
color: yellowgreen;
}
}
</style>
Loading…
Cancel
Save