Compare commits

...

7 Commits

@ -1,11 +1,18 @@
<script> <script>
import config from "./config"; import config from "./config";
import store from "@/store"; import store from "@/store";
import { getToken, setToken, removeToken } from "@/utils/auth"; import {
import { getSqByaccesstoken, getUserinfo } from "@/api/jn/login.js"; getToken,
import permision from "@/utils/permission.js"; setToken,
export default { removeToken
onLaunch: function () { } from "@/utils/auth";
import {
getSqByaccesstoken,
getUserinfo
} from "@/api/jn/login.js";
import permision from "@/utils/permission.js";
export default {
onLaunch: function() {
console.log("初始化进入"); console.log("初始化进入");
this.initApp(); this.initApp();
//#ifdef APP-PLUS //#ifdef APP-PLUS
@ -33,63 +40,63 @@ export default {
this.globalData.config = config; this.globalData.config = config;
}, },
checkLogin() { checkLogin() {
const launchOptions = uni.getLaunchOptionsSync(); // const launchOptions = uni.getLaunchOptionsSync();
const { query } = launchOptions; // const { query } = launchOptions;
console.log(query, "query"); // console.log(query, "query");
// console.log(Object.keys(query).length,"query.lengh"); // console.log(Object.keys(query).length,"query.lengh");
console.log(getToken(), "getToken()"); // console.log(getToken(), "getToken()");
if (!getToken()) { // if (!getToken()) {
if (Object.keys(query).length !== 0) { // if (Object.keys(query).length !== 0) {
console.log("获取query"); // console.log("query");
// let params = this.getRequestParams(); // // let params = this.getRequestParams();
// console.log(params,"params"); // // console.log(params,"params");
// if (location.href.includes("code=")) { // // if (location.href.includes("code=")) {
const code = query.code; // const code = query.code;
const token = query.token; // const token = query.token;
uni.setStorageSync("token", token); // uni.setStorageSync("token", token);
// console.log(code,"code"); // // console.log(code,"code");
// console.log(token,"token"); // // console.log(token,"token");
getSqByaccesstoken({ // getSqByaccesstoken({
code: code, // code: code,
})
.then((res) => {
// console.log("accessToken");
uni.setStorageSync("accessToken", res.data.accessToken);
return getUserinfo({
accessToken: res.data.accessToken,
});
})
.then((el) => {
this.$tab.switchTab("/pages/index");
uni.setStorageSync("userInfo", el.data);
setToken(el.data.token);
// location.reload();
console.log("用户信息", el);
});
// }
} else {
// // #ifdef APP
console.log("进入APP判断");
// this.$tab.reLaunch("/pages/myLogin");
uni.reLaunch({
url: "/pages/myLogin",
});
// url
// plus.runtime.openURL( "https://t-jn-development-manager.jsszkd.com/login?clientId=641775453324", this.openErr );
// // #endif
// // #ifdef H5
// location.href = `https://t-jn-development-manager.jsszkd.com/login?clientId=641775453324`
// // #endif
console.log("Before navigateTo or reLaunch");
// this.$tab.reLaunch("/pages/myLogin");
// uni.navigateTo({
// url:'https://t-jn-development-manager.jsszkd.com/login?clientId=641775453324'
// }) // })
} // .then((res) => {
} else { // // console.log("accessToken");
this.$tab.reLaunch("/pages/index"); // uni.setStorageSync("accessToken", res.data.accessToken);
} // return getUserinfo({
// accessToken: res.data.accessToken,
// });
// })
// .then((el) => {
// this.$tab.switchTab("/pages/index");
// uni.setStorageSync("userInfo", el.data);
// setToken(el.data.token);
// // location.reload();
// console.log("", el);
// });
// // }
// } else {
// // // #ifdef APP
// console.log("APP");
// // this.$tab.reLaunch("/pages/myLogin");
// uni.reLaunch({
// url: "/pages/myLogin",
// });
// // url
// // plus.runtime.openURL( "https://t-jn-development-manager.jsszkd.com/login?clientId=641775453324", this.openErr );
// // // #endif
// // // #ifdef H5
// // location.href = `https://t-jn-development-manager.jsszkd.com/login?clientId=641775453324`
// // // #endif
// console.log("Before navigateTo or reLaunch");
// // this.$tab.reLaunch("/pages/myLogin");
// // uni.navigateTo({
// // url:'https://t-jn-development-manager.jsszkd.com/login?clientId=641775453324'
// // })
// }
// } else {
// this.$tab.reLaunch("/pages/index");
// }
}, },
openErr(err) { openErr(err) {
console.log(err, "报错信息"); console.log(err, "报错信息");
@ -138,15 +145,27 @@ export default {
this.gotoAppPermissionSetting(); this.gotoAppPermissionSetting();
} }
}, },
gotoAppPermissionSetting: function () { gotoAppPermissionSetting: function() {
permision.gotoAppPermissionSetting(); permision.gotoAppPermissionSetting();
}, },
}, },
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
/* 注意要写在第一行同时给style标签加入lang="scss"属性 */ /* 注意要写在第一行同时给style标签加入lang="scss"属性 */
@import "@/uni_modules/uview-ui/index.scss"; @import "@/uni_modules/uview-ui/index.scss";
@import "@/static/scss/index.scss"; @import "@/static/scss/index.scss";
.mytext {
h4 {
strong {
display: block;
/* 将 <strong> 标签转换为块级元素 */
text-indent: 2em;
// text-align: center;
}
}
}
</style> </style>

@ -8,7 +8,21 @@ export function listActivity(query) {
params: query, params: query,
}); });
} }
//门前三包评级规则
export function listraterule(query) {
return request({
url: "/jn/raterule/list",
method: "get",
params: query,
});
}
export function listysfwlist(query) {
return request({
url: "/jn/ysfw/list",
method: "get",
params: query,
});
}
// 查询活动申请详细 // 查询活动申请详细
export function getActivity(id) { export function getActivity(id) {
return request({ return request({
@ -42,3 +56,10 @@ export function delActivity(id) {
method: "delete", method: "delete",
}); });
} }
//获取沿街店铺列表详细信息
export function jnshop(id) {
return request({
url: "/jn/shop/" + id,
method: "GET",
});
}

@ -42,3 +42,36 @@ export function delNews(id) {
method: 'delete' method: 'delete'
}) })
} }
// 根据商家id清空该商家所有的消息
export function deleteShopId(id) {
return request({
url: '/jn/news/deleteShopId/' + id,
method: 'get'
})
}
// 根据商家id查询该商家所有的消息
export function shopIdlist(params) {
return request({
url: '/jn/news/shopIdlist',
method: 'get',
params
})
}
// 某条商家端消息进行已读
export function getInfoShop(id) {
return request({
url: '/jn/news/getInfoShop/' + id,
method: 'get'
})
}
// 根据商家id查询未读消息个数
export function isLookCount(id) {
return request({
url: '/jn/news/isLookCount/' + id,
method: 'get'
})
}

@ -45,5 +45,6 @@
padding: 20rpx 20rpx calc(20rpx + env(safe-area-inset-bottom)); padding: 20rpx 20rpx calc(20rpx + env(safe-area-inset-bottom));
/* 兼容 iOS >= 11.2 */ /* 兼容 iOS >= 11.2 */
border-top: 1px solid #DCE3EC; border-top: 1px solid #DCE3EC;
z-index: 3;
} }
</style> </style>

@ -1,8 +1,10 @@
// 应用全局配置 // 应用全局配置
module.exports = { module.exports = {
// baseUrl: "http://39.101.188.84:9037",
TEST_LOGIN:"https://t-jn-development-manager.jsszkd.com/login", // ?clientId= 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",
// baseUrl: "http://192.168.0.107:9037",
// baseUrl: "http://10.236.2.28:54567/bjh-admin-server",
// 应用信息 // 应用信息
appInfo: { appInfo: {

@ -11,10 +11,9 @@ Vue.use(uView)
// import 'video.js/dist/video-js.css' // import 'video.js/dist/video-js.css'
// Vue.prototype.$video = Videojs // Vue.prototype.$video = Videojs
import 'mui-player/dist/mui-player.min.css' // import 'mui-player/dist/mui-player.min.css'
import fixedButtom from '@/components/fixedButtom/fixedButtom.vue' import fixedButtom from '@/components/fixedButtom/fixedButtom.vue'
Vue.component('fixedButtom', fixedButtom) Vue.component('fixedButtom', fixedButtom)
Vue.use(plugins) Vue.use(plugins)

@ -1,6 +1,6 @@
{ {
"name" : "江宁城管app", "name" : "江宁城管app",
"appid" : "__UNI__EE8CBC2", "appid" : "__UNI__722F3C8",
"description" : "", "description" : "",
"versionName" : "1.1.0", "versionName" : "1.1.0",
"versionCode" : "100", "versionCode" : "100",

@ -257,6 +257,14 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{
"path" : "activity/activitydetails",
"style" :
{
"navigationBarTitleText": "活动详情",
"enablePullDownRefresh": false
}
},
{ {
"path": "threeGuarantees/index", "path": "threeGuarantees/index",
"style": { "style": {
@ -299,6 +307,7 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
] ]
} }
], ],

@ -52,7 +52,7 @@ export default {
return { return {
grids: [ grids: [
{ {
name: "水生态治理科教(公众)", name: "水生态治理科教",
gridImg: "/static/images/umale/gr8.png", gridImg: "/static/images/umale/gr8.png",
color: "#0D306B", color: "#0D306B",
subcolor: "", subcolor: "",
@ -60,7 +60,7 @@ export default {
toPage: "/subPublic/waterEducation/index", toPage: "/subPublic/waterEducation/index",
}, },
{ {
name: "活动管理(商家)", name: "活动管理",
gridImg: "/static/images/umale/gr8.png", gridImg: "/static/images/umale/gr8.png",
color: "#0D306B", color: "#0D306B",
subcolor: "", subcolor: "",
@ -68,7 +68,7 @@ export default {
toPage: "/subEnterprise/activity/activity", toPage: "/subEnterprise/activity/activity",
}, },
{ {
name: "消息中心(商家)", name: "消息中心",
gridImg: "/static/images/umale/gr8.png", gridImg: "/static/images/umale/gr8.png",
color: "#0D306B", color: "#0D306B",
subcolor: "", subcolor: "",
@ -76,7 +76,7 @@ export default {
toPage: "/subEnterprise/msg/index", toPage: "/subEnterprise/msg/index",
}, },
{ {
name: "门前三包服务(商家)", name: "门前三包服务",
gridImg: "/static/images/umale/gr8.png", gridImg: "/static/images/umale/gr8.png",
color: "#0D306B", color: "#0D306B",
subcolor: "", subcolor: "",
@ -84,7 +84,7 @@ export default {
toPage: "/subEnterprise/threeGuarantees/index", toPage: "/subEnterprise/threeGuarantees/index",
}, },
{ {
name: "店铺店招预审(商家)", name: "店牌店招预审",
gridImg: "/static/images/umale/gr8.png", gridImg: "/static/images/umale/gr8.png",
color: "#0D306B", color: "#0D306B",
subcolor: "", subcolor: "",
@ -110,7 +110,7 @@ export default {
}, },
// ... // ...
onBackPress(options) { onBackPress(options) {
console.log("返回", options); // console.log("", options);
if (options.from == "backbutton" || options.from == "navigateBack") { if (options.from == "backbutton" || options.from == "navigateBack") {
// //
uni.showModal({ uni.showModal({
@ -132,15 +132,15 @@ export default {
onLoad() { onLoad() {
// this.getCircle(); // this.getCircle();
this.getUserLocation(); // this.getUserLocation();
this.times = setInterval(() => { // this.times = setInterval(() => {
console.log("获取用户位置信息"); // console.log("");
this.getUserLocation(); // this.getUserLocation();
}, 10000); // }, 10000);
}, },
mounted() { mounted() {
this.userInfo = uni.getStorageSync("userInfo"); this.userInfo = uni.getStorageSync("userInfo");
console.log(JSON.stringify(this.userInfo), "用户信息"); // console.log(JSON.stringify(this.userInfo), "");
const currentDate = new Date(); const currentDate = new Date();
const year = currentDate.getFullYear(); // const year = currentDate.getFullYear(); //
const month = currentDate.getMonth() + 1; // 01 const month = currentDate.getMonth() + 1; // 01

@ -35,7 +35,7 @@ export default {
this.webview.overrideUrlLoading({ mode: "reject" }, (e) => { this.webview.overrideUrlLoading({ mode: "reject" }, (e) => {
//,!url,.OK.json //,!url,.OK.json
console.warn("参数为:" + e.url); console.warn("参数为:" + e.url);
// http://39.101.188.84:9999/demo/JiangNingUmale-App/#/?code=ckyb2r&clientId=641775453324&token=pygHmfvDNt4YxbucxXiIm0dN8d0IuLmd
// URL // URL
var url = e.url; var url = e.url;

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

@ -0,0 +1,299 @@
<template>
<view class="app-container">
<u-navbar leftText="返回" title="店铺活动管理" :autoBack="true" :placeholder="true" />
<view class="list-item active view-global" v-for="(item, index) in applyList" :key="index">
<view class="" @click="goactivitydetails(item)">
<view class="item-header" :class="bgmImg(item.activeState)">
<view class="item-header-font" >
{{ item.activeState | activeState }}
</view>
</view>
<view class="item-cell">
<view class="cell-lable">活动名称</view>
<view class="cell-value">{{ item.activeName }}</view>
</view>
<view class="item-cell">
<view class="cell-lable">活动时间</view>
<view class="cell-value">{{ item.activeStart }}{{ item.activeEnd }}</view>
</view>
<view class="item-cell">
<view class="cell-lable">活动内容</view>
<view class="cell-value">{{ item.activeContent }}</view>
</view>
<view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">活动地点</view>
<view class="cell-value">{{ item.activePoint }}</view>
</view>
<!-- <view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">参与条件</view>
<view class="cell-value">{{ item.joinRequire }}</view>
</view> -->
<!-- <view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">活动状态</view>
<view class="cell-value" :style="{ color: activeStateColor(item.activeState) }">
{{ item.activeState | activeState }}
</view>
</view> -->
</view>
<!-- <view class="cell-btn">
<u-button v-show="item.activeState == 2" text="终止活动" size="small"
color="linear-gradient(90deg, #FF4B4B 0%, #FA4D4D 100%)" :custom-style="{
width: '130rpx',
height: '65rpx',
margin: '0',
}" @click="handleUpdate(item)"></u-button>
<u-button v-show="item.activeState == 1" text="取消活动" size="small"
color="linear-gradient(90deg, #F18939 0%, #F6A53C 100%)" :custom-style="{
width: '130rpx',
height: '65rpx',
margin: '0',
}" @click="handleUpdate(item)"></u-button>
</view> -->
</view>
<fixed-buttom title="新增活动" @click="handleAdd()"></fixed-buttom>
</view>
</template>
<script>
import {
listActivity,
updateActivity
} from "../../api/jn/apply";
export default {
data() {
return {
//
form: {},
applyList: [
// {
// activeName: "",
// activeStart: "2024-1-17",
// activeEnd: "2024-1-19",
// activeContent: "",
// activePoint: "",
// joinRequire: "",
// activeState: 1,
// },{
// activeName: "",
// activeStart: "2024-1-17",
// activeEnd: "2024-1-19",
// activeContent: "",
// activePoint: "",
// joinRequire: "",
// activeState: 2,
// },{
// activeName: "",
// activeStart: "2024-1-17",
// activeEnd: "2024-1-19",
// activeContent: "",
// activePoint: "",
// joinRequire: "",
// activeState: 3,
// },
],
//
queryParams: {
pageNum: 1,
pageSize: 10,
activeName: null,
activeStart: null,
activeEnd: null,
activeContent: null,
activePoint: null,
joinRequire: null,
activeState: null,
createId: null,
updateId: null,
gridId: null,
gridName: null,
partId: null,
partName: null,
},
};
},
onLoad() {
this.getList();
},
onShow() {
this.getList();
},
methods: {
getList() {
listActivity(this.queryParams).then((res) => {
console.log(res);
this.applyList = res.rows;
});
},
//
handleAdd() {
uni.$u.route({
url: "/subEnterprise/activity/add",
});
},
//
handleUpdate(item) {
this.reset();
item["activeState"] =
item.activeState == 1 ?
3 :
item.activeState == 2 ?
4 :
item.activeState;
this.form = item;
console.log(this.form);
updateActivity(this.form).then((response) => {
this.$modal.msgSuccess("修改成功");
});
},
activeStateColor: function(value) {
switch (value) {
case "1":
return "#F75D23";
case "2":
return "#32B78B";
case "3":
return "#FF0000";
}
},
bgmImg(value){
switch (value) {
case "1":
return "item-headerorng";
case "2":
return "item-headergreen";
case "3":
return "item-headerred";
}
},
//
goactivitydetails(item) {
uni.navigateTo({
url: `/subEnterprise/activity/activitydetails?item=${JSON.stringify(item)}`,
})
},
//
reset() {
this.form = {
id: null,
activeName: null,
activeStart: null,
activeEnd: null,
activeContent: null,
activePoint: null,
joinRequire: null,
activeState: null,
createId: null,
createBy: null,
createTime: null,
updateId: null,
updateBy: null,
updateTime: null,
remark: null,
gridId: null,
gridName: null,
partId: null,
partName: null,
};
},
},
filters: {
activeState: function(value) {
// console.log(value);
switch (value) {
case "1":
return "审核中";
case "2":
return "审核通过";
case "3":
return "审核驳回";
case" 4":
return "已终止";
case "5":
return "已结束";
default:
return "";
}
},
},
};
</script>
<style lang="scss" scoped>
.app-container {
.list-item {
background-color: #fff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 25rpx;
margin-bottom: 30rpx;
position: relative;
.item-header {
width: 200rpx;
height: 200rpx;
position: absolute;
top: -30rpx;
right: -30rpx;
z-index: 2;
background-size: 100% 100%;
background-repeat: no-repeat;
.item-header-font{
color: #ffffff;
font-size: 25rpx;
transform: translate(25rpx, 60rpx) rotate(45deg);
text-align: center;
}
}
.item-headergreen{
background-image: url("@/static/images/banner/green.png");
}
.item-headerred{
background-image: url("@/static/images/banner/red.png");
}
.item-headerorng{
background-image: url("@/static/images/banner/orng.png");
}
.item-cell {
display: flex;
align-items: center;
margin: 20rpx 0;
.cell-lable {
width: 200rpx;
font-size: 28rpx;
font-weight: 400;
color: #9da2ab;
}
.cell-value {
flex: 1;
font-size: 28rpx;
font-weight: 400;
color: #2e2f31;
}
}
.cell-btn {
display: flex;
flex-direction: row-reverse;
}
&>view:not(.cell-btn) {
margin-bottom: 20rpx;
}
}
&>.list-item:last-child {
margin-bottom: 0;
}
}
</style>

@ -1,104 +1,82 @@
<template> <template>
<view class="app-container"> <view class="app-container">
<u-navbar <!-- <u-navbar leftText="返回" title="店铺活动管理" :autoBack="true" :placeholder="true">
leftText="返回" <view slot="right">
title="店铺活动管理" <text class="nav-right"></text>
:autoBack="true" </view>
:placeholder="true" </u-navbar> -->
/> <view class="list-item">
<view <view class="list-item-title">{{levelList[0].activeName || ""}}</view>
class="list-item active view-global" <view>
v-for="(item, index) in applyList" <view class="Mytitle">
:key="index" </view>
> <view class="mytext" v-html="levelList[0].activeRequest">
<view class="item-cell"> </view>
<view class="cell-lable">活动名称</view> </view>
<view class="cell-value">{{ item.activeName }}</view>
</view>
<view class="item-cell"> </view>
<view class="cell-lable">活动时间</view> <view class="yingfuDom">
<view class="cell-value" <view class="items">
>{{ item.activeStart }}{{ item.activeEnd }}</view <view class="label">
> 活动名称
</view> </view>
<view class="item-cell"> <view class="value">
<view class="cell-lable">活动内容</view> 店铺周年庆
<view class="cell-value">{{ item.activeContent }}</view> </view>
</view> </view>
<view class="item-cell" style="align-items: flex-start"> <view class="items">
<view class="cell-lable">活动地点</view> <view class="label">
<view class="cell-value">{{ item.activePoint }}</view> 活动内容
</view> </view>
<view class="item-cell" style="align-items: flex-start"> <view class="value">
<view class="cell-lable">参与条件</view> 消费满500元打8折
<view class="cell-value">{{ item.joinRequire }}</view> </view>
</view> </view>
<view class="item-cell" style="align-items: flex-start"> <view class="items">
<view class="cell-lable">活动状态</view> <view class="label">
<view 活动地点
class="cell-value" </view>
:style="{ color: activeStateColor(item.activeState) }" <view class="value">
> 南京市江宁区佳湖西路19号
{{ item.activeState | activeState }} </view>
</view> </view>
</view> <view class="items">
<view class="cell-btn"> <view class="label">
<u-button 参与条件
v-show="item.activeState == 2" </view>
text="终止活动" <view class="value">
size="small" 所有人可参加
color="linear-gradient(90deg, #FF4B4B 0%, #FA4D4D 100%)" </view>
:custom-style="{ </view>
width: '130rpx', <view class="items">
height: '65rpx', <view class="label">
margin: '0', 活动时间
}" </view>
@click="handleUpdate(item)" <view class="value">
></u-button> 2024-10-01
<u-button </view>
v-show="item.activeState == 1" </view>
text="取消活动" </view>
size="small"
color="linear-gradient(90deg, #F18939 0%, #F6A53C 100%)"
:custom-style="{
width: '130rpx',
height: '65rpx',
margin: '0',
}"
@click="handleUpdate(item)"
></u-button>
</view>
</view>
<fixed-buttom title="新增活动" @click="handleAdd()"></fixed-buttom>
</view> </view>
</template> </template>
<script> <script>
import { listActivity, updateActivity } from "../../api/jn/apply"; import {
listActivity,
export default { } from "../../api/jn/apply";
export default {
data() { data() {
return { return {
// //
form: {}, form: {},
applyList: [], levelList: [{activeName:"",activeRequest:""}],
// //
queryParams: { queryParams: {
sbLevelName: null,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
activeName: null, activeState:"1"
activeStart: null,
activeEnd: null,
activeContent: null,
activePoint: null,
joinRequire: null,
activeState: null,
createId: null,
updateId: null,
gridId: null,
gridName: null,
partId: null,
partName: null,
}, },
}; };
}, },
@ -106,48 +84,24 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
onSearch() {
this.getList();
},
onClear() {
this.queryParams.sbLevelName = "";
this.getList();
},
getList() { getList() {
listActivity(this.queryParams).then((res) => { listActivity(this.queryParams).then((res) => {
console.log(res); console.log(res);
this.applyList = res.rows;
}); if(res.rows.length !=0){
}, this.levelList = res.rows;
//
handleAdd() { }else{
uni.$u.route({ this.levelList = [{activeName:"",activeRequest:""}]
url: "/subEnterprise/activity/add",
});
},
//
handleUpdate(item) {
this.reset();
item["activeState"] =
item.activeState == 1
? 3
: item.activeState == 2
? 4
: item.activeState;
this.form = item;
console.log(this.form);
updateActivity(this.form).then((response) => {
this.$modal.msgSuccess("修改成功");
});
},
activeStateColor: function (value) {
switch (value) {
case 1:
return "#F75D23";
case 2:
return "#32B78B";
case 3:
return "#000000";
case 4:
return "#000000";
case 5:
return "#32B78B";
default:
return "#000000";
} }
});
}, },
// //
reset() { reset() {
@ -174,36 +128,38 @@ export default {
}; };
}, },
}, },
filters: { };
activeState: function (value) {
// console.log(value);
switch (value) {
case 1:
return "审核中";
case 2:
return "进行中";
case 3:
return "已取消";
case 4:
return "已终止";
case 5:
return "已结束";
default:
return "";
}
},
},
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-container { .app-container {
.list-item { .list-item {
background-color: #fff; background-color: #fff;
border-radius: 16rpx; border-radius: 16rpx;
box-sizing: border-box; box-sizing: border-box;
padding: 25rpx; padding: 25rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
margin-top: 30rpx;
.list-item-title {
text-align: center;
border-bottom: 1rpx solid #000000;
font-size: 35rpx;
font-weight: bold;
}
.Mytitle {
font-size: 30rpx;
margin: 20rpx 0;
font-weight: 550;
}
.mytext {
line-height: 2;
}
.item-cell { .item-cell {
display: flex; display: flex;
@ -229,13 +185,56 @@ export default {
flex-direction: row-reverse; flex-direction: row-reverse;
} }
& > view:not(.cell-btn) { &>view:not(.cell-btn) {
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
} }
& > .list-item:last-child { &>.list-item:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
}
.yingfuDom {
padding: 20rpx 0;
display: grid;
grid-template-columns: 1fr;
row-gap: 10rpx;
.items{
display: flex;
align-items: center;
.label {
// display: flex;
// align-items: center;
// justify-content: center;
}
.value {
// display: flex;
// align-items: center;
// justify-content: center;
}
}
}
}
.list-item-box {
display: flex;
text-align: center;
.list-item-box-top {
font-size: 30rpx;
font-weight: bold;
margin-right: 20rpx;
}
.list-item-box-bottom {
font-size: 30rpx;
font-weight: bold;
}
.good {
color: green;
}
}
</style> </style>

@ -0,0 +1,129 @@
<template>
<view class="app-container"> class="app-container"
<u-navbar leftText="返回" title="活动详情" :autoBack="true" :placeholder="true" />
<view class="list-item active view-global">
<view class="item-cell">
<view class="cell-lable">活动名称</view>
<view class="cell-value">{{ data.activeName || "-"}}</view>
</view>
<view class="item-cell">
<view class="cell-lable">活动时间</view>
<view class="cell-value">{{ data.activeStart || "-"}}{{data.activeEnd || "-"}}</view>
</view>
<view class="item-cell">
<view class="cell-lable">活动内容</view>
<view class="cell-value">{{ data.activeContent || '-'}}</view>
</view>
<view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">活动地点</view>
<view class="cell-value">{{data.activePoint || '-'}}</view>
</view>
<view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">附件</view>
<view class="cell-value">{{ data.joinRequire || '-'}}</view>
</view>
<view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">审核结果</view>
<view class="cell-value">{{data.activeState | activeState}}</view>
</view>
<view class="item-cell" style="align-items: flex-start">
<view class="cell-lable">审核意见</view>
<view class="cell-value">{{ data.opinion || '-'}}</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
onLoad(opiect) {
this.data = JSON.parse(opiect.item)
},
data() {
return {
data: {}
}
},
methods: {
//
previewAll(res) {
}
},
filters: {
activeState: function(value) {
// console.log(value);
switch (value) {
case "1":
return "审核中";
case "2":
return "审核通过";
case "3":
return "审核驳回";
case " 4":
return "已终止";
case "5":
return "已结束";
default:
return "";
}
},
},
}
</script>
<style lang="scss" scoped>
.app-container {
.list-item {
background-color: #fff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 25rpx;
margin-bottom: 30rpx;
.item-cell {
display: flex;
align-items: center;
.cell-lable {
width: 200rpx;
font-size: 28rpx;
font-weight: 400;
color: #9da2ab;
}
.cell-value {
width: 500rpx;
font-size: 28rpx;
font-weight: 400;
color: #2e2f31;
white-space: nowrap;
/* 防止内容换行 */
overflow: hidden;
/* 隐藏超出内容 */
text-overflow: ellipsis;
/* 显示省略号 */
}
}
.cell-btn {
display: flex;
flex-direction: row-reverse;
}
&>view:not(.cell-btn) {
margin-bottom: 20rpx;
}
}
&>.list-item:last-child {
margin-bottom: 0;
}
}
</style>

@ -1,23 +1,14 @@
<template> <template>
<view class="app-container"> <view class="app-container">
<u-navbar <u-navbar leftText="返回" title="新增店铺活动" :autoBack="true" :placeholder="true" />
leftText="返回"
title="新增店铺活动"
:autoBack="true"
:placeholder="true"
/>
<view class="form-item"> <view class="form-item">
<view class="form-title"> <view class="form-title">
活动名称 活动名称
<text></text> <text></text>
</view> </view>
<view class="item-input view-global"> <view class="item-input view-global">
<u--input <u--input placeholder="请输入名称" border="none" :customStyle="{ height: '45rpx' }"
placeholder="请输入名称" v-model="form.activeName"></u--input>
border="none"
:customStyle="{ height: '45rpx' }"
v-model="form.activeName"
></u--input>
</view> </view>
</view> </view>
<view class="form-item"> <view class="form-item">
@ -25,15 +16,11 @@
活动时间 活动时间
<text></text> <text></text>
</view> </view>
<view <view class="item-input view-global" style="
class="item-input view-global"
style="
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
" " @click="isCalendar = true">
@click="isCalendar = true"
>
<text :style="'color:' + fColor(calendarRang)">{{ <text :style="'color:' + fColor(calendarRang)">{{
calendarRang || "请选择日期" calendarRang || "请选择日期"
}}</text> }}</text>
@ -42,15 +29,11 @@
</view> </view>
<view class="form-item"> <view class="form-item">
<view class="form-title"> <view class="form-title">
活动内容 活动描述
<text></text> <text></text>
</view> </view>
<view class="item-input view-global"> <view class="item-input view-global">
<u--textarea <u--textarea v-model="form.activeContent" placeholder="请输入内容" border="none"></u--textarea>
v-model="form.activeContent"
placeholder="请输入内容"
border="none"
></u--textarea>
</view> </view>
</view> </view>
<view class="form-item"> <view class="form-item">
@ -59,49 +42,59 @@
<text></text> <text></text>
</view> </view>
<view class="item-input view-global"> <view class="item-input view-global">
<u--input <u--input placeholder="请输入活动地点" border="none" :customStyle="{ height: '45rpx' }"
placeholder="请输入活动地点" v-model="form.activePoint"></u--input>
border="none"
:customStyle="{ height: '45rpx' }"
v-model="form.activePoint"
></u--input>
</view> </view>
</view> </view>
<view class="form-item"> <!-- <view class="form-item">
<view class="form-title"> <view class="form-title">
参与条件 参与条件
<text></text> <text></text>
</view> </view>
<view class="item-input view-global"> <view class="item-input view-global">
<u--textarea <u--textarea v-model="form.joinRequire" placeholder="请输入内容" border="none"></u--textarea>
v-model="form.joinRequire" </view>
placeholder="请输入内容" </view> -->
border="none" <view class="form-item">
></u--textarea> <view class="form-title">
上传附件
<text></text>
</view>
<view class="item-input view-global">
<view class="" @click="openFile" v-show="!fileName">
点击上传
</view>
<view class="view-globalFell" v-show="fileName">
<view class="fileName">
{{fileName}}
</view>
<view class="fileNamedelet" @click="fileName = ''">
删除
</view>
</view>
</view> </view>
</view> </view>
<fixed-buttom title="提交" @click="handleAdd"></fixed-buttom> <fixed-buttom title="提交" @click="handleAdd"></fixed-buttom>
<!-- 日历 --> <!-- 日历 -->
<u-calendar <u-calendar :show="isCalendar" :mode="mode" @confirm="onCalendar" @close="onCloseCalendar"></u-calendar>
:show="isCalendar"
:mode="mode"
@confirm="onCalendar"
@close="onCloseCalendar"
></u-calendar>
</view> </view>
</template> </template>
<script> <script>
import { addActivity } from "../../api/jn/apply"; import {
addActivity
} from "../../api/jn/apply";
export default { export default {
data() { data() {
return { return {
form: {}, form: {},
fileName: "",
isCalendar: false, isCalendar: false,
calendarRang: "", calendarRang: "",
mode: "range", mode: "range",
fileWhiteList: ['txt', 'doc', 'docx', 'xls', 'xlsx', 'pdf', ]
}; };
}, },
onLoad() { onLoad() {
@ -153,12 +146,72 @@ export default {
fColor(calendarRang) { fColor(calendarRang) {
return calendarRang ? "#2e2f31" : "#c0c4cc"; return calendarRang ? "#2e2f31" : "#c0c4cc";
}, },
//2
//
openFile() {
uni.chooseFile({
count: 1, //100
extension: ['.zip', '.doc', '.xls', '.pdf', 'docx', '.rar', '.7z', '.jpg', '.png', '.jpeg'],
success: (res) => {
console.log(res);
if (res.tempFiles[0].size / 1024 / 1024 > 20) {
this.$refs.uToast.show({
title: '附件大小不能超过20M',
type: 'warning',
})
return;
}
this.resultPath(res.tempFilePaths[0], res.tempFiles[0].name);
}
});
},
//
resultPath(path, fileName) {
console.log(path)
console.log(fileName)
uni.showLoading({
title: '上传中...',
});
uni.uploadFile({
url: "https://t-jn-bjh-admin-server.jsszkd.com/common/upload",
filePath: path,
header: {
// "Authorization": "xxx",
// 'content-type':'multipart/form-data; boundary=----WebKitFormBoundaryHEdN1AIjcdUkAaXM',
},
formData: {
// 'user': 'test'
},
success: (uploadFileRes) => {
let obj = JSON.parse(uploadFileRes.data);
console.log(obj);
this.fileName = obj.originalFilename
this.form.joinRequire = obj.url
uni.showToast({
title: obj.msg,
icon: 'none',
duration: 1500
})
}, },
}; fail: (err) => {
this.$refs.uToast.show({
title: '上传失败',
type: 'error',
});
uni.hideLoading();
}
});
},
},
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.form-item { .form-item {
.form-title { .form-title {
position: relative; position: relative;
font-size: 30rpx; font-size: 30rpx;
@ -187,5 +240,26 @@ export default {
box-sizing: border-box; box-sizing: border-box;
padding: 25rpx; padding: 25rpx;
} }
}
.view-globalFell {
display: flex;
align-items: center;
.fileName {
max-width: 400rpx;
white-space: nowrap;
/* 不换行 */
overflow: hidden;
/* 溢出部分隐藏 */
text-overflow: ellipsis;
/* 显示省略号 */
margin-right: 30rpx;
}
.fileNamedelet {
width: 100rpx;
color: red;
}
}
}
</style> </style>

@ -0,0 +1,191 @@
<template>
<view class="app-container">
<u-navbar
leftText="返回"
title="新增店铺活动"
:autoBack="true"
:placeholder="true"
/>
<view class="form-item">
<view class="form-title">
活动名称
<text></text>
</view>
<view class="item-input view-global">
<u--input
placeholder="请输入名称"
border="none"
:customStyle="{ height: '45rpx' }"
v-model="form.activeName"
></u--input>
</view>
</view>
<view class="form-item">
<view class="form-title">
活动时间
<text></text>
</view>
<view
class="item-input view-global"
style="
display: flex;
align-items: center;
justify-content: space-between;
"
@click="isCalendar = true"
>
<text :style="'color:' + fColor(calendarRang)">{{
calendarRang || "请选择日期"
}}</text>
<u-icon name="arrow-right" color="#D5D5D5"></u-icon>
</view>
</view>
<view class="form-item">
<view class="form-title">
活动内容
<text></text>
</view>
<view class="item-input view-global">
<u--textarea
v-model="form.activeContent"
placeholder="请输入内容"
border="none"
></u--textarea>
</view>
</view>
<view class="form-item">
<view class="form-title">
活动地点
<text></text>
</view>
<view class="item-input view-global">
<u--input
placeholder="请输入活动地点"
border="none"
:customStyle="{ height: '45rpx' }"
v-model="form.activePoint"
></u--input>
</view>
</view>
<view class="form-item">
<view class="form-title">
参与条件
<text></text>
</view>
<view class="item-input view-global">
<u--textarea
v-model="form.joinRequire"
placeholder="请输入内容"
border="none"
></u--textarea>
</view>
</view>
<fixed-buttom title="提交" @click="handleAdd"></fixed-buttom>
<!-- 日历 -->
<u-calendar
:show="isCalendar"
:mode="mode"
@confirm="onCalendar"
@close="onCloseCalendar"
></u-calendar>
</view>
</template>
<script>
import { addActivity } from "../../api/jn/apply";
export default {
data() {
return {
form: {},
isCalendar: false,
calendarRang: "",
mode: "range",
};
},
onLoad() {
this.reset();
},
methods: {
//
reset() {
this.form = {
id: null,
activeName: null,
activeStart: null,
activeEnd: null,
activeContent: null,
activePoint: null,
joinRequire: null,
activeState: 1,
createId: null,
createBy: null,
createTime: null,
updateId: null,
updateBy: null,
updateTime: null,
remark: null,
gridId: null,
gridName: null,
partId: null,
partName: null,
};
},
onCloseCalendar() {
this.isCalendar = false;
},
onCalendar(e) {
console.log(e);
this.calendarRang = `${e[0]}——${e[e.length - 1]}`;
this.form.activeStart = e[0];
this.form.activeEnd = e[e.length - 1];
this.isCalendar = false;
},
handleAdd() {
console.log(this.form);
addActivity(this.form).then((response) => {
uni.navigateBack({
delta: 1,
});
});
},
fColor(calendarRang) {
return calendarRang ? "#2e2f31" : "#c0c4cc";
},
},
};
</script>
<style lang="scss" scoped>
.form-item {
.form-title {
position: relative;
font-size: 30rpx;
font-weight: bold;
color: #2e2f31;
margin-bottom: 20rpx;
}
.form-title text {
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 12rpx;
width: 140rpx;
background: url("/static/images/juxing.png");
background-size: cover;
max-width: 300rpx;
z-index: 0;
}
.item-input {
margin-bottom: 30rpx;
border-radius: 16rpx;
background-color: #fff;
box-sizing: border-box;
padding: 25rpx;
}
}
</style>

@ -1,11 +1,11 @@
<template> <template>
<view class="app-container"> <view class="app-container">
<u-navbar title="消息列表" :autoBack="true" <!-- <u-navbar title="消息列表" :autoBack="true"
:placeholder="true" leftText="返回"> :placeholder="true" leftText="返回">
<view slot="right" @click="onAllclear"> <view slot="right" @click="onAllclear">
<text class="nav-right">全部清空</text> <text class="nav-right">全部清空</text>
</view> </view>
</u-navbar> </u-navbar> -->
<u-search <u-search
height="75rpx" height="75rpx"
placeholder="搜索关键词" placeholder="搜索关键词"
@ -15,13 +15,13 @@
:clearabled="true" :clearabled="true"
class="view-global" class="view-global"
bgColor="#fff" bgColor="#fff"
@search="onSearch" @change="ListMsg"
@clear="onClear"
></u-search> ></u-search>
<view class="msg-list"> <view class="msg-list">
<view <view
class="msg-item view-global" class="msg-item view-global"
v-for="(item, index) in listMsgs" v-for="(item, index) in listMsgs"
@click="getMesInfo(item)"
:key="index" :key="index"
> >
<view class="msg-icon" style="background-color: #367bef"> <view class="msg-icon" style="background-color: #367bef">
@ -29,7 +29,7 @@
<u-badge <u-badge
bgColor="#FE3434" bgColor="#FE3434"
max="99" max="99"
:isDot="item.isLook == 1 ? false : true"
:absolute="true" :absolute="true"
:offset="[0, 0]" :offset="[0, 0]"
></u-badge> ></u-badge>
@ -77,68 +77,74 @@
<view class="msg-date">19:18</view> <view class="msg-date">19:18</view>
</view> --> </view> -->
</view> </view>
<u-modal :show="show" :title="msgInfo.title" :content='msgInfo.content' @confirm="confirm"></u-modal>
<view class="delete-box" @click="onAllclear">
<image class="delete_img_box" src="/static/images/delete2.png" mode="aspectFill"></image> 全部清空
</view>
</view> </view>
</template> </template>
<script> <script>
import { listNews, delNews } from "../../api/jn/news"; import { shopIdlist, deleteShopId, getInfoShop, isLookCount } from "../../api/jn/news";
export default { export default {
data() { data() {
return { return {
listMsgs: [], listMsgs: [],
// //
queryParams: { queryParams: {
pageNum: 1,
pageSize: 10,
title: "", title: "",
status: 0 id:'5',
},
show: false,
msgInfo: {
title:"",
content:""
}, },
}; };
}, },
onLoad() { onLoad() {
const launchOptions = uni.getLaunchOptionsSync();
}, const { query } = launchOptions;
onShow() { // console.log(query,"query");
if(query.storeId) {
this.queryParams.id = query.storeId;
this.ListMsg(); this.ListMsg();
} else {
uni.$u.toast('店铺id为空')
}
// this.ListMsg();
}, },
methods: { methods: {
onAllclear() { onAllclear() {
this.$modal.confirm('确定删除所有消息吗?').then(() => { this.$modal.confirm('确定删除所有消息吗?').then(() => {
let ids = []; deleteShopId(this.queryParams.id).then((res) => {
this.listMsgs.forEach(element => {
ids.push(element.id);
});
if(ids.length == 0) {
return;
} else {
delNews(ids).then((res) => {
console.log(JSON.stringify(res),"删除接口");
if(res.code == 200) { if(res.code == 200) {
uni.showToast({ title: "删除成功", icon: 'success' })
this.ListMsg(); this.ListMsg();
}
});
} }
}) })
})
}, },
onSearch() { getMesInfo(item) {
this.ListMsg(); this.show = true;
}, this.msgInfo = item;
onClear() { getInfoShop(item.id).then(res=>{})
this.queryParams.title = "";
this.ListMsg();
}, },
ListMsg() { ListMsg() {
listNews(this.queryParams).then((res) => { shopIdlist(this.queryParams).then((res) => {
// console.log(res); this.listMsgs = res.data;
this.listMsgs = res.rows; // if(res.code == 200) {
if(res.code == 200) { // uni.setTabBarBadge({
uni.setTabBarBadge({ // //
// // index: 1, //tabbar
index: 1, //tabbar // text: res.total + '', //
text: res.total + '', // // });
}); // }
}
}); });
}, },
confirm(){
this.show = false
this.ListMsg();
},
}, },
}; };
</script> </script>
@ -161,7 +167,11 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.u-badge {
width: 10px;
height: 10px;
left: 0px;
}
image { image {
height: 44rpx; height: 44rpx;
width: 44rpx; width: 44rpx;
@ -194,4 +204,24 @@ export default {
} }
} }
} }
.delete-box {
position: fixed;
right: 20rpx;
bottom: 80rpx;
background-color: #fff;
width: 200rpx;
// height: 50rpx;
border-radius: 30rpx;
display: flex;
align-items: center;
justify-content: center;
padding: 10rpx;
color: #367bef;
.delete_img_box {
width: 35rpx;
height: 35rpx;
margin-right: 10rpx;
}
}
</style> </style>

@ -1,57 +1,127 @@
<template> <template>
<view class="app-container"> <view class="app-container">
<u-navbar <!-- <u-navbar leftText="返回" title="店牌店招预审" :autoBack="true" :placeholder="true">
leftText="返回"
title="店铺店招预审"
:autoBack="true"
:placeholder="true"
>
<view slot="right"> <view slot="right">
<text class="nav-right"></text> <text class="nav-right"></text>
</view> </view>
</u-navbar> </u-navbar> -->
<view class="list-item"> <view class="list-item">
<view>江宁开发区店招店牌申报流程</view>
<view class="list-item-title">{{levelList[0].name || ""}}</view>
<view> <view>
<view class="mytext" v-html="levelList[0].msg">
<!-- {{levelList[0].msg || ""}} -->
</view>
<!-- <view class="Mytitle">
所需材料 所需材料
1.实景效果图A4纸全页近景1份远景2份包含白天和夜晚店招亮化远景实景效果图 </view>
要点照片要求横向拍摄原图制作彩色打印 <view class="mytext">
2.房屋租赁合同复印件房屋产权证复印件营业执照副本复印件 1.实景效果图A4纸全页近景1份远景2份包含白天和夜晚店招亮化远景实景效果图<br />
3.法人身份证复印件或经办人身份证复印件(经办人办理需法人开具委托书 要点照片要求横向拍摄原图制作彩色打印<br />
4.施工说明 2.房屋租赁合同复印件房屋产权证复印件营业执照副本复印件<br />
要点用文字描述设置所使用的材质总体长度宽度厚度字体及英文长数量LOGO长宽等 3.法人身份证复印件或经办人身份证复印件(经办人办理需法人开具委托书<br />
5.加盟协议授权书商标注册证涉及注册商标需提供 4.施工说明<br />
6.安全检测报告涉及墙体广告字LED显示屏 要点用文字描述设置所使用的材质总体长度宽度厚度字体及英文长数量LOGO长宽等<br />
7.洗衣店宠物店等需办理排水证 5.加盟协议授权书商标注册证涉及注册商标需提供<br />
8.涉及舞台活动搭建需提供舞台搭建资质舞台结构图专家论证方案如涉及外来人员参与表演需到区防疫指挥中心进行报备 6.安全检测报告涉及墙体广告字LED显示屏<br />
注意事项 7.洗衣店宠物店等需办理排水证<br />
1.店招店牌设置地址必须与营业执照地址相符合 8.涉及舞台活动搭建需提供舞台搭建资质舞台结构图专家论证方案如涉及外来人员参与表演需到区防疫指挥中心进行报备<br />
2.店招店牌不宜使用泡沫即时贴扣板等材料制作店招店牌主要街路窗口地区按总体规划不得使用灯箱布和喷绘布等材料设置店招广告一般为铝塑底板亚克力字 </view>
3.店招店牌内容仅限于本单位的名称字号标识禁止出现商品营销经营服务范围电话号码变相发布广告等不符合规定的内容 <view class="Mytitle">
4.店招店牌字体大小应与店招广告尺寸相协调 注意事项
5.店招店牌效果图必须为实景拍摄门面整体轮廓真实准确反映现场所设置位置电脑准确制作设置画面要求画面清晰店面环境整洁无乱堆放晾晒张贴等位置准确 </view>
6.完全检测报告需在安装完成后一个月内送至我局备案 <view class="mytext">
7.经批准后安装店招店牌的应设置围挡及警示标志做到安全施工文明施工 1.店招店牌设置地址必须与营业执照地址相符合<br />
8.案件办理时间为上午8301200 下午200600 2.店招店牌不宜使用泡沫即时贴扣板等材料制作店招店牌主要街路窗口地区按总体规划不得使用灯箱布和喷绘布等材料设置店招广告一般为铝塑底板亚克力字<br />
联系方式 3.店招店牌内容仅限于本单位的名称字号标识禁止出现商品营销经营服务范围电话号码变相发布广告等不符合规定的内容<br />
邮箱280754057@qq.com 电话18151671177 4.店招店牌字体大小应与店招广告尺寸相协调<br />
店招店牌备案需要一定的时间请耐心等待没有收到前来办理的通知前请勿制作以及安装如在备案过程当中进行制作及安装所造成的一切后果由其自行承担 5.店招店牌效果图必须为实景拍摄门面整体轮廓真实准确反映现场所设置位置电脑准确制作设置画面要求画面清晰店面环境整洁无乱堆放晾晒张贴等位置准确<br />
</view> 6.完全检测报告需在安装完成后一个月内送至我局备案<br />
7.经批准后安装店招店牌的应设置围挡及警示标志做到安全施工文明施工<br />
8.案件办理时间为上午8301200 下午200600<br />
</view>
<view class="Mytitle">
联系方式
</view>
<view class="mytext">
邮箱280754057@qq.com <br />
电话18151671177 <br />
店招店牌备案需要一定的时间请耐心等待没有收到前来办理的通知前请勿制作以及安装如在备案过程当中进行制作及安装所造成的一切后果由其自行承担<br />
</view>
</view>
<view class="Mytitle">
受理材料:
</view>
<view class="mytext">
受理材料如下<br />
1.店招店牌设置申请表<br />
2.实景效果图A4纸彩色全页近景远景各一份<br />
3.营业执照或者其他证明主体资格合法有效的文件复印件一份<br />
4.房屋租赁合同A4纸复印件和房屋产权证A4纸复印件<br />
5.施工说明用文字描述设置所使用的材质总体长度宽度厚度字体及英文长数量LOGO长宽等<br />
6.提供商标注册证版权证著作证加盟协议或名称使用授权书复印件涉及商标版权著作权<br />
7.法人身份证复印件或经办人身份证复印件经办人办理需法人或公司开具委托书<br />
8.店招店牌承诺书
</view>
<view class="Mytitle">
注意事项:
</view>
<view class="mytext">
注意事项如下<br />
1.店招标牌设置地址必须与营业执照地址相符合<br />
2.店招标牌设置名称必须与营业执照名称相符合加盟除外<br />
3.店招标牌效果图必须为实景拍摄房屋整体轮廓真实准确反映现场所设置位置电脑准确制作设置画面要求画面清晰店面环境整洁位置准确实景效果图需将相邻两家全部反映出来<br />
4.其他广告效果图必须能够准确体现设置位置要求画面清晰<br />
5.设置与申报效果图保持一致<br />
6.履行门前三包责任<br />
7.符合开发区商铺经营门类<br />
8.依法合法经营严格按照市场监督局核准的经营范围经营<br />
</view>
<view class="Mytitle">
支撑文件:
</view>
<view class="mytext">
1.南京市店招店牌设置准则<br />
2.南京市店招标牌设置管理办法<br />
3南京市店招店牌设置导则<br />
4.江苏省广告管理条例<br />
5.城市市容和环境卫生管理条例<br />
6.南京市江宁区人民政府办公室文件江宁政办发[2013]56关于全区核心城区商业业态控制调整工作的实施方案<br />
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>
</view> </view>
</template> </template>
<script> <script>
import {
export default { listysfwlist,
} from "../../api/jn/apply";
import config from '@/config'
export default {
data() { data() {
return { return {
// //
form: {}, form: {},
levelList: [], baseUrl: config.baseUrl,
levelList: [{
name: "",
msg: "",
img: ""
}],
// //
queryParams: { queryParams: {
sbLevelName: null, pageNum: 1,
pageSize: 10,
status: "1"
}, },
}; };
}, },
@ -67,7 +137,20 @@ export default {
this.getList(); this.getList();
}, },
getList() { getList() {
listysfwlist(this.queryParams).then((res) => {
console.log(res);
if (res.rows.length != 0) {
this.levelList = res.rows;
} else {
this.levelList = [{
name: "",
msg: "",
img: ""
}]
}
});
}, },
// //
reset() { reset() {
@ -94,11 +177,11 @@ export default {
}; };
}, },
}, },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-container { .app-container {
.list-item { .list-item {
background-color: #fff; background-color: #fff;
border-radius: 16rpx; border-radius: 16rpx;
@ -106,6 +189,29 @@ export default {
padding: 25rpx; padding: 25rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
margin-top: 30rpx; margin-top: 30rpx;
.list-item-title {
text-align: center;
border-bottom: 1rpx solid #000000;
font-size: 35rpx;
font-weight: bold;
}
.Mytitle {
font-size: 30rpx;
margin: 20rpx 0;
font-weight: 550;
}
.mytext {
line-height: 2;
}
.myimg {
text-align: center;
}
.item-cell { .item-cell {
display: flex; display: flex;
align-items: center; align-items: center;
@ -130,13 +236,13 @@ export default {
flex-direction: row-reverse; flex-direction: row-reverse;
} }
& > view:not(.cell-btn) { &>view:not(.cell-btn) {
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
} }
& > .list-item:last-child { &>.list-item:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
} }
</style> </style>

@ -1,85 +1,154 @@
<template> <template>
<view class="app-container"> <view class="app-container">
<u-navbar <!-- <u-navbar leftText="返回" title="门前三包服务" :autoBack="true" :placeholder="true">
leftText="返回"
title="门前三包服务"
:autoBack="true"
:placeholder="true"
>
<view slot="right"> <view slot="right">
<text class="nav-right">评级规则</text> <text class="nav-right"></text>
</view> </view>
</u-navbar> </u-navbar> -->
<u-search <u-search height="75rpx" placeholder="输入评级规则查询" v-model="queryParams.rateRuleName" shape="square"
height="75rpx" :showAction="false" :clearabled="true" class="view-global" bgColor="#fff" @search="onSearch"
placeholder="搜索关键词" @clear="onClear"></u-search>
v-model="queryParams.sbLevelName" <view class="list-item">
shape="square" <view class="list-item-box">
:showAction="false" <view class="list-item-box-top">
:clearabled="true" 店铺名称:
class="view-global" </view>
bgColor="#fff" <view class="list-item-box-bottom">
@search="onSearch" {{titleObj.shopName || '优秀店铺'}}
@clear="onClear" </view>
></u-search> </view>
<view <view class="list-item-box">
class="list-item active view-global" <view class="list-item-box-top">
v-for="(item, index) in levelList" 三包等级:
:key="index" </view>
> <view class="list-item-box-bottom "
<view> :class="titleObj.sbLevel==3?'red':titleObj.sbLevel==4?'yellow':titleObj.sbLevel==5?'good':''">
<image <!-- 3 4 5绿 -->
width="100%" {{titleObj.sbLevel==3?'红牌':titleObj.sbLevel==4?'黄牌':titleObj.sbLevel==5?'绿牌':'暂无'}}
src="/static/images/umale/sanbao.png" </view>
mode="scaleToFill" </view>
/> <view class="list-item-box">
<view class="list-item-box-top">
三包等级凭证:
</view>
<view class="list-item-box-bottom">
暂无
</view>
</view>
<view class="list-item-box">
<view class="list-item-box-top">
有效期:
</view>
<view class="list-item-box-bottom">
长期有效
</view>
</view>
</view> </view>
<view class="item-cell"> <view class="list-item">
<view class="cell-lable">店铺名称</view> <view class="list-item-title">{{levelList[0].rateRuleName || ''}}</view>
<view class="cell-value">{{ item.sbLevelName }}</view> <view>
<view class="Mytitle">
</view> </view>
<view class="item-cell"> <view class="mytext" v-html="levelList[0].rateRuleContent">
<view class="cell-lable">三包等级</view>
<view class="cell-value">{{ item.relationRateRule }}</view>
</view> </view>
<view class="item-cell"> <!-- <view class="mytext">
<view class="cell-lable">有效期</view> <u-parse :content="levelList[0].rateRuleContent" :tag-style="style"></u-parse>
<view class="cell-value">{{ item.createTime }}</view> </view> -->
</view> </view>
<u-toast ref="uToast"></u-toast>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
import { listLevel } from "../../api/jn/level"; // import uParse from '@/components/u-parse/u-parse.vue'
import {
export default { listraterule,
jnshop
} from "../../api/jn/apply";
export default {
data() { data() {
return { return {
// //
form: {}, form: {},
levelList: [], levelList: [{
rateRuleName: "",
rateRuleContent: ""
}],
// //
queryParams: { queryParams: {
rateRuleName: "",
sbLevelName: null, sbLevelName: null,
pageNum: 1,
pageSize: 10,
state: "1"
},
titleObj: {
sbLevel: "",
shopName: "",
}, },
style: {
p: 'font-size:20rpx;!important'
}
}; };
}, },
onLoad() { onLoad() {
this.getList(); this.getList();
this.getXinxi();
}, },
methods: { methods: {
getXinxi() {
const launchOptions = uni.getLaunchOptionsSync();
const {
query
} = launchOptions;
// console.log(query, "query");
// console.log(Object.keys(query).length, "query.lengh");
if (Object.keys(query).length != 0) {
// 3 4 5绿 sbLevel shopName
jnshop(query.storeId).then((item) => {
// console.log(item);
if (item.code == 200 && item.data) {
this.titleObj.sbLevel = item.data.sbLevel
this.titleObj.shopName = item.data.shopName
} else {
}
})
}
},
onSearch() { onSearch() {
this.getList(); // this.getList();
this.$refs.uToast.show({
type: 'default',
title: '默认主题',
message: "暂无更多评级规则",
complete() {
}
})
}, },
onClear() { onClear() {
this.queryParams.sbLevelName = ""; this.queryParams.sbLevelName = "";
this.getList(); // this.getList();
}, },
getList() { getList() {
listLevel(this.queryParams).then((res) => { listraterule(this.queryParams).then((res) => {
// console.log(res); // console.log(res);
if (res.rows.length != 0) {
this.levelList = res.rows; this.levelList = res.rows;
} else {
this.levelList = [{
rateRuleName: "",
rateRuleContent: ""
}]
}
}); });
}, },
// //
@ -107,11 +176,11 @@ export default {
}; };
}, },
}, },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-container { .app-container {
.list-item { .list-item {
background-color: #fff; background-color: #fff;
border-radius: 16rpx; border-radius: 16rpx;
@ -119,6 +188,33 @@ export default {
padding: 25rpx; padding: 25rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
margin-top: 30rpx; margin-top: 30rpx;
.list-item-title {
text-align: center;
border-bottom: 1rpx solid #000000;
font-size: 35rpx;
font-weight: bold;
}
.Mytitle {
font-size: 30rpx;
margin: 20rpx 0;
font-weight: 550;
}
.mytext {
// line-height: 45rpx;
margin-top: 38rpx;
display: grid;
grid-template-columns: 1fr;
grid-row-gap: 20rpx;
line-height: 2;
overflow: hidden;
}
.item-cell { .item-cell {
display: flex; display: flex;
align-items: center; align-items: center;
@ -143,13 +239,43 @@ export default {
flex-direction: row-reverse; flex-direction: row-reverse;
} }
& > view:not(.cell-btn) { &>view:not(.cell-btn) {
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
} }
& > .list-item:last-child { &>.list-item:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
}
}
.list-item-box {
display: flex;
text-align: center;
.list-item-box-top {
font-size: 30rpx;
font-weight: bold;
margin-right: 20rpx;
}
.list-item-box-bottom {
font-size: 30rpx;
font-weight: bold;
}
.good {
color: green;
}
.red {
color: red;
}
.yellow {
color: yellowgreen;
}
}
</style> </style>

@ -3,7 +3,7 @@ function scroll(event, ownerInstance) {
var detail = event.detail var detail = event.detail
var scrollWidth = detail.scrollWidth var scrollWidth = detail.scrollWidth
var scrollLeft = detail.scrollLeft var scrollLeft = detail.scrollLeft
// 获取当前组件的dataset说白了就是祸国殃民的腾xun搞出来的垃ji // 获取当前组件的dataset说白了就是搞出来的垃ji
var dataset = event.currentTarget.dataset var dataset = event.currentTarget.dataset
// 此为scroll-view外部包裹元素的宽度 // 此为scroll-view外部包裹元素的宽度
// 某些HX版本(3.1.18)发现view元素中大写的data-scrollWidth在wxs中变成了全部小写所以这里需要特别处理 // 某些HX版本(3.1.18)发现view元素中大写的data-scrollWidth在wxs中变成了全部小写所以这里需要特别处理

Loading…
Cancel
Save